Call park groups
List call park groups
Use the filter query parameter to retrieve just a subset of a collection.
Use the search query parameter to restrict the results of a request to match a search criterion.
Use the orderby query parameter to specify the sort order of the items returned from server.
The default order is ascending order.
Use the skip query parameter to set the number of items to skip at the start of a collection.
0Use the top query parameter to specify the page size of the result set.
100OK
Error
GET /api/call_park_groups HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"count": 100,
"items": [
{
"id": "NzAwNTUxOTA5NzczMTQ4MTYw",
"name": "text",
"recall_to": "USER_ONLY",
"ring_group_id": "NzAwNTUxOTA5NzczMTQ4MTYw"
}
]
}Create a new call park group.
The name of call park group
Select how the park server forwards the call when the parked call is not picked up in the Recall Time. The forwarding destination can be an extension or a ring group. Can be either:
USER_ONLY:USER_FIRST_THEN_RING_GROUP:RING_GROUP_ONLY:
When set to USER_FIRST_THEN_RING_GROUP or RING_GROUP_ONLY, ring_group_id must also be specified.
The unique ID of ring group.
Select a Ring Group as the Recall destination.
Only valid when the value of recall_to is USER_FIRST_THEN_RING_GROUP or RING_GROUP_ONLY.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYwCreated call park group
Error
POST /api/call_park_groups HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 82
{
"name": "text",
"recall_to": "USER_ONLY",
"ring_group_id": "NzAwNTUxOTA5NzczMTQ4MTYw"
}{
"id": "NzAwNTUxOTA5NzczMTQ4MTYw"
}Retrieves details of a call park group.
The unique ID of call park group.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYwOK
Error
GET /api/call_park_groups/{id} HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "NzAwNTUxOTA5NzczMTQ4MTYw",
"name": "text",
"recall_to": "USER_ONLY",
"ring_group_id": "NzAwNTUxOTA5NzczMTQ4MTYw"
}Update an call park group.
The unique ID of call park group.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYwThe name of call park group
Select how the park server forwards the call when the parked call is not picked up in the Recall Time. The forwarding destination can be an extension or a ring group. Can be either:
USER_ONLY:USER_FIRST_THEN_RING_GROUP:RING_GROUP_ONLY:
When set to USER_FIRST_THEN_RING_GROUP or RING_GROUP_ONLY, ring_group_id must also be specified.
The unique ID of ring group.
Select a Ring Group as the Recall destination.
Only valid when the value of recall_to is USER_FIRST_THEN_RING_GROUP or RING_GROUP_ONLY.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYwUpdated call park group
No content
Error
POST /api/call_park_groups/{id} HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 82
{
"name": "text",
"recall_to": "USER_ONLY",
"ring_group_id": "NzAwNTUxOTA5NzczMTQ4MTYw"
}No content