Call queue blacklisted numbers
GET /api/call_queue_blacklisted_numbers HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"items": [
{
"id": "NzAwNTUxOTA5NzczMTQ4MTYw",
"number": "text",
"level": "FIRST",
"longitude": "text",
"latitude": "text",
"address": "text",
"created_at": "2017-07-21T17:32:28Z",
"updated_at": "2017-07-21T17:32:28Z",
"expire_at": "2017-07-21T17:32:28Z",
"trigger_times": 1,
"enabled": true,
"description": "text"
}
]
}
The blacklisted number, a string value contains a valid telephone number or extension number.
[0-9+]{1,64}
Blacklisted number's level:
FIRST
: A first level blacklisted number.SECOND
: A second level blacklisted number.
Blacklisted number's longitude.
Blacklisted number's latitude.
The address.
Blacklisted number's expire time.
The RFC 3339 format is defined by The date_time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
2017-07-21T17:32:28Z
Blacklisted number have been triggered for this times.
Enable the blacklisted number or not.
true
Blacklisted number's description.
POST /api/call_queue_blacklisted_numbers HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 176
{
"number": "text",
"level": "FIRST",
"longitude": "text",
"latitude": "text",
"address": "text",
"expire_at": "2017-07-21T17:32:28Z",
"trigger_times": 1,
"enabled": true,
"description": "text"
}
{
"id": "NzAwNTUxOTA5NzczMTQ4MTYw"
}
The unique ID of blacklisted number.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
GET /api/call_queue_blacklisted_numbers/{id} HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "NzAwNTUxOTA5NzczMTQ4MTYw",
"number": "text",
"level": "FIRST",
"longitude": "text",
"latitude": "text",
"address": "text",
"created_at": "2017-07-21T17:32:28Z",
"updated_at": "2017-07-21T17:32:28Z",
"expire_at": "2017-07-21T17:32:28Z",
"trigger_times": 1,
"enabled": true,
"description": "text"
}
The unique ID of blacklisted number.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
The blacklisted number, a string value contains a valid telephone number or extension number.
[0-9+]{1,64}
Blacklisted number's level:
FIRST
: A first level blacklisted number.SECOND
: A second level blacklisted number.
Blacklisted number's longitude.
Blacklisted number's latitude.
The address.
Blacklisted number's expire time.
The RFC 3339 format is defined by The date_time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
2017-07-21T17:32:28Z
Blacklisted number have been triggered for this times.
Enable the blacklisted number or not.
true
Blacklisted number's description.
POST /api/call_queue_blacklisted_numbers/{id} HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 176
{
"number": "text",
"level": "FIRST",
"longitude": "text",
"latitude": "text",
"address": "text",
"expire_at": "2017-07-21T17:32:28Z",
"trigger_times": 1,
"enabled": true,
"description": "text"
}
No content