/connected_stations
This endpoint can be used to retrieve all station pairs that are available in Distribusion’s database as bookable origin-destination combinations. Requests to this endpoint can be filtered to identify connected station pairs for one or multiple marketing carriers. This endpoint is paginated.
For details about how this endpoint fits into the flow, check the Preparing Metadata step.
Header Parameters
Set your API key. To request a demo API key please reach out to us at partner@distribusion.com. Reference value: ZW8FXhnBl53yTkrMvoqLp4Xq7mf9nEBGsxpTWrid.
Query Parameters
Set the language for the content of the response. The field accepts ISO 639 language codes. If the content in the specified language is unavailable, English will be returned. For more details check our Languages guide. Reference value: en.
Set the max number of connected stations to appear in the response. Reference value: 1000 (max value supported 10000).
Set the station pair. If a response is over 10000 results long, it includes a links.next parameter which specifies the link that should be inserted in page[after] for the subsequent request to proceed to the next page. Reference value: ATGRZGPR-BEANREPQ.
Search for a specific carrier code. Use the value retrieved from /marketing_carriers response. Reference value: TREN.