POST new/file/url
Request Information
URI Parameters
None.
Body Parameters
FileUrlRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
文件 ID。 |
integer |
None. |
| UserId |
用户 ID。 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"UserId": 2
}
application/xml, text/xml
Sample:
<FileUrlRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ma.Api.Controllers.Dtos"> <Id>1</Id> <UserId>2</UserId> </FileUrlRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
FileUrlResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Ok |
接口是否成功。 |
boolean |
None. |
| Data |
返回数据。 |
Object |
None. |
| Msg |
返回消息。 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Ok": true,
"Data": {},
"Msg": "sample string 3"
}
application/xml, text/xml
Sample:
<FileUrlResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ma.Api.Controllers.Dtos"> <Data /> <Msg>sample string 3</Msg> <Ok>true</Ok> </FileUrlResponse>