Updated on 2022-09-19 GMT+08:00

Adding a Message

Function Description

Users can add messages on the service ticket details page, for example, adding confidential information, providing information required for the customer service to handle the problem, or asking about the service ticket handling progress.

URI

POST /v1.0/servicerequest/case/message

Request

Request Parameters

Parameter

Mandatory

Type

Value Range

Description

caseId

Yes

String

32

Specifies the service ticket ID.

message

Yes

Message

-

Specifies the message information.

For details, see Table 1.

Table 1 message field description

Parameter

Mandatory

Type

Value Range

Description

content

Yes

String

1200

Specifies the message content.

isAuthorized

No

Integer

-

Whether it is authorized or not

0: No

1: Yes

authorizationContent

No

String

400

Authorization information.

For example, passwords of the console account and the ECS account.

accessoryIds

No

List<String>

-

Specifies the attachment ID list.

See Uploading an Attachment to get the ID.

Request Example

{
    "caseId": "TT201801020526",
    "message": {
        "content": "TT201801020526",
        "isAuthorized": 0,
        "authorizationContent": "xxxx",
        "accessoryList": []
    }
}

Response Message

None

Status Code

For details about status codes, see Status Codes.

Error Code

For details about error codes, see Historical Error Codes.