Skip to main content

Instance

Create instance#

Creates new quick survey instance.

Request body:

AttributeTypeDescriptionNullable
templateIdStringIdentifier of templatefalse
typeStringType of instancefalse
executorIdIntegerIdentifier of executorfalse
executorNameStringExecutor nametrue
shopIdIntegerIdentifier of shoptrue

Response

Returns identifier of instance object

Examples

curl --request POST https://api.qvalon.com/v1/survey/instances \
--header 'Authorization: Bearer <your_token>' \
-d '{"templateId":"606ac4f65b784e60cb88cb5b","shopId":1505,"type":"STANDALONE","executorId":1,"executorName":"Administrator"}'
200 OK
"6082d47b7eb7af765469e73e"