Skip to content

Add Supplier Packaging Unit dimension values

Request

Adds Supplier Packaging Unit dimension values.

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

Identifier of the supplier associated with the record.

packagingUnitRecordIdinteger, (int32)

Identifier of the packaging unit record associated with the supplier.

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

Responses

Successfully created Supplier Packaging Unit 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.

packagingUnitRecordIdinteger, (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.

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", "packagingUnitRecordId": 0, "packagingUnitId": "string", "packagingUnitName": "string", "tranId": "0966b546-a6c9-4141-86ae-3d3862f1f36c" }