Get a List of Route Stops
List all the stops on an existing route.
Query String Parameters
Name | Type | Description | Required |
---|---|---|---|
Action | String | Routestops | Required |
RouteId | Int | The Id of the route Id for which the Stops are to be returned. Get a list of routes using Route List | Required |
Response Codes
Code | Message | Information |
---|---|---|
0 | Response Data | See 'Response' example tab |
2 | Missing RouteId Parameter | Mandatory parameter was not supplied |
Example
- Request
- Response
Request URL
https://webservice.bigchange.com/v01/services.ashx?action=routestops
Response Data
{ "Code": 0, "Result": [ { "stopOrder": 0, "stopId": 36778, "stopJobTypeId": 28515, "stopJobName": "Initial Service Check", "stopContactId": 953603, "stopContactName": "Company A", "stopDescription": "", "stopLat": 53.791599, "stopLon": -1.42884, "stopTime": "10:00:00", "stopDrivingDistKM": 0, "stopDrivingDur": 0, "stopDur": 60 }, { "stopOrder": 1, "stopId": 36779, "stopJobTypeId": 28515, "stopJobName": "Product Delivery - Central District", "stopContactId": 1170713, "stopContactName": "Business B", "stopDescription": "", "stopLat": 53.81757, "stopLon": -1.58227, "stopTime": "11:15:00", "stopDrivingDistKM": 12, "stopDrivingDur": 24, "stopDur": 60 }, { "stopOrder": 2, "stopId": 36780, "stopJobTypeId": 28515, "stopJobName": "Equipment Maintenance - North Zone", "stopContactId": 1810150, "stopContactName": "Agent C", "stopDescription": "", "stopLat": 53.797807, "stopLon": -1.653973, "stopTime": "12:00:00", "stopDrivingDistKM": 6, "stopDrivingDur": 15, "stopDur": 60 }, { "stopOrder": 3, "stopId": 36781, "stopJobTypeId": 28515, "stopJobName": "Retail Setup - Manchester", "stopContactId": 2577578, "stopContactName": "Retail Location D", "stopDescription": "", "stopLat": 53.79847, "stopLon": -1.424584, "stopTime": "14:00:00", "stopDrivingDistKM": 72, "stopDrivingDur": 70, "stopDur": 60 }, { "stopOrder": 4, "stopId": 36782, "stopJobTypeId": 28515, "stopJobName": "Site Inspection - Warrington", "stopContactId": 2577580, "stopContactName": "Retail Location E", "stopDescription": "", "stopLat": 53.390079, "stopLon": -2.595039, "stopTime": "15:00:00", "stopDrivingDistKM": 31, "stopDrivingDur": 38, "stopDur": 60 }, { "stopOrder": 5, "stopId": 36783, "stopJobTypeId": 28515, "stopJobName": "Final Review - Central Office", "stopContactId": 953603, "stopContactName": "Company A", "stopDescription": "", "stopLat": 53.791599, "stopLon": -1.42884, "stopTime": "17:00:00", "stopDrivingDistKM": 105, "stopDrivingDur": 81, "stopDur": 60 } ] }