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/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/extensions
{
"id": "e640205f-bc76-4db4-8e03-bf34eb33a8ce",
"extensionNumber": "4224",
"displayName": "Michael Y",
"configurationId": "813936dd-98a4-4ccc-8bcf-dd1f27673c1f",
"permissionId": "813936dd-98a4-4ccc-8bcf-dd1f27673c1f"
}
| | |
---|
| | |
| | The number used to access the extension. |
| | The display name of the extension. |
| | The id of the configuration object that represents the extension. |
| | The extension's permission id. |
The extension resource can be accessed from several different parent resources. The following resource paths have been organized by the parent path used to access the resource.
communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/extensions |
---|
| Accesses the state of all extensions, in a core server. InformationThe returned result will exclude any extensions that are not bound to a licensed/full user. Parameters: - core_server_id: the id of the parent core server
- core_server_slug: the slug of the parent core server
Errors: - 404 Not Found: Returned if no core server with the given id or slug exists
|
| Gets the state of all extensions, in a specified core server. |
|
communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/extensions/{extension_id} |
---|
| Accesses the state of a specific extension, in a core server, by extension id. InformationThis resource will not be available if the extension is not bound to a licensed/full user. Parameters: - core_server_id: the id of the parent core server
- core_server_slug: the slug of the parent core server
- extension_id: the id of the extension to access
Errors: - 404 Not Found: Returned if no core server with the given id or slug exists
- 404 Not Found: Returned if no extension exists with the give id, in the specified core server
- 403 Forbidden: Returned if the extension is not bound to a licensed/full user
|
| Gets the state of a specific extension, in a core server. |
|
communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/extensions/getByName/{extension_number} |
---|
| Accesses the state of a specific extension, in a core server, by extension number. InformationThis resource will not be available if the extension is not bound to a licensed/full user. Parameters: - core_server_id: the id of the parent core server
- core_server_slug: the slug of the parent core server
- extension_number: the extension number of the extension to access
Errors: - 404 Not Found: Returned if no core server with the given id or slug exists
- 404 Not Found: Returned if no extension exists with the give extension number, in the specified core server
- 403 Forbidden: Returned if if the extension is not bound to a licensed/full user
|
| Gets the state of a specific extension, in a core server. |
|
communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/extensions/[{extension_id} getByName/{extension_number}]/agents |
---|
| Access the sub/child resource for the queue agents bound to the specified extension. InformationThis resource will not be available if the extension is not bound to a licensed/full user. Parameters: - core_server_id: the id of the parent core server
- core_server_slug: the slug of the parent core server
- extension_id: the id of the extension to access
- extension_number: the extension number of the parent extension
Errors: - 404 Not Found: Returned if no core server with the given id or slug exists
- 404 Not Found: Returned if no extension exists with the give id or extension number, in the specified core server.
- 403 Forbidden: if the extension is not bound to a licensed/full user
|
|
communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/extensions/[{extension_id} getByName/{extension_number}]/callSegments |
---|
| Access the sub/child resource for the call segments bound to the specified extension. InformationThis resource will not be available if the extension is not bound to a licensed/full user. Parameters: - core_server_id: the id of the parent core server
- core_server_slug: the slug of the parent core server
- extension_id: the id of the extension to access
- extension_number: the extension number of the parent extension
Errors: - 404 Not Found: Returned if no core server with the given id or slug exists
- 404 Not Found: Returned if no extension exists with the given id or extension number, in the specified core server.
- 403 Forbidden: if the extension is not bound to a licensed/full user
|
communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/users/[{user_id} | getByName/{username}]/extensions |
---|
| Accesses the state of all extensions bound to a specific user, in a core server. InformationThe returned result will exclude any extensions that are not bound to a licensed/full user. Parameters: - core_server_id: the id of the parent core server
- core_server_slug: the slug of the parent core server
- user_id: the id of the parent user
- username: the username of the parent user
Errors: - 404 Not Found: Returned if no core server with the given id or slug exists
- 404 Not Found: Returned if no user with the given id or username exists in the specified core server
- 403 Forbidden: if the extension is not bound to a licensed/full user
|
| Gets the state of all extensions bound to a specific user. |
|
communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/users/[{user_id} | getByName/{username}]/extensions/{extension_id} |
---|
| Accesses the state of a specific extension, bound to a user, by extension id. InformationThis resource will not be available if the extension is not bound to a licensed/full user. Parameters: - core_server_id: the id of the parent core server
- core_server_slug: the slug of the parent core server
- user_id: the id of the parent user
- username: the username of the parent user
- extension_id: the id of the extension to access
Errors: - 404 Not Found: Returned if no core server with the given id or slug exists
- 404 Not Found: Returned if no user with the given id or username exists in the specified core server
- 404 Not Found: Returned if no extension exists with the given id, that is bound to the specified user.
- 403 Forbidden: Returned if the extension is not bound to a licensed/full user
|
| Gets the state of a specific extension bound to a user. |
|
communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/users/[{user_id} | getByName/{username}]/extensions/getByName/{extension_number} |
---|
| Accesses the state of a specific extension, bound to a user, by extension number. InformationThis resource will not be available if the extension is not bound to a licensed/full user. Parameters: - core_server_id: the id of the parent core server
- core_server_slug: the slug of the parent core server
- user_id: the id of the parent user
- username: the username of the parent user
- extension_id: the id of the parent extension
- extension_number: the extension number of the parent extension
Errors: - 404 Not Found: Returned if no core server with the given id or slug exists
- 404 Not Found: Returned if no user with the given id or username exists in the specified core server
- 404 Not Found: Returned if no extension exists with the given id, that is bound to the specified user.
- 403 Forbidden: Returned if the extension is not bound to a licensed/full user
|
| Gets the state of a specific extension bound to a user. |
|
communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/users/[{user_id} | getByName/{username}]/extensions/[{extension_id} getByName/{extension_number}]/agents |
---|
| Access the sub/child resource for the queue agents bound to the specified extension, that is bound to the specified user. InformationThis resource will not be available if the extension is not bound to a licensed/full user. Parameters: - core_server_id: the id of the parent core server
- core_server_slug: the slug of the parent core server
- user_id: the id of the parent user
- username: the username of the parent user
- extension_id: the id of the parent extension
- extension_number: the extension number of the parent extension
Errors: - 404 Not Found: Returned if no core server with the given id or slug exists
- 404 Not Found: Returned if no user with the given id or username exists in the specified core server
- 404 Not Found: Returned if no extension exists with the given id or extension number, that is bound to the specified user.
- 403 Forbidden: Returned if the extension is not bound to a licensed/full user
|
|
communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/users/[{user_id} | getByName/{username}]/extensions/[{extension_id} getByName/{extension_number}]/callSegments |
---|
| Access the sub/child resource for the call segments bound to the specified extension, that is bound to the specified user. InformationThis resource will not be available if the extension is not bound to a licensed/full user. Parameters: - core_server_id: the id of the parent core server
- core_server_slug: the slug of the parent core server
- user_id: the id of the parent user
- username: the username of the parent user
- extension_id: the id of the parent extension
- extension_number: the extension number of the parent extension
Errors: - 404 Not Found: Returned if no core server with the given id or slug exists
- 404 Not Found: Returned if no user with the given id or username exists in the specified core server
- 404 Not Found: Returned if no extension exists with the given id or extension number, that is bound to the specified user.
- 403 Forbidden: Returned if the extension is not bound to a licensed/full user
|
communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/users/[{user_id} | getByName/{username}]/status/set |
---|
| Updates the status of a user. InformationThis action will not be available if the user is not licensed/full, or no license is installed on the core server. Parameters: - core_server_id: the id of the parent core server
- core_server_slug: the slug of the parent core server
- user_id: the id of the user to update status on
- user_name: the username of the user to update status on
Errors: - 404 Not Found: Returned if no core server with the given id or slug exists
- 404 Not Found: Returned if no user with the given id or username exists in the specified core server
- 422 Unprocessable Entity: Returned if no JSON name property is given
- 422 Unprocessable Entity: Returned if no JSON type property is given
- 422 Unprocessable Entity: Returned if the JSON type property value is not valid
- 422 Unprocessable Entity: Returned if the JSON returnTime property value is to0 large, or is a non numerical value.
- 403 Forbidden: Returned if the user is not licensed/full, or no license is installed on the core server.
|
| { "name": "Went back in time", "type": "away", "note": "Tell Doc Brown", "returnTime": 499132800 } Properties: | | |
---|
| | | | | The status type. Determines the icon used for the status. See Status Types above. | | | | | | The time the user is returning, or -1 for no return time. Represented as a unix timestamp, in milliseconds. |
|
| Updates the status of the user. |
curl --user manager:manag3rpa55word -i -H "Accept: application/json" http://localhost:58080/communication_manager/rest/live/coreServers/ca5de6c4-17bd-46ce-95a2-8b29c7812ca4/users/status
curl --user manager:manag3rpa55word -i -H "Content-Type: application/json" -X POST -d '{"name" : "Went back in time", "type" : "away", "note" : "Tell Doc Brown", "returnTime" : 499132800}' http://localhost:58080/communication_manager/rest/live/coreServers/ca5de6c4-17bd-46ce-95a2-8b29c7812ca4/users/status/set
communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/extensions
{
"id": "e640205f-bc76-4db4-8e03-bf34eb33a8ce",
"extensionNumber": "4224",
"displayName": "Michael Y",
"configurationId": "813936dd-98a4-4ccc-8bcf-dd1f27673c1f",
"permissionId": "813936dd-98a4-4ccc-8bcf-dd1f27673c1f"
}
| | |
---|
| | |
| | The number used to access the extension. |
| | The display name of the extension. |
| | The id of the configuration object that represents the extension. |
| | The extension's permission id. |
The extension resource can be accessed from several different parent resources. The following resource paths have been organized by the parent path used to access the resource.
communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/extensions |
---|
| Accesses the state of all extensions, in a core server. InformationThe returned result will exclude any extensions that are not bound to a licensed/full user. Parameters: - core_server_id: the id of the parent core server
- core_server_slug: the slug of the parent core server
Errors: - 404 Not Found: Returned if no core server with the given id or slug exists
|
| Gets the state of all extensions, in a specified core server. |
|
communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/extensions/{extension_id} |
---|
| Accesses the state of a specific extension, in a core server, by extension id. InformationThis resource will not be available if the extension is not bound to a licensed/full user. Parameters: - core_server_id: the id of the parent core server
- core_server_slug: the slug of the parent core server
- extension_id: the id of the extension to access
Errors: - 404 Not Found: Returned if no core server with the given id or slug exists
- 404 Not Found: Returned if no extension exists with the give id, in the specified core server.
- 403 Forbidden: Returned if the user is not licensed/full, or no license is installed on the core server.
|
| Gets the state of a specific extension, in a core server. |
|
communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/extensions/getByName/{extension_number} |
---|
| Accesses the state of a specific extension, in a core server, by extension number. InformationThis resource will not be available if the extension is not bound to a licensed/full user. Parameters: - core_server_id: the id of the parent core server
- core_server_slug: the slug of the parent core server
- extension_number: the extension number of the extension to access
Errors: - 404 Not Found: Returned if no core server with the given id or slug exists
- 404 Not Found: Returned if no extension exists with the give extension number, in the specified core server.
- 403 Forbidden: Returned if the user is not licensed/full, or no license is installed on the core server.
|
| Gets the state of a specific extension, in a core server. |
|
communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/extensions/[{extension_number} getByName/{extension_number}]/agents |
---|
| Access the sub/child resource for the queue agents the specified extension is bound to. InformationThis resource will not be available if the extension is not bound to a licensed/full user. Parameters: - core_server_id: the id of the parent core server
- core_server_slug: the slug of the parent core server
- extension_number: the extension number of the parent extension
Errors: - 404 Not Found: Returned if no core server with the given id or slug exists
- 404 Not Found: Returned if no extension exists with the give extension number, in the specified core server.
- 403 Forbidden: Returned if the user is not licensed/full, or no license is installed on the core server.
|
|
communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/extensions/[{extension_number} getByName/{extension_number}]/callSegments |
---|
| Access the sub/child resource for the callSegments bound to this agent InformationThis resource will not be available if the extension is not bound to a licensed/full user. Parameters: - core_server_id: the id of the parent core server
- core_server_slug: the slug of the parent core server
- extension_number: the extension number of the parent extension
Errors: - 404 Not Found: Returned if no core server with the given id or slug exists
- 404 Not Found: Returned if no extension exists with the give extension number, in the specified core server.
- 403 Forbidden: Returned if the user is not licensed/full, or no license is installed on the core server.
|
communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/users/ [{user_id} | getByName/{username}] /extensions |
---|
| Accesses the state of all extensions, in a core server. InformationThe returned result will exclude any extensions that are not bound to a licensed/full user. Parameters: - core_server_id: the id of the parent core server
- core_server_slug: the slug of the parent core server
Errors: - 404 Not Found: Returned if no core server with the given id or slug exists
|
| Gets the state of all extensions, in a specified core server. |
|
communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/extensions/{extension_id} |
---|
| Accesses the state of a specific extension, in a core server, by extension id. InformationThis resource will not be available if the extension is not bound to a licensed/full user. Parameters: - core_server_id: the id of the parent core server
- core_server_slug: the slug of the parent core server
- extension_id: the id of the extension to access
Errors: - 404 Not Found: Returned if no core server with the given id or slug exists
- 404 Not Found: Returned if no extension exists with the give id, in the specified core server.
- 403 Forbidden: Returned if the user is not licensed/full, or no license is installed on the core server.
|
| Gets the state of a specific extension, in a core server. |
|
communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/extensions/getByName/{extension_number} |
---|
| Accesses the state of a specific extension, in a core server, by extension number. InformationThis resource will not be available if the extension is not bound to a licensed/full user. Parameters: - core_server_id: the id of the parent core server
- core_server_slug: the slug of the parent core server
- extension_number: the extension number of the extension to access
Errors: - 404 Not Found: Returned if no core server with the given id or slug exists
- 404 Not Found: Returned if no extension exists with the give extension number, in the specified core server.
- 403 Forbidden: Returned if the user is not licensed/full, or no license is installed on the core server.
|
| Gets the state of a specific extension, in a core server. |
|
communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/extensions/[{extension_number} getByName/{extension_number}]/agents |
---|
| Access the sub/child resource for the queue agents the specified extension is bound to. InformationThis resource will not be available if the extension is not bound to a licensed/full user. Parameters: - core_server_id: the id of the parent core server
- core_server_slug: the slug of the parent core server
- extension_number: the extension number of the parent extension
Errors: - 404 Not Found: Returned if no core server with the given id or slug exists
- 404 Not Found: Returned if no extension exists with the give extension number, in the specified core server.
- 403 Forbidden: Returned if the user is not licensed/full, or no license is installed on the core server.
|
|
communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/extensions/[{extension_number} getByName/{extension_number}]/callSegments |
---|
| Access the sub/child resource for the callSegments bound to this agent InformationThis resource will not be available if the extension is not bound to a licensed/full user. Parameters: - core_server_id: the id of the parent core server
- core_server_slug: the slug of the parent core server
- extension_number: the extension number of the parent extension
Errors: - 404 Not Found: Returned if no core server with the given id or slug exists
- 404 Not Found: Returned if no extension exists with the give extension number, in the specified core server.
- 403 Forbidden: Returned if the user is not licensed/full, or no license is installed on the core server.
|
communication_manager/rest/live/coreServers/[{core_server_id} | getByName/{core_server_slug}]/users/[{user_id} | getByName/{username}]/status/set |
---|
| Updates the status of a user. InformationThis action will not be available if the user is not licensed/full, or no license is installed on the core server. Parameters: - core_server_id: the id of the parent core server
- core_server_slug: the slug of the parent core server
- user_id: the id of the user to update status on
- user_name: the username of the user to update status on
Errors: - 404 Not Found: Returned if no core server with the given id or slug exists
- 404 Not Found: Returned if no user with the given id or username exists in the specified core server
- 422 Unprocessable Entity: Returned if no JSON name property is given
- 422 Unprocessable Entity: Returned if no JSON type property is given
- 422 Unprocessable Entity: Returned if the JSON type property value is not valid
- 422 Unprocessable Entity: Returned if the JSON returnTime property value is to0 large, or is a non numerical value.
- 403 Forbidden: Returned if the user is not licensed/full, or no license is installed on the core server.
|
| { "name": "Went back in time", "type": "away", "note": "Tell Doc Brown", "returnTime": 499132800 } Properties: | | |
---|
| | | | | The status type. Determines the icon used for the status. See Status Types above. | | | | | | The time the user is returning, or -1 for no return time. Represented as a unix timestamp, in milliseconds. |
|
| Updates the status of the user. |
curl --user manager:manag3rpa55word -i -H "Accept: application/json" http://localhost:58080/communication_manager/rest/live/coreServers/ca5de6c4-17bd-46ce-95a2-8b29c7812ca4/users/status
curl --user manager:manag3rpa55word -i -H "Content-Type: application/json" -X POST -d '{"name" : "Went back in time", "type" : "away", "note" : "Tell Doc Brown", "returnTime" : 499132800}' http://localhost:58080/communication_manager/rest/live/coreServers/ca5de6c4-17bd-46ce-95a2-8b29c7812ca4/users/status/set