Same behaviour as FoodSpecifications_LinkTestingChapter. Attaches an existing library testing chapter of the PACKAGING type (created with LibraryChapters_CreateTesting, templateType packaging) to this specification, replacing the currently linked one, if any. Also the way a specification adopts a new version of its chapter. Linking the chapter already linked changes nothing (204).
Sécurité
oauth2(Portées requises: t1_api)
- Productionhttps://apis.traceone.com/spec/v2/packaging/specifications/{specificationId}/testing-chapter/link
curl -i -X POST \
'https://apis.traceone.com/spec/v2/packaging/specifications/{specificationId}/testing-chapter/link' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"chapterId": "2a48aff7-27e7-4ab6-9471-1ee9c5632811"
}'