Survey Answers
This call is executed to fetch surveys answered in the time range selected
GET
/business-data/surveys
Request elements
start | Date | Yes | Start Date time |
end | Date | Yes | End Date time |
page | Integer | Yes | Page number |
size | Integer | Yes | Number of records to return by page |
Error messages
Error Code | Error Message |
---|---|
400 | Bad request |
401 | Not authorized |
500 | Internal server error |
GET http://[subdomain].datanuum.com/business-data/surveys?start=2023-07-01&end=2023-07-29&page=2&size=10
{
"pageNumber": 2,
"pageSize": 10,
"totalCount": 11,
"data": [
{
"answers": [
{
"first": "NULL",
"last": "NULL",
"phone": "NULL",
"email": "goldy+dev+20@datanuum.com",
"brand": "MAX Fashion",
"branch": "Al Barsha",
"staff": null,
"date": "2023-07-21 10:50:20",
"customerId": "NULL",
"questAnsMap": {
"BPB": "8987686768",
"CwM": "5",
"FQT": "Col 2",
"IBH": "Col 3",
"KZb": "testing",
"Nwn": "Bad",
"OiZ": "Col 4",
"pXX": "Col 1",
"ryN": "6"
},
"operator": null,
"receipt": "21-07-2023_01",
"tierName": "Tier 1"
}
],
"questions": {
"Rate the service": "CwM",
"What is the issue?": "KZb",
"How is the experience?": "Nwn",
"Matrix type question-Row 3": "OiZ",
"Matrix type question-Row 2": "pXX",
"How likely are you to recommend us to a friend or colleague?": "ryN",
"Matrix type question-Row 4": "IBH",
"Matrix type question-Row 1": "FQT",
"Update Phone": "BPB"
}
}
]
}