Replies to a ticket. You can call the ListTicketNotes operation to retrieve the reply.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TicketId |
string |
Yes |
The ticket ID. |
0005PYGCW |
| Content |
string |
Yes |
The content of the reply to the ticket. |
Why ECS backup failed? |
| FileNameList |
array |
No |
A list of attachment names. This is the ObjectKey field returned by the GetAttachmentUploadUrl operation. |
|
|
string |
No |
The ObjectKey field returned by the GetAttachmentUploadUrl operation. |
6bc06f96-f8c1-4c00-9e30-368444fbd025.jpg, |
|
| Encrypt |
boolean |
Yes |
Specifies whether to encrypt the content. |
false |
| Uid |
string |
No |
The Alibaba Cloud account ID (UID). |
1289427240739141 |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| Code |
integer |
The status code. |
0 |
| Message |
string |
The error message. This parameter is returned when the value of Success is false. |
success |
| Data |
string |
The dialog ID of the ticket reply. |
46434030 |
| RequestId |
string |
The ID of the request. |
C1DA4C6F-963E-5741-AB57-67A554D102FD |
| Success |
boolean |
Indicates whether the request was successful. |
true |
| AccessDeniedDetail |
string |
The detailed information about the permission error. If you have the required permissions, an empty string is returned. |
{\"AuthAction\":\"ram:ReplyTicket\",\"AuthPrincipalDisplayName\":\"2146216584788xxxxx\",\"AuthPrincipalOwnerId\":\"1135850448xxxxx\",\"AuthPrincipalType\":\"SubUser\",\"NoPermissionType\":\"ImplicitDeny\",\"PolicyType\":\"AccountLevelIdentityBasedPolicy\"} |
Examples
Success response
JSON format
{
"Code": 0,
"Message": "success",
"Data": "46434030",
"RequestId": "C1DA4C6F-963E-5741-AB57-67A554D102FD",
"Success": true,
"AccessDeniedDetail": "{\\\"AuthAction\\\":\\\"ram:ReplyTicket\\\",\\\"AuthPrincipalDisplayName\\\":\\\"2146216584788xxxxx\\\",\\\"AuthPrincipalOwnerId\\\":\\\"1135850448xxxxx\\\",\\\"AuthPrincipalType\\\":\\\"SubUser\\\",\\\"NoPermissionType\\\":\\\"ImplicitDeny\\\",\\\"PolicyType\\\":\\\"AccountLevelIdentityBasedPolicy\\\"}"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | param.illegal | Params illegal. | |
| 401 | illegal.auth | You are not authorized to perform the operation. | You are not authorized to perform this operation. |
| 500 | System.error | An error occurred while processing your request. | An error occurred while processing your request. Please try again. |
| 403 | No permissions | No permissions to access. | RAM authentication does not have permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.