POST api/PriceListsController/AddSimpleStaffPriceTurnSurg

Request Information

URI Parameters

None.

Body Parameters

SimpleStaffPriceListTurnSurg
NameDescriptionTypeAdditional information
key_code

integer

Required

insur_code

integer

Required

district_code

integer

Required

business_branch_code

integer

Required

oper_code

integer

Required

group_num

integer

Required

turn_surg_code

string

Required

String length: inclusive between 0 and 10

occupation_code

integer

Required

from_date

date

Required

to_date

date

Required

percent

decimal number

None.

sum

decimal number

None.

interface_code

string

String length: inclusive between 0 and 10

old_code

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "key_code": 1,
  "insur_code": 2,
  "district_code": 3,
  "business_branch_code": 4,
  "oper_code": 5,
  "group_num": 6,
  "turn_surg_code": "sample string 7",
  "occupation_code": 8,
  "from_date": "2024-03-28T23:23:48.8413154+03:00",
  "to_date": "2024-03-28T23:23:48.8413154+03:00",
  "percent": 11.0,
  "sum": 12.0,
  "interface_code": "sample string 13",
  "old_code": 1
}

application/xml, text/xml

Sample:
<SimpleStaffPriceListTurnSurg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <business_branch_code>4</business_branch_code>
  <district_code>3</district_code>
  <from_date>2024-03-28T23:23:48.8413154+03:00</from_date>
  <group_num>6</group_num>
  <insur_code>2</insur_code>
  <interface_code>sample string 13</interface_code>
  <key_code>1</key_code>
  <occupation_code>8</occupation_code>
  <old_code>1</old_code>
  <oper_code>5</oper_code>
  <percent>11</percent>
  <sum>12</sum>
  <to_date>2024-03-28T23:23:48.8413154+03:00</to_date>
  <turn_surg_code>sample string 7</turn_surg_code>
</SimpleStaffPriceListTurnSurg>

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

application/bson

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

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>

application/bson

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