Edit a Paging Group
Edit the settings of a paging group.
Endpoint
POST /api/v0.0.1/paginggroup/update?token={token}
Request Parameters
According to different types of broadcast groups, different request parameters need to be sent.
- 1-Way Paging
- 2-Way Intercom
Name | Importance | Type | Description |
number | Required | String | Paging group number. |
name | Optional | String | Paging group name. |
type | Required | String | Paging group type.
Valid values:
|
member | Optional | String | Member of the paging group.
Value range: select the extension as a member of the paging group. Multiple extensions are separated by a comma (,). For example: “member”: “1000,1001,1002”. |
Response Parameters
Name | Type | Description |
status | String | Request results.
|
Examples
Request Example
POST /api/v0.0.1/paginggroup/update?token=813b621cfe8eecf445a2ce1f4a079ffe&type=json
Content-Type:application/json; charset=utf-8
Host: 172.16.6.150
{
“number”:”8891″,
“name”:”test_api_paging_10″,
“type”:”intercom”,
“member”:”106,108″
}
Response Example
HTTP/1.1 200 OK
Server: Boa/0.94.14rc21
Accept-Ranges: bytes
Connection: close
Content-Type: application/json
Access-control-allow-origin: *
Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE
{
“status”: “Success”
}
HTTP/1.1 200 OK
Access-control-allow-origin: *
Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE
<?xml version=”1.0″ encoding=”utf-8″?>
<xml>
<status>Success</status>
</xml>