Handling a Task
Description
This interface is invoked to handle a task.
Method
POST
URI
https://Domain name/service/AICC__Case/1.0.0/openapi/task/process (For example, the domain name is service.besclouds.com.)
Request Description
No. |
Parameter |
Type |
Mandatory or Not |
Description |
---|---|---|---|---|
1 |
Content-Type |
String |
Yes |
Request body type, which is JSON |
2 |
access-token |
String |
Yes |
Token for a user to access a tenant space. For details, see 2. |
No. |
Parameter |
Type |
Length (Bytes) |
Mandatory or Not |
Description |
---|---|---|---|---|---|
1 |
taskId |
String |
20 |
Yes |
Task ID |
2 |
creatorId |
String |
20 |
Yes |
Handler |
3 |
processInfo |
ProcessInfo |
- |
Yes |
Handling information. For details about the parameters of this object, see Table 3. |
No. |
Parameter |
Type |
Length (Bytes) |
Mandatory or Not |
Description |
---|---|---|---|---|---|
1 |
type |
String |
- |
Yes |
Handling type Value:
|
2 |
title |
String |
128 |
Yes |
Title |
3 |
description |
String |
20,000 |
Yes |
Handling description |
4 |
attachment |
String |
255 |
No |
Attachment. The total size of attachments cannot exceed 5 MB, and the number of attachments cannot exceed 5. JPG, PNG, PDF, JPEG, GIF, DOC, and DOCX attachments are supported. |
Response Description
- Status code: 200
Example
Scenario: Handle a task.
URL: https://Domain name/service/AICC__Case/1.0.0/openapi/task/process
- Request header
{ "Content-Type": "application/json", "access-token": "0000000000************7bm63KsRmEztTvyA=" }
- Request body
{ "taskId": "ccqG0000014iXvGKONQO", "processInfo": { "type": "Iternal", "title": "test0707", "description": "test0707" }, "creatorId":"10gg00000148QvgpaLAm" }
- Response header
{ "connection": "keep-alive", "Content-Length": "16", "Content-Type": "application/json%3Bcharset=UTF-8"}
- Response parameters
{"resCode": "0","resMsg": "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