Retrieve ring group
GET
/show
Retrieve ring group by ID.
Path parameters
-
access_tokenstring
required
token to be passed as a header -
idinteger
required
The unique ID of the ring group.
Sample Request
curl -v -X GET http://127.0.0.1:8990/api/ring_groups/show \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
Responses
200
Successful operation
application/json
-
idinteger
The unique ID of ring group. -
ring_strategystring
-
ring_timeinteger
Duration that each extension will ring, in seconds. -
extension_numberstring
The extension number for ring group. This must be unique to the tenant, i.e. it cannot be an already used extension number. -
forwardsobject
Show child attributes -
namestring
The name of ring group. -
membersarray
Show child attributesMembers in current Ring Group. -
skip_busy_memberboolean
Indicates if members on call would be skipped.
Sample Response
{
"id": 1234
}
Destroy ring group
POST
/destroy
Destroy ring group
Path parameters
-
access_tokenstring
required
token to be passed as a header
Request body
application/json
-
idinteger
required
The unique ID of ring group.
Sample Request
curl -v -X POST http://127.0.0.1:8990/api/ring_groups/destroy \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
-d '{
"id": 1234
}'
Responses
200
Successful operation
400
Invalid ring group ID supplied.
Sample Response
Update ring group
POST
/update
Update ring group
Path parameters
-
access_tokenstring
required
token to be passed as a header
Request body
application/json
-
forwardobject
required
Show child attributes -
skip_busy_memberboolean
required
Indicates if members on call would be skipped. -
ring_strategystring
required
-
outbound_caller_idstring
required
outbound caller id of ringgroup. -
ring_timeinteger
required
Duration that each extension will ring, in seconds. -
namestring
required
The name of ring group. -
membersarray
required
Members in current Ring Group. -
idinteger
required
The unique ID of ring group.
Sample Request
curl -v -X POST http://127.0.0.1:8990/api/ring_groups/update \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
-d '{
"id": 1234
}'
Responses
200
Successful operation
Sample Response
Create ring group
POST
/create
Add a new ring group. Please make sure you have at least one ring group created
before creating a new ring group.
Path parameters
-
access_tokenstring
required
token to be passed as a header
Request body
application/json
-
forwardobject
required
Show child attributes -
skip_busy_memberboolean
required
Indicates if members on call would be skipped. -
outbound_caller_idstring
required
outbound caller id of ringgroup. -
ring_timeinteger
required
Duration that each extension will ring, in seconds. -
extension_numberstring
required
The extension number for ring group. This must be unique to the tenant, i.e. it cannot be an already used extension number. -
namestring
required
The name of ring group. -
membersarray
required
Extension's ids in current Ring Group. -
ring_strategystring
required
Sample Request
curl -v -X POST http://127.0.0.1:8990/api/ring_groups/create \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
-d '{}'
Responses
200
Created ring group
application/json
-
idinteger
The unique ID of ring group.
Sample Response
{
"id": 1234
}
Retrieve a collection of ring groups.
GET
/list
Retrieve a collection of ring groups.
Path parameters
-
access_tokenstring
required
token to be passed as a header -
paginationinteger
required
The pagination of paging. -
pagesizeinteger
required
The size of paging. -
sort_bystring
optional
Values include "DEFAULT" and "Optional". Default value will be used when user does not specify value for this field.
Sample Request
curl -v -X GET http://127.0.0.1:8990/api/ring_groups/list \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
Responses
200
Successful operation
application/json
-
pagesizeinteger
-
countinteger
-
paginationinteger
-
groupsarray
Show child attributes -
sort_bystring
Sample Response
{
"pagesize": 10,
"count": 100,
"pagination": 8,
"sort_by": "DEFAULT"
}