POST api/HCS/ReceiveLot?empid={empid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| empid | string |
Required |
Body Parameters
ProductionLot| Name | Description | Type | Additional information |
|---|---|---|---|
| LotId | integer |
None. |
|
| ProductionId | integer |
None. |
|
| LineID | string |
None. |
|
| MixerID | integer |
None. |
|
| Mixer | string |
None. |
|
| BatchNmbr | integer |
None. |
|
| BagNumber | string |
None. |
|
| QtyReceiving | decimal number |
None. |
|
| UofM | string |
None. |
|
| Printer | string |
None. |
|
| DeleteLot | boolean |
None. |
|
| Commited | boolean |
None. |
|
| UpdateLot | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"LotId": 1,
"ProductionId": 2,
"LineID": "sample string 3",
"MixerID": 4,
"Mixer": "sample string 5",
"BatchNmbr": 6,
"BagNumber": "sample string 7",
"QtyReceiving": 8.1,
"UofM": "sample string 9",
"Printer": "sample string 10",
"DeleteLot": true,
"Commited": true,
"UpdateLot": true
}
application/xml, text/xml
Sample:
<ProductionLot xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HCSAPI.DTOs"> <BagNumber>sample string 7</BagNumber> <BatchNmbr>6</BatchNmbr> <Commited>true</Commited> <DeleteLot>true</DeleteLot> <LineID>sample string 3</LineID> <LotId>1</LotId> <Mixer>sample string 5</Mixer> <MixerID>4</MixerID> <Printer>sample string 10</Printer> <ProductionId>2</ProductionId> <QtyReceiving>8.1</QtyReceiving> <UofM>sample string 9</UofM> <UpdateLot>true</UpdateLot> </ProductionLot>
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>