POST api/Img/DownLoadImage
Request Information
URI Parameters
None.
Body Parameters
DownLoadImageDto| Name | Description | Type | Additional information |
|---|---|---|---|
| ImgPath | string |
None. |
|
| usertype | integer |
None. |
|
| userid | string |
None. |
|
| categoryid | integer |
None. |
|
| path | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ImgPath": "sample string 1",
"usertype": 2,
"userid": "sample string 3",
"categoryid": 4,
"path": "sample string 5"
}
application/xml, text/xml
Sample:
<DownLoadImageDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IMGServer.Web.Models.Dto"> <ImgPath>sample string 1</ImgPath> <categoryid>4</categoryid> <path>sample string 5</path> <userid>sample string 3</userid> <usertype>2</usertype> </DownLoadImageDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AjaxResultEntity| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccess | boolean |
None. |
|
| Msg | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccess": true,
"Msg": "sample string 2",
"Data": {}
}
application/xml, text/xml
Sample:
<AjaxResultEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IMGServer.Web.Models"> <Data /> <IsSuccess>true</IsSuccess> <Msg>sample string 2</Msg> </AjaxResultEntity>