This page is optimized for desktop computers and tablets. To access it, try one of the following points:
- Access this page from a different device.
- If you’re on a tablet, rotate it.
- Check the “Desktop site” option in your browser settings.
This page is optimized for desktop computers and tablets. To access it, try one of the following points:
Info: All examples shown here use the following placeholders. Replace these placeholders with the appropriate data:
This section describes the Phone Diversion REST functions.
HTTP request method: GET
List the diversion groups with their data based on the provided parameters.
| groupId | Only the data for the group that matches the ID is listed |
| groupName | Lists the groups (along with data) based on the provided group name. |
If parameters are ommited, all groups are listed.
Example: Show the group with ID 27.
| groupId=27: | ID of the group |
curl --user <user>:<password> --data "groupId=27" -H "accept: application/xml" http://callisto_phoneDiversion/Rest/listGroups.asp
<?xml version="1.0" encoding="iso-8859-1" ?> <Callisto> <Request>listGroups</Request> <Response> <DiversionGroups> <Group> <GroupID>27</GroupID> <GroupName>Front Desk</GroupName> <Destination>1022</Destination> <State>ON</State> <Description>Diversion to the front desk phone</Description> </Group> </DiversionGroups> </Response> </Callisto>
<?xml version="1.0" encoding="iso-8859-1" ?> <Callisto> <Request>listGroups</Request> <Response>NOT_FOUND</Response> </Callisto>
Freiburgstrasse 251
CH-3018 Bern
Switzerland
T: +41 31 531 11 11
F: +41 31 531 11 12
sales@ctmodule.com
Gospodara Vučića 145
RS-11000 Belgrade
Serbia
T: +381 18 308076
sales@ctmodule.com