Modifying a Reserved Outbound Call Task
Prerequisites
- You have applied for a developer account.
Scenario
This interface is invoked to modify a reserved outbound call task.
Method
This interface supports only the POST method.
URL
https://ip:port/rest/isales/v1/openapi/campaigns/{vdnId}/appoint/update
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. |
|
No. |
Parameter |
Value Type |
Mandatory |
Description |
|---|---|---|---|---|
|
1 |
appointId |
String |
Yes |
ID of a reservation task. A reserved manual outbound call can be modified, but a reserved automatic outbound call cannot be modified. |
|
2 |
userAccount |
String |
No |
Business account of an agent. This parameter is mandatory in scenarios other than the OP independent deployment scenario. |
|
3 |
workNo |
String |
No |
Agent ID. This parameter is mandatory in the OP independent deployment scenario. |
|
4 |
appointTime |
TimeStamp |
No |
Reservation time. |
|
5 |
remark |
String |
No |
Remarks of a reservation task. |
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 5. |
|
2 |
resultDesc |
String |
Description. |
|
3 |
returnCode |
String |
Error code. The value 0200000 indicates success, and other values indicate failure. For details, see Table 5. |
|
4 |
returnDesc |
String |
Description. |
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 |
02000001 |
Empty parameter. |
|
4 |
02000002 |
The parameter contains invalid characters. |
|
5 |
02000003 |
The parameter length cannot exceed the maximum length. |
|
6 |
04000004 |
The reserved outbound campaign does not exist. |
Example
- The following provides an example of the request body of this interface:
{ "appointId": "174729926098016859445364892091", "remark": "Remarks updated 0516", "appointTime": 1749204000000, "workNo" :"125" } - The following provides an example of the response body of this interface:
{ "returnCode": "0200000", "resultCode": "0200000", "resultDesc": "update success", "returnDesc": "update 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