Creating a Reserved Outbound Call Task
Prerequisites
- You have applied for a developer account.
Scenario
This interface is invoked to create a reserved outbound call task.
Method
This interface supports only the POST method.
URL
https://ip:port/rest/isales/v1/openapi/campaigns/{vdnId}/appoint/create
In the URL, ip indicates the IP address of the CC-iSales server, and port indicates the HTTPS port number of the CC-iSales server.
|
No. |
Parameter |
Value Type |
Mandatory |
Description |
|---|---|---|---|---|
|
1 |
vdnId |
Integer |
Yes |
VCC ID. The value is an integer ranging from 1 to 9999. |
Request Description
|
No. |
Parameter |
Value Type |
Mandatory |
Description |
|---|---|---|---|---|
|
1 |
Content-Type |
String |
Yes |
The value is fixed at application/json; charset=UTF-8. |
|
2 |
Authorization |
String |
Yes |
For details about the generation mode, see C2 Monitoring, System Outbound Call, CDR, and Knowledge Base Interface Authentication. |
Response Description
|
No. |
Parameter |
Value Type |
Description |
|---|---|---|---|
|
1 |
resultCode |
String |
Error code. The value 0200000 indicates success, and other values indicate failure. For details, see Table 6. |
|
2 |
resultDesc |
String |
Description. |
|
3 |
returnCode |
String |
Error code. The value 0200000 indicates success, and other values indicate failure. For details, see Table 6. |
|
4 |
returnDesc |
String |
Description. |
|
5 |
returnObject |
Object |
For details, see Table 5. |
Triggered Event
None
Error Codes
|
No. |
Error Code |
Description |
|---|---|---|
|
1 |
0200001 |
Parameter error. For details about the error, see resultDesc. |
|
2 |
0200006 |
Database operation error. |
|
3 |
0200007 |
The outbound campaign does not exist. |
|
4 |
02000001 |
Empty parameter. |
|
5 |
02000002 |
The parameter contains invalid characters. |
|
6 |
02000003 |
The parameter length cannot exceed the maximum length. |
|
7 |
04000001 |
Incorrect time. |
|
8 |
04000002 |
Incorrect call number. The value can contain a maximum of 24 characters, including only digits, asterisks (*), and number signs (#). |
|
9 |
04000003 |
The reserved number is a blocklisted number. |
Example
- The following provides an example of the request body of this interface:
{ "callType": "1", "calledNo": "66660001", "userAccount": "testName", "taskId": "1106025109", "appointTime": 1748858400000, "remark": "Remarks" } - The following provides an example of the response body of this interface:
{ "returnCode": "0200000", "returnObject": { "id": "174712034211433247704877116507" }, "resultCode": "0200000", "resultDesc": "success", "returnDesc": "success" }
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot