Submittal
Submittals represent a collection of questions and answers to a questionnaire.
Endpoint
https://platform.wellviasolutions.com/qna/v1/questionnaire/submittal
The Submittal Object
Attributes
idstring:requiredThe unique identifier of the questionnaire submittal.
questionnaireIdstring:requiredThe unique identifier of the questionnaire being responded to.
userIdstring:requiredThe unique identifier of the user that the responses belong to.
subjectIdstring:optionalThe unique identifier of the visit or other resource the submittal should be linked with.
responseTimetimestamp:requiredThe UTC timestamp of when the submittal was created.
questionnaireAnswerslist of objects:requiredA list of the questions and coorelating responses submitted by the user.
answerIdstring:required
The unique identifier representing this answer.
questionIdstring:required
The unique identifier of the question that the answer is tied to.
questionnaireSubmitIdstring:required
The unique identifier of the submittal that the answer is tied to.
responseValuestring:required
The value of the response given.
Example
{
"id": "quessb_06d44ef5cf7f419295e3c332ab7c43b3",
"questionnaireId": "quesna_d948a513327c4185b9ec683dc1bf83c6",
"userId": "mem_5b9f2b8397fc4f3db245a2aa5a775945",
"subjectId": null,
"responseTime": "2021-10-26T13:54:44",
"questionnaireAnswers": [
{
"answerId": "quesan_9ceaabad4a8a4093b87bc7a6a977a9bc",
"questionId": "quesqu_afed4982e8134edfbd5ee85f12c3246c",
"questionnaireSubmitId": "quessb_06d44ef5cf7f419295e3c332ab7c43b3",
"responseValue": "Never"
},
{
"answerId": "quesan_1d0d749d901849f98c0ae631499ca165",
"questionId": "quesqu_29bb999a313d4a0cb5c87f6c1aaa5d9f",
"questionnaireSubmitId": "quessb_06d44ef5cf7f419295e3c332ab7c43b3",
"responseValue": "Yes"
}
]
}Updated about 1 year ago

