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": "3240a645-fdfe-4925-88ba-b645fbd1857e",
"ExternalMemberId": "sample string 2",
"DemographicAnswers": [
{
"DemographicGuid": "b044db65-b3ac-4bfe-b309-abdb08cce053",
"AnswerGuid": "dc66c2fb-904a-4230-8b8b-bc1173c3e238",
"GroupNumber": 64,
"AnswerText": "sample string 5"
},
{
"DemographicGuid": "b044db65-b3ac-4bfe-b309-abdb08cce053",
"AnswerGuid": "dc66c2fb-904a-4230-8b8b-bc1173c3e238",
"GroupNumber": 64,
"AnswerText": "sample string 5"
}
]
}
Response Description
HTTP Status Code 204 will be returned when the operation completes successfully.