Service Name               Item Data
Service Method           GET
Service UR                    /epcs/item?location=001&show_epc=true&item_number=xxx&epc=yyy

Query Parameters
location = <location code>                                               (Required)
show_epc = <show epc data>                                          (Optional)
item_number = <number of an item>                            (Conditional Required)
epc = <epc number of an item>                                       (Conditional Required)
status = <status>                                                                 (Optional)
detail = <boolean>                                                              (Optional)
include_in_inventory = <boolean>                                   (Optional)
show_all_epcs = <boolean>                                               (Optional)

Note:
You should define item# or epc# for this service. If set show_epc=true, service returns epc data for this item too.

Request Header Fields
Content-Type = application/json
Authorization = <token>

Response Data (JSON)
{
"item": {
"id": <item id>,
"number": "<item#>",
"name": "<item name>",
"upc": 0,
"alu": "<item alu>",
"sku": "<item sku>",
"ean": "<item ean>",
"description": "<item description>",
"style": "<item style>",
"colour": "<item color>",
"size": "<item size>",
"dcs": "",
"dnc": false,
"total_qty": <item total quantity>,
"price": "<item price>",
"picture_url": "<item picture url>",
"item_type_name": "<item type>",
"categories": [

{
"id": <item category code>,
"name": "<item category name>"

}
],
"text1": "<item special text1>",
"text2": "<item special text2>",
"in_stock": <item in stock quantity>,
"epcs_count": <item epc count>
"epcs": [

{
"id": <epc id>,
"epc_id": "<epc>",
"asset_id": "<serial number>",
"text3": "<asset special text3>",
"first_seen": "<first seen>",
"last_seen": "<last seen>",
"last_seen_antenna": "<last seen antenna>",
"last_zone": "<last zone>",
"handheld_reader": "<handheld reader>",
"alt_serial": "<alt serial>",
"current_units": <current units>,
"storage_unit": <storage unit>,
"adjust_qty": <adjust qty>,
"handheld_last_seen": "<handheld last seen>",
"status": {

"id": <status id>,
"name": "<status name>"

},
"created_at": "<created at>",
"updated_at": "<updated at>"

}
]
}
}

 

Example
GET: http://app.senitron.net/api/v1/epcs/item?location=001&show_epc=true&item_number=127
{
"item": {
"id": 6819981,
"number": "0000000000000127",
"name": "Arabian Cordura Saddle",
"upc": 0,
"alu": "000127",
"sku": "12794849",
"ean": "",
"description": "Arabian Cordura Saddle",
"style": "",
"colour": "BLACK 15.5 ARABIAN",
"size": "",
"dcs": "",
"dnc": false,
"total_qty": 0,
"price": "814.9900",
"picture_url": "",
"item_type_name": "Regular",
"categories": [

{
"id": 381199,
"name": "W1w"

}
],
"text1": "000127 Arabian Cordura Saddle",
"text2": "BLACK 15.5 ARABIAN,814.99",
"in_stock": 1,
"epcs_count": 1,
"epcs": [

{
"id": 14131,
"epc_id": "CF00000000001FC00000000B",
"asset_id": "11",
"text3": "11/01/2019 01:56 PM,1000",
"first_seen": "",
"last_seen": "",
"last_seen_antenna": "",
"last_zone": "",
"handheld_reader": "",
"alt_serial": "",
"current_units": 1.0,
"storage_unit": 1.0,
"adjust_qty": 0,
"handheld_last_seen": "",
"status": {

"id": 1045,
"name": "Pending Visibility"

},
"created_at": "11/01/2019 01:56 PM",
"updated_at": "11/01/2019 01:56 PM"

}
]
}
}