Creates a packaging system owned by your company from existing, published packaging components, born published as version 1, active: a packaging specification can link it right away. Atomic: nothing is created when a value is refused.
The component fields keep the names the Packaging application uses (componentId, componentRecyclabilityId).
Sécurité
oauth2(Portées requises: t1_api)
- Productionhttps://apis.traceone.com/spec/v2/library/packaging-systems
curl -i -X POST \
https://apis.traceone.com/spec/v2/library/packaging-systems \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: string' \
-d '{
"name": "string",
"components": [
{
"componentId": "616ccd92-d666-4180-8349-8d125b269fac",
"componentQuantity": 1,
"isMainComponent": true,
"componentRecyclabilityId": "68e74424-17e7-4e0c-b8a6-3b925d9394c8",
"linkedComponentIds": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
]
}'Réponse
{ "packagingSystemId": "04dbf7ac-1d58-4c7b-a7c1-0e70b0d8f3d3" }