POST api/PriceListsController/FindMainPrice
Request Information
URI Parameters
None.
Body Parameters
FindMainPriceCriteriaName | Description | Type | Additional information |
---|---|---|---|
insur_code | integer |
None. |
|
district_code | integer |
None. |
|
department_code | integer |
None. |
|
occupation_code | integer |
None. |
|
insur_department_code | integer |
None. |
|
business_branch_code | integer |
None. |
|
price_group_code | integer |
None. |
|
surg_code | integer |
None. |
|
oper_code | integer |
None. |
|
date_actual | date |
None. |
|
VatPercent | decimal number |
None. |
|
CustNum | integer |
None. |
|
DebitLineCode | integer |
None. |
|
Quantity | integer |
None. |
|
VisitCode | integer |
None. |
|
ServiceLineCode | integer |
None. |
|
DebitLinePlace | integer |
None. |
|
FirstDebit | integer |
None. |
|
surgFromStaff | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "insur_code": 1, "district_code": 2, "department_code": 3, "occupation_code": 4, "insur_department_code": 5, "business_branch_code": 6, "price_group_code": 7, "surg_code": 8, "oper_code": 9, "date_actual": "2024-11-21T11:48:27.9746939+02:00", "VatPercent": 11.0, "CustNum": 12, "DebitLineCode": 13, "Quantity": 14, "VisitCode": 15, "ServiceLineCode": 16, "DebitLinePlace": 17, "FirstDebit": 18, "surgFromStaff": true }
application/xml, text/xml
Sample:
<PricesManagement.FindMainPriceCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Prices"> <CustNum>12</CustNum> <DebitLineCode>13</DebitLineCode> <DebitLinePlace>17</DebitLinePlace> <FirstDebit>18</FirstDebit> <Quantity>14</Quantity> <ServiceLineCode>16</ServiceLineCode> <VatPercent>11</VatPercent> <VisitCode>15</VisitCode> <business_branch_code>6</business_branch_code> <date_actual>2024-11-21T11:48:27.9746939+02:00</date_actual> <department_code>3</department_code> <district_code>2</district_code> <insur_code>1</insur_code> <insur_department_code>5</insur_department_code> <occupation_code>4</occupation_code> <oper_code>9</oper_code> <price_group_code>7</price_group_code> <surgFromStaff>true</surgFromStaff> <surg_code>8</surg_code> </PricesManagement.FindMainPriceCriteria>
application/x-www-form-urlencoded
Sample:
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
FullMainPriceName | Description | Type | Additional information |
---|---|---|---|
debitLine | integer |
None. |
|
Price | decimal number |
None. |
|
Vat | decimal number |
None. |
|
MainPrice | boolean |
None. |
|
freeOper | boolean |
None. |
|
isPrevVisitByQuarter | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "debitLine": 1, "Price": 1.0, "Vat": 2.0, "MainPrice": true, "freeOper": true, "isPrevVisitByQuarter": true }
application/xml, text/xml
Sample:
<PricesManagement.FullMainPrice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Prices"> <MainPrice>true</MainPrice> <Price>1</Price> <Vat>2</Vat> <debitLine>1</debitLine> <freeOper>true</freeOper> <isPrevVisitByQuarter>true</isPrevVisitByQuarter> </PricesManagement.FullMainPrice>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.