data/location_list
Important: An API Key is required to work with these API Calls
Returns the list of Locations of the Application
Sample Request
http://api.verifiapp.com/data/location_list/{API-KEY}/{PROJECT_ID}
The {PROJECT_ID} parameter is optional. It would filter the locations available for the given project.
Sample Response
{"result":"success","results":[{"location_id":"1","location_name":"Kilkenny"},{"location_id":"2","location_name":"Carlow"},{"location_id":"3","location_name":"MULLINGAR"},{"location_id":"4","location_name":"DUBLIN SOUTH"},{"location_id":"5","location_name":"DUBLIN NORTH"},{"location_id":"6","location_name":"NAVAN"},{"location_id":"7","location_name":"Monaghan"},{"location_id":"8","location_name":"Cavan"},{"location_id":"9","location_name":"Roscommon"},{"location_id":"10","location_name":"Athlone"}]}
Successful response reference
A successful response will return the following items in a JSON array
| Preference | Description |
|---|---|
| result | success |
| results | An array containing the following information: |
| location_id | The unique location ID |
| location_name | The name of the location associated to that customer ID |