POST api/PriceListsController/GetHistoryListSimpleStaffTurnSurg

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-11-21T11:34:29.3011768+02:00",
  "to_date": "2024-11-21T11:34:29.3011768+02: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-11-21T11:34:29.3011768+02: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-11-21T11:34:29.3011768+02: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

Collection of Object

None.

Response Formats

application/json, text/json

Sample:
[
  {},
  {}
]

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'System.Linq.EnumerableQuery`1[[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]' with data contract name 'ArrayOfanyType:http://schemas.microsoft.com/2003/10/Serialization/Arrays' is not expected. Consider using a DataContractResolver if you are using DataContractSerializer or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to the serializer.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'System.Linq.EnumerableQuery`1[[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]' with data contract name 'ArrayOfanyType:http://schemas.microsoft.com/2003/10/Serialization/Arrays' is not expected. Consider using a DataContractResolver if you are using DataContractSerializer or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to the serializer.

application/bson

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