POST api/PriceListsController/UpdateMainPriceList

Request Information

URI Parameters

None.

Body Parameters

MainPriceEdit
NameDescriptionTypeAdditional information
insur_code

integer

None.

insur_dep_name

string

None.

department_name

string

None.

occupation_name

string

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.

ChangeType

string

None.

logName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "insur_code": 1,
  "insur_dep_name": "sample string 2",
  "department_name": "sample string 3",
  "occupation_name": "sample string 4",
  "insur_name": "sample string 5",
  "district_name": "sample string 6",
  "business_branch_name": "sample string 7",
  "price_group_name": "sample string 8",
  "surg_firstName": "sample string 9",
  "surg_lastName": "sample string 10",
  "prices": [
    {
      "PRecord": {
        "insur_department_code": 1,
        "occupation_code": 2,
        "department_code": 3,
        "district_code": 4,
        "oper_code": 5,
        "business_branch_code": 6,
        "price_group_code": 7,
        "surg_code": 8,
        "date_actual": "2024-04-19T10:22:48.5448854+03:00",
        "price": 10.0,
        "change_date": "2024-04-19T10:22:48.5448854+03:00",
        "old_date_actual": "2024-04-19T10:22:48.5448854+03:00"
      },
      "OperName": "sample string 1",
      "ToDoType": "sample string 2",
      "ErrorString": "sample string 3"
    },
    {
      "PRecord": {
        "insur_department_code": 1,
        "occupation_code": 2,
        "department_code": 3,
        "district_code": 4,
        "oper_code": 5,
        "business_branch_code": 6,
        "price_group_code": 7,
        "surg_code": 8,
        "date_actual": "2024-04-19T10:22:48.5448854+03:00",
        "price": 10.0,
        "change_date": "2024-04-19T10:22:48.5448854+03:00",
        "old_date_actual": "2024-04-19T10:22:48.5448854+03:00"
      },
      "OperName": "sample string 1",
      "ToDoType": "sample string 2",
      "ErrorString": "sample string 3"
    }
  ],
  "Errors": true,
  "ChangeType": "sample string 12",
  "logName": "sample string 13"
}

application/xml, text/xml

Sample:
<MainPriceEdit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Prices">
  <ChangeType>sample string 12</ChangeType>
  <logName>sample string 13</logName>
  <Errors>true</Errors>
  <business_branch_name>sample string 7</business_branch_name>
  <department_name>sample string 3</department_name>
  <district_name>sample string 6</district_name>
  <insur_code>1</insur_code>
  <insur_dep_name>sample string 2</insur_dep_name>
  <insur_name>sample string 5</insur_name>
  <occupation_name>sample string 4</occupation_name>
  <price_group_name>sample string 8</price_group_name>
  <prices>
    <MainPriceEditLine>
      <ErrorString>sample string 3</ErrorString>
      <OperName>sample string 1</OperName>
      <PRecord>
        <business_branch_code>6</business_branch_code>
        <change_date>2024-04-19T10:22:48.5448854+03:00</change_date>
        <date_actual>2024-04-19T10:22:48.5448854+03:00</date_actual>
        <department_code>3</department_code>
        <district_code>4</district_code>
        <insur_department_code>1</insur_department_code>
        <occupation_code>2</occupation_code>
        <old_date_actual>2024-04-19T10:22:48.5448854+03:00</old_date_actual>
        <oper_code>5</oper_code>
        <price>10</price>
        <price_group_code>7</price_group_code>
        <surg_code>8</surg_code>
      </PRecord>
      <ToDoType>sample string 2</ToDoType>
    </MainPriceEditLine>
    <MainPriceEditLine>
      <ErrorString>sample string 3</ErrorString>
      <OperName>sample string 1</OperName>
      <PRecord>
        <business_branch_code>6</business_branch_code>
        <change_date>2024-04-19T10:22:48.5448854+03:00</change_date>
        <date_actual>2024-04-19T10:22:48.5448854+03:00</date_actual>
        <department_code>3</department_code>
        <district_code>4</district_code>
        <insur_department_code>1</insur_department_code>
        <occupation_code>2</occupation_code>
        <old_date_actual>2024-04-19T10:22:48.5448854+03:00</old_date_actual>
        <oper_code>5</oper_code>
        <price>10</price>
        <price_group_code>7</price_group_code>
        <surg_code>8</surg_code>
      </PRecord>
      <ToDoType>sample string 2</ToDoType>
    </MainPriceEditLine>
  </prices>
  <surg_firstName>sample string 9</surg_firstName>
  <surg_lastName>sample string 10</surg_lastName>
