Skip to content

InventoryUOMs

Get the specified Inventory UOM

Path

GET /odata/InventoryUOMs({inventoryUOMId})

Description

Returns the details of the Inventory UOM specified by ID.

Request parameters

Parameter
Explanation
inventoryUOMId: string (uuid)
required
in path
Enter the ID of the Inventory UOM.
api-version: string default: 1.0
in header
The requested API version.
Authorization: string default:
Bearer access_token
in header
Specify the type of the token (bearer) and insert the access_token obtained during authentication.

Responses

Response
Explanation
200 OK OK
400 Bad Request The request contains incorrect input data.
401 Unauthorized The specified access_token is incorrect, or the access_token has expired.
403 Forbidden The user doesn’t have the appropriate privileges.
500 Internal Server Error The server encountered an unexpected condition that prevented it from fulfilling the request.

Properties

Property
Explanation
inventoryUOMId: string (uuid) Unique Identifier of the Inventory Item Unit of Measure
inventoryId: string (uuid) Unique Identifier of the Inventory Item
inventoryNo: string Identification code of the Inventory Item
uom: string Unit of Measure
conversionFactor: integer
(int32)
Number of Stock Keeping Units in another Unit of Measure
dateAdded: string (date-time) Date when the Inventory Item Unit of Measure was added
addedId: string (uuid) Unique Identifier of the user who added the Inventory Item Unit of Measure
lastUpdated: string (date-time) Last Date when the Inventory Item Unit of Measure was updated
lastUpdatedId: string (uuid) Unique Identifier of the last user who updated the Inventory Item Unit of Measure
Response Content-types: APPLICATION/JSON, APPLICATION/XML
Response example (200 OK)
{
    "@odata.context": "link",
    "inventoryUOMId": "00000000-0000-0000-0000-000000000000",
    "inventoryId": "00000000-0000-0000-0000-000000000000",
    "inventoryNo": "string",
    "uom": "string",
    "conversionFactor": "integer (int32)",
    "dateAdded": "string (date-time)",
    "addedId": "00000000-0000-0000-0000-000000000000",
    "lastUpdated": "string (date-time)",
    "lastUpdatedId": "00000000-0000-0000-0000-000000000000"
}