Skip to content

Add Supplier Packaging Item dimension values

Request

Adds Supplier Packaging Item dimension values.

Security
Bearer
Query
centerIdstring, (uuid)
Body
Array [
supplierIdstring, (uuid)

Identifier of the supplier associated with the record.

packagingBomItemIdinteger or null, (int32)

Identifier of the packaging BOM item associated with the supplier.

packagingUnitItemIdinteger or null, (int32)

Identifier of the packaging unit item associated with the supplier.

]
curl -i -X POST \
  'https://developer.sustainabilitymaster.ai/_mock/openapi/api/EnterpriseTables/SupplierPackagingItem?centerId=497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '[
    {
      "supplierId": "e01eb4c4-8eb9-4fb7-b625-61f58c6148db",
      "packagingBomItemId": 0,
      "packagingUnitItemId": 0
    }
  ]'

Responses

Successfully created Supplier Packaging Item values

Bodyapplication/json
idinteger, (int32)

Gets or sets the database identifier.

guidstring, (uuid)

Gets or sets the unique identifier.

centerIdstring or null, (uuid)

Gets or sets the associated center identifier.

supplierIdstring, (uuid)

Gets or sets the supplier identifier.

supplierNamestring or null

Gets or sets the supplier name.

suppIdstring or null

Identifier of the supplier associated with the record.

packagingBomItemIdinteger or null, (int32)

Gets or sets the BomItem identifier.

packagingBomItemIdentifierstring or null

Gets or sets the BomItem identifier string.

packagingBomItemNamestring or null

Gets or sets the BomItem name.

packagingUnitRecordIdinteger or null, (int32)

Gets or sets the packaging unit record identifier.

packagingUnitIdstring or null

Gets or sets the packaging unit identifier.

packagingUnitNamestring or null

Gets or sets the packaging unit name.

packagingUnitItemIdinteger or null, (int32)

Gets or sets the item identifier.

packagingUnitItemIdentifierstring or null

Gets or sets the item identifier string.

packagingUnitItemNamestring or null

Gets or sets the item name.

tranIdstring, (uuid)

Gets or sets the transaction identifier.

Response
{ "id": 0, "guid": "ee6a7af7-650d-499b-8e32-58a52ffdb7bc", "centerId": "282cb687-20cd-4f37-9b5b-b30c06eb5b1b", "supplierId": "e01eb4c4-8eb9-4fb7-b625-61f58c6148db", "supplierName": "string", "suppId": "string", "packagingBomItemId": 0, "packagingBomItemIdentifier": "string", "packagingBomItemName": "string", "packagingUnitRecordId": 0, "packagingUnitId": "string", "packagingUnitName": "string", "packagingUnitItemId": 0, "packagingUnitItemIdentifier": "string", "packagingUnitItemName": "string", "tranId": "0966b546-a6c9-4141-86ae-3d3862f1f36c" }