Passer au contenu

Limited
Get packaging components by ids

Requête

Sécurité
oauth2(Portées requises: t1_api)
Corpsapplication/jsonobligatoire
Array of strings, (uuid)
curl -i -X POST \
  https://apis.traceone.com/spec/v2/library/packaging-components/collection \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '[
    "497f6eca-6276-4993-bfeb-53cbbbba6f08"
  ]'

Réponses

The packaging components

Corpsapplication/json
Array [
packagingComponentIdstring, (uuid)read-only
ownerCompanyIdstring, (uuid)read-only
versionobject(LibraryVersion)read-only
statusstringread-only
Enum:"draft""inProgress""locked"
namestring or null
usageLevelstring
Enum:"primary""secondary""tertiary"
packagingComponentTypeobject(ReferenceListItem)read-only

A reference-list value as read. Written as the item id alone.

creationDateUtcstring, (date-time)read-only
lastUpdateDateUtcstring, (date-time)read-only
isPrintableboolean
weightobject(Measurement)
widthobject(Measurement)
heightobject(Measurement)
lengthobject(Measurement)
diameterobject(Measurement)
packagingUsageArray of objects(ReferenceListItem)
internalCodestring or null
technicalDesignationstring or null
commercialDesignationstring or null
isComponentInDirectContactWithProductboolean
suppliersArray of objects
materialsobject or null
componentCharacteristicsobject or null
printingobject or null
substancesArray of objects(PackagingSubstance)
]
Réponse
[ { "packagingComponentId": "2ba6d6df-1033-471d-b787-87ae63c06cad", "ownerCompanyId": "10e96248-c873-4e93-b748-bc36e39510eb", "version": { … }, "status": "draft", "name": "string", "usageLevel": "primary", "packagingComponentType": { … }, "creationDateUtc": "2019-08-24T14:15:22Z", "lastUpdateDateUtc": "2019-08-24T14:15:22Z", "isPrintable": true, "weight": { … }, "width": { … }, "height": { … }, "length": { … }, "diameter": { … }, "packagingUsage": [ … ], "internalCode": "string", "technicalDesignation": "string", "commercialDesignation": "string", "isComponentInDirectContactWithProduct": true, "suppliers": [ … ], "materials": { … }, "componentCharacteristics": { … }, "printing": { … }, "substances": [ … ] } ]