A lookup call to get a list of all available train operating companies.
When accessed via a GET request this API method will return a list of all train operating companies.
As this method is accessed via a GET request there is no HTTP body so options can be specified via the URL.
parameter | type | description |
---|---|---|
This method has no input parameters. |
If accessing GET /api/train-operating-company the following JSON would be returned:
{
"data": [
"Arriva Trains Wales",
"c2c",
"Chiltern Railways",
"CrossCountry",
"East Coast",
"East Midlands Trains",
"Eurostar",
"First Capital Connect",
"First Great Western",
"First Hull Trains",
"First TransPennine Express",
"Gatwick Express",
"Grand Central",
"Heathrow Connect",
"Heathrow Express",
"Island Line Trains",
"London Midland",
"London Overground",
"Merseyrail",
"Greater Anglia",
"Northern Rail",
"ScotRail",
"South West Trains",
"Southeastern",
"Southern",
"Stansted Express",
"Virgin Trains",
"Wrexham and Shropshire"
]
}
A "data" element that contains an array of train operating companies represented as strings.