Magidoc

canceledTrips
Query

Get pages of canceled trips. Planned cancellations are not currently supported. Limiting the number of returned trips with either first or last is highly recommended since the number of returned trips can be really high when there is a strike affecting the transit services, for example. Follows the GraphQL Cursor Connections Specification .

Arguments

#

after

This parameter is part of the GraphQL Cursor Connections Specification and should be used together with the first parameter.

before

This parameter is part of the GraphQL Cursor Connections Specification and should be used together with the last parameter.

filters

Can be used to filter the results. When paging, the filter should not be changed between pages.

An empty list of filters or no value means that all trips should be included. Multiple filters are allowed.

Filter order does not matter. Each filter entry is evaluated independently and the final result is the union (OR) of all matching filter entries.

Inside one filter entry, selectors in include are combined with OR, selectors in exclude are combined with OR, and the final match is include AND NOT(exclude) .

first

Limits how many trips are returned. This parameter is part of the GraphQL Cursor Connections Specification and can be used together with the after parameter.

last

This parameter is part of the GraphQL Cursor Connections Specification and should be used together with the before parameter.

Response

#

Returns TripOnServiceDateConnection .

Example

#

    
  

3

    
  

3

    
  

3