CreateInstanceBindNumber
Binds a number to a business instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
outboundbot:CreateInstanceBindNumber |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Number |
string |
Yes |
The number to bind (required). Note
For the list of numbers, see the Number parameter returned by the ListAllTenantBindNumberBinding API. |
15005059355 |
| InstanceList |
string |
No |
List of outbound calling instance IDs. Note
Modifying this parameter overwrites previous parameters. Setting this parameter to empty clears the number binding list. |
90515b5-6115-4ccf-83e2-52d5bfaf2ddf ,123*****09,456*****08 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
BaseResponse |
||
| Success |
boolean |
Indicates whether the operation was successful. |
true |
| Code |
string |
Status code. |
OK |
| Message |
string |
API message. |
Success |
| Data |
object |
Returned data. |
|
| List |
array<object> |
List of number data. |
|
|
object |
List of number data. |
||
| InstanceId |
string |
Instance ID. |
96b847ad-2683-4794-b7b4-7ef094fb81f6 |
| Success |
boolean |
Indicates whether the binding was successful. |
true |
| HttpStatusCode |
integer |
HTTP status code. |
200 |
| RequestId |
string |
Request ID. |
254EB995-DEDF-48A4-9101-9CA5B72FFBCC |
Examples
Success response
JSON format
{
"Success": true,
"Code": "OK",
"Message": "Success",
"Data": {
"List": [
{
"InstanceId": "96b847ad-2683-4794-b7b4-7ef094fb81f6",
"Success": true
}
]
},
"HttpStatusCode": 200,
"RequestId": "254EB995-DEDF-48A4-9101-9CA5B72FFBCC"
}
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.