Introduction
-
You can get paginated results of service disruptions by sending a
GET
request to/api/connect/services/{serviceId}/disruptions
. Path variableserviceId
is the connect identifier of the service you want to get the disruptions of. -
You can get filtered, paginated results by adding the query parameter
status
in theGET
endpoint.
Status List
Status | Description |
---|---|
ACTIVE |
Currently active disruption on the service |
SCHEDULED |
Scheduled future disruption on the service |
COMPLETED |
Completed disruption on the service |
Default values
Query Parameter | Default Value |
---|---|
size |
20 |
sort |
maintenanceStartAt, DESC |
Request Lifecycle
To get the paginated results of service disruptions, you must make a GET
request to
/api/connect/services/{serviceId}/disruptions
.
The response’s http status
will be 200
, with the paginated results in the response body.
Request Specifications
Version | Header | Changes |
---|---|---|
1 (Deprecated) |
X-API-VERSION=1 |
Initial Version |
2 (Deprecated) |
X-API-VERSION=2 |
No change |
3 |
X-API-VERSION=3 |
No change |
4 |
X-API-VERSION=4 |
No change |
5 |
X-API-VERSION=5 |
No change |
6 |
X-API-VERSION=6 |
No Change |
7 |
X-API-VERSION=7 |
No Change |
API Version 1, 2, 3, 4, 5, 6 and 7
GET Request
Verb |
GET |
URI |
/api/connect/services/{serviceId}/disruptions |
Path Variable |
Purpose |
|
The id of the service resource |
Name | Description |
---|---|
|
The OAuth bearer access token |
|
The version of the endpoint you are accessing |
GET Response
Status Code | Meaning |
---|---|
200 |
The body contains the paginated results of service disruptions |
401 |
Bearer token is missing or invalid |
400 |
The request was bad. Check the response body to see what the issue(s) are |
404 |
You do not have permission to perform this task or the id of the service resource provided does not exist |
500 |
There was an unexpected error retrieving the results |
Path | Type | Description |
---|---|---|
|
|
Total number of pages |
|
|
Number of elements in the current page |
|
|
Total number of elements |
|
|
List of disruptions for the service |
|
|
Type of the disruption |
|
|
The date/time, including UTC offset, NBN’s recorded start time |
|
|
The date/time, including UTC offset, NBN’s recorded end time. This can be |
|
|
The NBN identifier of the disruption |
|
|
Description of the disruption |
|
|
Severity of the disruption |
|
|
Category of the disruption |
|
|
Status of the disruption |
|
|
Page size |
|
|
Page number |
|
|
List of sort objects |
|
|
Enumeration value of sort direction |
|
|
Sorting property |
|
|
Whether or not sorting for this property is case insensitive |
|
|
Enumeration value of null handling hints that is used in sorting |
|
|
Whether or not sorting for this property is ascending |
|
|
Whether or not sorting for this property is descending |
|
|
Whether or not the current page is the last page |
|
|
Whether or not the current page is the first page |
API Version 1, 2, 3, 4, 5, 6 and 7 - Examples
Successful Request
The paginated results of service disruptions are returned by sending a GET request to
/api/connect/services/{serviceId}/disruptions
.
GET /api/connect/services/1208/disruptions?status=ACTIVE&status=SCHEDULED&status=COMPLETED&page=0&size=20&sort=maintenanceStartAt%2CDESC HTTP/1.1
Content-Type: application/json;charset=UTF-8
Authorization: Bearer **token**
X-API-VERSION: 6
Host: 360-api.superloop.com
HTTP/1.1 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 1833
{
"totalPages" : 1,
"currentPageSize" : 4,
"totalElements" : 4,
"content" : [ {
"type" : "scheduled",
"maintenanceStartAt" : "2221-07-01T23:59:51Z",
"maintenanceEndAt" : "2221-07-02T23:59:51Z",
"nbnDisruptionId" : "CRQ000004222661",
"description" : "This notification is to let you know that NBN will be performing network maintenance work.",
"severity" : "Expedited",
"category" : "Network",
"status" : "SCHEDULED"
}, {
"type" : "scheduled",
"maintenanceStartAt" : "2021-07-01T23:59:51Z",
"maintenanceEndAt" : "2221-07-02T23:59:51Z",
"nbnDisruptionId" : "CRQ000004222660",
"description" : "This notification is to let you know that NBN will be performing network maintenance work.",
"severity" : "Expedited",
"category" : "Network",
"status" : "ACTIVE"
}, {
"type" : "unscheduled",
"maintenanceStartAt" : "2021-07-01T23:59:51Z",
"maintenanceEndAt" : null,
"nbnDisruptionId" : "CRQ000004222662",
"description" : "This notification is to let you know that NBN will be performing network maintenance work.",
"severity" : "Expedited",
"category" : "Network",
"status" : "ACTIVE"
}, {
"type" : "scheduled",
"maintenanceStartAt" : "2021-07-01T23:59:51Z",
"maintenanceEndAt" : "2021-07-02T23:59:51Z",
"nbnDisruptionId" : "CRQ000004222663",
"description" : "This notification is to let you know that NBN will be performing network maintenance work.",
"severity" : "Expedited",
"category" : "Network",
"status" : "COMPLETED"
} ],
"size" : 20,
"number" : 0,
"sort" : [ {
"direction" : "DESC",
"property" : "maintenanceStartAt",
"ignoreCase" : false,
"nullHandling" : "NATIVE",
"ascending" : false,
"descending" : true
} ],
"firstPage" : true,
"lastPage" : true
}
Bad Request
GET /api/connect/services/AAA/disruptions HTTP/1.1
Content-Type: application/json;charset=UTF-8
Authorization: Bearer **token**
X-API-VERSION: 6
Host: 360-api.superloop.com
HTTP/1.1 400 Bad Request
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 363
{
"httpStatusCode" : 400,
"type" : "client.validation",
"code" : "method.argument.type.mismatch",
"message" : "Failed to convert value of type 'java.lang.String' to required type 'java.lang.Integer'; nested exception is java.lang.NumberFormatException: For input string: \"AAA\"",
"apiSubErrors" : [ ],
"timestamp" : "2025-03-11T22:28:07.341298414Z"
}