Skip to content

Instantly share code, notes, and snippets.

@Arefu
Created September 7, 2018 01:56
Show Gist options
  • Save Arefu/f91d082b9b90d99ce5ff63d3a4d4fd26 to your computer and use it in GitHub Desktop.
Save Arefu/f91d082b9b90d99ce5ff63d3a4d4fd26 to your computer and use it in GitHub Desktop.
API Example: Getting Bus Information Via PlatformNo
{
"displayFieldName": "ProjectName",
"fieldAliases": {
"PlatformName": "PlatformName",
"RouteNos": "RouteNos",
"PlatformNo": null,
"PlatformTag": "PlatformTag",
"RoadName": null,
"BearingToRoad": null
},
"fields": [
{
"name": "PlatformTag",
"type": "esriFieldTypeDouble",
"alias": "PlatformTag",
"length": null
},
{
"name": "PlatformName",
"type": "esriFieldTypeString",
"alias": "PlatformName",
"length": 150
},
{
"name": "RouteNos",
"type": "esriFieldTypeString",
"alias": "RouteNos",
"length": 250
}
],
"features": [
{
"attributes": {
"PlatformName": "Bus Interchange (Platform B)",
"RouteNos": "17|28|44|95|B|O",
"PlatformNo": null,
"PlatformTag": 2,
"RoadName": null,
"BearingToRoad": null
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment