The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Survey:
{
GiftCardId: 0,
GiftCards:
[
String
],
SurveyId: 0,
ContactId: 0,
Questions:
[
{
QuestionId: 0,
QuestionType: String,
HTML: String,
DependsOn: String
}
]
},
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String
}
]
}
}