API Reference - Barcodes

 POST Barcodes

 URL  https://{bluehub_host}:{rest_api_port}/rest/inbound/
 Headers Supported  Accept: application/xml
 Authentication: OAuth
 Description  Allows you to save barcodes from external systems

Multiple barcodes can be sent in the same request using the API Inbound request structure. Barcode tags are contained within <Transaction> elements in the Inbound structure. The inbound response structure is returned.

HTTP response codes:

A successful response will return the full bluestore POST response (see POST Request Format)

 Success HTTP Status Code  200 OK
 Not Found HTTP Status Code  204 No Content
 Parameter 'where' has incorrect query  400 Bad Request
 OAuth Authentication HTTP error codes  see Oauth Section

Level

Tag

Mandatory

Optional

Type

 

Comments

1

barcodes        

2

barcode  docNo=""

M

 

 

Repeatable with an Inbound document. Represents a single barcode transaction.

2

 

M

Integer

 

Integer incrementing from 1 in each <Batch> tag.

3

productCode

M

VarChar(50)

 

 

3

unitOfMeasureCode

M

VarChar(50)

 

 

3

data

M

VarChar(255)

 

 

           

 

POSt Request Example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<inbound lang="en" enterprise="1" requestNo="1">
    <batch batchNo="1"> 
        <barcodes>
            <barcode docNo="1">
	        <productCode>100692</productCode>
                <unitOfMeasureCode>EA</unitOfMeasureCode>
                <data>5000157024859</data> 
            </barcode>
        </barcodes>
    </batch>
</inbound>

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk