Queries the download URL of the attachment of a ticket.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:GetOrderAttachmentFile |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| OrderId |
integer |
Yes |
The ID of the ticket. You can call the ListOrders operation to query the ticket ID. |
51**** |
| Tid |
integer |
No |
The ID of the tenant. Note
: To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see View information about the current tenant. |
3*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The ID of the request. |
FE8EE2F1-4880-46BC-A704-5CF63EAF9A04 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| ErrorMessage |
string |
The error message returned if the request failed. |
UnknownError |
| ErrorCode |
string |
The error code returned. Take note of the following rules:
|
UnknownError |
| FileUrl |
string |
The download URL of the attachment. |
https://dmsxxx |
Examples
Success response
JSON format
{
"RequestId": "FE8EE2F1-4880-46BC-A704-5CF63EAF9A04",
"Success": true,
"ErrorMessage": "UnknownError",
"ErrorCode": "UnknownError",
"FileUrl": "https://dmsxxx"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.