POST api/PriceListsController/GetPriceListReport

Request Information

URI Parameters

None.

Body Parameters

PriceListReportCriteria
NameDescriptionTypeAdditional information
insur_code

integer

None.

district_code

integer

None.

business_branch_code

integer

None.

surg_code

integer

None.

price_group_code

integer

None.

doctype

string

None.

until_date

date

None.

oper_list

Collection of integer

None.

group_list

Collection of integer

None.

opinsactive

string

None.

Request Formats

application/json, text/json

Sample:
{
  "insur_code": 1,
  "district_code": 2,
  "business_branch_code": 3,
  "surg_code": 4,
  "price_group_code": 5,
  "doctype": "sample string 6",
  "until_date": "2020-06-07T06:13:06.6190371+03:00",
  "oper_list": [
    1,
    2
  ],
  "group_list": [
    1,
    2
  ],
  "opinsactive": "sample string 8"
}

application/xml, text/xml

Sample:
<PricesManagement.PriceListReportCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Prices">
  <business_branch_code>3</business_branch_code>
  <district_code>2</district_code>
  <doctype>sample string 6</doctype>
  <group_list xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </group_list>
  <insur_code>1</insur_code>
  <oper_list xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </oper_list>
  <opinsactive>sample string 8</opinsactive>
  <price_group_code>5</price_group_code>
  <surg_code>4</surg_code>
  <until_date>2020-06-07T06:13:06.6190371+03:00</until_date>
</PricesManagement.PriceListReportCriteria>

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

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.