Retrieve Large Language Model (LLM) ticket approval suggestions
Operation description
You can use this API only after the ticket is created.
The OrderId parameter is required.
Call the ListOrders API to retrieve the OrderId of pending approval tickets and confirm whether the ticket exists.
Try it now
Test
RAM authorization
Request syntax
POST /worknode/openapi/services HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| OrderId |
integer |
No |
Ticket ID |
420**** |
| SessionId |
string |
No |
Session ID |
48363552-225c-4c93-aeab-ea9b9d064b96 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Request ID. Use it to locate logs and troubleshoot issues. |
0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931 |
| Data |
string |
Returned data. |
true |
| ErrorCode |
string |
Error code. |
UnknownError |
| ErrorMessage |
string |
Error message. |
UnknownError |
| Success |
boolean |
Indicates whether the request succeeded. Possible values:
|
true |
| Output |
object |
||
| Content |
string |
{"approvalStatus":"Recommended to reject","approvalSuggestion":"xxx","sessionId":"xxx"} |
Examples
Success response
JSON format
{
"RequestId": "0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931",
"Data": "true",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true,
"Output": {
"Content": "{\"approvalStatus\":\"Recommended to reject\",\"approvalSuggestion\":\"xxx\",\"sessionId\":\"xxx\"}"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.