Download OpenAPI specification:Download
The call service implements all call functions for GroupAlarm
Returns all call-alarming configurations
organization_id required | integer requesting organization |
[- {
- "alarmTemplateID": 0,
- "gsm": "string",
- "id": 0,
- "name": "string",
- "organizationID": 0,
- "pin": "string"
}
]
Updates an existing call-alarming configuration
updated call-alarming configuration
alarmTemplateID | integer <int64> |
gsm | string |
id | integer <int64> |
name | string |
organizationID | integer <int64> |
pin | string |
{- "alarmTemplateID": 0,
- "gsm": "string",
- "id": 0,
- "name": "string",
- "organizationID": 0,
- "pin": "string"
}
{- "alarmTemplateID": 0,
- "gsm": "string",
- "id": 0,
- "name": "string",
- "organizationID": 0,
- "pin": "string"
}
Creates a new call-alarming configuration
new call-alarming configuration
alarmTemplateID | integer <int64> |
gsm | string |
id | integer <int64> |
name | string |
organizationID | integer <int64> |
pin | string |
{- "alarmTemplateID": 0,
- "gsm": "string",
- "id": 0,
- "name": "string",
- "organizationID": 0,
- "pin": "string"
}
{- "alarmTemplateID": 0,
- "gsm": "string",
- "id": 0,
- "name": "string",
- "organizationID": 0,
- "pin": "string"
}
Returns whether the given organization has disabled this way of alarming or not
organization_id required | integer requesting organization |
[- {
- "isDisabled": true
}
]
Sets whether the given organization has this way of alarming disabled or not
organization_id required | integer requesting organization |
isDisabled payload
isDisabled | boolean |
{- "isDisabled": true
}
Returns all phone numbers for queried owner
owner_id required | integer requested owner by using his user ID |
organization_id | integer requesting organization, not required if user accesses his own resources |
[- {
- "active": true,
- "gsm": "string",
- "id": 0,
- "name": "string",
- "ownerID": 0
}
]
Create a phone configuration for specific user
organization_id | integer requesting organization, not required if user accesses his own resources |
phone configuration payload
active | boolean true, if this configuration can be used for alarm notifications |
gsm | string gsm number for calls (E.164-format with 00 instead of +) |
id | integer <int64> id for this configuration |
name | string user defined name for this configuration |
ownerID | integer <int64> user id, who owns this configuration |
{- "active": true,
- "gsm": "string",
- "id": 0,
- "name": "string",
- "ownerID": 0
}
{- "active": true,
- "gsm": "string",
- "id": 0,
- "name": "string",
- "ownerID": 0
}
Updates an existing phone configuration
phoneID required | integer ID of an existing phone configuration |
organization_id | integer requesting organization, not required if user accesses his own resources |
{- "active": true,
- "gsm": "string",
- "id": 0,
- "name": "string",
- "ownerID": 0
}
Delete an existing phone configuration
phoneID required | integer ID of an existing phone configuration |
organization_id | integer requesting organization, not required if user accesses his own resources |
{- "status": "deleted"
}
Gets a phone configuration
phoneID required | integer ID of a phone configuration |
organization_id | integer requesting organization, not required if user accesses his own resources |
{- "active": true,
- "gsm": "string",
- "id": 0,
- "name": "string",
- "ownerID": 0
}
Check if any device is active for the passed owner id in the passed organization id and get the permissions of the user and the organization
user_id required | integer id of the user |
organization_id required | integer id of the organization |
{- "activeCount": 0,
- "anyActive": true,
- "organizationPermission": true,
- "userPermission": true
}
Returns true if there is an active permission for the passed organization or specifically for the passed user in an organization.
organization_id required | integer ID of an organization |
user_id | integer optional ID of a user in this organization |
restriction configuration with user and organization id
organizationID | integer <int64> |
userID | integer <int64> |
{- "organizationID": 0,
- "userID": 0
}