GET | /Inventory/{InventoryID}/UnitOfMeasures/{UnitOfMeasureID} | Retrieves an inventory unit of measure. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
InventoryID | path | string | No | |
UnitOfMeasureID | path | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
RecID | form | string | No | |
InnerUnitOfMeasure | form | InventoryUnitOfMeasure | No | |
QuantityInnersPerUnitOfMeasure | form | decimal? | No | |
IsSell | form | bool? | No | |
IsPurchase | form | bool? | No | |
ItemNo | form | int? | No | |
LastSavedDateTime | form | DateTime? | No | |
UnitOfMeasureID | form | string | No | |
Name | form | string | No | |
PartNo | form | string | No | |
Barcode | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Inventory/{InventoryID}/UnitOfMeasures/{UnitOfMeasureID} HTTP/1.1 Host: api.jiwa.com.au Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"RecID":"String","InnerUnitOfMeasure":{"RecID":"String","InnerUnitOfMeasure":{"RecID":"String","InnerUnitOfMeasure":{"RecID":"String","QuantityInnersPerUnitOfMeasure":0,"IsSell":false,"IsPurchase":false,"ItemNo":0,"LastSavedDateTime":"0001-01-01T00:00:00.0000000","UnitOfMeasureID":"String","Name":"String","PartNo":"String","Barcode":"String"},"QuantityInnersPerUnitOfMeasure":0,"IsSell":false,"IsPurchase":false,"ItemNo":0,"LastSavedDateTime":"0001-01-01T00:00:00.0000000","UnitOfMeasureID":"String","Name":"String","PartNo":"String","Barcode":"String"},"QuantityInnersPerUnitOfMeasure":0,"IsSell":false,"IsPurchase":false,"ItemNo":0,"LastSavedDateTime":"0001-01-01T00:00:00.0000000","UnitOfMeasureID":"String","Name":"String","PartNo":"String","Barcode":"String"},"QuantityInnersPerUnitOfMeasure":0,"IsSell":false,"IsPurchase":false,"ItemNo":0,"LastSavedDateTime":"0001-01-01T00:00:00.0000000","UnitOfMeasureID":"String","Name":"String","PartNo":"String","Barcode":"String"}