Skip to main content

Survey Execution

COTSurveyExecution

Description​

The COTSurveyExecution data model is found within COTEvent objects sent to external servers via webhooks. COTSurveyExecution contains submitted survey data in the form of COTMessage objects.

JSON Sample​

{ 
"surveyId": "627acd7e58a77633efc55b69",
"group": "627acd8437cc96869d805470",
"surveyData": [
"627acdb064399b2d607d69a0",
"627acdbc7bbc2a5c8102c7e9",
"627acdc90e3dfdafb11a59d7",
"627acdd173275a80b642c368"
]
}

Fields​

FieldDescriptionTypeNote
surveyIdThe ObjectId of the submitted survey.ObjectId<COTSurvey>
groupThe ObjectId of the group in which the submitted survey is found.ObjectId<COTGroup>
surveyDataAn array of the COTMessage objects that constitute the submitted survey.COTMessage[ ]

Additional Resources​

Help​