POST API/SaveBatchInvoiceMaterial
Request Information
URI Parameters
None.
Body Parameters
BatchInvoiceMaterialModel| Name | Description | Type | Additional information |
|---|---|---|---|
| InvoiceNumber | string |
None. |
|
| Items | Collection of BatchInvoiceItem |
None. |
Request Formats
application/json, text/json
Sample:
{
"InvoiceNumber": "sample string 1",
"Items": [
{
"BatchQuantity": 1.0,
"Carton": 2.0,
"MaterialCode": "sample string 3",
"ItemDescription": "sample string 4",
"BatchNumber": "sample string 5"
},
{
"BatchQuantity": 1.0,
"Carton": 2.0,
"MaterialCode": "sample string 3",
"ItemDescription": "sample string 4",
"BatchNumber": "sample string 5"
}
]
}
application/xml, text/xml
Sample:
<BarcodeData.BatchInvoiceMaterialModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTPL_Polymedicure_Dis.Models">
<InvoiceNumber>sample string 1</InvoiceNumber>
<Items>
<BarcodeData.BatchInvoiceItem>
<BatchNumber>sample string 5</BatchNumber>
<BatchQuantity>1</BatchQuantity>
<Carton>2</Carton>
<ItemDescription>sample string 4</ItemDescription>
<MaterialCode>sample string 3</MaterialCode>
</BarcodeData.BatchInvoiceItem>
<BarcodeData.BatchInvoiceItem>
<BatchNumber>sample string 5</BatchNumber>
<BatchQuantity>1</BatchQuantity>
<Carton>2</Carton>
<ItemDescription>sample string 4</ItemDescription>
<MaterialCode>sample string 3</MaterialCode>
</BarcodeData.BatchInvoiceItem>
</Items>
</BarcodeData.BatchInvoiceMaterialModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.