Get a bill of materials
GET
Returns one bill of materials by its ID, including its components.
BearerAuthheader
AuthorizationBearer <JWT>id*stringID of the record (UUID).
Format
uuidX-TenantID*stringYour merchant's tenant code — the value typed in the Domain field on the iotoms login screen. See Concepts.
OK
*/*- response
status*stringOutcome of the call: SUCCESS when the request worked, ERROR when it did not.
message*stringShort human-readable message describing the result, for logs or display; do not parse it.
data?The bill of materials as it is now stored, with its components.
Example Request
curl -X GET 'https://beta.iotoms.com/api/v1/manufacturing/bom/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'X-TenantID: your-tenant-code'Example Response
{ "status": "string", "message": "string", "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "bomCode": "string", "finishedGoodId": "string", "finishedGoodName": "string", "outputQty": 0, "outputUom": "string", "outputUomId": "a1ce3c18-bd7d-4aae-b28c-73065017e73f", "isActive": true, "notes": "string", "components": [ { "id": 0, "componentItemId": "string", "componentItemName": "string", "requiredQty": 0, "requiredUom": "string", "requiredUomId": "3d172696-0779-4f75-8f59-e16f1d7b4889", "scrapPercent": 0, "effectiveQty": 0, "notes": "string" } ], "createdAt": "2019-08-24T14:15:22Z" }}