Creates a questionnaire instance from a published template. The instance is owned by the template's owner company and is INDEPENDENT of any specification until it is linked (POST .../food/specifications/{specificationId}/questionnaires/link). Answers are written once it is linked.
Sécurité
oauth2(Portées requises: t1_api)
- Productionhttps://apis.traceone.com/spec/v2/questionnaires
curl -i -X POST \
https://apis.traceone.com/spec/v2/questionnaires \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"questionnaireTemplateId": "0b02396b-5760-44b0-bf4d-5b234211ce5b",
"shareWithCompanyId": "8e5650f9-318b-468b-bcf9-227e314bab6d"
}'Réponse
{ "questionnaireId": "9abce9e8-8cd1-466c-8c53-3b67c390ab33" }