Skip to content

Add a new BomHeader Record

Request

Adds a new BomHeader record to the system based on the provided BomHeader details.

Security
Bearer
Query
centerIdstring, (uuid)
Bodyapplication/jsonrequired

The BomHeader payload

Array [
idstring, (uuid)

Gets or sets the unique identifier of the BOM header.

Example:"5fa85f64-5717-4562-b3fc-2c963f66aaaa"
bomidstring, non-emptyrequired

Gets or sets the BOM identifier or code.

Example:"BOM001"
productIdstring, (uuid)required

Gets or sets the associated product identifier.

Example:"7fa85f64-5717-4562-b3fc-2c963f66bbbb"
productNamestring or null

Gets or sets the associated product name.

Example:"Laptop Model X"
skuidstring, (uuid)required

Gets or sets the associated SKU identifier.

Example:"9fa85f64-5717-4562-b3fc-2c963f66cccc"
skuNamestring or null

Gets or sets the associated SKU name.

Example:"Laptop Model X - 16GB Variant"
bomtypestring, non-emptyrequired

Gets or sets the BOM type.

Example:"[S-BOM,M-BOM]"
bomapprovedDatestring or null, (date-time)

Gets or sets the date when the BOM was approved.

Example:"2024-04-01T12:00:00"
bomstatusstring or null

Gets or sets the current BOM status.

Example:"[Active,Archived]"
notesstring or null

Gets or sets additional notes related to the BOM.

Example:"Approved"
]
curl -i -X POST \
  'https://developer.sustainabilitymaster.ai/_mock/openapi/api/EnterpriseTables/BomHeader?centerId=497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '[
    {
      "id": "5fa85f64-5717-4562-b3fc-2c963f66aaaa",
      "bomid": "BOM001",
      "productId": "7fa85f64-5717-4562-b3fc-2c963f66bbbb",
      "productName": "Laptop Model X",
      "skuid": "9fa85f64-5717-4562-b3fc-2c963f66cccc",
      "skuName": "Laptop Model X - 16GB Variant",
      "bomtype": "[S-BOM,M-BOM]",
      "bomapprovedDate": "2024-04-01T12:00:00",
      "bomstatus": "[Active,Archived]",
      "notes": "Approved"
    }
  ]'

Responses

Successfully added the BomHeader record