WebMaterialInventory - GET

Find material inventory by query(requires special permissions).

api/{role}/WebMaterialInventory
?HasQOH={HasQOH}
&Material={Material}

Request Information

PropertyNoteConstraints
HasQOH : boolean
Material : string
role : string

Response Information

PropertyNoteConstraints
MaterialID : string
Material : string
QuantityOnHand : integer

Response Formats

application/json, text/json

[
  {
    "materialID": "test 1",
    "material": "test 2",
    "quantityOnHand": 3
  },
  {
    "materialID": "test 1",
    "material": "test 2",
    "quantityOnHand": 3
  }
]

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>
    <QuantityOnHand>3</QuantityOnHand>
  </WebMaterialInventoryResponseDTO>
  <WebMaterialInventoryResponseDTO>
    <Material>test 2</Material>
    <MaterialID>test 1</MaterialID>
    <QuantityOnHand>3</QuantityOnHand>
  </WebMaterialInventoryResponseDTO>
</ArrayOfWebMaterialInventoryResponseDTO>