POST api/HCS?criteria={criteria}&batches={batches}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| criteria | string |
Required |
|
| batches | string |
Required |
Body Parameters
Collection of BatchCompletion| Name | Description | Type | Additional information |
|---|---|---|---|
| ITEMNMBR | string |
None. |
|
| ITEMDESC | string |
None. |
|
| ITMCLSCD | string |
None. |
|
| QtyLbs | decimal number |
None. |
|
| QtyTons | decimal number |
None. |
|
| DCSQty | decimal number |
None. |
|
| ProdQtyTons | decimal number |
None. |
|
| Variance | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"ITEMNMBR": "sample string 1",
"ITEMDESC": "sample string 2",
"ITMCLSCD": "sample string 3",
"QtyLbs": 4.1,
"QtyTons": 5.1,
"DCSQty": 6.1,
"ProdQtyTons": 7.1,
"Variance": -2.0
},
{
"ITEMNMBR": "sample string 1",
"ITEMDESC": "sample string 2",
"ITMCLSCD": "sample string 3",
"QtyLbs": 4.1,
"QtyTons": 5.1,
"DCSQty": 6.1,
"ProdQtyTons": 7.1,
"Variance": -2.0
}
]
application/xml, text/xml
Sample:
<ArrayOfBatchCompletion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HCSAPI.DTOs">
<BatchCompletion>
<DCSQty>6.1</DCSQty>
<ITEMDESC>sample string 2</ITEMDESC>
<ITEMNMBR>sample string 1</ITEMNMBR>
<ITMCLSCD>sample string 3</ITMCLSCD>
<ProdQtyTons>7.1</ProdQtyTons>
<QtyLbs>4.1</QtyLbs>
<QtyTons>5.1</QtyTons>
<Variance>-2</Variance>
</BatchCompletion>
<BatchCompletion>
<DCSQty>6.1</DCSQty>
<ITEMDESC>sample string 2</ITEMDESC>
<ITEMNMBR>sample string 1</ITEMNMBR>
<ITMCLSCD>sample string 3</ITMCLSCD>
<ProdQtyTons>7.1</ProdQtyTons>
<QtyLbs>4.1</QtyLbs>
<QtyTons>5.1</QtyTons>
<Variance>-2</Variance>
</BatchCompletion>
</ArrayOfBatchCompletion>
application/x-www-form-urlencoded
Sample:
Sample not available.
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>