POST api/PriceListsController/GetSelfPaymentsForDebitHistory

Request Information

URI Parameters

None.

Body Parameters

SelfPayForDebit
NameDescriptionTypeAdditional information
line_code

integer

None.

insur_code

integer

Required

district_code

integer

None.

group_code

integer

None.

oper_code

integer

None.

price_group_code

integer

None.

surg_code

integer

None.

new_insur_code

integer

Required

new_oper_code

integer

Required

new_district_code

integer

None.

price

decimal number

None.

offer_price

decimal number

Required

decline

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

date_actual

date

None.

interface_code

string

String length: inclusive between 0 and 10

old_code

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "line_code": 1,
  "insur_code": 2,
  "district_code": 1,
  "group_code": 1,
  "oper_code": 1,
  "price_group_code": 1,
  "surg_code": 1,
  "new_insur_code": 3,
  "new_oper_code": 4,
  "new_district_code": 1,
  "price": 5.0,
  "offer_price": 6.0,
  "decline": "sample string 7",
  "date_actual": "2024-04-16T15:48:21.8515548+03:00",
  "interface_code": "sample string 9",
  "old_code": 1
}

application/xml, text/xml

Sample:
<SelfPayForDebit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <date_actual>2024-04-16T15:48:21.8515548+03:00</date_actual>
  <decline>sample string 7</decline>
  <district_code>1</district_code>
  <group_code>1</group_code>
  <insur_code>2</insur_code>
  <interface_code>sample string 9</interface_code>
  <line_code>1</line_code>
  <new_district_code>1</new_district_code>
  <new_insur_code>3</new_insur_code>
  <new_oper_code>4</new_oper_code>
  <offer_price>6</offer_price>
  <old_code>1</old_code>
  <oper_code>1</oper_code>
  <price>5</price>
  <price_group_code>1</price_group_code>
  <surg_code>1</surg_code>
</SelfPayForDebit>

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

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.