Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
outlinetrue
stylenone

...

Parameter

Required

Data Type

Options

Notes

scan_dateNoDateDatetime
Expected format: YYYY/MM/DD HH:ii:ss
eqp_catalogYesInteger
Equipment Catalog RECID
unitsNoArray
Units of Equipment. Only valid for Has Units Equipment, else ignored. If provided the number of entries must match the quantity.
quantityYesInteger
Quantity to Receive
locationYesInteger
Valid Active Warehouse RECID to receive Equipment
assetsNoArray
Only valid for Asset or Cabling Equipment, else ignored. If provided the number of entries must match the quantity.


Request Example

Call
Code Block
languagesql
http://DOMAIN/api/API_KEY/barcode.OUTPUT

...

KeyValue
scan_date2000/01/01 00:00:00
eqp_catalog346
quantity1
location694
assetsbcasset1sd126

...

Cloak


Code Block
languagexml
titleExample JSON Request
"request": {
				"method": "POST",
				"header": [
					{
						"Content-Type": "application/x-www-form-urlencoded",
						"Cookie": "{{DebugCookie}}",
						"PCR-AUTH-TOKEN": "YOUR-AUTH-TOKEN-VALUE-HERE",
					}
				],
				"body": {
					"mode": "urlencoded",
					"urlencoded": [
						{  
							"transaction_type": "whs_physical_inventory",
							"eqp_catalog": "346",
							"location": "694",
							"quantity"": "1",
							"scan_date": "2000/01/01 00:00:00",
							"assets": [
								{
									"ASSET_TAG": "bcasset1sd126"
								}]
						}
					]
				}


...

Parameter

Required

Data Type

Notes

batchNoArray

Barcode Batches expect the data to be formatted as JSON.

Batches are expected to be an array of different Barcode Transactions.


Expand
titleExample Batch:
{
  "batch": [
        {
            "transaction_type": "sd_eqp_status",
            "recid": "53114",
            "sde_status": "263",
            "eqp_id": "331623",
            "location": "332060"
        },
        {
            "transaction_type": "whs_bulk_add",
            "eqp_catalog": "533",
            "eqp_status": "94",
            "location": "86201",
            "quantity": "1",
            "purchase_price": "0.45",
            "assets[0][ASSET_TAG]": "assettag143",
            "assets[0][SERIAL_NUM]": "serialnum143",
            "assets[0][EQUIPMENT_ID]": "equipmentid143",
            "comments": "pete test",
            "units": ""
        },
        {
            "transaction_type": "whs_bulk_transfer",
            "eqp_catalog": "952",
            "quantity": "1",
            "from_location": "289039",
            "to_location": "331623",
            "recids[]": "1",
            "comments": "pete test"
        },
        {
            "transaction_type": "po_receive",
            "recid": "38",
            "eqp_catalog": "1095",
            "price": "1.00",
            "quantity": "1",
            "location": "331570"
        },
        {
            "transaction_type": "whs_physical_inventory",
            "eqp_catalog": "3394",
            "units": "0.45",
            "quantity": "10",
            "location": "332058",
            "scan_date":"2000/01/01"
        }
    ]
}

...