POST api/PriceListsController/CharginSaveInvoice?invoice={invoice}&typeChargin={typeChargin}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
invoice | string |
Required |
|
typeChargin | string |
Required |
Body Parameters
Collection of debitPriceName | Description | Type | Additional 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:
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
stringResponse 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.