GET /system/cloud/providers/atrius/services/{serviceName}/
FROM API REVISION 6.0
Used when you are operating a browser without access to the header parameter. This allows you to choose which encoding you want to use for the response:
All these resources can be used according what the resource allows.
To address the raw value of a primitive property, clients append a path segment containing the string $value to the property URL.
To use this query option you need to use the classic resource and add the element name you want to print followed by the query string name.
Be careful, the parameter query string is used in the URL and is not like other parameters.
The $select system query option allows clients to request a limited set of properties for each entity.
The value pass in the parameter can be:
If there is no value after the select query option, the parameter will be ignored. All the values that are not specified will not be printed in the response.
The $expand system query option specifies the related resources to be included in line with retrieved resources.
The value passed in the parameter can be:
The $expand system query option can be used with the $levels query option, to expand recursively.
If this parameter is not in the request, the Application/Json will be chosen by default.
There are multiple possible values (according the resource):
The first two are the most often used.
This is the name of the service.
Object Name: Service
Property Name | Type | Description | Method |
---|---|---|---|
Description | String | Description of the service | GET |
Id | Integer | Service's ID. | GET |
LastError | String | GET | |
LastErrorTime | String | GET | |
MessageRate | Integer | The type of this property is Double. | GET |
ReceiveCount | Integer | GET | |
SendCount | Integer | GET | |
Name | String | Property used in the URL to access the service objects. | GET |
State | String | Indicate the current state of the service :
|
GET |
Uptime | String | GET | |
Logs | Object | This object is only present for the Asset service. | GET |
URL Example: https://0.0.0.0/api/rest/v1/system/cloud/providers/atrius/services/asset
{
"id": 2,
"lastErrorTime": "",
"logs": {
"href": "/api/rest/v1/system/cloud/providers/atrius/services/asset/logs",
"name": "logs"
},
"messageRate": "0.0",
"description": "Asset Tracking",
"name": "asset",
"sendCount": 0,
"receiveCount": 0,
"uptime": "up 0 days, 01:09.22",
"state": "RUNNING",
"lastError": "No Error."
}
URL Example: https://0.0.0.0/api/rest/v1/system/cloud/providers/atrius/services/asset
<?xml version="1.0" encoding="utf-8"?>
<Service>
<Description>Asset Tracking</Description>
<Id>2</Id>
<LastError>No Error.</LastError>
<LastErrorTime />
<MessageRate>0.0</MessageRate>
<ReceiveCount>0</ReceiveCount>
<SendCount>0</SendCount>
<Name>asset</Name>
<State>RUNNING</State>
<Uptime>up 0 days, 01:08.50</Uptime>
<Logs>
<Href>/api/rest/v1/system/cloud/providers/atrius/services/asset/logs</Href>
<Name>logs</Name>
</Logs>
</Service>