POST api2/InventoryManagement/Prototype/CMG/InventoryImage/InsertImage
Request Information
URI Parameters
None.
Body Parameters
InventoryImage| Name | Description | Type | Additional information |
|---|---|---|---|
| ItemImageId | integer |
None. |
|
| ItemId | integer |
None. |
|
| FileName | string |
None. |
|
| IsThumbnail | boolean |
None. |
|
| IsPrimary | boolean |
None. |
|
| FileUrl | string |
None. |
|
| MimeType | string |
None. |
|
| BLOB | Collection of byte |
None. |
|
| HeightPx | integer |
None. |
|
| WidthPx | integer |
None. |
|
| ByteSize | integer |
None. |
|
| CreatedAt | date |
None. |
|
| EnteredBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ItemImageId": 1,
"ItemId": 2,
"FileName": "sample string 3",
"IsThumbnail": true,
"IsPrimary": true,
"FileUrl": "sample string 6",
"MimeType": "sample string 7",
"BLOB": "QEA=",
"HeightPx": 8,
"WidthPx": 9,
"ByteSize": 10,
"CreatedAt": "2026-05-11T08:13:49.1748828-05:00",
"EnteredBy": 12
}
application/xml, text/xml
Sample:
<InventoryImage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JCDHAPI.Controllers.InventoryManagement.Prototype.CMG.Models"> <BLOB>QEA=</BLOB> <ByteSize>10</ByteSize> <CreatedAt>2026-05-11T08:13:49.1748828-05:00</CreatedAt> <EnteredBy>12</EnteredBy> <FileName>sample string 3</FileName> <FileUrl>sample string 6</FileUrl> <HeightPx>8</HeightPx> <IsPrimary>true</IsPrimary> <IsThumbnail>true</IsThumbnail> <ItemId>2</ItemId> <ItemImageId>1</ItemImageId> <MimeType>sample string 7</MimeType> <WidthPx>9</WidthPx> </InventoryImage>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.