Use the RejectTicket operation to reject a ticket. The ticket creator can add information to a rejected ticket and then resubmit it.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
ccc-test |
| TicketId |
string |
No |
The ticket ID. |
f2c6722b-cd13-442d-bf10-22a07c70d6d5 |
| Comment |
string |
No |
The comment on the ticket. |
请补充信息。 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
TurnDownTicketResponse |
||
| Data |
any |
The data. |
无 |
| RequestId |
string |
The request ID. |
678F7002-CA01-4ABF-A112-585AFBDF3A3B |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Code |
string |
The response code. |
OK |
| Message |
string |
The error message. |
无 |
| Params |
array |
The list of error parameters. |
|
|
string |
The error parameter. |
无 |
Examples
Success response
JSON format
{
"Data": "无",
"RequestId": "678F7002-CA01-4ABF-A112-585AFBDF3A3B",
"HttpStatusCode": 200,
"Code": "OK",
"Message": "无",
"Params": [
"无"
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | NotExists.InstanceId | The specified instance %s does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.