Download OpenAPI specification:Download
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. |
{- "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"
}
}| customerKey required | string Specifies the key of the customer. |
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": [
- {
- "id": 0,
- "name": "string",
- "acl": {
- "permissions": [
- {
- "permission": "string",
- "sid": [
- "string"
]
}
], - "owner": "string"
}
}
]
}{- "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 required | string Enum: "PEAP" "IPSK" "MAB" "BYOD" Network access group type |
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": [
- {
- "id": 0,
- "name": "My Group",
- "realm": "onway.ch",
- "hint": "SSID: wifi",
- "vlan": "540",
- "pairingVlan": "530",
- "tagIds": [
- 0
], - "allowAdditionalTags": true,
- "inputTemplateId": 0,
- "defaultValidFor": "PT10H"
}
]
}| 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" 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 |
| 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 |
| stateFilterType | string Enum: "NORMAL" "DELETED" "ALL" Whether only active, deleted or all accounts should be included. |
| onlineStatusFilterType | string Enum: "ALL" "UNKNOWN" "ONLINE" "OFFLINE" Whether network access accounts with certain online status should be included. |
| 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
|
{- "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",
- "customFieldValues": [
- {
- "customFieldId": "string",
- "customFieldType": "TEXT",
- "value": "Custom field example value"
}
]
}
]
}
}| customerKey required | string Specifies the key of the customer. |
| type required | string Enum: "PEAP" "IPSK" "MAB" Network access account type |
| naGroupId required | integer <int64> |
| username required | string |
| password | string Required to create a PEAP user or iPSK device. Optional when updating. |
| 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",
- "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. |
{- "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",
- "customFieldValues": [
- {
- "customFieldId": "string",
- "customFieldType": "TEXT",
- "value": "Custom field example value"
}
]
}
}| customerKey required | string Specifies the key of the customer. |
| id required | integer <int64> |
| type required | string Enum: "PEAP" "IPSK" "MAB" Network access account type |
| naGroupId required | integer <int64> |
| username required | string |
| password | string Required to create a PEAP user or iPSK device. Optional when updating. |
| 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",
- "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. |
{- "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",
- "customFieldValues": [
- {
- "customFieldId": "string",
- "customFieldType": "TEXT",
- "value": "Custom field example value"
}
]
}
}| id required | integer <int64> Specifies the ID of the entity. |
{- "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,
- "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",
- "onlineStatus": "UNKNOWN",
- "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"
}
], - "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"
}
]
}
}| id required | integer <int64> Specifies the ID of the entity. |
| 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,
- "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",
- "onlineStatus": "UNKNOWN",
- "deletedAt": "2019-08-24T14:15:22Z"
}
}
}| id required | integer <int64> Specifies the ID of the entity. |
{- "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,
- "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",
- "onlineStatus": "UNKNOWN",
- "deletedAt": "2019-08-24T14:15:22Z"
}
}
}{- "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,
- "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",
- "onlineStatus": "UNKNOWN",
- "deletedAt": "2019-08-24T14:15:22Z"
}
}
}| id required | integer <int64> Specifies the ID of the entity. |
| 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. |
{- "id": 0,
- "editDeviceId": 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,
- "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",
- "onlineStatus": "UNKNOWN",
- "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: "NORMAL" "DELETED" "ALL" Whether only active, deleted or all systems should be included. |
{- "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,
- "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",
- "onlineStatus": "UNKNOWN",
- "deletedAt": "2019-08-24T14:15:22Z"
}
}
]
}
}| 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,
- "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",
- "onlineStatus": "UNKNOWN",
- "deletedAt": "2019-08-24T14:15:22Z"
}
}
}| customerKey required | string Specifies the key of the customer. |
| size | integer <int32> Number of entities to fetch. The default value is 25. |
| seekIdentifier.serial | string Serial used for pagination. |
| seekIdentifier.id | integer <int64> Id used for pagination. Required if |
| 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. Must be used together with |
| assignableToSystemDeviceSlot | integer <int64> Only include devices that can be assigned to the system device slot with this id. 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 |
| 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
|
{- "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
}
]
}
}| customerKey required | string Specifies the key of the customer. |
| id required | integer <int64> Specifies the ID of the entity. |
{- "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
}
}| customerKey required | string Specifies the key of the customer. |
| 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
}
}| customerKey required | string Specifies the key of the customer. |
| deviceId required | integer <int64> Specifies the ID of the device. |
{- "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"
}
]
}, - "vpnStates": {
- "timestamp": "2019-08-24T14:15:22Z",
- "data": [
- {
- "tunnel": "string",
- "uplinks": [
- "string"
]
}
]
}, - "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. Multiple values can be specified separated by spaces. |
{- "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
], - "slot": 0,
- "mcc": 0,
- "mnc": 0,
- "deviceId": 0,
- "lastSeenAt": "2019-08-24T14:15:22Z"
}
]
}
}| 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 > ] |
| slot | integer <int32> |
| mcc | integer <int32> |
| mnc | integer <int32> |
| deviceId | integer <int64> |
| lastSeenAt | string <date-time> |
{- "iccid": "string",
- "customerKey": "string",
- "imsi": "string",
- "msisdn": "string",
- "withPin": true,
- "security": {
- "pin1": "string",
- "pin2": "string",
- "puk1": "string",
- "puk2": "string"
}, - "comment": "string",
- "tagIds": [
- 0
], - "slot": 0,
- "mcc": 0,
- "mnc": 0,
- "deviceId": 0,
- "lastSeenAt": "2019-08-24T14:15:22Z"
}{- "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
], - "slot": 0,
- "mcc": 0,
- "mnc": 0,
- "deviceId": 0,
- "lastSeenAt": "2019-08-24T14:15:22Z"
}
}{- "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
], - "slot": 0,
- "mcc": 0,
- "mnc": 0,
- "deviceId": 0,
- "lastSeenAt": "2019-08-24T14:15:22Z"
}
}| 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 > ] |
| slot | integer <int32> |
| mcc | integer <int32> |
| mnc | integer <int32> |
| deviceId | integer <int64> |
| lastSeenAt | string <date-time> |
{- "iccid": "string",
- "customerKey": "string",
- "imsi": "string",
- "msisdn": "string",
- "withPin": true,
- "security": {
- "pin1": "string",
- "pin2": "string",
- "puk1": "string",
- "puk2": "string"
}, - "comment": "string",
- "tagIds": [
- 0
], - "slot": 0,
- "mcc": 0,
- "mnc": 0,
- "deviceId": 0,
- "lastSeenAt": "2019-08-24T14:15:22Z"
}{- "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
], - "slot": 0,
- "mcc": 0,
- "mnc": 0,
- "deviceId": 0,
- "lastSeenAt": "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. |
| search | string Search query applied to the name field. Multiple values can be specified separated by spaces. |
{- "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"
}
], - "revision": {
- "id": 0,
- "revision": 0,
- "name": "string",
- "date": "2019-08-24T14:15:22Z",
- "author": {
- "userDirectoryName": "string",
- "username": "string"
}, - "message": "string"
}, - "telemetryUser": {
- "interval": "PT10H"
}
}, - "latestRevision": {
- "id": 0,
- "customerKey": "string",
- "name": "string",
- "hash": "string",
- "acl": {
- "permissions": [
- {
- "permission": "string",
- "sid": [
- "string"
]
}
], - "owner": "string"
}, - "systemTemplateDeviceSlots": [
- {
- "id": "string",
- "name": "string"
}
], - "revision": {
- "id": 0,
- "revision": 0,
- "name": "string",
- "date": "2019-08-24T14:15:22Z",
- "author": {
- "userDirectoryName": "string",
- "username": "string"
}, - "message": "string"
}, - "telemetryUser": {
- "interval": "PT10H"
}
}, - "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 |
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": [
- {
- "id": 0,
- "customerKey": "string",
- "name": "string",
- "systemTemplateDeviceSlots": [
- {
- "id": "string",
- "name": "string"
}
]
}
]
}Returns the metadata of all revisions of a system template.
| id required | integer <int64> |
{- "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 |
{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": [
- {
- "id": 0,
- "name": "string"
}
]
}Accept the use policy.
| aupAccepted | boolean This field must be true to accept the use policy. |
{- "aupAccepted": true
}{- "status": 200,
- "reason": "OK",
- "links": { },
- "content": { }
}