Allows for a members Answers to a Demographic to be saved. All previous answers for a member for the supplied demographics will be deleted before the new Answers are saved.
Endpoint URL
http://api.clearvoicesurveys.com/api/v1/member/savedemographicanswers
Parameters
| MemberGuid globally unique identifier |
| ExternalMemberId string |
| DemographicAnswers Collection of SaveMemberDemographicAnswer |
Example Request Data
{
"MemberGuid": "ba149ebc-8039-48f7-96a9-189ac6da90b1",
"ExternalMemberId": "sample string 2",
"DemographicAnswers": [
{
"DemographicGuid": "d54c1cee-312d-4005-9d7b-97bc0d642b56",
"AnswerGuid": "da6f95d0-90c3-4e50-8a96-3f9e106cb08f",
"GroupNumber": 64,
"AnswerText": "sample string 5"
},
{
"DemographicGuid": "d54c1cee-312d-4005-9d7b-97bc0d642b56",
"AnswerGuid": "da6f95d0-90c3-4e50-8a96-3f9e106cb08f",
"GroupNumber": 64,
"AnswerText": "sample string 5"
}
]
}
Response Description
HTTP Status Code 204 will be returned when the operation completes successfully.