AppendCases
Appends outbound call cases to a specified predictive dialing campaign under a specified instance.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
ccc-test |
| CampaignId |
string |
Yes |
The ID of the predictive dialing campaign. |
78cf6864-9a22-4ea8-a59d-5adc2d747b0e |
| body |
array<object> |
No |
The list of outbound call cases. |
|
|
object |
No |
|||
| AgentId |
string |
No |
The ID of the agent to which the call is transferred. If this field is not empty, the system transfers the call to the specified agent. If this field is empty, the system assigns the call to an idle agent in the skill group. |
agent@ccc-test |
| Caller |
string |
No |
The caller ID. If this field is not empty, the system preferentially uses the specified number as the caller ID to initiate the call. If this field is empty, the system automatically selects a caller ID to initiate the call. |
01012345678 |
| CustomVariables |
string |
No |
The custom variables defined by the customer. The value is a JSON object that contains up to 10 properties. The name and value of each property are customized by the customer. |
{ "name": "customer", "CustomerTag": "tag" } |
| MaskedCallee |
string |
No |
The masked callee number. If this field is not empty, the callee number must be masked. The masking rules are defined by the customer. You only need to enter the masked callee number. Using a masked callee number causes the masked number to be displayed in certain scenarios, and the actual callee number cannot be viewed. |
071*****801 |
| PhoneNumber |
string |
No |
The phone number of the contact. |
188888**** |
| ReferenceId |
string |
No |
The reference ID, which is the identifier in the customer's business system and is used in integration scenarios. |
01 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| Code |
string |
The response code. |
OK |
| Data |
array<object> |
The list of processing results for appending outbound call cases. |
|
|
object |
|||
| CustomVariables |
string |
The custom variables of the contact, represented as a JSON string. |
[] |
| PhoneNumber |
string |
The phone number of the contact. |
134*******2032 |
| ReferenceId |
string |
The unique identifier of the contact in the customer's business system. |
kcUrl91594_2949385 |
| HttpStatusCode |
string |
The HTTP status code. |
200 |
| Message |
string |
The response message. |
None |
| RequestId |
string |
The request ID. |
BC976D32-AC4C-4E0F-8AA9-F4BC6C4E2B3E |
Examples
Success response
JSON format
{
"Code": "OK",
"Data": [
{
"CustomVariables": "[]",
"PhoneNumber": "134*******2032",
"ReferenceId": "kcUrl91594_2949385"
}
],
"HttpStatusCode": "200",
"Message": "None",
"RequestId": "BC976D32-AC4C-4E0F-8AA9-F4BC6C4E2B3E"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.