PUT Responses/{QuestionKey}
Add or update Responses in the specified Question
If the Question does not have a Response stored in Ascribe with the specified respondent id, then the response will be added.
Otherwise, the Response stored in Ascribe will be updated if any of the properties of in the request differ from the values of the current properties of the Response.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
QuestionKey |
The key of the Question, which must be an integer value. |
integer |
Required |
Body Parameters
The Responses to add or update.
PutResponsesRequestName | Description | Type | Additional information |
---|---|---|---|
responses |
The responses to be added or updated. |
Collection of PutResponse |
Required |
Response Information
Add or update Responses in the specified Question
If the Question does not have a Response stored in Ascribe with the specified respondent id, then the response will be added.
Otherwise, the Response stored in Ascribe will be updated if any of the properties of in the request differ from the values of the current properties of the Response.
Name | Description | Type | Additional information |
---|---|---|---|
responsesAdded |
The count of Responses added to the Question. |
integer |
Required |
existingResponsesUpdated |
The count of existing Responses updated. |
integer |
Required |
existingResponsesUnchanged |
The count of existing Responses unchanged. |
integer |
Required |
errors |
If null the request was processed without error. If not null errors occurred while processing the request. The array contains the error messages. |
Collection of string |
None. |