VC Producer Images V1
Introduction
The purpose of this service is to get producer image from vision database.
Request
API GET : https://<pathtoapi>/ProducerImage
sample : http://test.ontechsolutions.net/visioncommerceapi/ProducerImage?producer_code=ESD
This API needs to be authenticated ( pass header parameter Authorization : "Bearer "+AccessToken )
Input parameters
Parameter (Query Param) | Details | Required | Example |
---|---|---|---|
producer_code | Producer code | Required | ESD |
image_position | Position of image, value start from 0 | Optional | 1 |
Producer image will retrieve based on selected 'Attachment type' from 'API Interface Maintenance' screen
Response
Generic response / error codes
200 - Respond with image, either PNG or JPEG (Response header ‘Content-Type’ will have this information)
Response header will have 'image_count' which will tell the total number of images available for the producer in our system.
you can get the different images by passing 'image_position' parameter which should be less than image_count.
Copyright Ontech Solutions 2017-2024. All rights reserved, no part may be replicated or distributed without the express permission of the owner.