Download OpenAPI specification:
Each response of the API is structured according to the same schema. The status property displays the returned
HTTP status, while the links property provides useful
URI templates (RFC 6570) for navigation.
The answer itself is provided via the content property. If an error occurs, the problem property is set and
provides useful information about the error.
A problem has four different properties. The type property specifies the type of the problem. In addition, the
title property provides a human-readable title and the optional message property contains the error message
itself. If the problem is of the type constraint-violations, the optional violations property provides more
details about the problem. Such a violation object supplies the two fields field and message.
The API uses only the following status codes:
The 200 (OK) status code indicates that the request has succeeded. The payload sent in a 200 response depends
on the request method.
The 400 (Bad Request) status code indicates that the server cannot or will not process the request due to
something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing,
or deceptive request routing).
The 401 (Unauthorized) status code indicates that the request has not been applied because it lacks valid
authentication credentials for the target resource.
The 403 (Forbidden) status code indicates that the server understood the request but refuses to authorize it.
404 The 404 (Not Found) status code indicates that the origin server did not find a current representation for the
target resource or is not willing to disclose that one exists. A 404 status code does not indicate whether this lack
of representation is temporary or permanent.
The 500 (Internal Server Error) status code indicates that the server encountered an unexpected condition
that prevented it from fulfilling the request.
To use the API, a security token must always be sent in the x-auth-token header. This token can be obtained via the
authentication API.
All public endpoints start with the prefix /api. These endpoints are documented and stable.
All other endpoints are internal and breaking changes may be introduced at any time.
Most endpoints support pagination. Unless you create a UI, you probably don't need this feature.
The onway director uses the so-called keyset pagination method also called seek method. This method loads the next page relative to an element of the current page. You can navigate forward by requesting the elements that come after the last element of the current page, or backwards by requesting the elements that come before the first element of the current page.
A request to load a page contains the following parameters:
| Parameter | Description |
|---|---|
| size | The number of elements to load. |
| seekDirection | FORWARD or BACKWARD |
| seekIdentifier.* | One or more fields to uniquely identify an element. If the seekDirection is FORWARD, the page will contain elements that come after this element according to the sort order. If the seekDirection is BACKWARD, the page will contain elements that come before this element according to the sort order. |
Example:
Assume we have an entity with one field called name. We can load the first page with the request: /api/my-endpoint?size=3.
{
"status": 200,
"reason": "OK",
"content": {
"hasNext": "YES",
"hasPrevious": "NO",
"entities": [
{
"name": "A",
},
{
"name": "B",
},
{
"name": "C",
}
]
}
}
To load the next page we can use the name of the last element as seek identifier: /api/my-endpoint?size=3&seekDirection=FORWARD&seekIdentifier.name=C.
{
"status": 200,
"reason": "OK",
"content": {
"hasNext": "NO",
"hasPrevious": "UNKNOWN",
"entities": [
{
"name": "D",
},
{
"name": "E",
},
{
"name": "F",
}
]
}
}
Get all login directories of a user to find the corresponding directory ID.
| username required | string The login username. |
curl --request GET \ --url 'http://localhost/api/login-directories?username=SOME_STRING_VALUE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "username": "string",
- "directories": [
- {
- "id": 0,
- "name": "string"
}
]
}
}| username required | string The login username. |
| password required | string The login password. |
| userDirectoryId required | integer <int64> ID of the user directory. You can find the ID under: Sponsoring Portal / Administration / User Directories. |
| detectedLanguage | string Detected browser language. |
| manualSelectedLanguage | string Manual selected language. |
{- "username": "string",
- "password": "string",
- "userDirectoryId": 0,
- "detectedLanguage": "string",
- "manualSelectedLanguage": "string"
}{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "token": "string",
- "username": "string",
- "userDirectoryId": 0,
- "userDirectoryName": "string",
- "mustAcceptAup": true,
- "loginRedirectLocation": "string",
- "defaultCustomer": "string"
}
}curl --request POST \ --url http://localhost/api/logout \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": { }
}Check authentication state.
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request GET \ --url http://localhost/api/is-authenticated \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": true
}| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request GET \ --url http://localhost/api/version \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "version": "string",
- "buildDate": "2019-08-24T14:15:22Z",
- "idAbbreviation": "string"
}
}Returns all customers you have access to.
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request GET \ --url http://localhost/api/customers \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": [
- {
- "key": "MY_KEY",
- "name": "Company XY",
- "comment": "string"
}
]
}| key required | string key of the customer |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request GET \ --url http://localhost/api/customers/EXAMPLE_VALUE \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "key": "MY_KEY",
- "name": "Company XY",
- "comment": "string"
}
}| customerKey required | string Specifies the key of the customer. |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request GET \ --url http://localhost/api/tags/EXAMPLE_VALUE \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": [
- {
- "id": 0,
- "name": "string",
- "acl": {
- "permissions": [
- {
- "permission": "string",
- "sid": [
- "string"
]
}
], - "owner": "string"
}
}
]
}| customerKey | string |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request GET \ --url 'http://localhost/api/input-templates?customerKey=SOME_STRING_VALUE' \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": [
- {
- "id": 0,
- "customerKey": "string",
- "name": "string",
- "customFields": [
- {
- "id": "string",
- "type": "TEXT",
- "name": {
- "en": "string",
- "de": "string",
- "fr": "string",
- "it": "string"
}, - "key": "string",
- "regex": "string",
- "options": [
- {
- "id": "string",
- "name": {
- "en": "string",
- "de": "string",
- "fr": "string",
- "it": "string"
}
}
]
}
]
}
]
}| customerKey required | string Specifies the key of the customer. |
| type | string Enum: "PEAP" "IPSK" "MAB" "BYOD" "OR" Network access group type |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request GET \ --url 'http://localhost/api/macman/group?customerKey=SOME_STRING_VALUE&type=SOME_STRING_VALUE' \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": [
- {
- "id": 0,
- "name": "My Group",
- "type": "PEAP",
- "realm": "onway.ch",
- "hint": "SSID: wifi",
- "vlan": "540",
- "pairingVlan": "530",
- "tagIds": [
- 0
], - "allowAdditionalTags": true,
- "inputTemplateId": 0,
- "defaultValidFor": "PT10H",
- "hasCredentialsProvider": true,
- "allowManualUsername": true,
- "allowManualPassword": true
}
]
}| size | integer <int32> Number of entities to fetch. The default value is 25. |
| customerKey required | string Specifies the key of the customer. |
| type required | string Enum: "PEAP" "IPSK" "MAB" "BYOD_USER" "BYOD_DEVICE" "PEAP_DEVICE" "OR_USER" "OR_DEVICE" Network access account type |
| seekIdentifier.username | string Username used for pagination. |
| seekIdentifier.naGroupId | integer <int64> Network access group id used for pagination. Required if |
| seekIdentifier.id | integer <int64> Network access account id used for pagination. Required if |
| seekIdentifier.createdAt | string <date-time> |
| seekIdentifier.lastSeenAt | string <date-time> |
| seekDirection | |
| naGroupIds | Array of integers <int64> unique [ items <int64 > ] Specifies the filtered group IDs which the entities must have. |
| tagIds | Array of integers <int64> unique [ items <int64 > ] Specifies which tag IDs the filtered entities must have. |
| tagOperator | string Enum: "OR" "AND" Specifies if the filtered entities must have all tag ids ( |
| query | string Search query applied to the name and comment field. Multiple values can be specified separated by spaces. |
| validityType | string Enum: "CUSTOM" "EXPIRED" "UNLIMITED" "VALID_NOW" "VALID_IN_FUTURE" |
| customValidity.validFrom | string <date-time> Required if validityType is |
| customValidity.validTo | string <date-time> Required if validityType is |
| stateFilterTypes | Array of strings Items Enum: "NORMAL" "DELETED" "DISABLED" |
| onlineStatusFilterType | string Enum: "ALL" "UNKNOWN" "ONLINE" "OFFLINE" Whether network access accounts with certain online status should be included. |
| parentNaAccountId | integer <int64> Parent network access account id, is set in EAP (PEAP, BYOD and OR). |
| lastSeenFilterType | string Enum: "NEVER_SEEN" "NOT_SEEN_SINCE_DURATION" "NOT_SEEN_SINCE_DATE" "SEEN_SINCE_DURATION" "SEEN_SINCE_DATE" Allows to filter accounts/devices by the lastSeenAt field. |
| lastSeenDate | string <date-time> This field is required if
|
| lastSeenDuration | string <ISO 8601 duration> Example: lastSeenDuration=PT10H This field is required if
|
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request GET \ --url 'http://localhost/api/EXAMPLE_VALUE/account?size=SOME_INTEGER_VALUE&customerKey=SOME_STRING_VALUE&type=SOME_STRING_VALUE&seekIdentifier.username=SOME_STRING_VALUE&seekIdentifier.naGroupId=SOME_INTEGER_VALUE&seekIdentifier.id=SOME_INTEGER_VALUE&seekIdentifier.createdAt=SOME_STRING_VALUE&seekIdentifier.lastSeenAt=SOME_STRING_VALUE&seekDirection=SOME_STRING_VALUE&naGroupIds=SOME_ARRAY_VALUE&tagIds=SOME_ARRAY_VALUE&tagOperator=SOME_STRING_VALUE&query=SOME_STRING_VALUE&validityType=SOME_STRING_VALUE&customValidity.validFrom=SOME_STRING_VALUE&customValidity.validTo=SOME_STRING_VALUE&stateFilterTypes=SOME_ARRAY_VALUE&onlineStatusFilterType=SOME_STRING_VALUE&parentNaAccountId=SOME_INTEGER_VALUE&lastSeenFilterType=SOME_STRING_VALUE&lastSeenDate=SOME_STRING_VALUE&lastSeenDuration=PT10H' \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "hasNext": "YES",
- "hasPrevious": "YES",
- "entities": [
- {
- "id": 0,
- "type": "PEAP",
- "naGroupId": 0,
- "username": "string",
- "password": "string",
- "comment": "string",
- "validity": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validFor": "PT10H",
- "validTo": "2019-08-24T14:15:22Z"
}, - "tagIds": [
- 0
], - "state": "NORMAL",
- "createdAt": "2019-08-24T14:15:22Z",
- "firstSeenAt": "2019-08-24T14:15:22Z",
- "lastSeenAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "onlineStatus": "UNKNOWN",
- "enabled": true,
- "journalMetadata": {
- "createdAt": "2019-08-24T14:15:22Z",
- "createdBy": {
- "username": "string",
- "sid": "string",
- "name": "string",
- "email": "string",
- "department": "string",
- "company": "string"
}, - "lastModifiedAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": {
- "username": "string",
- "sid": "string",
- "name": "string",
- "email": "string",
- "department": "string",
- "company": "string"
}
}, - "customFieldValues": [
- {
- "customFieldId": "string",
- "customFieldType": "TEXT",
- "value": "Custom field example value"
}
]
}
]
}
}| customerKey required | string Specifies the key of the customer. |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
| type required | string Enum: "PEAP" "IPSK" "MAB" Network access account type |
| naGroupId required | integer <int64> Id of the network access group. |
| username | string Username or MAC address. This field is optional if a credentials provider is configured on the network access group. |
| password | string Required to create a PEAP user or iPSK device. Optional when updating or if a credentials provider is configured on the network access group. |
| comment | string |
object (AccountValidityDTO) Validity period of the account. | |
| tagIds | Array of integers <int64> unique [ items <int64 > ] |
Array of objects (CustomFieldValueDTO) |
{- "type": "PEAP",
- "naGroupId": 0,
- "username": "string",
- "password": "string",
- "comment": "string",
- "validity": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validFor": "PT10H",
- "validTo": "2019-08-24T14:15:22Z"
}, - "tagIds": [
- 0
], - "customFieldValues": [
- {
- "customFieldId": "string",
- "customFieldType": "TEXT",
- "value": "Custom field example value"
}
]
}{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "id": 0,
- "type": "PEAP",
- "naGroupId": 0,
- "username": "string",
- "password": "string",
- "comment": "string",
- "validity": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validFor": "PT10H",
- "validTo": "2019-08-24T14:15:22Z"
}, - "tagIds": [
- 0
], - "state": "NORMAL",
- "createdAt": "2019-08-24T14:15:22Z",
- "firstSeenAt": "2019-08-24T14:15:22Z",
- "lastSeenAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "onlineStatus": "UNKNOWN",
- "enabled": true,
- "journalMetadata": {
- "createdAt": "2019-08-24T14:15:22Z",
- "createdBy": {
- "username": "string",
- "sid": "string",
- "name": "string",
- "email": "string",
- "department": "string",
- "company": "string"
}, - "lastModifiedAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": {
- "username": "string",
- "sid": "string",
- "name": "string",
- "email": "string",
- "department": "string",
- "company": "string"
}
}, - "customFieldValues": [
- {
- "customFieldId": "string",
- "customFieldType": "TEXT",
- "value": "Custom field example value"
}
]
}
}| customerKey required | string Specifies the key of the customer. |
| id required | integer <int64> Specifies the ID of the entity. |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request GET \ --url http://localhost/api/EXAMPLE_VALUE/account/EXAMPLE_VALUE \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "id": 0,
- "type": "PEAP",
- "naGroupId": 0,
- "username": "string",
- "password": "string",
- "comment": "string",
- "validity": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validFor": "PT10H",
- "validTo": "2019-08-24T14:15:22Z"
}, - "tagIds": [
- 0
], - "state": "NORMAL",
- "createdAt": "2019-08-24T14:15:22Z",
- "firstSeenAt": "2019-08-24T14:15:22Z",
- "lastSeenAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "onlineStatus": "UNKNOWN",
- "enabled": true,
- "journalMetadata": {
- "createdAt": "2019-08-24T14:15:22Z",
- "createdBy": {
- "username": "string",
- "sid": "string",
- "name": "string",
- "email": "string",
- "department": "string",
- "company": "string"
}, - "lastModifiedAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": {
- "username": "string",
- "sid": "string",
- "name": "string",
- "email": "string",
- "department": "string",
- "company": "string"
}
}, - "customFieldValues": [
- {
- "customFieldId": "string",
- "customFieldType": "TEXT",
- "value": "Custom field example value"
}
]
}
}| customerKey required | string Specifies the key of the customer. |
| id required | integer <int64> Specifies the ID of the entity. |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
| id required | integer <int64> |
| type required | string Enum: "PEAP" "IPSK" "MAB" Network access account type |
| naGroupId required | integer <int64> Id of the network access group. |
| username | string Username or MAC address. This field is optional if a credentials provider is configured on the network access group. |
| password | string Required to create a PEAP user or iPSK device. Optional when updating or if a credentials provider is configured on the network access group. |
| comment | string |
object (AccountValidityDTO) Validity period of the account. | |
| tagIds | Array of integers <int64> unique [ items <int64 > ] |
Array of objects (CustomFieldValueDTO) |
{- "id": 0,
- "type": "PEAP",
- "naGroupId": 0,
- "username": "string",
- "password": "string",
- "comment": "string",
- "validity": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validFor": "PT10H",
- "validTo": "2019-08-24T14:15:22Z"
}, - "tagIds": [
- 0
], - "customFieldValues": [
- {
- "customFieldId": "string",
- "customFieldType": "TEXT",
- "value": "Custom field example value"
}
]
}{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "id": 0,
- "type": "PEAP",
- "naGroupId": 0,
- "username": "string",
- "password": "string",
- "comment": "string",
- "validity": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validFor": "PT10H",
- "validTo": "2019-08-24T14:15:22Z"
}, - "tagIds": [
- 0
], - "state": "NORMAL",
- "createdAt": "2019-08-24T14:15:22Z",
- "firstSeenAt": "2019-08-24T14:15:22Z",
- "lastSeenAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "onlineStatus": "UNKNOWN",
- "enabled": true,
- "journalMetadata": {
- "createdAt": "2019-08-24T14:15:22Z",
- "createdBy": {
- "username": "string",
- "sid": "string",
- "name": "string",
- "email": "string",
- "department": "string",
- "company": "string"
}, - "lastModifiedAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": {
- "username": "string",
- "sid": "string",
- "name": "string",
- "email": "string",
- "department": "string",
- "company": "string"
}
}, - "customFieldValues": [
- {
- "customFieldId": "string",
- "customFieldType": "TEXT",
- "value": "Custom field example value"
}
]
}
}An account that is marked as deleted can no longer login. The account is deleted after a retention period that can be configured in the settings.
| customerKey required | string Specifies the key of the customer. |
| id required | integer <int64> Specifies the ID of the entity. |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request DELETE \ --url http://localhost/api/EXAMPLE_VALUE/account/EXAMPLE_VALUE \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "id": 0,
- "type": "PEAP",
- "naGroupId": 0,
- "username": "string",
- "password": "string",
- "comment": "string",
- "validity": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validFor": "PT10H",
- "validTo": "2019-08-24T14:15:22Z"
}, - "tagIds": [
- 0
], - "state": "NORMAL",
- "createdAt": "2019-08-24T14:15:22Z",
- "firstSeenAt": "2019-08-24T14:15:22Z",
- "lastSeenAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "onlineStatus": "UNKNOWN",
- "enabled": true,
- "journalMetadata": {
- "createdAt": "2019-08-24T14:15:22Z",
- "createdBy": {
- "username": "string",
- "sid": "string",
- "name": "string",
- "email": "string",
- "department": "string",
- "company": "string"
}, - "lastModifiedAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": {
- "username": "string",
- "sid": "string",
- "name": "string",
- "email": "string",
- "department": "string",
- "company": "string"
}
}, - "customFieldValues": [
- {
- "customFieldId": "string",
- "customFieldType": "TEXT",
- "value": "Custom field example value"
}
]
}
}| id required | integer <int64> |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request GET \ --url http://localhost/api/byod-users/EXAMPLE_VALUE \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "id": 0,
- "type": "BYOD_USER",
- "naGroupId": 0,
- "username": "string",
- "password": "string",
- "comment": "string",
- "validity": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validFor": "PT10H",
- "validTo": "2019-08-24T14:15:22Z"
}, - "tagIds": [
- 0
], - "state": "NORMAL",
- "createdAt": "2019-08-24T14:15:22Z",
- "firstSeenAt": "2019-08-24T14:15:22Z",
- "lastSeenAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "onlineStatus": "UNKNOWN",
- "enabled": true,
- "journalMetadata": {
- "createdAt": "2019-08-24T14:15:22Z",
- "createdBy": {
- "username": "string",
- "sid": "string",
- "name": "string",
- "email": "string",
- "department": "string",
- "company": "string"
}, - "lastModifiedAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": {
- "username": "string",
- "sid": "string",
- "name": "string",
- "email": "string",
- "department": "string",
- "company": "string"
}
}, - "customFieldValues": [
- {
- "customFieldId": "string",
- "customFieldType": "TEXT",
- "value": "Custom field example value"
}
], - "userAccountId": 0,
- "userDirectory": "string",
- "userAccountName": "string"
}
}| id required | integer <int64> |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request DELETE \ --url http://localhost/api/byod-users/EXAMPLE_VALUE \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": true
}| customerKey required | string Specifies the key of the customer. |
| seekIdentifier.username | string Username used for pagination. If set, all other |
| seekIdentifier.id | integer <int64> BYOD user network access account ID used for pagination. If set, all other |
| validityType | string Enum: "CUSTOM" "EXPIRED" "UNLIMITED" "VALID_NOW" "VALID_IN_FUTURE" |
| customValidity.validFrom | string <date-time> Required if validityType is |
| customValidity.validTo | string <date-time> Required if validityType is |
| lastSeenFilterType | string Enum: "NEVER_SEEN" "NOT_SEEN_SINCE_DURATION" "NOT_SEEN_SINCE_DATE" "SEEN_SINCE_DURATION" "SEEN_SINCE_DATE" Allows to filter accounts/devices by the lastSeenAt field. |
| lastSeenDate | string <date-time> This field is required if
|
| lastSeenDuration | string <ISO 8601 duration> Example: lastSeenDuration=PT10H This field is required if
|
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request GET \ --url 'http://localhost/api/EXAMPLE_VALUE/byod-users?seekIdentifier.username=SOME_STRING_VALUE&seekIdentifier.id=SOME_INTEGER_VALUE&validityType=SOME_STRING_VALUE&customValidity.validFrom=SOME_STRING_VALUE&customValidity.validTo=SOME_STRING_VALUE&lastSeenFilterType=SOME_STRING_VALUE&lastSeenDate=SOME_STRING_VALUE&lastSeenDuration=PT10H' \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "hasNext": "YES",
- "hasPrevious": "YES",
- "entities": [
- {
- "id": 0,
- "type": "BYOD_USER",
- "naGroupId": 0,
- "username": "string",
- "password": "string",
- "comment": "string",
- "validity": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validFor": "PT10H",
- "validTo": "2019-08-24T14:15:22Z"
}, - "tagIds": [
- 0
], - "state": "NORMAL",
- "createdAt": "2019-08-24T14:15:22Z",
- "firstSeenAt": "2019-08-24T14:15:22Z",
- "lastSeenAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "onlineStatus": "UNKNOWN",
- "enabled": true,
- "journalMetadata": {
- "createdAt": "2019-08-24T14:15:22Z",
- "createdBy": {
- "username": "string",
- "sid": "string",
- "name": "string",
- "email": "string",
- "department": "string",
- "company": "string"
}, - "lastModifiedAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": {
- "username": "string",
- "sid": "string",
- "name": "string",
- "email": "string",
- "department": "string",
- "company": "string"
}
}, - "customFieldValues": [
- {
- "customFieldId": "string",
- "customFieldType": "TEXT",
- "value": "Custom field example value"
}
], - "userAccountId": 0,
- "userDirectory": "string",
- "userAccountName": "string"
}
]
}
}Allows to create, read, update and delete OpenRoaming Network Access Accounts.
| id required | integer <int64> Specifies the ID of the entity. |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request GET \ --url http://localhost/api/open-roaming/EXAMPLE_VALUE \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "id": 0,
- "type": "OR_USER",
- "naGroupId": 0,
- "username": "string",
- "password": "string",
- "comment": "string",
- "validity": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validFor": "PT10H",
- "validTo": "2019-08-24T14:15:22Z"
}, - "tagIds": [
- 0
], - "state": "NORMAL",
- "createdAt": "2019-08-24T14:15:22Z",
- "firstSeenAt": "2019-08-24T14:15:22Z",
- "lastSeenAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "onlineStatus": "UNKNOWN",
- "enabled": true,
- "journalMetadata": {
- "createdAt": "2019-08-24T14:15:22Z",
- "createdBy": {
- "username": "string",
- "sid": "string",
- "name": "string",
- "email": "string",
- "department": "string",
- "company": "string"
}, - "lastModifiedAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": {
- "username": "string",
- "sid": "string",
- "name": "string",
- "email": "string",
- "department": "string",
- "company": "string"
}
}, - "customFieldValues": [
- {
- "customFieldId": "string",
- "customFieldType": "TEXT",
- "value": "Custom field example value"
}
], - "userAccountId": 0,
- "userDirectory": "string",
- "userAccountName": "string",
- "cellPhoneNumber": { },
- "customerKey": "string"
}
}| id required | integer <int64> Specifies the ID of the entity. |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
| naAccountId required | integer <int64> The internal ID of the OpenRoaming network access account. Required on update. |
| ownerIdentificationType required | string Enum: "USER_ACCOUNT" "CELLPHONE_NUMBER" Defines whether the account to be created is linked to a user account or a cell phone number. |
| userAccountId | integer <int64> Used to identify the owner of the OpenRoaming network access account. Either this or cellPhoneNumber must be provided. See ownerIdentificationType. |
| cellPhoneNumber | string Used to identify the owner of the OpenRoaming network access account. Either this or userAccountId must be provided. See ownerIdentificationType. |
| comment | string The optional description or comment. |
{- "naAccountId": 0,
- "ownerIdentificationType": "USER_ACCOUNT",
- "userAccountId": 0,
- "cellPhoneNumber": "string",
- "comment": "string"
}{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "id": 0,
- "type": "OR_USER",
- "naGroupId": 0,
- "username": "string",
- "password": "string",
- "comment": "string",
- "validity": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validFor": "PT10H",
- "validTo": "2019-08-24T14:15:22Z"
}, - "tagIds": [
- 0
], - "state": "NORMAL",
- "createdAt": "2019-08-24T14:15:22Z",
- "firstSeenAt": "2019-08-24T14:15:22Z",
- "lastSeenAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "onlineStatus": "UNKNOWN",
- "enabled": true,
- "journalMetadata": {
- "createdAt": "2019-08-24T14:15:22Z",
- "createdBy": {
- "username": "string",
- "sid": "string",
- "name": "string",
- "email": "string",
- "department": "string",
- "company": "string"
}, - "lastModifiedAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": {
- "username": "string",
- "sid": "string",
- "name": "string",
- "email": "string",
- "department": "string",
- "company": "string"
}
}, - "customFieldValues": [
- {
- "customFieldId": "string",
- "customFieldType": "TEXT",
- "value": "Custom field example value"
}
], - "userAccountId": 0,
- "userDirectory": "string",
- "userAccountName": "string",
- "cellPhoneNumber": { },
- "customerKey": "string"
}
}The account is permanently deleted after a retention period that can be configured in the settings.
| id required | integer <int64> Specifies the ID of the entity. |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request DELETE \ --url http://localhost/api/open-roaming/EXAMPLE_VALUE \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": { }
}| id required | integer <int64> |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request GET \ --url http://localhost/api/open-roaming/EXAMPLE_VALUE/download-profile/android \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
| id required | integer <int64> |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request GET \ --url http://localhost/api/open-roaming/EXAMPLE_VALUE/download-profile/apple \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
Redirects to Windows Settings to start the download and installation of an OpenRoaming profile from the URL provided in the redirect.
| id required | integer <int64> |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request GET \ --url http://localhost/api/open-roaming/EXAMPLE_VALUE/download-profile/windows \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
| customerKey required | string Specifies the key of the customer. |
| seekDirection | |
| size | integer <int32> Number of entities to fetch. The default value is 25. |
| seekIdentifier.username | string Username used for pagination. If set, all other |
| seekIdentifier.id | integer <int64> OpenRoaming network access account ID used for pagination. If set, all other |
| type required | string Enum: "OR_USER" "OR_DEVICE" Network access account type of the OpenRoaming account. |
| query | string Search query applied to the username, comment or owner identification field. Multiple values can be specified separated by spaces. |
| stateFilterTypes | Array of strings Items Enum: "NORMAL" "DELETED" "DISABLED" Whether only active (normal), deleted or disabled accounts should be included. |
| onlineStatusFilterType | string Enum: "ALL" "UNKNOWN" "ONLINE" "OFFLINE" Whether accounts with a certain online status should be included. |
| validityType | string Enum: "CUSTOM" "EXPIRED" "UNLIMITED" "VALID_NOW" "VALID_IN_FUTURE" |
| customValidity.validFrom | string <date-time> Required if validityType is |
| customValidity.validTo | string <date-time> Required if validityType is |
| lastSeenFilterType | string Enum: "NEVER_SEEN" "NOT_SEEN_SINCE_DURATION" "NOT_SEEN_SINCE_DATE" "SEEN_SINCE_DURATION" "SEEN_SINCE_DATE" Allows to filter accounts/devices by the lastSeenAt field. |
| lastSeenDate | string <date-time> This field is required if
|
| lastSeenDuration | string <ISO 8601 duration> Example: lastSeenDuration=PT10H This field is required if
|
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request GET \ --url 'http://localhost/api/EXAMPLE_VALUE/open-roaming?seekDirection=SOME_STRING_VALUE&size=SOME_INTEGER_VALUE&seekIdentifier.username=SOME_STRING_VALUE&seekIdentifier.id=SOME_INTEGER_VALUE&type=SOME_STRING_VALUE&query=SOME_STRING_VALUE&stateFilterTypes=SOME_ARRAY_VALUE&onlineStatusFilterType=SOME_STRING_VALUE&validityType=SOME_STRING_VALUE&customValidity.validFrom=SOME_STRING_VALUE&customValidity.validTo=SOME_STRING_VALUE&lastSeenFilterType=SOME_STRING_VALUE&lastSeenDate=SOME_STRING_VALUE&lastSeenDuration=PT10H' \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "hasNext": "YES",
- "hasPrevious": "YES",
- "entities": [
- {
- "id": 0,
- "type": "OR_USER",
- "naGroupId": 0,
- "username": "string",
- "password": "string",
- "comment": "string",
- "validity": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validFor": "PT10H",
- "validTo": "2019-08-24T14:15:22Z"
}, - "tagIds": [
- 0
], - "state": "NORMAL",
- "createdAt": "2019-08-24T14:15:22Z",
- "firstSeenAt": "2019-08-24T14:15:22Z",
- "lastSeenAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "onlineStatus": "UNKNOWN",
- "enabled": true,
- "journalMetadata": {
- "createdAt": "2019-08-24T14:15:22Z",
- "createdBy": {
- "username": "string",
- "sid": "string",
- "name": "string",
- "email": "string",
- "department": "string",
- "company": "string"
}, - "lastModifiedAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": {
- "username": "string",
- "sid": "string",
- "name": "string",
- "email": "string",
- "department": "string",
- "company": "string"
}
}, - "customFieldValues": [
- {
- "customFieldId": "string",
- "customFieldType": "TEXT",
- "value": "Custom field example value"
}
], - "userAccountId": 0,
- "userDirectory": "string",
- "userAccountName": "string",
- "cellPhoneNumber": { },
- "customerKey": "string"
}
]
}
}| customerKey required | string Specifies the key of the customer. |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
| naAccountId required | integer <int64> The internal ID of the OpenRoaming network access account. Required on update. |
| ownerIdentificationType required | string Enum: "USER_ACCOUNT" "CELLPHONE_NUMBER" Defines whether the account to be created is linked to a user account or a cell phone number. |
| userAccountId | integer <int64> Used to identify the owner of the OpenRoaming network access account. Either this or cellPhoneNumber must be provided. See ownerIdentificationType. |
| cellPhoneNumber | string Used to identify the owner of the OpenRoaming network access account. Either this or userAccountId must be provided. See ownerIdentificationType. |
| comment | string The optional description or comment. |
{- "naAccountId": 0,
- "ownerIdentificationType": "USER_ACCOUNT",
- "userAccountId": 0,
- "cellPhoneNumber": "string",
- "comment": "string"
}{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "id": 0,
- "type": "OR_USER",
- "naGroupId": 0,
- "username": "string",
- "password": "string",
- "comment": "string",
- "validity": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validFor": "PT10H",
- "validTo": "2019-08-24T14:15:22Z"
}, - "tagIds": [
- 0
], - "state": "NORMAL",
- "createdAt": "2019-08-24T14:15:22Z",
- "firstSeenAt": "2019-08-24T14:15:22Z",
- "lastSeenAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "onlineStatus": "UNKNOWN",
- "enabled": true,
- "journalMetadata": {
- "createdAt": "2019-08-24T14:15:22Z",
- "createdBy": {
- "username": "string",
- "sid": "string",
- "name": "string",
- "email": "string",
- "department": "string",
- "company": "string"
}, - "lastModifiedAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": {
- "username": "string",
- "sid": "string",
- "name": "string",
- "email": "string",
- "department": "string",
- "company": "string"
}
}, - "customFieldValues": [
- {
- "customFieldId": "string",
- "customFieldType": "TEXT",
- "value": "Custom field example value"
}
], - "userAccountId": 0,
- "userDirectory": "string",
- "userAccountName": "string",
- "cellPhoneNumber": { },
- "customerKey": "string"
}
}| id required | integer <int64> Specifies the ID of the entity. |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request GET \ --url http://localhost/api/system/EXAMPLE_VALUE \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "system": {
- "id": 0,
- "name": "string",
- "dmGroupId": 0,
- "editTemplateIdentifier": {
- "id": 0,
- "revision": 0
}, - "deployedTemplateIdentifier": {
- "id": 0,
- "revision": 0
}, - "description": "string",
- "tagIds": [
- 0
], - "systemDeviceSlots": [
- {
- "id": 0,
- "systemTemplateDeviceSlotId": "string",
- "editDeviceId": 0,
- "deployedDeviceId": 0,
- "editVariables": [
- {
- "systemTemplateVariableId": "string",
- "type": "IP",
- "value": "string"
}
], - "deployedVariables": [
- {
- "systemTemplateVariableId": "string",
- "type": "IP",
- "value": "string"
}
], - "editBundles": [
- {
- "bundleId": 0,
- "storageLocation": "string"
}
], - "deployedBundles": [
- {
- "bundleId": 0,
- "storageLocation": "string"
}
], - "editIpAddressPoolSubnet": "string",
- "deployedIpAddressPoolSubnet": "string",
- "siteAppliedInMppEditConfig": true,
- "siteAppliedInMppRunningConfig": true,
- "active": true
}
], - "configurationState": "INCOMPLETE",
- "status": {
- "systemId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "firstSeenAt": "2019-08-24T14:15:22Z",
- "lastSeenAt": "2019-08-24T14:15:22Z",
- "status": "ONLINE",
- "severity": "OK",
- "deletedAt": "2019-08-24T14:15:22Z"
}
}, - "editSystemTemplateRevision": {
- "id": 0,
- "revision": 0,
- "name": "string",
- "date": "2019-08-24T14:15:22Z",
- "author": {
- "userDirectoryName": "string",
- "username": "string"
}, - "message": "string"
}, - "editSystemTemplateDeviceSlots": [
- {
- "id": "string",
- "name": "string",
- "productIds": [
- 0
]
}
], - "editSystemTemplateVariables": [
- {
- "id": "string",
- "name": "string",
- "type": "IP"
}
], - "editSystemTemplateBundles": [
- {
- "deviceSlotId": "string",
- "slotBundles": [
- {
- "bundleId": 0,
- "storageLocations": [
- {
- "productId": 0,
- "storageLocation": "string"
}
]
}
]
}
], - "editSystemTemplateMppSiteConfigurations": [
- {
- "deviceSlotId": "string",
- "mppSiteConfigurationId": 0
}
], - "deployedSystemTemplateRevision": {
- "id": 0,
- "revision": 0,
- "name": "string",
- "date": "2019-08-24T14:15:22Z",
- "author": {
- "userDirectoryName": "string",
- "username": "string"
}, - "message": "string"
}, - "deployedSystemTemplateDeviceSlots": [
- {
- "id": "string",
- "name": "string",
- "productIds": [
- 0
]
}
], - "validationResult": {
- "type": "string",
- "title": "string",
- "message": "string",
- "translatedMessage": true,
- "violations": [
- {
- "field": "string",
- "message": "string"
}
]
}, - "systemProblem": {
- "cepKeyMismatch": true
}
}
}| id required | integer <int64> Specifies the ID of the entity. |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
| name required | string The user defined unique name of the system. |
| dmGroupId required | integer <int64> The ID of the corresponding device management group. |
required | object (SystemTemplateIdentifierDTO) The identifier of the system template that is assigned. The template can be changed without affecting the deployed system. |
| description | string The optional description or comment. |
| tagIds | Array of integers <int64> unique [ items <int64 > ] The assigned tags of the system. |
{- "name": "string",
- "dmGroupId": 0,
- "editSystemTemplateIdentifier": {
- "id": 0,
- "revision": 0
}, - "description": "string",
- "tagIds": [
- 0
]
}{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "id": 0,
- "name": "string",
- "dmGroupId": 0,
- "editTemplateIdentifier": {
- "id": 0,
- "revision": 0
}, - "deployedTemplateIdentifier": {
- "id": 0,
- "revision": 0
}, - "description": "string",
- "tagIds": [
- 0
], - "systemDeviceSlots": [
- {
- "id": 0,
- "systemTemplateDeviceSlotId": "string",
- "editDeviceId": 0,
- "deployedDeviceId": 0,
- "editVariables": [
- {
- "systemTemplateVariableId": "string",
- "type": "IP",
- "value": "string"
}
], - "deployedVariables": [
- {
- "systemTemplateVariableId": "string",
- "type": "IP",
- "value": "string"
}
], - "editBundles": [
- {
- "bundleId": 0,
- "storageLocation": "string"
}
], - "deployedBundles": [
- {
- "bundleId": 0,
- "storageLocation": "string"
}
], - "editIpAddressPoolSubnet": "string",
- "deployedIpAddressPoolSubnet": "string",
- "siteAppliedInMppEditConfig": true,
- "siteAppliedInMppRunningConfig": true,
- "active": true
}
], - "configurationState": "INCOMPLETE",
- "status": {
- "systemId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "firstSeenAt": "2019-08-24T14:15:22Z",
- "lastSeenAt": "2019-08-24T14:15:22Z",
- "status": "ONLINE",
- "severity": "OK",
- "deletedAt": "2019-08-24T14:15:22Z"
}
}
}The system is permanently deleted after the retention time has expired.
| id required | integer <int64> Specifies the ID of the entity. |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request DELETE \ --url http://localhost/api/system/EXAMPLE_VALUE \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": { }
}| id required | integer <int64> Specifies the ID of the entity. |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request PUT \ --url http://localhost/api/system/EXAMPLE_VALUE/decommission \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "id": 0,
- "name": "string",
- "dmGroupId": 0,
- "editTemplateIdentifier": {
- "id": 0,
- "revision": 0
}, - "deployedTemplateIdentifier": {
- "id": 0,
- "revision": 0
}, - "description": "string",
- "tagIds": [
- 0
], - "systemDeviceSlots": [
- {
- "id": 0,
- "systemTemplateDeviceSlotId": "string",
- "editDeviceId": 0,
- "deployedDeviceId": 0,
- "editVariables": [
- {
- "systemTemplateVariableId": "string",
- "type": "IP",
- "value": "string"
}
], - "deployedVariables": [
- {
- "systemTemplateVariableId": "string",
- "type": "IP",
- "value": "string"
}
], - "editBundles": [
- {
- "bundleId": 0,
- "storageLocation": "string"
}
], - "deployedBundles": [
- {
- "bundleId": 0,
- "storageLocation": "string"
}
], - "editIpAddressPoolSubnet": "string",
- "deployedIpAddressPoolSubnet": "string",
- "siteAppliedInMppEditConfig": true,
- "siteAppliedInMppRunningConfig": true,
- "active": true
}
], - "configurationState": "INCOMPLETE",
- "status": {
- "systemId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "firstSeenAt": "2019-08-24T14:15:22Z",
- "lastSeenAt": "2019-08-24T14:15:22Z",
- "status": "ONLINE",
- "severity": "OK",
- "deletedAt": "2019-08-24T14:15:22Z"
}
}
}| id required | integer <int64> Specifies the ID of the entity. |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request PUT \ --url http://localhost/api/system/EXAMPLE_VALUE/deploy \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "id": 0,
- "name": "string",
- "dmGroupId": 0,
- "editTemplateIdentifier": {
- "id": 0,
- "revision": 0
}, - "deployedTemplateIdentifier": {
- "id": 0,
- "revision": 0
}, - "description": "string",
- "tagIds": [
- 0
], - "systemDeviceSlots": [
- {
- "id": 0,
- "systemTemplateDeviceSlotId": "string",
- "editDeviceId": 0,
- "deployedDeviceId": 0,
- "editVariables": [
- {
- "systemTemplateVariableId": "string",
- "type": "IP",
- "value": "string"
}
], - "deployedVariables": [
- {
- "systemTemplateVariableId": "string",
- "type": "IP",
- "value": "string"
}
], - "editBundles": [
- {
- "bundleId": 0,
- "storageLocation": "string"
}
], - "deployedBundles": [
- {
- "bundleId": 0,
- "storageLocation": "string"
}
], - "editIpAddressPoolSubnet": "string",
- "deployedIpAddressPoolSubnet": "string",
- "siteAppliedInMppEditConfig": true,
- "siteAppliedInMppRunningConfig": true,
- "active": true
}
], - "configurationState": "INCOMPLETE",
- "status": {
- "systemId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "firstSeenAt": "2019-08-24T14:15:22Z",
- "lastSeenAt": "2019-08-24T14:15:22Z",
- "status": "ONLINE",
- "severity": "OK",
- "deletedAt": "2019-08-24T14:15:22Z"
}
}
}| id required | integer <int64> Specifies the ID of the entity. |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
| id required | integer <int64> The ID of the system device slot. |
| editDeviceId | integer <int64> The ID of the device assigned to the slot. Exclude this field or use null to unassign the device. |
Array of objects (SystemDeviceSlotVariableDTO) The variables assigned to the slot. | |
Array of objects (SystemDeviceSlotBundleConfigDTO) The configurations of the bundles assigned to the slot. | |
| editIpAddressPoolSubnet | string The IP address pool subnet assigned to the slot |
{- "id": 0,
- "editDeviceId": 0,
- "editVariables": [
- {
- "systemTemplateVariableId": "string",
- "type": "IP",
- "value": "string"
}
], - "editBundles": [
- {
- "bundleId": 0,
- "storageLocation": "string"
}
], - "editIpAddressPoolSubnet": "string"
}{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "id": 0,
- "name": "string",
- "dmGroupId": 0,
- "editTemplateIdentifier": {
- "id": 0,
- "revision": 0
}, - "deployedTemplateIdentifier": {
- "id": 0,
- "revision": 0
}, - "description": "string",
- "tagIds": [
- 0
], - "systemDeviceSlots": [
- {
- "id": 0,
- "systemTemplateDeviceSlotId": "string",
- "editDeviceId": 0,
- "deployedDeviceId": 0,
- "editVariables": [
- {
- "systemTemplateVariableId": "string",
- "type": "IP",
- "value": "string"
}
], - "deployedVariables": [
- {
- "systemTemplateVariableId": "string",
- "type": "IP",
- "value": "string"
}
], - "editBundles": [
- {
- "bundleId": 0,
- "storageLocation": "string"
}
], - "deployedBundles": [
- {
- "bundleId": 0,
- "storageLocation": "string"
}
], - "editIpAddressPoolSubnet": "string",
- "deployedIpAddressPoolSubnet": "string",
- "siteAppliedInMppEditConfig": true,
- "siteAppliedInMppRunningConfig": true,
- "active": true
}
], - "configurationState": "INCOMPLETE",
- "status": {
- "systemId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "firstSeenAt": "2019-08-24T14:15:22Z",
- "lastSeenAt": "2019-08-24T14:15:22Z",
- "status": "ONLINE",
- "severity": "OK",
- "deletedAt": "2019-08-24T14:15:22Z"
}
}
}| customerKey required | string Specifies the key of the customer. |
| seekDirection | |
| size | integer <int32> Number of entities to fetch. The default value is 25. |
| seekIdentifier.name | string Name used for pagination. |
| dmGroupIds | Array of integers <int64> [ items <int64 > ] Specifies the filtered group IDs which the entities must have. |
| tagIds | Array of integers <int64> [ items <int64 > ] Specifies which tag IDs the filtered entities must have. |
| tagOperator | string Enum: "OR" "AND" Specifies if the filtered entities must have all tag ids ( |
| search | string Search query applied to the name or comment field. Multiple values can be specified separated by spaces. |
| states | Array of strings Items Enum: "ACTIVE" "DELETED" "INACTIVE" "ONLINE" "OFFLINE" "UNKNOWN" Whether only online, offline, unknown, deleted or all systems should be included. |
| severities | Array of strings Items Enum: "CRITICAL" "INFO" "OK" "WARNING" Whether only systems whose status has the severity level ok, info, warning, critical (or none of these) should be included. |
| systemTemplateIdentifier.id required | integer <int64> The ID of the system template. |
| systemTemplateIdentifier.revision required | integer <int64> The revision of the system template. In the user interface, the revision is referred to as "version". These two terms are interchangeable. |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request GET \ --url 'http://localhost/api/EXAMPLE_VALUE/system?seekDirection=SOME_STRING_VALUE&size=SOME_INTEGER_VALUE&seekIdentifier.name=SOME_STRING_VALUE&dmGroupIds=SOME_ARRAY_VALUE&tagIds=SOME_ARRAY_VALUE&tagOperator=SOME_STRING_VALUE&search=SOME_STRING_VALUE&states=SOME_ARRAY_VALUE&severities=SOME_ARRAY_VALUE&systemTemplateIdentifier.id=SOME_INTEGER_VALUE&systemTemplateIdentifier.revision=SOME_INTEGER_VALUE' \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "hasNext": "YES",
- "hasPrevious": "YES",
- "entities": [
- {
- "id": 0,
- "name": "string",
- "dmGroupId": 0,
- "editTemplateIdentifier": {
- "id": 0,
- "revision": 0
}, - "deployedTemplateIdentifier": {
- "id": 0,
- "revision": 0
}, - "description": "string",
- "tagIds": [
- 0
], - "systemDeviceSlots": [
- {
- "id": 0,
- "systemTemplateDeviceSlotId": "string",
- "editDeviceId": 0,
- "deployedDeviceId": 0,
- "editVariables": [
- {
- "systemTemplateVariableId": "string",
- "type": "IP",
- "value": "string"
}
], - "deployedVariables": [
- {
- "systemTemplateVariableId": "string",
- "type": "IP",
- "value": "string"
}
], - "editBundles": [
- {
- "bundleId": 0,
- "storageLocation": "string"
}
], - "deployedBundles": [
- {
- "bundleId": 0,
- "storageLocation": "string"
}
], - "editIpAddressPoolSubnet": "string",
- "deployedIpAddressPoolSubnet": "string",
- "siteAppliedInMppEditConfig": true,
- "siteAppliedInMppRunningConfig": true,
- "active": true
}
], - "configurationState": "INCOMPLETE",
- "status": {
- "systemId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "firstSeenAt": "2019-08-24T14:15:22Z",
- "lastSeenAt": "2019-08-24T14:15:22Z",
- "status": "ONLINE",
- "severity": "OK",
- "deletedAt": "2019-08-24T14:15:22Z"
}
}
]
}
}| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
| name required | string The user defined unique name of the system. |
| dmGroupId required | integer <int64> The ID of the corresponding device management group. |
required | object (SystemTemplateIdentifierDTO) The identifier of the system template that is assigned. The template can be changed without affecting the deployed system. |
| description | string The optional description or comment. |
| tagIds | Array of integers <int64> unique [ items <int64 > ] The assigned tags of the system. |
{- "name": "string",
- "dmGroupId": 0,
- "editSystemTemplateIdentifier": {
- "id": 0,
- "revision": 0
}, - "description": "string",
- "tagIds": [
- 0
]
}{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "id": 0,
- "name": "string",
- "dmGroupId": 0,
- "editTemplateIdentifier": {
- "id": 0,
- "revision": 0
}, - "deployedTemplateIdentifier": {
- "id": 0,
- "revision": 0
}, - "description": "string",
- "tagIds": [
- 0
], - "systemDeviceSlots": [
- {
- "id": 0,
- "systemTemplateDeviceSlotId": "string",
- "editDeviceId": 0,
- "deployedDeviceId": 0,
- "editVariables": [
- {
- "systemTemplateVariableId": "string",
- "type": "IP",
- "value": "string"
}
], - "deployedVariables": [
- {
- "systemTemplateVariableId": "string",
- "type": "IP",
- "value": "string"
}
], - "editBundles": [
- {
- "bundleId": 0,
- "storageLocation": "string"
}
], - "deployedBundles": [
- {
- "bundleId": 0,
- "storageLocation": "string"
}
], - "editIpAddressPoolSubnet": "string",
- "deployedIpAddressPoolSubnet": "string",
- "siteAppliedInMppEditConfig": true,
- "siteAppliedInMppRunningConfig": true,
- "active": true
}
], - "configurationState": "INCOMPLETE",
- "status": {
- "systemId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "firstSeenAt": "2019-08-24T14:15:22Z",
- "lastSeenAt": "2019-08-24T14:15:22Z",
- "status": "ONLINE",
- "severity": "OK",
- "deletedAt": "2019-08-24T14:15:22Z"
}
}
}| customerKey required | string Specifies the key of the customer. |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request GET \ --url http://localhost/api/EXAMPLE_VALUE/system/names \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": [
- {
- "id": 0,
- "name": "string"
}
]
}| customerKey required | string Specifies the key of the customer. |
| size | integer <int32> Number of entities to fetch. The default value is 25. |
| seekIdentifier.isAssigned | boolean Whether the device is assigned to a system. Required for pagination. If set, all other |
| seekIdentifier.productSku | string Product stock keeping unit used for pagination. If set, all other |
| seekIdentifier.serial | string Serial used for pagination. If set, all other |
| seekDirection | |
| dmGroupIds | Array of integers <int64> [ items <int64 > ] Specifies the filtered group IDs which the entities must have. |
| productIds | Array of integers <int32> [ items <int32 > ] |
| tagIds | Array of integers <int64> [ items <int64 > ] Specifies which tag IDs the filtered entities must have. |
| tagOperator | string Enum: "OR" "AND" Specifies if the filtered entities must have all tag ids ( |
| search | string Search query applied to the serial and comment field. Multiple values can be specified separated by spaces. |
| onlineStatus | Array of strings Items Enum: "ONLINE" "OFFLINE" |
| activeStatus | Array of strings Items Enum: "ACTIVE" "DELETED" |
| assignableToSystem | integer <int64> Only include devices that can be assigned to the system with this id. This parameter does not take into account the product restrictions that may be defined on the system template device slot. Must be used together with |
| assignableToSystemDeviceSlot | integer <int64> Only include devices that can be assigned to the system device slot with this id. This parameter does not take into account the product restrictions that may be defined on the system template device slot. Must be used together with |
| assignedToSystem | integer <int64> Only include devices that are assigned to the system with this id. Must not be used together with |
| osVersions | Array of strings Only include devices with these OS versions. |
| lastSeenFilterType | string Enum: "NEVER_SEEN" "NOT_SEEN_SINCE_DURATION" "NOT_SEEN_SINCE_DATE" "SEEN_SINCE_DURATION" "SEEN_SINCE_DATE" Allows to filter accounts/devices by the lastSeenAt field. |
| lastSeenDate | string <date-time> This field is required if
|
| lastSeenDuration | string <ISO 8601 duration> Example: lastSeenDuration=PT10H This field is required if
|
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request GET \ --url 'http://localhost/api/EXAMPLE_VALUE/device?size=SOME_INTEGER_VALUE&seekIdentifier.isAssigned=SOME_BOOLEAN_VALUE&seekIdentifier.productSku=SOME_STRING_VALUE&seekIdentifier.serial=SOME_STRING_VALUE&seekDirection=SOME_STRING_VALUE&dmGroupIds=SOME_ARRAY_VALUE&productIds=SOME_ARRAY_VALUE&tagIds=SOME_ARRAY_VALUE&tagOperator=SOME_STRING_VALUE&search=SOME_STRING_VALUE&onlineStatus=SOME_ARRAY_VALUE&activeStatus=SOME_ARRAY_VALUE&assignableToSystem=SOME_INTEGER_VALUE&assignableToSystemDeviceSlot=SOME_INTEGER_VALUE&assignedToSystem=SOME_INTEGER_VALUE&osVersions=SOME_ARRAY_VALUE&lastSeenFilterType=SOME_STRING_VALUE&lastSeenDate=SOME_STRING_VALUE&lastSeenDuration=PT10H' \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "hasNext": "YES",
- "hasPrevious": "YES",
- "entities": [
- {
- "id": 0,
- "serial": "string",
- "onwayRouterIdentity": {
- "routerIdentity": "string",
- "manufacturer": "string",
- "model": "string",
- "serial": "string",
- "hash": "string"
}, - "customerKey": "string",
- "dmGroupId": 0,
- "productNumber": 0,
- "comment": "string",
- "operatingSystem": "string",
- "hostname": "string",
- "tagIds": [
- 0
], - "createdAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "deviceStatus": {
- "connectedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z",
- "firstSeenAt": "2019-08-24T14:15:22Z",
- "lastSeenAt": "2019-08-24T14:15:22Z",
- "ipAddress": "string",
- "port": 0,
- "originator": "string",
- "online": true
}, - "editSystemId": 0,
- "deployedSystemId": 0,
- "systemName": "string",
- "assignedRedirectionTarget": "string",
- "cepKeyMismatch": true
}
]
}
}| customerKey required | string Specifies the key of the customer. |
| id required | integer <int64> Specifies the ID of the entity. |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request GET \ --url http://localhost/api/EXAMPLE_VALUE/device/EXAMPLE_VALUE \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "id": 0,
- "serial": "string",
- "onwayRouterIdentity": {
- "routerIdentity": "string",
- "manufacturer": "string",
- "model": "string",
- "serial": "string",
- "hash": "string"
}, - "customerKey": "string",
- "dmGroupId": 0,
- "productNumber": 0,
- "comment": "string",
- "operatingSystem": "string",
- "hostname": "string",
- "tagIds": [
- 0
], - "createdAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "deviceStatus": {
- "connectedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z",
- "firstSeenAt": "2019-08-24T14:15:22Z",
- "lastSeenAt": "2019-08-24T14:15:22Z",
- "ipAddress": "string",
- "port": 0,
- "originator": "string",
- "online": true
}, - "editSystemId": 0,
- "deployedSystemId": 0,
- "systemName": "string",
- "assignedRedirectionTarget": "string",
- "cepKeyMismatch": true
}
}| customerKey required | string Specifies the key of the customer. |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
| id required | integer <int64> |
| dmGroupId required | integer <int64> |
| comment | string |
| tagIds | Array of integers <int64> unique [ items <int64 > ] |
{- "id": 0,
- "dmGroupId": 0,
- "comment": "string",
- "tagIds": [
- 0
]
}{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "id": 0,
- "serial": "string",
- "onwayRouterIdentity": {
- "routerIdentity": "string",
- "manufacturer": "string",
- "model": "string",
- "serial": "string",
- "hash": "string"
}, - "customerKey": "string",
- "dmGroupId": 0,
- "productNumber": 0,
- "comment": "string",
- "operatingSystem": "string",
- "hostname": "string",
- "tagIds": [
- 0
], - "createdAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "deviceStatus": {
- "connectedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z",
- "firstSeenAt": "2019-08-24T14:15:22Z",
- "lastSeenAt": "2019-08-24T14:15:22Z",
- "ipAddress": "string",
- "port": 0,
- "originator": "string",
- "online": true
}, - "editSystemId": 0,
- "deployedSystemId": 0,
- "systemName": "string",
- "assignedRedirectionTarget": "string",
- "cepKeyMismatch": true
}
}| customerKey required | string Specifies the key of the customer. |
| deviceId required | integer <int64> Specifies the ID of the device. |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request GET \ --url http://localhost/api/EXAMPLE_VALUE/device/EXAMPLE_VALUE/telemetry \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "osVersion": {
- "timestamp": "2019-08-24T14:15:22Z",
- "data": {
- "osVersion": "string",
- "bootPartition": "ACTIVE",
- "bootedAt": "2019-08-24T14:15:22Z"
}
}, - "hostname": {
- "timestamp": "2019-08-24T14:15:22Z",
- "data": {
- "hostname": "string"
}
}, - "gpsLocation": {
- "timestamp": "2019-08-24T14:15:22Z",
- "data": {
- "longitude": 0.1,
- "latitude": 0.1,
- "altitude": 0.1
}
}, - "gpsVelocity": {
- "timestamp": "2019-08-24T14:15:22Z",
- "data": {
- "track": 0.1,
- "speed": 0.1,
- "climb": 0.1
}
}, - "linkStates": {
- "timestamp": "2019-08-24T14:15:22Z",
- "data": [
- {
- "name": "string",
- "lowerState": "UP",
- "speed": 0,
- "fullDuplex": true
}
]
}, - "macAddresses": {
- "timestamp": "2019-08-24T14:15:22Z",
- "data": [
- {
- "name": "string",
- "mac": "string"
}
]
}, - "ipAddresses": {
- "timestamp": "2019-08-24T14:15:22Z",
- "data": [
- {
- "name": "string",
- "ipAddresses": [
- "string"
]
}
]
}, - "vpnTunnels": {
- "timestamp": "2019-08-24T14:15:22Z",
- "data": {
- "vpnTunnelStates": [
- {
- "tunnel": "string",
- "uplinks": [
- {
- "uplink": "string"
}
]
}
], - "vpnTunnelStatsUplinks": [
- {
- "name": "string",
- "quality": 0,
- "uplinkQuality": "EXCELLENT"
}
]
}
}, - "modemSignal": {
- "timestamp": "2019-08-24T14:15:22Z",
- "data": [
- {
- "name": "string",
- "gsm": {
- "rssi": 0,
- "quality": "EXCELLENT"
}, - "umts": {
- "rssi": 0,
- "quality": "EXCELLENT"
}, - "lte": {
- "rsrq": 0,
- "quality": "EXCELLENT"
}, - "fiveG": {
- "rsrq": 0,
- "quality": "EXCELLENT"
}
}
]
}, - "modemConnection": {
- "timestamp": "2019-08-24T14:15:22Z",
- "data": [
- {
- "name": "string",
- "state": "IP",
- "addresses": [
- "string"
], - "operator": "string"
}
]
}, - "modemInfo": {
- "timestamp": "2019-08-24T14:15:22Z",
- "data": [
- {
- "name": "string",
- "driver": "string",
- "revision": "string",
- "imei": "string"
}
]
}, - "modemSim": {
- "timestamp": "2019-08-24T14:15:22Z",
- "data": [
- {
- "name": "string",
- "slot": 0,
- "imsi": {
- "imsi": "string",
- "mcc": 0,
- "mnc": 0
}, - "iccid": "string"
}
]
}
}
}| customerKey required | string Specifies the key of the customer. |
| size | integer <int32> Number of entities to fetch. The default value is 25. |
| seekIdentifier.iccid | string ICCID used for pagination. |
| seekDirection | |
| tagIds | Array of integers <int64> [ items <int64 > ] Specifies which tag IDs the filtered entities must have. |
| tagOperator | string Enum: "OR" "AND" Specifies if the filtered entities must have all tag ids ( |
| search | string Search query applied to the ICCID, IMSI, MSISDN or comment field, or the name of the associated device. Multiple values can be specified separated by spaces. |
| lastSeenFilterType | string Enum: "NEVER_SEEN" "NOT_SEEN_SINCE_DURATION" "NOT_SEEN_SINCE_DATE" "SEEN_SINCE_DURATION" "SEEN_SINCE_DATE" Allows to filter accounts/devices by the lastSeenAt field. |
| lastSeenDate | string <date-time> This field is required if
|
| lastSeenDuration | string <ISO 8601 duration> Example: lastSeenDuration=PT10H This field is required if
|
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request GET \ --url 'http://localhost/api/EXAMPLE_VALUE/sim-cards?size=SOME_INTEGER_VALUE&seekIdentifier.iccid=SOME_STRING_VALUE&seekDirection=SOME_STRING_VALUE&tagIds=SOME_ARRAY_VALUE&tagOperator=SOME_STRING_VALUE&search=SOME_STRING_VALUE&lastSeenFilterType=SOME_STRING_VALUE&lastSeenDate=SOME_STRING_VALUE&lastSeenDuration=PT10H' \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "hasNext": "YES",
- "hasPrevious": "YES",
- "entities": [
- {
- "iccid": "string",
- "customerKey": "string",
- "imsi": "string",
- "msisdn": "string",
- "withPin": true,
- "security": {
- "pin1": "string",
- "pin2": "string",
- "puk1": "string",
- "puk2": "string"
}, - "comment": "string",
- "tagIds": [
- 0
], - "telemetry": {
- "deviceId": 0,
- "systemId": 0,
- "slot": 0,
- "mcc": 0,
- "mnc": 0,
- "lastSeenAt": "2019-08-24T14:15:22Z"
}
}
]
}
}| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
| iccid required | string Digits. The final digit must conform to the Luhn algorithm. |
| customerKey required | string |
| imsi | string Max. 15 digits. |
| msisdn | string Max. 15 digits. |
| withPin | boolean Flag to define if the security codes (PIN, PUK) are persisted. |
object (SimCardSecurityDTO) | |
| comment | string |
| tagIds | Array of integers <int64> unique [ items <int64 > ] |
{- "iccid": "string",
- "customerKey": "string",
- "imsi": "string",
- "msisdn": "string",
- "withPin": true,
- "security": {
- "pin1": "string",
- "pin2": "string",
- "puk1": "string",
- "puk2": "string"
}, - "comment": "string",
- "tagIds": [
- 0
]
}{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "iccid": "string",
- "customerKey": "string",
- "imsi": "string",
- "msisdn": "string",
- "withPin": true,
- "security": {
- "pin1": "string",
- "pin2": "string",
- "puk1": "string",
- "puk2": "string"
}, - "comment": "string",
- "tagIds": [
- 0
], - "telemetry": {
- "deviceId": 0,
- "systemId": 0,
- "slot": 0,
- "mcc": 0,
- "mnc": 0,
- "lastSeenAt": "2019-08-24T14:15:22Z"
}
}
}| iccid required | string |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request GET \ --url http://localhost/api/EXAMPLE_VALUE/sim-cards/EXAMPLE_VALUE \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "iccid": "string",
- "customerKey": "string",
- "imsi": "string",
- "msisdn": "string",
- "withPin": true,
- "security": {
- "pin1": "string",
- "pin2": "string",
- "puk1": "string",
- "puk2": "string"
}, - "comment": "string",
- "tagIds": [
- 0
], - "telemetry": {
- "deviceId": 0,
- "systemId": 0,
- "slot": 0,
- "mcc": 0,
- "mnc": 0,
- "lastSeenAt": "2019-08-24T14:15:22Z"
}
}
}| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
| iccid required | string Digits. The final digit must conform to the Luhn algorithm. |
| customerKey required | string |
| imsi | string Max. 15 digits. |
| msisdn | string Max. 15 digits. |
| withPin | boolean Flag to define if the security codes (PIN, PUK) are persisted. |
object (SimCardSecurityDTO) | |
| comment | string |
| tagIds | Array of integers <int64> unique [ items <int64 > ] |
{- "iccid": "string",
- "customerKey": "string",
- "imsi": "string",
- "msisdn": "string",
- "withPin": true,
- "security": {
- "pin1": "string",
- "pin2": "string",
- "puk1": "string",
- "puk2": "string"
}, - "comment": "string",
- "tagIds": [
- 0
]
}{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "iccid": "string",
- "customerKey": "string",
- "imsi": "string",
- "msisdn": "string",
- "withPin": true,
- "security": {
- "pin1": "string",
- "pin2": "string",
- "puk1": "string",
- "puk2": "string"
}, - "comment": "string",
- "tagIds": [
- 0
], - "telemetry": {
- "deviceId": 0,
- "systemId": 0,
- "slot": 0,
- "mcc": 0,
- "mnc": 0,
- "lastSeenAt": "2019-08-24T14:15:22Z"
}
}
}| iccid required | string |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request DELETE \ --url http://localhost/api/EXAMPLE_VALUE/sim-cards/EXAMPLE_VALUE \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": { }
}| customerKey required | string Specifies the key of the customer. |
| seekDirection | |
| size | integer <int32> Number of entities to fetch. The default value is 25. |
| seekIdentifier.name | string Name used for pagination. |
| search | string Search query applied to the name field. Multiple values can be specified separated by spaces. |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request GET \ --url 'http://localhost/api/EXAMPLE_VALUE/bundle?seekDirection=SOME_STRING_VALUE&size=SOME_INTEGER_VALUE&seekIdentifier.name=SOME_STRING_VALUE&search=SOME_STRING_VALUE' \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "hasNext": "YES",
- "hasPrevious": "YES",
- "entities": [
- {
- "id": 0,
- "customerKey": "string",
- "name": "string",
- "acl": {
- "permissions": [
- {
- "permission": "string",
- "sid": [
- "string"
]
}
], - "owner": "string"
}, - "chunkSize": 0,
- "sources": [
- {
- "platform": "ARM_V7",
- "authentication": {
- "username": "string",
- "password": "string"
}
}
]
}
]
}
}Returns all bundles for which the user has the "bundle_read" permission.
| customerKey required | string |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request GET \ --url http://localhost/api/EXAMPLE_VALUE/bundles \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": [
- {
- "id": 0,
- "customerKey": "string",
- "name": "string",
- "acl": {
- "permissions": [
- {
- "permission": "string",
- "sid": [
- "string"
]
}
], - "owner": "string"
}, - "chunkSize": 0,
- "sources": [
- {
- "platform": "ARM_V7",
- "authentication": {
- "username": "string",
- "password": "string"
}
}
]
}
]
}| customerKey required | string Specifies the key of the customer. |
| seekDirection | |
| size | integer <int32> Number of entities to fetch. The default value is 25. |
| seekIdentifier.name | string Name used for pagination. |
| search | string Search query applied to the name field. Multiple values can be specified separated by spaces. |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request GET \ --url 'http://localhost/api/EXAMPLE_VALUE/system-template?seekDirection=SOME_STRING_VALUE&size=SOME_INTEGER_VALUE&seekIdentifier.name=SOME_STRING_VALUE&search=SOME_STRING_VALUE' \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "hasNext": "YES",
- "hasPrevious": "YES",
- "entities": [
- {
- "draftRevision": {
- "id": 0,
- "customerKey": "string",
- "name": "string",
- "hash": "string",
- "acl": {
- "permissions": [
- {
- "permission": "string",
- "sid": [
- "string"
]
}
], - "owner": "string"
}, - "systemTemplateDeviceSlots": [
- {
- "id": "string",
- "name": "string",
- "productIds": [
- 0
]
}
], - "revision": {
- "id": 0,
- "revision": 0,
- "name": "string",
- "date": "2019-08-24T14:15:22Z",
- "author": {
- "userDirectoryName": "string",
- "username": "string"
}, - "message": "string"
}, - "telemetryUser": {
- "interval": "PT10H",
- "gnssSlotId": "string"
}, - "variables": [
- {
- "id": "string",
- "name": "string",
- "type": "IP"
}
], - "icmpServiceChecks": [
- {
- "id": "string",
- "name": "string",
- "slotIds": [
- "string"
], - "sourceInterface": "string",
- "target": {
- "type": "IP_ADDRESS",
- "ipAddress": "string",
- "variableId": "string",
- "functionName": "ADDR_AT",
- "addrAtParams": {
- "baseAddressSpecific": "string",
- "baseAddressVariableId": "string",
- "offsetSpecific": 0,
- "offsetVariableId": "string",
- "offsetShift": 0
}
}, - "interval": "PT10H",
- "validation": {
- "okLossRate": 100,
- "warningLossRate": 100
}
}
], - "httpServiceChecks": [
- {
- "id": "string",
- "name": "string",
- "slotIds": [
- "string"
], - "sourceInterface": "string",
- "target": {
- "https": true,
- "host": {
- "type": "HOST",
- "host": "string",
- "variableId": "string",
- "functionName": "ADDR_AT",
- "addrAtParams": {
- "baseAddressSpecific": null,
- "baseAddressVariableId": null,
- "offsetSpecific": null,
- "offsetVariableId": null,
- "offsetShift": null
}
}, - "path": "string"
}, - "interval": "PT10H",
- "okStatusCodes": [
- 0
]
}
], - "alarmDefinitions": [
- {
- "id": "string",
- "name": "string",
- "severity": "OK",
- "slotIds": [
- "string"
], - "monitorOnwayRouters": true,
- "serviceChecks": {
- "serviceCheckIds": [
- "string"
], - "minimumSeverityLevel": "OK"
}, - "snmpServiceChecks": {
- "snmpServiceCheckIds": [
- "string"
]
}, - "deferral": "PT10H",
- "periods": [
- {
- "days": [
- null
], - "start": "string",
- "end": "string"
}
], - "notificationSids": [
- "string"
]
}
], - "snmpServiceChecks": [
- {
- "id": "string",
- "name": "string",
- "slotIds": [
- "string"
], - "sourceInterface": "string",
- "target": {
- "type": "IP_ADDRESS",
- "ipAddress": "string",
- "variableId": "string",
- "functionName": "ADDR_AT",
- "addrAtParams": {
- "baseAddressSpecific": "string",
- "baseAddressVariableId": "string",
- "offsetSpecific": 0,
- "offsetVariableId": "string",
- "offsetShift": 0
}
}, - "community": "string",
- "interval": "PT10H",
- "oids": [
- {
- "label": "string",
- "oid": "string"
}
]
}
], - "mppSiteConfigurations": [
- {
- "deviceSlotId": "string",
- "mppSiteConfigurationId": 0
}
], - "bundles": [
- {
- "deviceSlotId": "string",
- "slotBundles": [
- {
- "bundleId": 0,
- "storageLocations": [
- null
]
}
]
}
], - "problem": {
- "type": "string",
- "title": "string",
- "message": "string",
- "translatedMessage": true,
- "violations": [
- {
- "field": "string",
- "message": "string"
}
]
}, - "migrationInfo": "MIGRATED_BY_SOFTWARE_UPGRADE"
}, - "latestRevision": {
- "id": 0,
- "customerKey": "string",
- "name": "string",
- "hash": "string",
- "acl": {
- "permissions": [
- {
- "permission": "string",
- "sid": [
- "string"
]
}
], - "owner": "string"
}, - "systemTemplateDeviceSlots": [
- {
- "id": "string",
- "name": "string",
- "productIds": [
- 0
]
}
], - "revision": {
- "id": 0,
- "revision": 0,
- "name": "string",
- "date": "2019-08-24T14:15:22Z",
- "author": {
- "userDirectoryName": "string",
- "username": "string"
}, - "message": "string"
}, - "telemetryUser": {
- "interval": "PT10H",
- "gnssSlotId": "string"
}, - "variables": [
- {
- "id": "string",
- "name": "string",
- "type": "IP"
}
], - "icmpServiceChecks": [
- {
- "id": "string",
- "name": "string",
- "slotIds": [
- "string"
], - "sourceInterface": "string",
- "target": {
- "type": "IP_ADDRESS",
- "ipAddress": "string",
- "variableId": "string",
- "functionName": "ADDR_AT",
- "addrAtParams": {
- "baseAddressSpecific": "string",
- "baseAddressVariableId": "string",
- "offsetSpecific": 0,
- "offsetVariableId": "string",
- "offsetShift": 0
}
}, - "interval": "PT10H",
- "validation": {
- "okLossRate": 100,
- "warningLossRate": 100
}
}
], - "httpServiceChecks": [
- {
- "id": "string",
- "name": "string",
- "slotIds": [
- "string"
], - "sourceInterface": "string",
- "target": {
- "https": true,
- "host": {
- "type": "HOST",
- "host": "string",
- "variableId": "string",
- "functionName": "ADDR_AT",
- "addrAtParams": {
- "baseAddressSpecific": null,
- "baseAddressVariableId": null,
- "offsetSpecific": null,
- "offsetVariableId": null,
- "offsetShift": null
}
}, - "path": "string"
}, - "interval": "PT10H",
- "okStatusCodes": [
- 0
]
}
], - "alarmDefinitions": [
- {
- "id": "string",
- "name": "string",
- "severity": "OK",
- "slotIds": [
- "string"
], - "monitorOnwayRouters": true,
- "serviceChecks": {
- "serviceCheckIds": [
- "string"
], - "minimumSeverityLevel": "OK"
}, - "snmpServiceChecks": {
- "snmpServiceCheckIds": [
- "string"
]
}, - "deferral": "PT10H",
- "periods": [
- {
- "days": [
- null
], - "start": "string",
- "end": "string"
}
], - "notificationSids": [
- "string"
]
}
], - "snmpServiceChecks": [
- {
- "id": "string",
- "name": "string",
- "slotIds": [
- "string"
], - "sourceInterface": "string",
- "target": {
- "type": "IP_ADDRESS",
- "ipAddress": "string",
- "variableId": "string",
- "functionName": "ADDR_AT",
- "addrAtParams": {
- "baseAddressSpecific": "string",
- "baseAddressVariableId": "string",
- "offsetSpecific": 0,
- "offsetVariableId": "string",
- "offsetShift": 0
}
}, - "community": "string",
- "interval": "PT10H",
- "oids": [
- {
- "label": "string",
- "oid": "string"
}
]
}
], - "mppSiteConfigurations": [
- {
- "deviceSlotId": "string",
- "mppSiteConfigurationId": 0
}
], - "bundles": [
- {
- "deviceSlotId": "string",
- "slotBundles": [
- {
- "bundleId": 0,
- "storageLocations": [
- null
]
}
]
}
], - "problem": {
- "type": "string",
- "title": "string",
- "message": "string",
- "translatedMessage": true,
- "violations": [
- {
- "field": "string",
- "message": "string"
}
]
}, - "migrationInfo": "MIGRATED_BY_SOFTWARE_UPGRADE"
}, - "unsavedChanges": true
}
]
}
}Returns all system templates for which the user has the "system manage" permission. Only the fields that are relevant for creating a new system are returned.
| customerKey required | string |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request GET \ --url http://localhost/api/EXAMPLE_VALUE/system-templates \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": [
- {
- "id": 0,
- "customerKey": "string",
- "name": "string",
- "gnssSlotId": "string",
- "systemTemplateDeviceSlots": [
- {
- "id": "string",
- "name": "string",
- "productIds": [
- 0
]
}
], - "systemTemplateVariables": [
- {
- "id": "string",
- "name": "string",
- "type": "IP"
}
]
}
]
}Returns the metadata of all revisions of a system template.
| id required | integer <int64> |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request GET \ --url http://localhost/api/system-template/EXAMPLE_VALUE/revisions-meta-data \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": [
- {
- "id": 0,
- "revision": 0,
- "name": "string",
- "date": "2019-08-24T14:15:22Z",
- "author": {
- "userDirectoryName": "string",
- "username": "string"
}, - "message": "string"
}
]
}Returns all compact versions of system templates. This end point is intended for read-only purposes.
| customerKey required | string |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request GET \ --url http://localhost/api/EXAMPLE_VALUE/system-templates/compact \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": [
- {
- "id": 0,
- "name": "string"
}
]
}Get all logbook data within a specified time range. This endpoints supports pagination. Unlike the other endpoints, the size parameter does not have a fixed default value, but contains all values within the requested time range by default. Unless you build a UI, it is recommended to adjust the time range instead of using pagination.
| systemId required | integer <int64> |
| seekDirection | |
| size | integer <int32> Optional number of entities to fetch. If not set, all values that match the request are returned. |
| seekIdentifier.timestamp | string <date-time> Timestamp used for pagination. |
| from required | string <date-time> Start of the requested time range. |
| to required | string <date-time> End of the requested time range. |
| filterOverlappingDataPoints | boolean Whether geographically overlapping data points should be filtered out. Default is false. |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request GET \ --url 'http://localhost/api/logbooks/EXAMPLE_VALUE?seekDirection=SOME_STRING_VALUE&size=SOME_INTEGER_VALUE&seekIdentifier.timestamp=SOME_STRING_VALUE&from=SOME_STRING_VALUE&to=SOME_STRING_VALUE&filterOverlappingDataPoints=SOME_BOOLEAN_VALUE' \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "hasNext": "YES",
- "hasPrevious": "YES",
- "entities": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "gpsData": {
- "location": {
- "longitude": 0.1,
- "latitude": 0.1,
- "altitude": 0.1
}, - "velocity": {
- "track": 0.1,
- "speed": 0.1,
- "climb": 0.1
}
}, - "modemData": [
- {
- "systemDeviceSlotId": 0,
- "name": "string",
- "accessTechnology": "GSM",
- "signalStrength": 0,
- "signalQuality": "EXCELLENT",
- "operator": "string",
- "slot": 0,
- "iccid": "string"
}
]
}
], - "count": 0
}
}| customerKey required | string Specifies the key of the customer. |
| seekDirection | |
| size | integer <int32> Number of entities to fetch. The default value is 25. |
| seekIdentifier.name | string Name used for pagination. If set, all other |
| systemIds | Array of integers <int64> [ items <int64 > ] Specifies the filtered system IDs the entities must have. |
| search | string Search query applied to the name field. |
| targetTypes | Array of strings Items Enum: "ONWAY_ROUTERS" "SERVICE_CHECKS" "SNMP_SERVICE_CHECKS" Specifies the filtered target types the entities must have. |
| severities | Array of strings Items Enum: "CRITICAL" "INFO" "OK" "WARNING" Specifies the filtered severity levels that the entity targets must have. |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request GET \ --url 'http://localhost/api/EXAMPLE_VALUE/monitoring/systems/list?seekDirection=SOME_STRING_VALUE&size=SOME_INTEGER_VALUE&seekIdentifier.name=SOME_STRING_VALUE&systemIds=SOME_ARRAY_VALUE&search=SOME_STRING_VALUE&targetTypes=SOME_ARRAY_VALUE&severities=SOME_ARRAY_VALUE' \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "hasNext": "YES",
- "hasPrevious": "YES",
- "entities": [
- {
- "alarmName": "string",
- "identifier": {
- "deviceId": 0,
- "systemDeviceSlotId": 0,
- "systemId": 0,
- "systemTemplateAlarmId": "string",
- "serviceCheckId": "string"
}, - "customerKey": "string",
- "systemTemplateIdentifier": {
- "id": 0,
- "revision": 0
}, - "type": "ONWAY_ROUTERS",
- "targetSeverity": "OK",
- "currentSeverity": "OK",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "lastSeverityChange": "2019-08-24T14:15:22Z"
}
]
}
}| customerKey required | string Specifies the key of the customer. |
| x-auth-token required | string Example: TOKEN_FROM_LOGIN_RESPONSE |
curl --request GET \ --url http://localhost/api/EXAMPLE_VALUE/monitoring/systems/summary \ --header 'x-auth-token: TOKEN_FROM_LOGIN_RESPONSE'
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": {
- "onwayRouterSummary": {
- "ok": 0,
- "info": 0,
- "warning": 0,
- "critical": 0
}, - "serviceCheckSummary": {
- "ok": 0,
- "info": 0,
- "warning": 0,
- "critical": 0
}, - "snmpServiceCheckSummary": {
- "ok": 0,
- "info": 0,
- "warning": 0,
- "critical": 0
}
}
}Accept the use policy.
| aupAccepted required | boolean This field must be true to accept the use policy. |
{- "aupAccepted": true
}{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": { }
}