POST api/LdApi/fileUpload?type={type}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| type | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ApiResult| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| message | string |
None. |
|
| data | Object |
None. |
|
| token | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"message": "sample string 2",
"data": {},
"token": "sample string 4"
}
application/xml, text/xml
Sample:
<ApiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LeaRun.Entity.LdAppModule"> <code>1</code> <data /> <message>sample string 2</message> <token>sample string 4</token> </ApiResult>