Skip to content

Add Packaging Material Sub Type dimension value

Request

Adds a new Packaging Material Sub Type dimension value.

Security
Bearer
Query
centerIdstring, (uuid)
Body
idinteger or null, (int32)

Gets or sets the database identifier. Required for update and ignored for create.

namestring or null

Gets or sets the dimension value name.

descriptionstring or null

Gets or sets the optional dimension value description.

isActiveboolean or null

Gets or sets whether the dimension value is active.

packagingMaterialSubTypeIdstring or null

Gets or sets the Packaging Material Sub Type user-facing identifier.

materialTypeIdinteger, (int32)

Gets or sets the parent Packaging Material Type database identifier.

curl -i -X POST \
  'https://developer.sustainabilitymaster.ai/_mock/openapi/api/EnterpriseTables/PackagingMaterialSubType?centerId=497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "id": 0,
    "name": "string",
    "description": "string",
    "isActive": true,
    "packagingMaterialSubTypeId": "string",
    "materialTypeId": 0
  }'

Responses

Successfully added Packaging Material Sub Type

Bodyapplication/json
idinteger or null, (int32)

Gets or sets the database identifier. Required for update and ignored for create.

namestring or null

Gets or sets the dimension value name.

descriptionstring or null

Gets or sets the optional dimension value description.

isActiveboolean or null

Gets or sets whether the dimension value is active.

packagingMaterialSubTypeIdstring or null

Gets or sets the Packaging Material Sub Type user-facing identifier.

materialTypeIdinteger, (int32)

Gets or sets the parent Packaging Material Type database identifier.

Response
{ "id": 0, "name": "string", "description": "string", "isActive": true, "packagingMaterialSubTypeId": "string", "materialTypeId": 0 }