/marketing_carriers/{marketing_carrier_id}/stations
This endpoint allows you to retrieve all the stations that a specific marketing carrier uses for its trips.
For details about how this endpoint fits into the flow, check the Preparing Metadata step.
Header Parameters
api-keystring Required
Set your API key. To request a demo API key please reach out to us at partner@distribusion.com. Reference value: ZW8FXhnBl53yTkrMvoqLp4Xq7mf9nEBGsxpTWrid.
Path Parameters
marketing_carrier_idstring Required
Search for a specific carrier code. Use the value retrieved from /marketing_carriers response. Reference value: TREN.
Response
200 (list of stations)
Object
Successful response with marketing carrier stations
Response Attributes
dataarray
Show child attributes
jsonapiobject
Show child attributes
200 (no stations)
Object
Successful response with no marketing carrier stations
Response Attributes
dataarray
jsonapiobject
Show child attributes
400 (invalid carrier)
Object
Error response: carrier invalid or missing
Response Attributes
errorsarray
Show child attributes
jsonapiobject
Show child attributes
Was this section helpful?
What made this section unhelpful for you?
Response
Was this section helpful?