attachment file of answers "form_template_id" is required OR linked_urns
{
"form_id": "46af4ef5-2c18-4098-9bc5-c048fb90b843",
"form_template_id": "5c7e6466-5d17-4998-88d1-06bf3e99d001",
"linked_urns": [
"v0:product:context:context_id"
],
"attachments": [
{
"form_question_id": "ee348bf7-db46-4080-b396-2f4d8998e46c",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"answer": "string",
"note_update": true,
"extension": "string",
"note": "string"
}
]
}
curl --location --request POST 'https://cgv-prd-checklist-api.contele.io/attachments' \
--header 'x-api-key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"form_id": "46af4ef5-2c18-4098-9bc5-c048fb90b843",
"form_template_id": "5c7e6466-5d17-4998-88d1-06bf3e99d001",
"linked_urns": [
"v0:product:context:context_id"
],
"attachments": [
{
"form_question_id": "ee348bf7-db46-4080-b396-2f4d8998e46c",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"answer": "string",
"note_update": true,
"extension": "string",
"note": "string"
}
]
}'
{
"form_id": "46af4ef5-2c18-4098-9bc5-c048fb90b843",
"form_template_id": "5c7e6466-5d17-4998-88d1-06bf3e99d001",
"linked_urns": [
"v0:product:context:context_id"
],
"attachments": [
{
"form_question_id": "ee348bf7-db46-4080-b396-2f4d8998e46c",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"answer": "string",
"note_update": true,
"extension": "string",
"note": "string"
}
]
}