Prefill Responses
Content Outline
Prefill Using API For Survey Token
Adding the context to data provides great benefits by integrating experiential data with transactional data to derive actionable analytics that can significantly impact the bottom line for the business collecting customer data. Contextual information can be automatically pre-filled using a API endpoint(as oppose to a staff filling it manually). API end point setup by you will receive the complete response on submission and respond back with pre-fill data to make the response more complete.
Example Call Posted after a Response is Collected
POST http://yourserver.com/api/receiverespondjsonprefill
Content-Type: application/json
Example Body
{
"locationId": "Downtown",
"responseDateTime": "2015-01-10T10:44:17.455Z",
"responses":[{
"questionId": "547ef11244ed4d230088b981",
"questionText": "Customers’ purchase value(Staff-Prefill)",
"textInput": null,
"numberInput": 0
},
{
"questionId": "547f3e0244ed4d1900dc68e3",
"questionText": "Enter your bill number",
"textInput": null,
"numberInput": 1234
}...]
}
Response : You can lookup information to pre-fill on your side to match that of any filed provided by customer(ex. mobile #, bill #) and provide pre-fill data to add context to this survey response. ( shown is a prefill of adding transaction value using the bill number which could have been pre-filled by the sales clerk; other example pre-fills could be demographics using a membership number)
Example Prefill Returned By Your API Endpoint:
[{
"questionId": "547ef11244ed4d230088b981",
"questionText": "Customers’ purchase value(Staff-Prefill)",
"textInput": null,
"numberInput": 0
}]