Warning
For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this.
communication_manager/rest/config/asterisk/{coreServerId}/extensionGroups
{
"id": "6faafc58-9e7d-461e-a3ab-de6e5fce6dee",
"displayName": "Not So Famous",
"publicGroup": true
}
| | |
---|
| | Configuration id of the extension group. |
| | The display name of the extension group. |
| | Flag specifying if the extension group is public or not. |
communication_manager/rest/config/asterisk/{coreServerId}/extensionGroups |
---|
| Accesses all the extension groups in the core server. |
| Gets the configuration for all the extension groups in the core server. |
| Adds a extension group to the configuration. Errors: - 409 'An extension group with the given id already exists.': Returned if an extension group with the given id already exists.
- 409 'An extension with the given displayName already exists.': Returned if an extension group with the given display name already exists.
- 412 'No displayName provided.': Returned if no display name was provided.
|
|
communication_manager/rest/config/asterisk/{coreServerId}/extensionGroups/{extensionGroupId} |
---|
| Accesses the configuration of a specific extension group. Parameters: - extensionGroupId: The configuration id of the extension group.
|
| Gets the configuration of the specified extension group. Errors: - 404 'An extension group with the given id does not exist': Returned if no extension group exists with the given id.
|
| Updates the specified extension group configuration. Errors: - 404 'An extension group with the given id does not exist': Returned if no extension group exists with the given id.
- 409 'An extension with the given displayName already exists.': Returned if an extension group with the given display name already exists.
- 412 'No displayName provided.': Returned if no display name was provided.
|
| Deletes the specified extension group. Errors: - 404 'An extension group with the given id does not exist': Returned if no extension group exists with the given id.
|
communication_manager/rest/config/core/{coreServerId}/extensionGroups/{extensionGroupId}/extensions |
---|
| Access the sub/child resource for the extensions that belong to this group. Parameters: - extensionGroupId: The configuration id of the extension group.
Errors: - 404 'An extension group with the given id does not exist': Returned if no extension group exists with the given id.
|
|
communication_manager/rest/config/core/{coreServerId}/extensionGroups/{extensionGroupId}/users |
---|
| Accesses the sub/child resource for the users who's extensions are part of this group. Parameters: - extensionGroupId: The configuration id of the extension group.
Errors: - 404 'An extension group with the given id does not exist': Returned if no extension group exists with the given id.
|
|
communication_manager/rest/config/core/{coreServerId}/extensionGroups/{extensionGroupId}/viewers |
---|
| Accesses the sub/child resource for the users who are marked as viewers of the extension group. Parameters: - extensionGroupId: The configuration id of the extension group.
Errors: - 404 'An extension group with the given id does not exist': Returned if no extension group exists with the given id.
|
|
communication_manager/rest/config/core/{coreServerId}/extensionGroups/{extensionGroupId}/editors |
---|
| Accesses the sub/child resource for the users who are marked as editors of the extension group. Parameters: - extensionGroupId: The configuration id of the extension group.
Errors: - 404 'An extension group with the given id does not exist': Returned if no extension group exists with the given id.
|
curl --user manager:manag3rpa55word -k -i -H "Accept: application/json" http://localhost:58080/communication_manager/rest/asterisk/ee828da8-5ee6-412d-82ac-1273f598659d/extensionGroups
curl --user manager:manag3rpa55word -k -i -H "Accept: application/json" http://localhost:58080/communication_manager/rest/asterisk/ee828da8-5ee6-412d-82ac-1273f598659d/extensionGroup/56cf70a3-1ee0-4b09-8f40-297430eeeddf
curl --user manager:manag3rpa55word -k -i -H "Content-Type: application/json" -H "Accept: application/json" -X POST -d '{"id":"6faafc58-9e7d-461e-a3ab-de6e5fce6dee","displayName":"Not So Famous","publicGroup":true},{"id":"3cd3e767-e9c6-4589-a7dc-9a431312611f","displayName":"Famous People","publicGroup":true}' http://localhost:58080/communication_manager/rest/asterisk/ee828da8-5ee6-412d-82ac-1273f598659d/extensionGroups
curl --user manager:manag3rpa55word -k -i -X DELETE http://localhost:58080/communication_manager/rest/asterisk/ee828da8-5ee6-412d-82ac-1273f598659d/extensionGroup/56cf70a3-1ee0-4b09-8f40-297430eeeddf
curl --user manager:manag3rpa55word -k -i -H "Content-Type: application/json" -H "Accept: application/json" -X PUT -d '{"id":"c46f4e60-aba2-4340-a6a5-0c7304d40ba1","displayName":"Not So Famous","publicGroup":false},{"id":"3cd3e767-e9c6-4589-a7dc-9a431312611f","displayName":"Famous People","publicGroup":true}' http://localhost:58080/communication_manager/rest/asterisk/ee828da8-5ee6-412d-82ac-1273f598659d/extensionGroup/c46f4e60-aba2-4340-a6a5-0c7304d40ba1