Replaces WaitTime, Restrictions and OnewayDirection on one or more route elements
Changed onAll three fields are replaced on every element in the body. A field that is left out or null is cleared. For example, a body with only id and waitTime removes the element's restrictions and oneway direction. The other fields of the element are kept, and datasetId, externalId and geometry in the body are ignored.
To change one field, read the element with GET /{apiKey}/api/routing/routeelements?graphId={graphId}, change only that field, and send the whole element back. GET /{apiKey}/api/routing/graphs lists the graph ids.
To open an element, send "restrictions": [].
Oauth2 Roles
- Requires user to have one of the following roles: admin, editor, owner, service
Request
- Base URLhttps://integration.mapsindoors.com (the document declares no server; this is the origin it was published from)
- URLhttps://integration.mapsindoors.com/{apiKey}/api/routing/routeelements
- AuthOAuth 2Authorization code: https://auth.mapsindoors.com/connect/authorizeToken URL: https://auth.mapsindoors.com/connect/token scopes: integration
Path parameters
The API Key to use
Request body
Response
OK
Changes
- info
the security scope
integrationwas added to the endpoint's security schemeaccount - info
the security scope
accountwas removed from the endpoint's security schemeaccount - info
added the non-success response with the status
- info
- info
added the non-success response with the status
- info