Gets the image for the given filename. Note this returns the actual image. To get a list of available image filenames for a given item, use the /Item/{ItemNo}/Images endpoint.
- Requires API Key: No
- Requires System Administrator: No
- Requires Counterpoint Registration option: No
GET https://localhost:81/Item/Images/ADM-SCD.jpg
Headers
Authorization : Basic UUFUZXN0R29sZi5NR1I6cGFzc3dvcmQx
Name | Parameter Type | Data Type | Required | Description |
---|---|---|---|---|
filename | path | string | true | The filename of the item image to retrieve. |
200 OK
The request was successful, the result of the call will be in the response body.401 Unauthorized
The request could not be fulfilled. Likely due to a missing or invalid authorization header.403 Forbidden
The request could not be fulfilled. Likely due to a missing, invalid, or expired APIKey, or a missing API option in the company's registration.ini404 Not Found
The filename provided does not exist. Note that if the item exists, but no images exist, a 200 will be returned with an empty image list.500 Internal Server Error
The request could not be fulfilled due to an unexpected internal error. This could be caused by a bug in the system, an unavailable database, or any other unexpected internal problem processing the request.
The following error codes may be returned from requests to this endpoint:
SUCCESS
: The request was successful and the workgroup information is present under theIM_ITEM
section of the response body.ERROR_RECORD_NOT_FOUND
: The requested filename was not present.
The image itself will be returned, with a CONTENT-TYPE
of image/jpg
.