POST /api/v0.0.1/ringgroup/dial_outbound?token={token}&type={type}
名称 | 是否必需 | 类型 | 描述 |
ringgroupid | 是 | Int | 响铃组号码。 |
outto | 是 | String | 要拨打的外线号码。 |
名称 | 类型 | 描述 |
请求示例
POST /api/v0.0.1/ringgroup/dial_outbound?token=813b621cfe8eecf445a2ce1f4a079ffe*type=json HTTP/1.1
Content-Type:application/json; charset=utf-8
Host: 192.168.5.150
{
"ringgroupid": "600",
"outto": "16103"
}
POST /api/v0.0.1/ringgroup/dial_outbound?token=813b621cfe8eecf445a2ce1f4a079ffe&type=xml HTTP/1.1
Content-Type:application/xml; charset=utf-8
Host: 192.168.5.150
<?xml version="1.0" encoding="UTF-8" ?>
<xml>
<ringgroupid>600</ringgroupid>
<outto>16103</outto>
</xml>
响应示例
HTTP/1.1 200 OK
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>