Summary: Retrieves the barcode for the food identified by the specified User Code or Food Id value as a PNG encoded bitmap.

Soap Action:

Request Type: ImageRequest

  • UserCode (Optional)
    • Type: String
    • The user code for the food Requested. If empty, the Food Id value is used.
  • FoodId (Optional)
    • Type: Guid
    • The value of the Id field on the food. If empty, the User Code value is used.

Response Type: ImageResponse

  • Image
    • Type: Stream
    • The png encoded bitmap of the image.

SOAP Request
<soap:Envelope xmlns:soap="" xmlns:imag="" xmlns:gen="">
SOAP Response
<s:Envelope xmlns:s="" xmlns:a="">
      <a:Action s:mustUnderstand="1"></a:Action>
   <s:Body xmlns:xsi="" xmlns:xsd="">
      <ImageResponse xmlns="">
         <Image xmlns="">iVBORw0KGgoAAAANSUh...</Image>
REST Request
POST http://localhost:80/rest/LabelImageService.svc/GetBarcodeImage HTTP/1.1
Content-Type: text/plain
Host: localhost:80

REST Response