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": "293a8c49-010c-417f-b151-14278047642b",
"ExternalMemberId": "sample string 2",
"DemographicAnswers": [
{
"DemographicGuid": "88ba282e-5e11-4887-9bfe-0db304c31c9e",
"AnswerGuid": "a3d32830-0c0d-4845-b9a1-a9ef369ff999",
"GroupNumber": 64,
"AnswerText": "sample string 5"
},
{
"DemographicGuid": "88ba282e-5e11-4887-9bfe-0db304c31c9e",
"AnswerGuid": "a3d32830-0c0d-4845-b9a1-a9ef369ff999",
"GroupNumber": 64,
"AnswerText": "sample string 5"
}
]
}
Response Description
HTTP Status Code 204 will be returned when the operation completes successfully.