ListAllTenantBindNumberBinding
Lists the phone numbers bound to the tenant.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
outboundbot:ListAllTenantBindNumberBinding |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
BaseResponse<ListAllTenantBindNumberBindingResponse> |
||
| Success |
boolean |
Indicates whether the call succeeded. |
True |
| Code |
string |
Status code. |
OK |
| Message |
string |
API response message. |
Success |
| Data |
object |
Data. |
|
| List |
array<object> |
Array. |
|
|
object |
Returned object. |
||
| BindingId |
string |
Binding ID. |
b5bfb844-ce85-4779-bc8f-161fba46aa07 |
| Number |
string |
Phone number. |
15005059355 |
| TrunkName |
string |
Trunk name. |
小码-公共 |
| SerializedParams |
string |
Policy. |
{\"rateLimitPeriod\":\"1\",\"rateLimitCount\":\"1\"} |
| InstanceNameList |
array |
List of instance names. |
|
|
string |
List of instance names. |
discover |
|
| BillingType |
string |
||
| HttpStatusCode |
integer |
HTTP status code. |
200 |
| RequestId |
string |
Request ID. |
A4BEAB4B-C810-5386-B72A-1A35FF1E6B15 |
Examples
Success response
JSON format
{
"Success": true,
"Code": "OK",
"Message": "Success",
"Data": {
"List": [
{
"BindingId": "b5bfb844-ce85-4779-bc8f-161fba46aa07",
"Number": "15005059355",
"TrunkName": "小码-公共",
"SerializedParams": "{\\\"rateLimitPeriod\\\":\\\"1\\\",\\\"rateLimitCount\\\":\\\"1\\\"}",
"InstanceNameList": [
"discover"
],
"BillingType": ""
}
]
},
"HttpStatusCode": 200,
"RequestId": "A4BEAB4B-C810-5386-B72A-1A35FF1E6B15"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.