Download OpenAPI specification:Download
The traffic plan API is used to browse and download traffic plan exports. The exports are organized by contract-id and version. For each contract there exists one or more exports with unique versions.
Used to fetch an authentication token. The token is needed to identify the client when using the other endpoints in the API. The token is valid for one hour.
grant_type | string |
scope | string |
client_id | string |
client_secret | string |
{- "access_token": "[token]",
- "expires_in": 3600,
- "token_type": "Bearer"
}
Used to fetch the id and name of all contracts available to the client.
{- "contracts": [
- {
- "contract_id": "RUT:OperatorContract:1234",
- "contract_name": "Contract 1234"
}, - {
- "contract_id": "RUT:OperatorContract:5678",
- "contract_name": "Contract 5678"
}
]
}
Used to find all versions for a specific contract.
contract-id required | string The id of the requested operator contract. |
{- "contract": "RUT:OperatorContract:1234",
- "versions": [
- "1000",
- "1001",
- "1002",
- "1003"
]
}
Used to get the url to an export for a specific contract with a specific version. The url can be used to download the export directly. It is pre-signed and valid for one hour.
contract-id required | string The id of the requested operator contract. |
version-id required | string The requested operator contract version. |