Download OpenAPI specification:Download
The sms service implements all sms functions for GroupAlarm
Returns all sms-alarming configurations
organization_id required | integer requesting organization |
[- {
- "gsm": "string",
- "id": 0,
- "name": "string",
- "organizationID": 0,
- "pin": "string"
}
]
Updates an existing sms-alarming configuration
updated sms-alarming configuration
gsm | string |
id | integer <int64> |
name | string |
organizationID | integer <int64> |
pin | string |
{- "gsm": "string",
- "id": 0,
- "name": "string",
- "organizationID": 0,
- "pin": "string"
}
{- "gsm": "string",
- "id": 0,
- "name": "string",
- "organizationID": 0,
- "pin": "string"
}
Creates a new sms-alarming configuration
new sms-alarming configuration
gsm | string |
id | integer <int64> |
name | string |
organizationID | integer <int64> |
pin | string |
{- "gsm": "string",
- "id": 0,
- "name": "string",
- "organizationID": 0,
- "pin": "string"
}
{- "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
}
Sets the given organization's text formatter
organization and it's text formatter settings
organizationID | integer <int64> |
textFormatterName | string |
{- "organizationID": 0,
- "textFormatterName": "string"
}
Returns all gsm 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
}
]
Updates an existing gsm configuration
organization_id | integer requesting organization, not required if user accesses his own resources |
mobile configuration payload
active | boolean true, if this configuration can be used for alarm notifications |
gsm | string gsm number for alarm notifications with sms (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
}
Create a gsm configuration for specific user
organization_id | integer requesting organization, not required if user accesses his own resources |
mobile configuration payload
active | boolean true, if this configuration can be used for alarm notifications |
gsm | string gsm number for alarm notifications with sms (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
}
Delete an existing gsm configuration
mobileID required | integer ID of an existing mobile configuration |
organization_id | integer requesting organization, not required if user accesses his own resources |
{- "status": "deleted"
}
Returns an gsm number configuration
mobileID required | integer ID of an gsm 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 gsm 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
}