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": "a836f412-a63d-4cf0-9c1b-896711c9221e",
"ExternalMemberId": "sample string 2",
"DemographicAnswers": [
{
"DemographicGuid": "1c41ec3b-75d0-4e75-b8c2-477178a6cfc8",
"AnswerGuid": "d2001fa6-1b89-4673-b252-aa62ce60ed9e",
"GroupNumber": 64,
"AnswerText": "sample string 5"
},
{
"DemographicGuid": "1c41ec3b-75d0-4e75-b8c2-477178a6cfc8",
"AnswerGuid": "d2001fa6-1b89-4673-b252-aa62ce60ed9e",
"GroupNumber": 64,
"AnswerText": "sample string 5"
}
]
}
Response Description
HTTP Status Code 204 will be returned when the operation completes successfully.