https://xxxxxx/v4/timpush/delete_sched_task?usersig=xxx&identifier=admin&sdkappid=88888888&random=99999999&contenttype=json
Parameter | Description |
https | The request protocol is: HTTPS Request method: POST |
xxxxxx | The dedicated domain corresponding to the country/region of your SDKAppID. China: console.tim.qq.comSingapore: adminapisgp.im.qcloud.comSeoul: adminapikr.im.qcloud.comFrankfurt: adminapiger.im.qcloud.comSilicon Valley: adminapiusa.im.qcloud.comJakarta: adminapiidn.im.qcloud.com |
v4/timpush/delete_sched_task | Request API |
usersig | |
identifier | |
sdkappid | SdkAppid assigned by the Instant Messaging Console when an application is created |
random | A random 32-bit unsigned integer ranging from 0 to 4294967295 |
contenttype | Fixed value: json |
{"Sdkappid": 88888888,"TaskID": 1234567890,"Type": "All"}
Field | Type | Required | Description |
Sdkappid | Integer | Yes | The SDKAppID of the application. Must match the sdkappid in the URL. |
TaskID | Integer | Yes | The scheduled task ID returned when the task was created. |
Type | String | Yes | Push task type: All for push to all users, Tag for tag-based push, User for single-user push. |
{"ActionStatus": "OK","ErrorInfo": "","ErrorCode": 0,"TaskID": 1234567890}
{"ActionStatus": "FAIL","ErrorInfo": "delete failed: task dispatching","ErrorCode": 90107,"TaskID": 0}
Field | Type | Description |
ActionStatus | String | The result of the request. OK indicates success, FAIL indicates failure. |
ErrorCode | Integer | Error code. 0 indicates success, non-0 indicates failure. |
ErrorInfo | String | Error message. |
TaskID | Integer | The ID of the deleted scheduled task. |
Error Code | Description |
90104 | Invalid request parameters, such as invalid TaskID, illegal Type, sdkappid mismatch, etc. |
90105 | Internal error. |
90106 | Task has already been dispatched and cannot be deleted. |
90107 | Task is currently dispatching and cannot be deleted. |
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback