You can invoke ImportCustomCallTagging to import multiple inbound number tags into a specified instance.
This API has been deprecated. We recommend migrating to CCC(2020-07-01) - ImportCustomCallTaggings for enhanced functionality and continued support. While the deprecated API remains temporarily accessible, no further updates or bug fixes will be provided.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
ccc-test |
| FilePath |
string |
Yes |
The ObjectKey of the OSS object that contains the inbound number mark file. OSS is configured with the public customer storage bucket for Cloud Call Center. You can upload the inbound number mark file to this public customer storage bucket through the inbound management page of Cloud Call Center. After the upload succeeds, invoking this API reads the file content from OSS and imports it in batch. We do not recommend directly invoking this API. Instead, you can perform this operation through the default public cloud CRM System provided by Cloud Call Center. |
temp/ImportCustomCallTagging.xlsx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
BA03159C-E808-4FF1-B27E-A61B6E888D7F |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Code |
string |
The response code. |
OK |
| Message |
string |
The response message. |
无 |
| Data |
array<object> |
The list of inbound number tags that failed to be created. |
|
|
object |
Information about an inbound number tag that failed to be created. |
||
| Item |
string |
The number of the inbound number tag that failed to be created. |
1312121**** |
| Reason |
string |
The reason why the inbound number tag creation failed. Valid values:
|
CUSTOM_NUMBER_DUPLICATED |
Examples
Success response
JSON format
{
"RequestId": "BA03159C-E808-4FF1-B27E-A61B6E888D7F",
"HttpStatusCode": 200,
"Code": "OK",
"Message": "无",
"Data": [
{
"Item": "1312121****",
"Reason": "CUSTOM_NUMBER_DUPLICATED"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Parameter.Blank | The parameter %s must not be null or empty. | |
| 400 | Parameter.InvalidFileContent | The content or format of the file (%s) is invalid. | |
| 500 | InternalService.OSS | An internal OSS service error occurred. %s | |
| 500 | InternalService.DB | An internal DB service error occurred. %s | |
| 404 | NotExists.RamId | RAM user %s does not exist. | |
| 404 | NotExists.UserResourceFileKey | User resource file key %s does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.