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


id string: required The unique identifier of the questionnaire submittal.
questionnaireId string: required The unique identifier of the questionnaire being responded to.
userId string: required The unique identifier of the user that the responses belong to.
subjectId string: optional The unique identifier of the visit or other resource the submittal should be linked with.
responseTime timestamp: required The UTC timestamp of when the submittal was created.
questionnaireAnswers list of objects: required A list of the questions and coorelating responses submitted by the user.
answerId string: required

The unique identifier representing this answer.


questionId string: required

The unique identifier of the question that the answer is tied to.


questionnaireSubmitId string: required

The unique identifier of the submittal that the answer is tied to.


responseValue string: 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"
		}
	]
}