Limit the number of collection items to be returned. Use 0 to return an empty collection and still receive the count of matching items in Pagination-Total.
Security
SecretApiKey or JWT
Criteria for filtering collection items. This field requires a special format. Use , to specify multiple allowed values. Use ; to specify multiple fields.
For more information, see Search filters.
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/gateway-accounts/{id}/downtime-schedules
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/gateway-accounts/{id}/downtime-schedules
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/gateway-accounts/{id}/downtime-schedules
curl -i -X GET \
'https://www.rebilly.com/_mock/catalog/all/gateway-accounts/{id}/downtime-schedules?limit=0&offset=0&filter=string&sort=string' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE'Headers
Total number of items that match the request. The value is independent of limit, including when limit is 0.
Example:332
Array [ID of the gateway account downtime schedule. Status of the gateway account downtime schedule. Reason for the gateway account downtime schedule. Date and time when the gateway account scheduled downtime starts. Date and time when the resource is created.
This value is set automatically when the resource is created. Date and time when the resource is updated.
This value is set automatically when the resource is updated. ]
Example:"gw_dwn_0YVCXRK9TKCC6AMAPFB9M4RXDP"
Enum:"pending""ongoing""finished"
Enum:"scheduled-maintenance""daily-limit-reached""monthly-limit-reached""gateway-unreachable"
Response
[ { "id": "gw_dwn_0YVCXRK9TKCC6AMAPFB9M4RXDP", "status": "pending", "reason": "scheduled-maintenance", "startTime": "2019-08-24T14:15:22Z", "endTime": "2019-08-24T14:15:22Z", "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "_links": [ … ] } ]