TRAINS
Coal Trains - Provides current status, with tracing details for up to 25 Coal trains.
post/v1/coal-trains
Request
- Base URLhttps://api.bnsf.com:6443
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"trainList": [
"CBTMCOB044",
"CBTMCOB045"
]
}Response
Example response
{
"elements": [
{
"destinationRailNetworkLocationName": "LOSANGELE, CA",
"emptyCarCount": 100,
"estimatedShipmentAvailabilityDateTime": "10/14/2019 00:40",
"lastEventDateTime": "2023-02-28 12:49",
"lastEventDescription": "Passing",
"lastEventRailNetworkLocationName": "REDROCK, OK",
"latitude": 37.260433,
"longitude": -97.60999,
"originRailNetworkLocationName": "ALLIANCE, TX",
"trainId": "UKRFCPG031"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.