POST api/PriceListsController/GetLastMainPriceList

Request Information

URI Parameters

None.

Body Parameters

MainPriceGetCriteria
NameDescriptionTypeAdditional information
insur_code

integer

None.

insur_dep_code

integer

None.

dep_code

integer

None.

district_code

integer

None.

business_branch_code

integer

None.

price_group_code

integer

None.

surg_code

integer

None.

occupation_code

integer

None.

oper_code

integer

None.

date_actual

date

None.

ChangeType

string

None.

logName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "insur_code": 1,
  "insur_dep_code": 2,
  "dep_code": 3,
  "district_code": 4,
  "business_branch_code": 5,
  "price_group_code": 6,
  "surg_code": 7,
  "occupation_code": 8,
  "oper_code": 9,
  "date_actual": "2024-11-21T11:30:39.2226062+02:00",
  "ChangeType": "sample string 11",
  "logName": "sample string 12"
}

application/xml, text/xml

Sample:
<PricesManagement.MainPriceGetCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Prices">
  <ChangeType>sample string 11</ChangeType>
  <logName>sample string 12</logName>
  <business_branch_code>5</business_branch_code>
  <date_actual>2024-11-21T11:30:39.2226062+02:00</date_actual>
  <dep_code>3</dep_code>
  <district_code>4</district_code>
  <insur_code>1</insur_code>
  <insur_dep_code>2</insur_dep_code>
  <occupation_code>8</occupation_code>
  <oper_code>9</oper_code>
  <price_group_code>6</price_group_code>
  <surg_code>7</surg_code>
</PricesManagement.MainPriceGetCriteria>

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

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.