Skip to content

[EXPERIMENTAL] Location Rule Sets

Endpoints used for managing location rule sets. Location rules can be used to adjust stop times automatically based on the current stop, the previous stop, or broader operational context. Each matching rule can multiply the base stop time, add a fixed duration, or do both.

List the existing location rule sets

Request

Retrieve location rule sets using cursor-based paging (see the Cursor-based pagination documentation on the PTV Developer Portal for more details).

Security
clientCredentials
Query
cursorstring

The cursor of the page to retrieve. No cursor is needed to retrieve the first page.

limitinteger, (int32), [ 1 .. 1000 ]

The maximum amount of location rule sets that should be returned in the response

Default:100
Example:limit=250
Payload
// No request payload

Responses

OK

Bodyapplication/json
dataArray of objects(LocationRuleSetListSummary)required

The set of results for the current page.

cursorsobject(CursorsWithOnlyNext)required

Cursor that only supports next cursor navigation.

Response
{ "data": [ { … } ], "cursors": { "next": "bmV4dF9fcGFnZQ" } }