Download OpenAPI specification:Download
Use this API to report cancellation and delay events, as well as other SLA breaches, directly to Ruter, along with a flag indicating whether you as an operator consider that the event was outside your control, and that you should be exempt from being fined for incurred/reported SLA breach(es).
Report a cancellation or delay event.
Authorization | string OAuth2 access token as Bearer token. NOTE: Separate documentation will be provided on how to obtain client credentials and use these to request access tokens. |
category required | string Enum: "CANCELLATION" "DELAY" The main category of the traffic event. |
subcategory required | string Enum: "FULL" "PARTIAL" "FROM_START" "IN_TRANSIT" The subcategory of the traffic event. Permitted values if
Permitted values if
|
reason required | string Enum: "BOOM_BARRIER_OPENING" "CUSTOMER_CARE" "DEMONSTRATION" "DRIVER_ERROR" "EARLIER_DELAY" "EVENT" "FALLEN_DEBRIS" "FAULTY_BRAKES" "FAULTY_DOOR" "FAULTY_DRIVETRAIN" "FAULTY_SIS_SYSTEM" "FAULTY_TAAS_SYSTEM" "FAULTY_TICKET_MACHINE" "HEAVY_SNOWFALL" "IMPROPERLY_PARKED_VEHICLE" "NO_POWER" "OTHER_OBSTRUCTION" "OTHER_TECHNICAL_PROBLEM" "ROAD_ACCIDENT" "ROAD_WORK" "SIGNAL_ERROR" "SLIPPERY_ROADS" "TICKET_INSPECTION" "TRAFFIC_CONGESTION" The reason for the traffic event. If set to |
reasonDescription | string Default: "null" Required if |
startDateTime | string Default: "null" Required if |
endDateTime | string Default: "null" Required if |
datedJourneyRef | string Default: "null" Required if Format should be one of:
|
vehicleInternalNumber | string Default: "null" Required if |
lineRef | string Default: "null" Required if |
stopPlaceOrQuayRefs | Array of strings Required if |
delayMinutes | integer <int32> Required if |
isOperatorExempt required | boolean A flag indicating whether you as an operator consider that the event was outside your
control, and that you should be exempt from being fined for any SLA breach(es) incurred as a
consequence of the traffic event. If needed, an exemption reason can be provided in the
|
{- "category": "CANCELLATION",
- "subcategory": "PARTIAL",
- "reason": "TRAFFIC_CONGESTION",
- "reasonDescription": "En feilparkert bil blokkerte traséen",
- "startDateTime": "1970-01-01T12:00:00Z",
- "endDateTime": "1970-01-01T13:00:00Z",
- "datedJourneyRef": "1234-1970-01-01T11:00:00+01:00",
- "vehicleInternalNumber": "123456",
- "lineRef": "RUT:Line:123",
- "stopPlaceOrQuayRefs": [
- "NSR:StopPlace:123",
- "NSR:Quay:246"
], - "delayMinutes": 21,
- "isOperatorExempt": true
}
[- {
- "eventNumber": "123-1",
- "status": "REGISTERED",
- "trafficCaseNumber": "1970-234",
- "category": "CANCELLATION",
- "subcategory": "PARTIAL",
- "reason": "TRAFFIC_CONGESTION",
- "reasonDescription": "Generelt mye trafikk og kø",
- "datedJourneyRef": "djj-4b60ddfd3a2aa810939912e08b76c58e",
- "vehicleInternalNumber": "123456",
- "lineRef": "RUT:Line:123",
- "vehicleTaskId": "1234",
- "startDateTime": "1970-01-01T12:00:00Z",
- "endDateTime": "1970-01-01T13:00:00Z",
- "quayRefs": [
- "NSR:Quay:123",
- "NSR:Quay:246"
], - "delayMinutes": 21,
- "isOperatorExempt": true,
- "registeredBy": "Ruterbuss AS",
- "registeredAt": "1970-01-01T12:00:00Z"
}
]
Report an SLA breach directly to Ruter, along with a flag indicating whether you as an operator consider that the breach was outside your control, and that you should be exempt from being fined for the breach.
Authorization | string OAuth2 access token as Bearer token. NOTE: Separate documentation will be provided on how to obtain client credentials and use these to request access tokens. |
breachNumber | string Default: "null" The SLA breach number. Must be |
category required | string Value: "DATA_QUALITY" The SLA breach category. |
reason required | string Enum: "ACCELEROMETER" "AUTOMATIC_PASSENGER_COUNTING" "BATTERY_LEVEL" "CHARGING_STATUS" "CLOCK" "DOOR_STATUS" "DYNAMIC_PASSENGER_INFORMATION" "ENERGY_CONSUMPTION" "INSIDE_TEMPERATURE" "ODOMETER" "OUTSIDE_TEMPERATURE" "POSITION" "SIGN_ON_SIGN_OFF" "STOP_SIGNAL" "TICKET_SALE" "VALIDATION_OF_RIGHT_TO_TRAVEL" "WINDSCREEN_WIPER_STATUS" The reason for the SLA breach. |
reasonDescription | string Default: "null" Optional. A further detailing of the reason for the SLA breach, and if relevant, an
explanation for why you as an operator should be exempt from being fined for this breach (see
|
datedJourneyRef | string Default: "null" Required if both Format should be one of:
|
vehicleTaskId | string Default: "null" Required if both |
vehicleInternalNumber | string Default: "null" Required if |
contractRef | string Default: "null" Required if all of |
startDateTime | string Default: "null" Required if |
endDateTime | string Default: "null" Required if |
isOperatorExempt required | boolean A flag flag indicating whether you as an operator consider that the breach was
outside your control, and that you should be exempt from being fined for the breach. If needed, an
exemption reason can be provided in the |
registeredBy | string Default: "null" Your operator's client identifier, automatically inferred from your API credentials.
Must be |
registeredAt | string Default: "null" The date and time that the SLA breach was registered, in ISO UTC format.
Automatically set on registration. Must be |
{- "breachNumber": "1234",
- "category": "DATA_QUALITY",
- "reason": "DOOR_STATUS",
- "reasonDescription": "Feil på sensor for dørstatus",
- "datedJourneyRef": "1234-1970-01-01T11:00:00+01:00",
- "vehicleTaskId": "1234",
- "vehicleInternalNumber": "123456",
- "contractRef": "RUT:Contract:123",
- "startDateTime": "1970-01-01T12:00:00Z",
- "endDateTime": "1970-01-01T13:00:00Z",
- "isOperatorExempt": true,
- "registeredBy": "Ruterbuss AS",
- "registeredAt": "1970-01-01T12:00:00Z"
}
{- "breachNumber": "1234",
- "category": "DATA_QUALITY",
- "reason": "DOOR_STATUS",
- "reasonDescription": "Feil på sensor for dørstatus",
- "datedJourneyRef": "1234-1970-01-01T11:00:00+01:00",
- "vehicleTaskId": "1234",
- "vehicleInternalNumber": "123456",
- "contractRef": "RUT:Contract:123",
- "startDateTime": "1970-01-01T12:00:00Z",
- "endDateTime": "1970-01-01T13:00:00Z",
- "isOperatorExempt": true,
- "registeredBy": "Ruterbuss AS",
- "registeredAt": "1970-01-01T12:00:00Z"
}