Changing the Case Status or Transitioning a Case
Description
This interface is invoked to transition a case. Case transition is performed based on the case transition sequence configured for the case type.
Method
POST
URI
https://Domain name/service/AICC__Case/1.0.0/openapi/status/update (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 |
id |
String |
20 |
Yes |
Case ID. The value is a string of 20 characters. |
2 |
creatorId |
String |
20 |
Yes |
Handler ID |
3 |
status |
String |
- |
Yes |
Case status dataType: SingleSelect Value range: 0. Completed (default value) Other values are defined by the business side. |
Response Description
- Status code: 200
None
Example
Scenario: Change the case status.
URL: https://Domain name/service/AICC__Case/1.0.0/openapi/status/update
- Request header
{ "Content-Type": "application/json", "access-token": "0000000000************7bm63KsRmEztTvyA=" }
- Request body
{ "id": "c6m80000013uPdSDTGbY","status": "Completed","creatorId":"10gg000000sLj1ytR70C" }
- 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