POST api/PriceListsController/CharginSaveInvoice?invoice={invoice}&typeChargin={typeChargin}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
invoice

string

Required

typeChargin

string

Required

Body Parameters

Collection of debitPrice
NameDescriptionTypeAdditional information
line_code

integer

None.

code

integer

None.

price

decimal number

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "line_code": 1,
    "code": 2,
    "price": 1.0
  },
  {
    "line_code": 1,
    "code": 2,
    "price": 1.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfSimpleStaffPriceListBL.debitPrice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Prices">
  <SimpleStaffPriceListBL.debitPrice>
    <code>2</code>
    <line_code>1</line_code>
    <price>1</price>
  </SimpleStaffPriceListBL.debitPrice>
  <SimpleStaffPriceListBL.debitPrice>
    <code>2</code>
    <line_code>1</line_code>
    <price>1</price>
  </SimpleStaffPriceListBL.debitPrice>
</ArrayOfSimpleStaffPriceListBL.debitPrice>

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 'List`1'.

application/bson

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

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>

application/bson

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