POST api/RawMaterialAdd
Request Information
URI Parameters
None.
Body Parameters
RawMaterialScan| Name | Description | Type | Additional information |
|---|---|---|---|
| MachineID | integer |
None. |
|
| TypeID | integer |
None. |
|
| Qty | decimal number |
None. |
|
| JobOrderID | integer |
None. |
|
| UnitID | integer |
None. |
|
| CreatedBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"MachineID": 1,
"TypeID": 2,
"Qty": 3.0,
"JobOrderID": 4,
"UnitID": 5,
"CreatedBy": 6
}
application/xml, text/xml
Sample:
<RawMaterialScan xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entity"> <CreatedBy>6</CreatedBy> <JobOrderID>4</JobOrderID> <MachineID>1</MachineID> <Qty>3</Qty> <TypeID>2</TypeID> <UnitID>5</UnitID> </RawMaterialScan>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>