Skip to content

GetBarcodeImage

alex-caroline edited this page Nov 9, 2018 · 2 revisions

Using FoodId

var imageRequest = new ImageRequest
{
    FoodId = Guid.Parse("d6e1c25c-45ea-00e3-575f-443582096cec")
};
var imageResponse = labelImageServiceClient.GetBarcodeImage(imageRequest);

Using UserCode

var imageRequest = new ImageRequest
{
    UserCode = "1414-2"
};
var imageResponse = labelImageServiceClient.GetBarcodeImage(imageRequest);