POST api/PriceListsController/GetOpersPrice

Request Information

URI Parameters

None.

Body Parameters

Collection of FindMainPriceCriteria
NameDescriptionTypeAdditional 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:58:47.1477795+02:00",
    "VatPercent": 11.0,
    "CustNum": 12,
    "DebitLineCode": 13,
    "Quantity": 14,
    "VisitCode": 15,
    "ServiceLineCode": 16,
    "DebitLinePlace": 17,
    "FirstDebit": 18,
    "surgFromStaff": true
  },
  {
    "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:58:47.1477795+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:
<ArrayOfPricesManagement.FindMainPriceCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Prices">
  <PricesManagement.FindMainPriceCriteria>
    <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:58:47.1477795+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>
  <PricesManagement.FindMainPriceCriteria>
    <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:58:47.1477795+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>
</ArrayOfPricesManagement.FindMainPriceCriteria>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

Collection of FullMainPrice
NameDescriptionTypeAdditional 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
  },
  {
    "debitLine": 1,
    "Price": 1.0,
    "Vat": 2.0,
    "MainPrice": true,
    "freeOper": true,
    "isPrevVisitByQuarter": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfPricesManagement.FullMainPrice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Prices">
  <PricesManagement.FullMainPrice>
    <MainPrice>true</MainPrice>
    <Price>1</Price>
    <Vat>2</Vat>
    <debitLine>1</debitLine>
    <freeOper>true</freeOper>
    <isPrevVisitByQuarter>true</isPrevVisitByQuarter>
  </PricesManagement.FullMainPrice>
  <PricesManagement.FullMainPrice>
    <MainPrice>true</MainPrice>
    <Price>1</Price>
    <Vat>2</Vat>
    <debitLine>1</debitLine>
    <freeOper>true</freeOper>
    <isPrevVisitByQuarter>true</isPrevVisitByQuarter>
  </PricesManagement.FullMainPrice>
</ArrayOfPricesManagement.FullMainPrice>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.