WebMaterialInventory - GET
Find material inventory by query(requires special permissions).
api/{role}/WebMaterialInventory
?HasQOH={HasQOH}
&Material={Material}
&Site={Site}
Request Information
Property | Note | Constraints |
---|---|---|
HasQOH : boolean | ||
Material : string | ||
Site : string | ||
role : string |
Response Information
Property | Note | Constraints |
---|---|---|
MaterialID : string | ||
Material : string | ||
QuantityOnHand : integer | ||
Site : string | ||
Par : integer |
Response Formats
application/json, text/json
[
{
"materialID": "test 1",
"material": "test 2",
"quantityOnHand": 3,
"site": "test 4",
"par": 5
},
{
"materialID": "test 1",
"material": "test 2",
"quantityOnHand": 3,
"site": "test 4",
"par": 5
}
]
application/xml, text/xml
<ArrayOfWebMaterialInventoryResponseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FOTS.DTO">
<WebMaterialInventoryResponseDTO>
<Material>test 2</Material>
<MaterialID>test 1</MaterialID>
<Par>5</Par>
<QuantityOnHand>3</QuantityOnHand>
<Site>test 4</Site>
</WebMaterialInventoryResponseDTO>
<WebMaterialInventoryResponseDTO>
<Material>test 2</Material>
<MaterialID>test 1</MaterialID>
<Par>5</Par>
<QuantityOnHand>3</QuantityOnHand>
<Site>test 4</Site>
</WebMaterialInventoryResponseDTO>
</ArrayOfWebMaterialInventoryResponseDTO>