Table of Contents | ||||
---|---|---|---|---|
|
...
Before the Barcode API calls can be sent, the Barcode module must be activated, and PCR will need to set up a special Event in order to process Barcode Scan Transactions..
Insert excerpt SQL API Calls SQL API Calls nopanel true
...
Parameter | Required | Data Type | Options | Notes | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
recid | Yes | Integer | RECID column from SERVICE_DESK_EQP table. | |||||||||||||
sde_status | Yes | String | Lists Value Lookups:
| The Status of the Equipment. | ||||||||||||
asset_tag | No* | String | Asset Tag on the Equipment. Conditionally Required if the Equipment is an Asset. | |||||||||||||
eqp_id | No* | String | Equipment ID of the Equipment. Conditionally Required if the Equipment is Cabling Equipment. | |||||||||||||
location | No* | Integer | RECID of the Warehouse of the Equipment. Conditionally Required: see Notes section below. | |||||||||||||
worker | No* | Integer | RECID of the Worker performing the Activity. Conditionally Required: see Notes section below. |
...
Parameter | Required | Data Type | Options | Notes | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
eqp_catalog | Yes | Integer | RECID of the Equipment's Equipment Catalog. | |||||||||||||
eqp_status | Yes | Integer | Lists Value Lookups:
| The RECID of the status of the Equipment. | ||||||||||||
eqp_condition | No | Integer | Lists Value Lookups:
| The RECID of the condition of the Equipment. | ||||||||||||
received_date | No | Date | The date the Equipment was Received. Format "YYYY/MM/DD" | |||||||||||||
location | Yes | Integer | RECID of the Warehouse of the Equipment. Must be an active Warehouse. | |||||||||||||
quantity | Yes | Integer | This represents both Units and Quantity. If the Equipment Catalog Has Units - it is Units - if it is marked as "not units" then it is recorded as Quantity in the application currently. | |||||||||||||
purchase_price | No | Float | The purchase price of the Equipment must be greater than or equal to zero. | |||||||||||||
assets | No | Array | Only valid for Asset or Cabling Equipment, else ignored. If provided the number of entries must match the quantity. | |||||||||||||
comments | Yes | String | The reason why the Equipment is being added. | |||||||||||||
units | No* | Integer | Must be a positive number that is greater than 0. Conditionally Required: If the "Has Units" box is checked on the Equipment Catalog. |
...
Parameter | Required | Data Type | Options | Notes |
---|---|---|---|---|
eqp_catalog | Yes | Integer | RECID of the Equipment's Equipment Catalog. | |
quantity | No | Integer | This represents both Units and Quantity. If the Equipment Catalog Has Units - it is Units - if it is marked as "not units" then it is recorded as Quantity in the application currently. | |
from_location | Yes | Integer | Location RECID of the Warehouse of the Equipment is from. | |
to_location | Yes | Integer | Location RECID of the Warehouse of the Equipment is going to. | |
recids | No* | Array | Conditionally Required if the Equipment is an Asset . An array of Asset Tags, Serial Numbers and/or Equipment IDs (id # on the equipment record)or Cabling. Sent as an array of recids. See the Notes section below for more details. | |
comments | Yes | String | The reason why the Equipment is being transferred. |
...
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,Equipment. 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 |
...
Parameter | Required | Data Type | Options | Notes |
---|---|---|---|---|
scan_date | No | Date | Expected format: YYYY/MM/DD | |
eqp_catalog | Yes | Integer | Equipment Catalog RECID | |
units | No | Integer | Units of Equipment, Note: that this will default to 1 for units catalogs. It is ignored for non-unit catalogs | |
quantity | Yes | Integer | Quantity to Receive | |
location | Yes | Integer | Valid Active Warehouse RECID to receive Equipment | |
assets | No | Array | Only valid for Asset or Cabling Equipment, else ignored. If provided the number of entries must match the quantity. |
...