Service Name Transfer-In List
Service Method GET
Service URL /transfers/in?location=001&query=xxx&items_details=true&page=1&per_page=10
Query Parameters
location = <location code> (Required)
query = <id or document number> (Optional)
page = <start page for list pagination> (Optional)
per_page = <count of records in every page> (Optional)
items_details = <show item details> (Optional)
Request Header Fields
Content-Type = application/json
Authorization = <token>
Response Data (JSON)
{
"pagination": {
"current_page": <page number>,
"per_page": <page size>,
"total_entries": <total records>
},
"transfers": [
{
"id": <transfer-in id>,
"document_number": "<transfer-in document#>",
"transfer_date": "<trasnfer date>",
"source_location": "<source location code>",
"destination_location": "<destination location code>",
"status": "<status>",
"assets": [
{
"item_number": "<item#>",
"item_details": {
"id": <item id>,
"number": "<item#>",
"name": "<item name>",
"upc": 0,
"alu": "",
"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 name>",
"categories": [
{
"id": <category id>,
"name": "<category name>"
}
],
"text1": "item text1 value",
"text2": "item text2 value",
"in_stock": <in-stock amount>
},
"epcs": [
{
"id": <epc id>,
"epc_id": "<epc>",
"asset_id": "<serial#>",
"text3": "<asset text3 value>",
"status": {
"id": <status id>,
"name": "<status name>
}
},
...
]
},
...
]
},
...
]
}
Example
GET: http://app.senitron.net/api/v1/transfers/in?location=001&query=43&items_details=true&page=1&per_page=10
{
"pagination": {
"current_page": 1,
"per_page": 10,
"total_entries": 2
},
"transfers": [
{
"id": 10043,
"document_number": "866375",
"transfer_date": "10/14/2019 10:34 PM",
"source_location": "002",
"destination_location": "001",
"status": "Pending",
"assets": [
{
"item_number": "000492",
"item_details": {
"id": 3243281,
"number": "000492",
"name": "ROY ROYAL HAWAIIAN PRINT BOX 4OZ",
"upc": 0,
"alu": "ROY-BOX87",
"description": "ROY ROYAL HAWAIIAN PRINT BOX 4OZ P007104",
"style" : "No",
"colour": "0.15",
"size": "",
"dcs": "",
"dnc": false,
"total_qty": 0,
"price": "0",
"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": 3
},
"epcs": [
{
"id": 14131,
"epc_id": "CF00000000001FC00000000B",
"asset_id": "11",
"text3": "11/01/2019 01:56 PM",
"status": {
"id": 1045,
"name": "Pending Visibility"
}
},
{
"id": 14132,
"epc_id": "CF00000000001FC0000000FB",
"asset_id": "110",
"text3": "11/01/2019 01:56 PM",
"status": {
"id": 1045,
"name": "Pending Visibility"
}
}
]
},
{
"item_number": "000493",
"item_details": {
"id": 3243289,
"number": "000493",
"name": "ROY ROYAL",
"upc": 0,
"alu": "ROY-BOX87",
"description" : "ROY ROYAL",
"style" : "No",
"colour": "0.25",
"size": "",
"dcs": "",
"dnc": false,
"total_qty": 0,
"price": "0",
"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": 2
},
"epcs": [
{
"id": 14130,
"epc_id": "CF00000000001FC00000FFFB",
"asset_id": "15",
"text3": "11/01/2019 01:56 PM",
"status": {
"id": 1045,
"name": "Pending Visibility"
}
}
]
}
]
},
{
"id": 20043,
"document_number": "861170",
"transfer_date": "10/14/2019 10:34 PM",
"source_location": "003",
"destination_location": "001",
"status": "Pending",
"assets": [
{
"item_number": "000491",
"item_details": {
"id": 3243280,
"number": "000491",
"name": "ROY PRINT BOX 4OZ",
"upc": 0,
"alu": "ROY-BOX87",
"description": "ROY PRINT BOX 4OZ P007104",
"style": "No",
"colour": "0.25",
"size": "",
"dcs": "",
"dnc": false,
"total_qty": 0,
"price": "10",
"picture_url": "",
"item_type_name": "Regular",
"categories": [
{
"id": 381199,
"name": "W1w"
}
],
"text1": "000127 ROY PRINT BOX 4OZ",
"text2": "BLACK 15.5 ARABIAN,814.99",
"in_stock": 4
},
"epcs": [
{
"id": 15131,
"epc_id": "CF00000000001FC000000CCB",
"asset_id": "9",
"text3": "11/01/2019 01:56 PM",
"status": {
"id": 1045,
"name": "Pending Visibility"
}
}
]
}
]
}
]
}