You can invoke PickOutboundNumbers to select an appropriate caller number based on the provided callee number. The number selection logic is controlled by an Intelligent algorithm.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
Instance ID. |
ccc-test |
| CalledNumber |
string |
Yes |
Called number. |
1388888**** |
| Count |
integer |
No |
The desired quantity of selectable numbers to return. Default is 1. |
1 |
| SkillGroupIdList |
string |
Yes |
A collection of skill group IDs, formatted as a JSON array string. Each array element is a skill group ID. Numbers are associated with skill groups, and this parameter specifies from which skill groups to select numbers. |
["skillgroup@ccc-test"] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
Response code. |
OK |
| HttpStatusCode |
integer |
HTTP status code. |
200 |
| Message |
string |
Response message. |
无 |
| RequestId |
string |
Request ID. |
EEEE671A-3E24-4A04-81E6-6C4F5B39DF75 |
| Data |
array<object> |
Data. |
|
|
array<object> |
|||
| Callee |
object |
Callee number. |
|
| Number |
string |
Number |
1388888**** |
| City |
string |
City of number registration. |
北京 |
| Province |
string |
Province of number registration. |
北京 |
| Caller |
object |
Caller number. |
|
| Number |
string |
Number |
0108989**** |
| City |
string |
City of number registration. |
北京 |
| Province |
string |
Province of number registration. |
北京 |
Examples
Success response
JSON format
{
"Code": "OK",
"HttpStatusCode": 200,
"Message": "无",
"RequestId": "EEEE671A-3E24-4A04-81E6-6C4F5B39DF75",
"Data": [
{
"Callee": {
"Number": "1388888****",
"City": "北京",
"Province": "北京"
},
"Caller": {
"Number": "0108989****",
"City": "北京",
"Province": "北京"
}
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | NotExists.InstanceId | The specified instance %s does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.