POST api/ListImgByteUpload
Request Information
URI Parameters
None.
Body Parameters
ListImgBase64Dto| Name | Description | Type | Additional information |
|---|---|---|---|
| listImgEntity | Collection of ImgEntity |
None. |
Request Formats
application/json, text/json
Sample:
{
"listImgEntity": {
"$type": "System.Collections.Generic.List`1[[Uploading.Controllers.ImgEntity, GYKJ.TrafficCloud.Web.UploadApi]], mscorlib",
"$values": [
{
"$type": "Uploading.Controllers.ImgEntity, GYKJ.TrafficCloud.Web.UploadApi",
"FileName": "sample string 1",
"ImgStr": "sample string 2",
"BsinessType": 3,
"WaterPrintContent": "sample string 4"
},
{
"$type": "Uploading.Controllers.ImgEntity, GYKJ.TrafficCloud.Web.UploadApi",
"FileName": "sample string 1",
"ImgStr": "sample string 2",
"BsinessType": 3,
"WaterPrintContent": "sample string 4"
}
]
}
}
application/xml, text/xml
Sample:
<ListImgBase64Dto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Uploading.Controllers">
<listImgEntity>
<ImgEntity>
<BsinessType>3</BsinessType>
<FileName>sample string 1</FileName>
<ImgStr>sample string 2</ImgStr>
<WaterPrintContent>sample string 4</WaterPrintContent>
</ImgEntity>
<ImgEntity>
<BsinessType>3</BsinessType>
<FileName>sample string 1</FileName>
<ImgStr>sample string 2</ImgStr>
<WaterPrintContent>sample string 4</WaterPrintContent>
</ImgEntity>
</listImgEntity>
</ListImgBase64Dto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |