...
Parameter | Required | Data Type | Options | Notes |
---|---|---|---|---|
transaction_type | Yes | String | sd_eqp_status, whs_bulk_add, whs_bulk_transfer | This field determines how PCR-360 will process the request. |
...
- transaction_type must be sd_eqp_status.
- When setting up the Barcode API in Admin, you must check the Authentication Required box must be true. Barcode requires authentication to work.
Available Fields
Parameter | Required | Data Type | Options | Notes | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
recid | Yes | Integer | RECID of the Service Desk Equipment. | |||||||||||||
sde_status | Yes | String | Lists
| 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. |
...
Cloak | ||
---|---|---|
|
Warehouse Bulk Add
...
- transaction_type must be whs_bulk_add.
- When setting up the Barcode API in Admin, you must check the Authentication Required box must be true . Barcode requires authentication to work.
Available Fields
Parameter | Required | Data Type | Options | Notes | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
eqp_catalog | Yes | Integer | RECID of the Equipment's Equipment Catalog. | |||||||||||||
eqp_status | Yes | Integer | Lists
| The RECID of the status of the Equipment. | ||||||||||||
eqp_condition | No* | Integer | Lists
| 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. |
Notes
- It must be an active Equipment Catalog.
- Positive (none-zero) count, cannot be null.
- Status' that are allowed
- Unassigned
- Broken
- Lost
- Retired
- Any custom status for the EQP_STATUS in the List Values table.
- If the Status is not one of the valid List Values, the API will error.
- The Warehouse must be an active Warehouse.
- Asset Array
- Optional for Asset or Cabling Equipment (flags on Equipment Catalog).
- Should be ignored (not put in db) if a non-asset or non-cabling equipment is used.
- The number of entries in the asset array must exactly match the count when provided.
- If provided, the price must be a positive number or zero, If not provided, the value can be null.
- Any valid date, past, present, or future, is allowed.
...
Key | Value |
---|---|
transaction_type | whs_bulk_add |
eqp_catalog | 533 |
eqp_status | 94 |
location | 86201 |
quantity | 3 |
purchase_price | $1.74 |
comments | Johnny Test |
received_date | 2020/11/06 |
assets[0][ASSET_TAG] | assettag145 |
assets[0][SERIAL_NUM] | serialnum145 |
assets[0][EQUIPMENT_ID] | equipmentid145 |
units | 11 |
Results
If the request is successful, then the response will return as:
Toggle cloak |
---|
Cloak | ||
---|---|---|
|
Warehouse Bulk Transfer
...
- transaction_type must be whs_bulk_transfer.
- When setting up the Barcode API in Admin, you must check the Authentication Required box must be true . Barcode Barcode requires authentication to work.
Available Fields
...
Cloak | ||
---|---|---|
|
Locating Data related to Barcodes
...