Passer au contenu

IncoByGtin_Handle

Requête

This API Consumer Information (INCO) allows to retrieve some information written in the Labelling for a specific GTIN in the last signed specification.
You just have to enter your 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/specificationmodule/label/inco/gtin/{gtin}?SpecStatuses=InProgress' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Réponses

OK

Corpsapplication/json
Array [
specificationIdstring or null, (uuid)

The specification ID from the Spec module. Null when sourced from QP.

collabInfoIdinteger, (int64)

The collaboration info identifier.

namestring or null

The specification name.

specificationTypestring or null

The specification type.

languagestring or null

The language of the specification.

retailerstring or null

The retailer name.

commonIdinteger, (int64)

The common identifier.

lastStatusDatestring or null, (date-time)

The date of the last status change.

specStatusobject(Status)
specVersionstring or null

The specification version.

reasonForRevisionobject(TabReasonForRevision)
labelSectionsArray of objects or null(ICollection`1)

The label sections of the specification.

]
Réponse
[ { "specificationId": "df380d59-2906-4417-bec3-4ac4567b1960", "collabInfoId": 0, "name": "string", "specificationType": "string", "language": "string", "retailer": "string", "commonId": 0, "lastStatusDate": "2019-08-24T14:15:22Z", "specStatus": { … }, "specVersion": "string", "reasonForRevision": { … }, "labelSections": [ … ] } ]