ServiceSuspension - Manage planned one-time service suspensions.
WSDL: https://api.cloudmonit.pl/2.0.0/wsdl/ServiceSuspension.wsdl
JSON: https://api.cloudmonit.pl/2.0.0/json/ServiceSuspension.json
This method creates a new ServiceSuspension object.
A short description of the suspension. This comment will be rewritten to the service's events journal when the suspension starts.
The Unix timestamp of the end of the suspension.
The suspended service ID.
The Unix timestamp of the beginning of the suspension.
The suspension's identifier.
This method deletes a ServiceSuspension object. Use with caution.
The suspension's identifier.
Nothing.
This method allows you to fetch information about selected ServiceSuspension objects.
Filters to apply to the results.
An array of objects, each containg the fields:
The filter argument (the text to be contained in the field, or value to be compared). The argument must be of the same type as the field you filter by.
The field to filter the results by.
Allowed values are: comment
,
end_timestamp
,
id
,
service_id
,
start_timestamp
.
The type of filter. Filters (not_)greater_than and (not_)lower_than compare numbers numerically and string lexicographically. Defaults to "equals".
Allowed values are: contains
,
equals
,
greater_than
,
lower_than
,
not_greater_than
,
not_lower_than
.
Maximum array length: 10.
Items per page. If not specified, NULL or 0, all elements will be fetched. You should probably specify results ordering as well, if you want the results to be consistent.
The index of the first element to show on page.
Items are numbered starting from 0.
Default is 0.
Only meaningful if limit
is specified as well.
Fields to order the results by, starting from the most significant.
An array of objects, each containg the fields:
The ordering direction, "ascending" or "descending".
Allowed values are: ascending
,
descending
.
Defaults to "ascending"
if not specified.
The field to order by. If not specified, the results can be returned in any order.
Allowed values are: comment
,
end_timestamp
,
id
,
service_id
,
start_timestamp
.
Maximum array length: 10.
The groups of fields to be returned with each object.
An array of strings.
No values are supported at the moment.
This array cannot contain duplicate values.
Defaults to []
if not specified.
An array of objects, each containg the fields:
A short description of the suspension. This comment will be rewritten to the service's events journal when the suspension starts.
The Unix timestamp of the end of the suspension.
The suspension's identifier.
The suspended service ID.
The Unix timestamp of the beginning of the suspension.
The total number of results (not including pagination).
This method can be called by read-only users.
Returns the JSON or WSDL specification of the ServiceSuspension
API module.
This method is meant for internal usage in API clients. Unless you are writing one, you probably do not need it.
The specification format you want to use.
If omitted,
defaults to json
if you call this method using JSON request ot wsdl
if you call this method with SOAP.
Allowed values are: json
,
wsdl
.
The specification of the module.
The specification format used.
Allowed values are: json
,
wsdl
.
This method can be called by read-only users.
This method allows you to get information about a single ServiceSuspension object.
The suspension's identifier.
The groups of fields to be returned with the object.
An array of strings.
No values are supported at the moment.
This array cannot contain duplicate values.
Defaults to []
if not specified.
A short description of the suspension. This comment will be rewritten to the service's events journal when the suspension starts.
The Unix timestamp of the end of the suspension.
The suspension's identifier.
The suspended service ID.
The Unix timestamp of the beginning of the suspension.
This method can be called by read-only users.