POST api/PriceListsController/UpdateMainPrice?date_actual_old={date_actual_old}&updateMode={updateMode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
date_actual_old

date

Required

updateMode

string

Required

Body Parameters

MainPriceList
NameDescriptionTypeAdditional information
oper_code

integer

None.

insur_code

integer

None.

date_actual

date

None.

district_code

integer

None.

business_branch_code

integer

None.

price_group_code

integer

None.

surg_code

integer

None.

change_date

date

Required

price

decimal number

None.

Insurer

Insurer

None.

Oper

Oper

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

application/bson

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

Response Information

Resource Description

MainPriceEdit
NameDescriptionTypeAdditional information
insur_code

integer

None.

insur_name

string

None.

district_name

string

None.

business_branch_name

string

None.

price_group_name

string

None.

surg_firstName

string

None.

surg_lastName

string

None.

prices

Collection of MainPriceEditLine

None.

Errors

boolean

None.

type

string

None.

logName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "insur_code": 1,
  "insur_name": "sample string 2",
  "district_name": "sample string 3",
  "business_branch_name": "sample string 4",
  "price_group_name": "sample string 5",
  "surg_firstName": "sample string 6",
  "surg_lastName": "sample string 7",
  "prices": [
    {
      "PRecord": {
        "district_code": 1,
        "oper_code": 2,
        "business_branch_code": 3,
        "price_group_code": 4,
        "surg_code": 5,
        "date_actual": "2019-10-22T07:25:46.6869657+03:00",
        "price": 7.0,
        "change_date": "2019-10-22T07:25:46.6869657+03:00",
        "old_date_actual": "2019-10-22T07:25:46.6869657+03:00"
      },
      "OperName": "sample string 1",
      "ToDoType": "sample string 2",
      "ErrorString": "sample string 3"
    },
    {
      "PRecord": {
        "district_code": 1,
        "oper_code": 2,
        "business_branch_code": 3,
        "price_group_code": 4,
        "surg_code": 5,
        "date_actual": "2019-10-22T07:25:46.6869657+03:00",
        "price": 7.0,
        "change_date": "2019-10-22T07:25:46.6869657+03:00",
        "old_date_actual": "2019-10-22T07:25:46.6869657+03:00"
      },
      "OperName": "sample string 1",
      "ToDoType": "sample string 2",
      "ErrorString": "sample string 3"
    }
  ],
  "Errors": true,
  "type": "sample string 9",
  "logName": "sample string 10"
}

application/xml, text/xml

Sample:
<MainPriceEdit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Prices">
  <logName>sample string 10</logName>
  <type>sample string 9</type>
  <Errors>true</Errors>
  <business_branch_name>sample string 4</business_branch_name>
  <district_name>sample string 3</district_name>
  <insur_code>1</insur_code>
  <insur_name>sample string 2</insur_name>
  <price_group_name>sample string 5</price_group_name>
  <prices>
    <MainPriceEditLine>
      <ErrorString>sample string 3</ErrorString>
      <OperName>sample string 1</OperName>
      <PRecord>
        <business_branch_code>3</business_branch_code>
        <change_date>2019-10-22T07:25:46.6869657+03:00</change_date>
        <date_actual>2019-10-22T07:25:46.6869657+03:00</date_actual>
        <district_code>1</district_code>
        <old_date_actual>2019-10-22T07:25:46.6869657+03:00</old_date_actual>
        <oper_code>2</oper_code>
        <price>7</price>
        <price_group_code>4</price_group_code>
        <surg_code>5</surg_code>
      </PRecord>
      <ToDoType>sample string 2</ToDoType>
    </MainPriceEditLine>
    <MainPriceEditLine>
      <ErrorString>sample string 3</ErrorString>
      <OperName>sample string 1</OperName>
      <PRecord>
        <business_branch_code>3</business_branch_code>
        <change_date>2019-10-22T07:25:46.6869657+03:00</change_date>
        <date_actual>2019-10-22T07:25:46.6869657+03:00</date_actual>
        <district_code>1</district_code>
        <old_date_actual>2019-10-22T07:25:46.6869657+03:00</old_date_actual>
        <oper_code>2</oper_code>
        <price>7</price>
        <price_group_code>4</price_group_code>
        <surg_code>5</surg_code>
      </PRecord>
      <ToDoType>sample string 2</ToDoType>
    </MainPriceEditLine>
  </prices>
  <surg_firstName>sample string 6</surg_firstName>
  <surg_lastName>sample string 7</surg_lastName>
</MainPriceEdit>

application/bson

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