...
Before the Barcode API calls can be sent, the Barcode module must be activated.
Insert excerpt SQL API Calls SQL API Calls nopanel true
Write Call
Available Fields
...
- transaction_type must be po_receive.
- When setting up the Barcode API in Admin, the Authentication Required box must be true . Barcode requires authentication to work.
Available Fields
Parameter | Required | Data Type | Options | Notes |
---|---|---|---|---|
recid | Yes | Integer | Purchase Order RECID, Status must be Open | |
eqp_catalog | Yes | Integer | Equipment Catalog RECID | |
price | Yes | Float | Price of Equipment | |
units | No | Integer | Units of Equipment |
Note: that this will default to 1 for units catalogs. It is ignored for non-unit catalogs
. Only valid for Has Units Equipment, else ignored. The value must match an entry on the Purchase Order Equipment, as PCR-360 uses this to detect which item is being received if there is more than one entry for the Equipment Catalog on the Purchase Order and their units are different. | ||||
quantity | Yes | Integer | Quantity to Receive | |
location | Yes | Integer | Valid Active Warehouse RECID to receive Equipment | |
received_date | No | Date | Received Date | |
assets | No | Array | Only valid for Asset or Cabling Equipment, else ignored. If provided the number of entries must match the quantity. |
Request Example
Call
Code Block | ||
---|---|---|
| ||
http://DOMAIN/api/API_KEY/barcode.OUTPUT |
Headers
Key | Value |
---|---|
Content-Type | application/json |
PCR-AUTH-TOKEN | example: e036a785-4d7a-40ed-a04a-c8e339327f55 |
Body
Key | Value |
---|---|
recid | 12874 |
eqp_catalog | 346 |
price | 9.99 |
quantity | 4 |
location | 694 |
Results
If the request is successful, then the response will return as:
Toggle cloak |
---|
Cloak | ||
---|---|---|
|
Locating Data related to Barcodes
...