getAttachTempURL
更新时间:
复制 MD 格式
Call `getAttachTempURL` to retrieve the URL of an attachment. This call returns the URL for only one attachment.
Request parameters
| Name | Type | Required | Description |
| attachId | String | CT***HT-0 | Attachment ID |
Note Use the `attachId` value returned by the `QuestionListNote` call.
Response parameters
|
Parameter name |
Type |
Example value |
Description |
|
success |
Boolean |
true |
Indicates whether the API call was successful. Valid values:
|
|
code |
String |
200 |
Error code |
|
message |
String |
successful |
The returned error message. |
|
data |
String | http://work-order.oss-cn-hangzhou.aliyuncs.com/********* |
The returned URL. |
Note The returned URL is valid for 2 minutes.
Request parameters
http(s)://workorder.aliyuncs.com/?Action=getAttachTempURL
&attachId=CT****HT-0
Return parameters
{
"message": "successful",
"data": "http://work-order.oss-cn-hangzhou.aliyuncs.com/********",
"code": "200",
"success": true
}
该文章对您有帮助吗?