</MainPriceEdit>

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 'MainPriceEdit'.

application/bson

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

Response Information

Resource Description

MainPriceEdit
NameDescriptionTypeAdditional information
insur_code

integer

None.

insur_dep_name

string

None.

department_name

string

None.

occupation_name

string

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.

ChangeType

string

None.

logName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "insur_code": 1,
  "insur_dep_name": "sample string 2",
  "department_name": "sample string 3",
  "occupation_name": "sample string 4",
  "insur_name": "sample string 5",
  "district_name": "sample string 6",
  "business_branch_name": "sample string 7",
  "price_group_name": "sample string 8",
  "surg_firstName": "sample string 9",
  "surg_lastName": "sample string 10",
  "prices": [
    {
      "PRecord": {
        "insur_department_code": 1,
        "occupation_code": 2,
        "department_code": 3,
        "district_code": 4,
        "oper_code": 5,
        "business_branch_code": 6,
        "price_group_code": 7,
        "surg_code": 8,
        "date_actual": "2024-04-19T10:22:48.5648582+03:00",
        "price": 10.0,
        "change_date": "2024-04-19T10:22:48.5648582+03:00",
        "old_date_actual": "2024-04-19T10:22:48.5648582+03:00"
      },
      "OperName": "sample string 1",
      "ToDoType": "sample string 2",
      "ErrorString": "sample string 3"
    },
    {
      "PRecord": {
        "insur_department_code": 1,
        "occupation_code": 2,
        "department_code": 3,
        "district_code": 4,
        "oper_code": 5,
        "business_branch_code": 6,
        "price_group_code": 7,
        "surg_code": 8,
        "date_actual": "2024-04-19T10:22:48.5648582+03:00",
        "price": 10.0,
        "change_date": "2024-04-19T10:22:48.5648582+03:00",
        "old_date_actual": "2024-04-19T10:22:48.5648582+03:00"
      },
      "OperName": "sample string 1",
      "ToDoType": "sample string 2",
      "ErrorString": "sample string 3"
    }
  ],
  "Errors": true,
  "ChangeType": "sample string 12",
  "logName": "sample string 13"
}

application/xml, text/xml

Sample:
<MainPriceEdit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Prices">
  <ChangeType>sample string 12</ChangeType>
  <logName>sample string 13</logName>
  <Errors>true</Errors>
  <business_branch_name>sample string 7</business_branch_name>
  <department_name>sample string 3</department_name>
  <district_name>sample string 6</district_name>
  <insur_code>1</insur_code>
  <insur_dep_name>sample string 2</insur_dep_name>
  <insur_name>sample string 5</insur_name>
  <occupation_name>sample string 4</occupation_name>
  <price_group_name>sample string 8</price_group_name>
  <prices>
    <MainPriceEditLine>
      <ErrorString>sample string 3</ErrorString>
      <OperName>sample string 1</OperName>
      <PRecord>
        <business_branch_code>6</business_branch_code>
        <change_date>2024-04-19T10:22:48.5648582+03:00</change_date>
        <date_actual>2024-04-19T10:22:48.5648582+03:00</date_actual>
        <department_code>3</department_code>
        <district_code>4</district_code>
        <insur_department_code>1</insur_department_code>
        <occupation_code>2</occupation_code>
        <old_date_actual>2024-04-19T10:22:48.5648582+03:00</old_date_actual>
        <oper_code>5</oper_code>
        <price>10</price>
        <price_group_code>7</price_group_code>
        <surg_code>8</surg_code>
      </PRecord>
      <ToDoType>sample string 2</ToDoType>
    </MainPriceEditLine>
    <MainPriceEditLine>
      <ErrorString>sample string 3</ErrorString>
      <OperName>sample string 1</OperName>
      <PRecord>
        <business_branch_code>6</business_branch_code>
        <change_date>2024-04-19T10:22:48.5648582+03:00</change_date>
        <date_actual>2024-04-19T10:22:48.5648582+03:00</date_actual>
        <department_code>3</department_code>
        <district_code>4</district_code>
        <insur_department_code>1</insur_department_code>
        <occupation_code>2</occupation_code>
        <old_date_actual>2024-04-19T10:22:48.5648582+03:00</old_date_actual>
        <oper_code>5</oper_code>
        <price>10</price>
        <price_group_code>7</price_group_code>
        <surg_code>8</surg_code>
      </PRecord>
      <ToDoType>sample string 2</ToDoType>
    </MainPriceEditLine>
  </prices>
  <surg_firstName>sample string 9</surg_firstName>
  <surg_lastName>sample string 10</surg_lastName>
</MainPriceEdit>

application/bson

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