Updated on 2025-03-31 GMT+08:00

Canceling a Case

Description

This interface is invoked to cancel a case. For a case, the current owner or an authorized operator can cancel the case. A canceled case can be resumed. The status of the resumed case is the same as that before the cancellation.

Method

POST

URI

https://Domain name/service/AICC__Case/1.0.0/openapi/case/cancel (For example, the domain name is service.besclouds.com.)

Request Description

Table 1 Request header parameters

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.

Table 2 Request body parameters

No.

Parameter

Type

Length (Bytes)

Mandatory or Not

Description

1

id

String

20

Yes

Case ID

2

creatorId

String

20

Yes

Handler ID

3

remark

String

2000

True

Description.

Response Description

  • Status code: 200

None

Example

Scenario: Cancel a case.

URL: https://Domain name/service/AICC__Case/1.0.0/openapi/case/cancel

  • Request header
{
 "Content-Type": "application/json",
 "access-token": "0000000000************7bm63KsRmEztTvyA="
}
  • Request body
{"id": "c6m80000013LvTIsdeJU","creatorId":"10gg000000sLj1ytR70C","remark": "10330013wbIvo30bk"}
  • Response header
{ "connection": "keep-alive",
 "Content-Length": "16",
"Content-Type": "application/json%3Bcharset=UTF-8"}
  • Response parameters
{"resCode": "0","resMsg": "Success"}