Passer au contenu

Designed
Get production chapter

Requête

Returns the production chapters linked to the specification, one entry per linked library chapter, each with its sites, recipe, nutrition table and allergens, plus the specification's requirements and documents for the production chapter type. Read-only projection: the chapter content is written at the chapter's own address (PUT /library/food/production-chapters/{chapterId}).

Sécurité
oauth2(Portées requises: t1_api)
Chemin
specificationIdstring, (uuid)obligatoire

The unique identifier of the specification

curl -i -X GET \
  'https://apis.traceone.com/spec/v2/food/specifications/{specificationId}/production-chapter' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Réponses

Returns the production chapter

Corpsapplication/json
productionChaptersArray of objects or null(ProductionSubChapter)

One entry per linked library production chapter. Empty when no chapter is linked. An assortment specification links several.

requirementsArray of objects or null(Requirement)
documentsobject(DocumentSection)
Réponse
{ "productionChapters": [ { … } ], "requirements": [ { … } ], "documents": { "files": [ … ] } }