You can call SubmitOrderApproval to submit a ticket for approval.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | SubmitOrderApproval |
The operation that you want to perform. Valid values: SubmitOrderApproval . |
OrderId | Long | Yes | 12345 |
The ID of the ticket. |
Tid | Long | Yes | -1 |
The ID of the tenant. Note The tenant ID is taken from the avatar in the upper-right corner of the system. For
more information, see Tenant ID and Tenant .
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
ErrorCode | String | UnknownError |
The error code. |
ErrorMessage | String | UnknownError |
The error message of the failure. |
RequestId | String | 427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D |
The ID of the request. |
Success | Boolean | true |
Indicates whether the request is successful. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=SubmitOrderApproval &OrderId=12345 &Tid=-1 &<common request parameters>
Sample success responses
XML
format
<RequestId>7AC17A86-9E6F-484B-AE8D-F9416986A108</RequestId> <Success>true</Success>
JSON
Format
{ "RequestId": "7AC17A86-9E6F-484B-AE8D-F9416986A108", "Success": true }
Error codes
Go to the Error Center For more information, see error codes.