POST api/app311/AddIssueImage
Request Information
URI Parameters
None.
Body Parameters
IssueImageDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| IssueID | integer |
None. |
|
| DisplayOrder | integer |
None. |
|
| Image | ImageDTO |
None. |
|
| ImageId | integer |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{
"IssueID": 1,
"DisplayOrder": 2,
"Image": {
"ImageId": 1,
"ImagePath": "sample string 2",
"ImageBytes": "QEA="
},
"ImageId": 3
}
application/xml, text/xml
Sample:
<IssueImageDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/app311.Service.DataAccess.DTO">
<DisplayOrder>2</DisplayOrder>
<Image>
<ImageBytes>QEA=</ImageBytes>
<ImageId>1</ImageId>
<ImagePath>sample string 2</ImagePath>
</Image>
<ImageId>3</ImageId>
<IssueID>1</IssueID>
</IssueImageDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json, text/html
Sample:
1
application/xml, text/xml
Sample:
<long xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</long>