POST api/Items/{itemcode}/UpdateImage
Update the image of an item
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
itemcode |
ItemCode |
string |
Required |
Body Parameters
image upload model
ItemImageUploadName | Description | Type | Additional information |
---|---|---|---|
FileName | string |
None. |
|
Image | Collection of byte |
None. |
Request Formats
application/json, text/json
Sample:
{ "FileName": "sample string 1", "Image": "QEA=" }
application/xml, text/xml
Sample:
<ItemImageUpload xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <FileName>sample string 1</FileName> <Image>QEA=</Image> </ItemImageUpload>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Boolean
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean>true</boolean>