Passer au contenu

PackagingByGtin_Handle

Requête

This API allows to retrieve some information written in the "Packaging" section for a specific GTIN, no matter of the status of the Packaging and Logistics specification.
You just have to enter you GTIN in the field below to start using this API.

Sécurité
Bearer
Chemin
gtinstringobligatoire
Requête
SpecStatusesArray of strings(List`1)
Items Enum:"InProgress""PartiallyValidated""ValidatedByWriter""Validated""SignedByWriter""Signed""InRevision"
curl -i -X GET \
  'https://apis.traceone.com/spec-bridge/v1.0/packagingmodule/packagingcomponent/{gtin}?SpecStatuses=InProgress' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Réponses

OK

Corpsapplication/json
Array [
collabInfoIdinteger, (int64)
namestring or null
specificationTypestring or null
languagestring or null
retailerstring or null
commonIdinteger, (int64)
lastStatusDatestring or null, (date-time)
specStatusobject(Status)
specVersionstring or null
gtinstring or null
gtinsArray of strings or null(ICollection`1)
supplierUsualNamestring or null
generalInformationChapterArray of objects or null(ICollection`1)
packagingChapterSectionArray of objects or null(ICollection`1)
packagingComponentSectionsArray of objects or null(ICollection`1)
]
Réponse
[ { "collabInfoId": 0, "name": "string", "specificationType": "string", "language": "string", "retailer": "string", "commonId": 0, "lastStatusDate": "2019-08-24T14:15:22Z", "specStatus": { … }, "specVersion": "string", "gtin": "string", "gtins": [ … ], "supplierUsualName": "string", "generalInformationChapter": [ … ], "packagingChapterSection": [ … ], "packagingComponentSections": [ … ] } ]