Komodin iWMS - API / GET
Llamados para obtener información de Komodin API.
Komodin iWMS cuenta con un api el cual permite realizar integraciones avanzadas al mismo. En esta sección de la documentación documentamos las peticiones que permiten obtener datos del Komodin iWMS respecto a los diferentes modulos.
Obtener el URL del API
Para obtener el url del API de su instancia de Komodin iWMS, no dude en escribirnos desde el chat de soporte localizado en la siguiente sección de su panel de administracion del Komodin iWMS:
Peticiones GET:
Las peticiones get le permiten obtener información del Komodin iWMS. A continuación documentamos los diferentes Get que se cuentan en el API.
customers
El endpoint de customers permite obtener los clientes de la Bodega administrada por Komodin iWMS. Este utiliza el filtro de los Clientes definidos en el Token:
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://<api_url>/api/v1/',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_POSTFIELDS =>'{
"class": "GET",
"action": "customers"
}',
CURLOPT_HTTPHEADER => array(
'x-komodin-token: 5eabfe61a27d176778e84c59ba99557e',
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
{
"class": "GET",
"action": "customers",
"customers": [
{
"id": "3",
"Token": "cc2ea257f4b68bf13d0502d1ac8aa252",
"Code": "ROD",
"Name": "Rodelag",
"Short_Name": "RODELAG",
"Address": "",
"Type": "",
"Status": "ACTIVE",
"Created": "2022-01-26 17:59:54",
"Updated": "2022-02-02 14:00:17",
"CreatedBy": "[email protected]",
"UpdatedBy": null
}
],
"count": "1"
}
warehouses
El endpoint de warehouses permite obtener las bodegas que tiene acceso el token.
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://<api_url>/api/v1/',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_POSTFIELDS =>'{
"class": "GET",
"action": "warehouses"
}',
CURLOPT_HTTPHEADER => array(
'x-komodin-token: 5eabfe61a27d176778e84c59ba99557e',
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
{
"class": "GET",
"action": "warehouses",
"warehouses": [
{
"id": "27",
"Code": "DEV",
"Nombre": "DEVELOPMENT",
"Siglas": "DEV",
"OrderBy": "100",
"Recieve": "YES",
"Delivery": "YES",
"Distribucion": "YES",
"Produccion": "NO",
"Picking_Type": "Zones",
"InBound_Picking": "YES",
"Enforce_Lot": "NO",
"Description": "",
"Grupo": "",
"Status": "ACTIVE",
"Created": "2022-01-26 18:04:55",
"Updated": "2022-02-03 23:57:45",
"check_Weight": "NO",
"check_Dimensions": "NO",
"check_Volumn": "NO",
"verify_Split": "NO",
"AlertTeams_json": "null",
"Picking_Tasks_Fields_json": "null",
"Storage_slotbin": "EMPTY",
"Split_Bin_Item_Check": "YES",
"Portal_Visible": "NO",
"Picking_Failed_Log": "YES",
"Picking_Failed_Log_Assignation": "NO-ASSIGN",
"Delivery_Web_SelectBins": "NO",
"Picking_Generation_Method": "Normal",
"RestockOn_Manual_Adjustment": "NO",
"Restock_From_Inbound_Slots": "NO"
}
],
"count": "1"
}
entities
El endpoint de entities permite obtener las entidades (clientes/proveedores finales de los clientes de la bodega) de los Clientes de la bodega permitidos por el token.
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://<api_url>/api/v1/',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_POSTFIELDS =>'{
"class": "GET",
"action": "entities"
}',
CURLOPT_HTTPHEADER => array(
'x-komodin-token: 5eabfe61a27d176778e84c59ba99557e',
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://<api_url>/api/v1/',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_POSTFIELDS =>'{
"class": "GET",
"action": "entities",
"filters":[{"field":"Customer", "type":"=", "value":"3"}]
}',
CURLOPT_HTTPHEADER => array(
'x-komodin-token: 5eabfe61a27d176778e84c59ba99557e',
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://<api_url>/api/v1/',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_POSTFIELDS =>'{
"class": "GET",
"action": "entities",
"filters":[{"field":"Customer", "type":"=", "value":"3"}],
"page":"2",
"results":"100"
}',
CURLOPT_HTTPHEADER => array(
'x-komodin-token: 5eabfe61a27d176778e84c59ba99557e',
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
{
"class": "GET",
"action": "entities",
"entities": [
{
"id": "48672",
"Customer": "3",
"Code": "001",
"Name": "Proveedor 1",
"Short_Name": "Prov1",
"Address": "",
"Type": "PROVIDER",
"Status": "ACTIVE",
"Created": "2022-02-03 17:51:34",
"Updated": "2022-02-03 17:51:34",
"TERREF": null,
"TERDES": null,
"TERPRIREF": null,
"ALIAS": null,
"TERORI": null,
"DIR1": null,
"DIR2": null,
"DIR3": null,
"DIR4": null,
"POSCOD": null,
"PAISCOD": null,
"PERAJU": null,
"CNTEXPTIP": null,
"NUMTELSMS": null,
"NUMTELFAX": null,
"EMAILD": null,
"CNTEXPTIPCAJ": null,
"POSCODINT": null,
"REFSYS": null
}
],
"count": "1"
}
products
El endpoint de products permite obtener los productos de los Clientes que el token tiene permiso.
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://<api_url>/api/v1/',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_POSTFIELDS =>'{
"class": "GET",
"action": "products"
}',
CURLOPT_HTTPHEADER => array(
'x-komodin-token: 5eabfe61a27d176778e84c59ba99557e',
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://<api_url>/api/v1/',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_POSTFIELDS =>'{
"class": "GET",
"action": "products",
"filters":[{"field":"Customer", "type":"=", "value":"3"}],
"page":"2",
"results":"100"
}',
CURLOPT_HTTPHEADER => array(
'x-komodin-token: 5eabfe61a27d176778e84c59ba99557e',
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
{
"class": "GET",
"action": "products",
"products": [
{
"id": "SKU-000001",
"Customer": "3",
"Code": "0001",
"Refference": "0001",
"Name": "Producto de Prueba",
"Tipo_Rotacion": "FIFO",
"Created": "2022-01-26 19:16:57",
"Updated": "2022-02-04 14:07:28",
"Lote": "NO",
"Seriales": "YES",
"Fragildad": "YES",
"Tipo_ABC": "A",
"UoM_Input": "UD",
"UoM_Output": "UD",
"UoM_Storage": "UD",
"UoM": "UD",
"Pallet_Type": "1",
"BarCodes": "[\"0001\",\"\"]",
"Description": "Producto de Prueba",
"UPC_Code": "",
"Item_Number": "",
"Nombre": "",
"Category": "",
"Category_L2": "",
"Category_L3": "",
"Proveedor_Principal": "",
"Peso": "0.00",
"Status": "ACTIVE",
"Marca": null,
"Grosor": "0.0000",
"Ancho": "0.0000",
"Altura": "0.0000",
"Cubicaje": "0.00000000",
"UoM_Instock": "",
"UoM_Compra": "",
"UoM_Venta": "",
"Tamano": "",
"Nombre_Proveedor": null,
"Clasificacion_ABC": "N",
"Porcentaje_Alcohol": "0.00",
"Perecedero": "NO",
"Units_X_Caja": "",
"Compuesto": "NO",
"Familia": null,
"Procedencia": "",
"ARTREF": null,
"ARTDES": null,
"ARTPRIREF": null,
"ROTTIP": null,
"DIACAD": null,
"DIACADMAX": null,
"DIAMINCADEXP": null,
"LOTREQ": null,
"PESVAR": null,
"SINEAN": null,
"UNIMIN": null,
"UNIREC": null,
"UNIALM": null,
"UNIEXP": null,
"GESSER": null,
"TERPROREF": null,
"SITINI": null,
"BLOQUEADO": null,
"NUMDIACALCAD": null,
"ADMCANMAYPOR": null,
"WLOTE": null,
"CONCRETO": null,
"CNTTIP": null,
"LOTEREQEXP": null,
"CRIROTREQEXP": null,
"PRIEXPEDI": null,
"GESENV": null,
"SUBTIPART": null,
"TEMRECMIN": null,
"TEMRECMAX": null,
"PESINFPOR": null,
"PESSUPPOR": null,
"REPREC": null,
"ABCLOG": null,
"ENX_ARTREF": null,
"Gerente_Marca": null,
"Gerente_Marca_Nombre": null,
"Vence": "NO",
"Venta_Caja": "NO",
"Outbound_Min_Days": "0",
"Edit_Timestamp": "2022-02-04 14:07:27",
"Edit_User": "",
"Division": null,
"picking_cnf": [
{
"id": "31299",
"Product": "SKU-000001",
"WareHouse": "DEVELOPMENT",
"UoM": "UD",
"Zone": "196",
"Slot": "SLT000007",
"Zone_Stock_Min": "1.0000",
"Zone_Stock_Max": "100.0000",
"Picking_Type": "",
"Username": "[email protected]"
}
],
"storage_cnf": [
{
"id": "28842",
"Product": "SKU-000001",
"WareHouse": "DEVELOPMENT",
"Bin_Type": "",
"Bin_UoM_Stock_Units": "0",
"Stock_Min": "0.0000",
"Stock_Max": "0.0000",
"OrderBy": "0",
"Zone": "195",
"Percent": "100.00",
"UoM": "UD",
"Zone_Stock_Min": "0.0000",
"Zone_Stock_Max": "100.0000",
"Search_Type": "N",
"Username": "[email protected]"
}
],
"uom_cnf": [
{
"id": "87046",
"Type": "",
"Product": "SKU-000001",
"UoM": "UD",
"Units": "1.0000",
"Volume1": null,
"Weight1": null,
"Units_Container1": null,
"Dim_Container_Long1": null,
"Dim_Container_Wide1": null,
"Bin_Type1": null,
"Bin_Base1": null,
"Bin_Altura1": null,
"Status1": "ACTIVE",
"Username": "[email protected]"
}
],
"uom_bintype_cnf": [
{
"id": "94296",
"WareHouse": "DEVELOPMENT",
"Type": "CUSTOM",
"Product": "SKU-000001",
"UoM": "UD",
"Units1": null,
"Volume": "0.000000",
"Weight": "0.000000",
"Units_Container": "100.0000",
"Dim_Container_Long": "12.0000",
"Dim_Container_Wide": "100.0000",
"Bin_Type": "11",
"Bin_Base": "10",
"Bin_Altura": "10",
"Status": "ACTIVE",
"Username": "[email protected]"
}
],
"upc_cnf": [
{
"id": "77275",
"Product": "SKU-000001",
"BarCode": "0001",
"BarCode_Type": "",
"Default": "N"
}
]
},
{
"id": "SKU-000002",
"Customer": "3",
"Code": "0002",
"Refference": "0002",
"Name": "Producto Prueba 2",
"Tipo_Rotacion": "FEFO",
"Created": "2022-02-03 23:20:04",
"Updated": "2022-02-04 12:42:17",
"Lote": "",
"Seriales": "NO",
"Fragildad": "YES",
"Tipo_ABC": "",
"UoM_Input": "UD",
"UoM_Output": "UD",
"UoM_Storage": "UD",
"UoM": "UD",
"Pallet_Type": "1",
"BarCodes": "[\"\"]",
"Description": "",
"UPC_Code": "",
"Item_Number": "",
"Nombre": "",
"Category": "",
"Category_L2": "",
"Category_L3": "",
"Proveedor_Principal": "",
"Peso": "0.00",
"Status": "ACTIVE",
"Marca": null,
"Grosor": "0.0000",
"Ancho": "0.0000",
"Altura": "0.0000",
"Cubicaje": "0.00000000",
"UoM_Instock": "",
"UoM_Compra": "",
"UoM_Venta": "",
"Tamano": "",
"Nombre_Proveedor": null,
"Clasificacion_ABC": "N",
"Porcentaje_Alcohol": "0.00",
"Perecedero": "NO",
"Units_X_Caja": "",
"Compuesto": "NO",
"Familia": null,
"Procedencia": "",
"ARTREF": null,
"ARTDES": null,
"ARTPRIREF": null,
"ROTTIP": null,
"DIACAD": null,
"DIACADMAX": null,
"DIAMINCADEXP": null,
"LOTREQ": null,
"PESVAR": null,
"SINEAN": null,
"UNIMIN": null,
"UNIREC": null,
"UNIALM": null,
"UNIEXP": null,
"GESSER": null,
"TERPROREF": null,
"SITINI": null,
"BLOQUEADO": null,
"NUMDIACALCAD": null,
"ADMCANMAYPOR": null,
"WLOTE": null,
"CONCRETO": null,
"CNTTIP": null,
"LOTEREQEXP": null,
"CRIROTREQEXP": null,
"PRIEXPEDI": null,
"GESENV": null,
"SUBTIPART": null,
"TEMRECMIN": null,
"TEMRECMAX": null,
"PESINFPOR": null,
"PESSUPPOR": null,
"REPREC": null,
"ABCLOG": null,
"ENX_ARTREF": null,
"Gerente_Marca": null,
"Gerente_Marca_Nombre": null,
"Vence": "NO",
"Venta_Caja": "NO",
"Outbound_Min_Days": "0",
"Edit_Timestamp": "2022-02-04 09:28:35",
"Edit_User": "",
"Division": null,
"picking_cnf": [],
"storage_cnf": [],
"uom_cnf": [
{
"id": "87042",
"Type": "UoM",
"Product": "SKU-000002",
"UoM": "UD",
"Units": "1.0000",
"Volume1": null,
"Weight1": null,
"Units_Container1": null,
"Dim_Container_Long1": null,
"Dim_Container_Wide1": null,
"Bin_Type1": null,
"Bin_Base1": null,
"Bin_Altura1": null,
"Status1": "ACTIVE",
"Username": null
}
],
"uom_bintype_cnf": [],
"upc_cnf": []
}
],
"count": "0"
}
slots
Este endpoint permite descargar la información de los slots que se tiene en la bodega configurado. Solo las bodegas que el token tiene permiso serán descargados.
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://<api_url>/api/v1/',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_POSTFIELDS =>'{
"class": "GET",
"action": "slots"
}',
CURLOPT_HTTPHEADER => array(
'x-komodin-token: 5eabfe61a27d176778e84c59ba99557e',
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://<api_url>/api/v1/',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_POSTFIELDS =>'{
"class": "GET",
"action": "products",
"filters":[{"field":"Customer", "type":"=", "value":"3"}],
"page":"2",
"results":"100"
}',
CURLOPT_HTTPHEADER => array(
'x-komodin-token: 5eabfe61a27d176778e84c59ba99557e',
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
{
"class": "GET",
"action": "slots",
"slots": [
{
"id": "SLT000002",
"Code": "",
"WareHouse": "DEVELOPMENT",
"Rack": "RACK000002",
"Zone": "195",
"Slot": "01-01",
"Cor_x": "1",
"Cor_z": "1",
"Cor_y": "1",
"CorTxt_x": "01",
"CorTxt_z": "1",
"CorTxt_y": "01",
"Weight": "0.0000",
"Volumen": "0.0000",
"Ancho": "0.00",
"Largo": "0.00",
"Altura": "0.00",
"Capacity_json": "[{\"Slot\":\"SLT000002\",\"Type\":\"AEST\",\"Type_Id\":\"11\",\"Max_Bins\":\"10\"},{\"Slot\":\"SLT000002\",\"Type\":\"EURO\",\"Type_Id\":\"13\",\"Max_Bins\":\"10\"},{\"Slot\":\"SLT000002\",\"Type\":\"MIX\",\"Type_Id\":\"17\",\"Max_Bins\":\"10\"},{\"Slot\":\"SLT000002\",\"Type\":\"SlotBin\",\"Type_Id\":\"18\",\"Max_Bins\":\"10\"}]",
"Customer": null,
"CreatedBy": "[email protected]",
"CreatedDate": "2022-02-03 10:45:03",
"UpdatedBy": null,
"Updated": null,
"Child_Parent": null,
"Child_Slot": "NO",
"SlotBin": "N",
"Hits": "7",
"Status": "ACTIVE",
"Comments": null
},
{
"id": "SLT000003",
"Code": "",
"WareHouse": "DEVELOPMENT",
"Rack": "RACK000002",
"Zone": "195",
"Slot": "01-02",
"Cor_x": "2",
"Cor_z": "1",
"Cor_y": "1",
"CorTxt_x": "02",
"CorTxt_z": "1",
"CorTxt_y": "01",
"Weight": "0.0000",
"Volumen": "0.0000",
"Ancho": "0.00",
"Largo": "0.00",
"Altura": "0.00",
"Capacity_json": "[{\"Slot\":\"SLT000003\",\"Type\":\"AEST\",\"Type_Id\":\"11\",\"Max_Bins\":\"10\"},{\"Slot\":\"SLT000003\",\"Type\":\"EURO\",\"Type_Id\":\"13\",\"Max_Bins\":\"10\"},{\"Slot\":\"SLT000003\",\"Type\":\"MIX\",\"Type_Id\":\"17\",\"Max_Bins\":\"10\"},{\"Slot\":\"SLT000003\",\"Type\":\"SlotBin\",\"Type_Id\":\"18\",\"Max_Bins\":\"10\"}]",
"Customer": null,
"CreatedBy": "[email protected]",
"CreatedDate": "2022-02-03 10:45:03",
"UpdatedBy": null,
"Updated": null,
"Child_Parent": null,
"Child_Slot": "NO",
"SlotBin": "N",
"Hits": "3",
"Status": "ACTIVE",
"Comments": null
},
{
"id": "SLT000004",
"Code": "",
"WareHouse": "DEVELOPMENT",
"Rack": "RACK000003",
"Zone": "",
"Slot": "02-01",
"Cor_x": "1",
"Cor_z": "1",
"Cor_y": "1",
"CorTxt_x": "01",
"CorTxt_z": "1",
"CorTxt_y": "01",
"Weight": "0.0000",
"Volumen": "0.0000",
"Ancho": "0.00",
"Largo": "0.00",
"Altura": "0.00",
"Capacity_json": "[{\"Slot\":\"SLT000004\",\"Type\":\"AEST\",\"Type_Id\":\"11\",\"Max_Bins\":\"1\"},{\"Slot\":\"SLT000004\",\"Type\":\"EURO\",\"Type_Id\":\"13\",\"Max_Bins\":\"1\"},{\"Slot\":\"SLT000004\",\"Type\":\"MIX\",\"Type_Id\":\"17\",\"Max_Bins\":\"1\"},{\"Slot\":\"SLT000004\",\"Type\":\"SlotBin\",\"Type_Id\":\"18\",\"Max_Bins\":\"1\"}]",
"Customer": null,
"CreatedBy": "[email protected]",
"CreatedDate": "2022-02-03 20:57:16",
"UpdatedBy": null,
"Updated": null,
"Child_Parent": null,
"Child_Slot": "NO",
"SlotBin": "N",
"Hits": "5",
"Status": "ACTIVE",
"Comments": null
},
{
"id": "SLT000005",
"Code": "",
"WareHouse": "DEVELOPMENT",
"Rack": "RACK000004",
"Zone": "",
"Slot": "03-01",
"Cor_x": "1",
"Cor_z": "1",
"Cor_y": "1",
"CorTxt_x": "01",
"CorTxt_z": "1",
"CorTxt_y": "01",
"Weight": "0.0000",
"Volumen": "0.0000",
"Ancho": "0.00",
"Largo": "0.00",
"Altura": "0.00",
"Capacity_json": "[{\"Slot\":\"SLT000005\",\"Type\":\"AEST\",\"Type_Id\":\"11\",\"Max_Bins\":\"1\"},{\"Slot\":\"SLT000005\",\"Type\":\"EURO\",\"Type_Id\":\"13\",\"Max_Bins\":\"1\"},{\"Slot\":\"SLT000005\",\"Type\":\"MIX\",\"Type_Id\":\"17\",\"Max_Bins\":\"1\"},{\"Slot\":\"SLT000005\",\"Type\":\"SlotBin\",\"Type_Id\":\"18\",\"Max_Bins\":\"1\"}]",
"Customer": null,
"CreatedBy": "[email protected]",
"CreatedDate": "2022-02-04 09:20:05",
"UpdatedBy": null,
"Updated": null,
"Child_Parent": null,
"Child_Slot": "NO",
"SlotBin": "N",
"Hits": "1",
"Status": "ACTIVE",
"Comments": null
},
{
"id": "SLT000007",
"Code": "",
"WareHouse": "DEVELOPMENT",
"Rack": "RACK000005",
"Zone": "196",
"Slot": "004-01",
"Cor_x": "1",
"Cor_z": "1",
"Cor_y": "1",
"CorTxt_x": "01",
"CorTxt_z": "1",
"CorTxt_y": "01",
"Weight": "0.0000",
"Volumen": "0.0000",
"Ancho": "0.00",
"Largo": "0.00",
"Altura": "0.00",
"Capacity_json": "[{\"Slot\":\"SLT000007\",\"Type\":\"AEST\",\"Type_Id\":\"11\",\"Max_Bins\":\"1\"},{\"Slot\":\"SLT000007\",\"Type\":\"EURO\",\"Type_Id\":\"13\",\"Max_Bins\":\"1\"},{\"Slot\":\"SLT000007\",\"Type\":\"MIX\",\"Type_Id\":\"17\",\"Max_Bins\":\"1\"},{\"Slot\":\"SLT000007\",\"Type\":\"SlotBin\",\"Type_Id\":\"18\",\"Max_Bins\":\"1\"}]",
"Customer": "3",
"CreatedBy": "[email protected]",
"CreatedDate": "2022-02-04 14:05:09",
"UpdatedBy": null,
"Updated": null,
"Child_Parent": null,
"Child_Slot": "NO",
"SlotBin": "N",
"Hits": "0",
"Status": "ACTIVE",
"Comments": null
},
{
"id": "SLT000008",
"Code": "",
"WareHouse": "DEVELOPMENT",
"Rack": "RACK000005",
"Zone": "196",
"Slot": "004-02",
"Cor_x": "2",
"Cor_z": "1",
"Cor_y": "1",
"CorTxt_x": "02",
"CorTxt_z": "1",
"CorTxt_y": "01",
"Weight": "0.0000",
"Volumen": "0.0000",
"Ancho": "0.00",
"Largo": "0.00",
"Altura": "0.00",
"Capacity_json": "[{\"Slot\":\"SLT000008\",\"Type\":\"AEST\",\"Type_Id\":\"11\",\"Max_Bins\":\"1\"},{\"Slot\":\"SLT000008\",\"Type\":\"EURO\",\"Type_Id\":\"13\",\"Max_Bins\":\"1\"},{\"Slot\":\"SLT000008\",\"Type\":\"MIX\",\"Type_Id\":\"17\",\"Max_Bins\":\"1\"},{\"Slot\":\"SLT000008\",\"Type\":\"SlotBin\",\"Type_Id\":\"18\",\"Max_Bins\":\"1\"}]",
"Customer": "3",
"CreatedBy": "[email protected]",
"CreatedDate": "2022-02-04 14:05:09",
"UpdatedBy": null,
"Updated": null,
"Child_Parent": null,
"Child_Slot": "NO",
"SlotBin": "N",
"Hits": "0",
"Status": "ACTIVE",
"Comments": null
},
{
"id": "SLT000009",
"Code": "",
"WareHouse": "DEVELOPMENT",
"Rack": "RACK000005",
"Zone": "196",
"Slot": "004-03",
"Cor_x": "3",
"Cor_z": "1",
"Cor_y": "1",
"CorTxt_x": "03",
"CorTxt_z": "1",
"CorTxt_y": "01",
"Weight": "0.0000",
"Volumen": "0.0000",
"Ancho": "0.00",
"Largo": "0.00",
"Altura": "0.00",
"Capacity_json": "[{\"Slot\":\"SLT000009\",\"Type\":\"AEST\",\"Type_Id\":\"11\",\"Max_Bins\":\"1\"},{\"Slot\":\"SLT000009\",\"Type\":\"EURO\",\"Type_Id\":\"13\",\"Max_Bins\":\"1\"},{\"Slot\":\"SLT000009\",\"Type\":\"MIX\",\"Type_Id\":\"17\",\"Max_Bins\":\"1\"},{\"Slot\":\"SLT000009\",\"Type\":\"SlotBin\",\"Type_Id\":\"18\",\"Max_Bins\":\"1\"}]",
"Customer": "3",
"CreatedBy": "[email protected]",
"CreatedDate": "2022-02-04 14:05:09",
"UpdatedBy": null,
"Updated": null,
"Child_Parent": null,
"Child_Slot": "NO",
"SlotBin": "N",
"Hits": "0",
"Status": "ACTIVE",
"Comments": null
},
{
"id": "SLT000010",
"Code": "",
"WareHouse": "DEVELOPMENT",
"Rack": "RACK000005",
"Zone": "196",
"Slot": "004-04",
"Cor_x": "4",
"Cor_z": "1",
"Cor_y": "1",
"CorTxt_x": "04",
"CorTxt_z": "1",
"CorTxt_y": "01",
"Weight": "0.0000",
"Volumen": "0.0000",
"Ancho": "0.00",
"Largo": "0.00",
"Altura": "0.00",
"Capacity_json": "[{\"Slot\":\"SLT000010\",\"Type\":\"AEST\",\"Type_Id\":\"11\",\"Max_Bins\":\"1\"},{\"Slot\":\"SLT000010\",\"Type\":\"EURO\",\"Type_Id\":\"13\",\"Max_Bins\":\"1\"},{\"Slot\":\"SLT000010\",\"Type\":\"MIX\",\"Type_Id\":\"17\",\"Max_Bins\":\"1\"},{\"Slot\":\"SLT000010\",\"Type\":\"SlotBin\",\"Type_Id\":\"18\",\"Max_Bins\":\"1\"}]",
"Customer": "3",
"CreatedBy": "[email protected]",
"CreatedDate": "2022-02-04 14:05:09",
"UpdatedBy": null,
"Updated": null,
"Child_Parent": null,
"Child_Slot": "NO",
"SlotBin": "N",
"Hits": "0",
"Status": "ACTIVE",
"Comments": null
},
{
"id": "SLT000011",
"Code": "",
"WareHouse": "DEVELOPMENT",
"Rack": "RACK000005",
"Zone": "196",
"Slot": "004-05",
"Cor_x": "5",
"Cor_z": "1",
"Cor_y": "1",
"CorTxt_x": "05",
"CorTxt_z": "1",
"CorTxt_y": "01",
"Weight": "0.0000",
"Volumen": "0.0000",
"Ancho": "0.00",
"Largo": "0.00",
"Altura": "0.00",
"Capacity_json": "[{\"Slot\":\"SLT000011\",\"Type\":\"AEST\",\"Type_Id\":\"11\",\"Max_Bins\":\"1\"},{\"Slot\":\"SLT000011\",\"Type\":\"EURO\",\"Type_Id\":\"13\",\"Max_Bins\":\"1\"},{\"Slot\":\"SLT000011\",\"Type\":\"MIX\",\"Type_Id\":\"17\",\"Max_Bins\":\"1\"},{\"Slot\":\"SLT000011\",\"Type\":\"SlotBin\",\"Type_Id\":\"18\",\"Max_Bins\":\"1\"}]",
"Customer": "3",
"CreatedBy": "[email protected]",
"CreatedDate": "2022-02-04 14:05:09",
"UpdatedBy": null,
"Updated": null,
"Child_Parent": null,
"Child_Slot": "NO",
"SlotBin": "N",
"Hits": "0",
"Status": "ACTIVE",
"Comments": null
}
],
"count": "4"
}
inbounds
Este endpoint permite descargar los inbounds de las bodegas y clientes que se tiene permitido el token administrar. Este enpoint permite descargar información de el detalle del inbound junto con su avance de proceso en bodega.
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://<api_url>/api/v1/',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_POSTFIELDS =>'{
"class": "GET",
"action": "inbounds"
}',
CURLOPT_HTTPHEADER => array(
'x-komodin-token: 5eabfe61a27d176778e84c59ba99557e',
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://<api_url>/api/v1/',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_POSTFIELDS =>'{
"class": "GET",
"action": "inbounds",
"filters":[{"field":"Customer", "type":"=", "value":"3"}],
"page":"2",
"results":"100"
}',
CURLOPT_HTTPHEADER => array(
'x-komodin-token: 5eabfe61a27d176778e84c59ba99557e',
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
{
"class": "GET",
"action": "inbounds",
"inbounds": [
{
"id": "ENT-000001",
"Source": "INTERNAL",
"Customer": "3",
"Outbound_Relation": "",
"Type": "ENTRADA",
"WareHouse": "DEVELOPMENT",
"Entity": "48672",
"Reff": "001",
"External_Reff": "001",
"Date": "2022-02-03",
"Delivery_Date": "2022-02-03 22:51:00",
"Estimate_Date": "2022-02-03 22:51:00",
"Comments": "",
"Status": "IN-WHOUSE",
"CreatedBy": "[email protected]",
"Created": "2022-02-03 17:52:15",
"UpdatedBy": "[email protected]",
"Updated": "2022-02-08 20:42:22",
"Edit_Timestamp": "2022-02-08 20:42:22",
"Edit_User": "[email protected]",
"LogisticChannel": "",
"ClosingReason": null,
"ERP_DB": null,
"Inbound_Relation": null,
"inbound_lines": [
{
"id": "216842",
"Inbound": "ENT-000001",
"Item": "SKU-000001",
"UoM_json": "{\"UD\":\"5\"}",
"UoM": "UD",
"Units": "5.0000",
"Units_Processed": "5.0000"
},
{
"id": "216843",
"Inbound": "ENT-000001",
"Item": "SKU-000002",
"UoM_json": "{\"UD\":\"10\"}",
"UoM": "UD",
"Units": "10.0000",
"Units_Processed": "20.0000"
}
],
"inbound_transport_containers": [
{
"id": "49257",
"Inbound": "ENT-000001",
"Type": "1",
"Code": "IN1",
"Slot": "SLT000004",
"Status": "PENDING",
"Bins": null,
"Descripcion": null,
"LastChange": null,
"TotalBoxes": "1"
}
]
}
],
"count": "1"
}
outbounds
Este endpoint permite descargar las salidas del WMS y permite descargar del detalle de las salidas y su avances de procesamiento en el WMS.
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://<api_url>/api/v1/',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_POSTFIELDS =>'{
"class": "GET",
"action": "outbounds"
}',
CURLOPT_HTTPHEADER => array(
'x-komodin-token: 5eabfe61a27d176778e84c59ba99557e',
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://<api_url>/api/v1/',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_POSTFIELDS =>'{
"class": "GET",
"action": "outbounds",
"filters":[{"field":"Customer", "type":"=", "value":"3"}],
"page":"2",
"results":"100"
}',
CURLOPT_HTTPHEADER => array(
'x-komodin-token: 5eabfe61a27d176778e84c59ba99557e',
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
{
"class": "GET",
"action": "outbounds",
"outbounds": [
{
"id": "OUT-000001",
"Source": "INTERNAL",
"Customer": "3",
"Outbound_Relation": "",
"Type": "TRANSFERENCIA",
"WareHouse": "DEVELOPMENT",
"Slot_Out": "SLT000005",
"Entity": "48672",
"Reff": "0001",
"External_Reff": "0001",
"Date": "2022-02-04",
"Delivery_Date": "2022-02-04 14:21:00",
"Estimate_Date": "2022-02-04 14:21:00",
"Comments": "",
"Status": "IN-DELIVERY",
"CreatedBy": "[email protected]",
"Created": "2022-02-04 09:22:40",
"UpdatedBy": null,
"Updated": "2022-02-09 11:13:30",
"Wave_To": null,
"Wave_By": null,
"Wave_Date": null,
"Edit_Timestamp": "2022-02-09 11:13:30",
"Edit_User": "[email protected]",
"Fullfilled": "N",
"Picking": "PENDING",
"Picking_DateTime": null,
"Verified": "DONE",
"Verified_DateTime": "2022-02-04 12:29:17",
"Delivery": "PENDING",
"Delivery_DateTime": null,
"LogisticChannel": "",
"ClosingReason": null,
"Integration_Closed": "NO",
"Integration_Closed_Date": null,
"Integration_Closed_User": null,
"ERP_DB": null,
"outbound_lines": [
{
"id": "2479856",
"Outbound": "OUT-000001",
"Wave_OutBound": null,
"Wave_OB_info_json": null,
"Item": "SKU-000001",
"UoM_json": "{\"UD\":\"2\"}",
"UoM": "UD",
"Units": "2.0000",
"Units_Processed": "1.0000",
"Units_Processed_Content": [
{
"Reff": "TAG000000019",
"Bin": "BIN0000000008",
"Item": "SKU-000001",
"Expire": "0000-00-00",
"Lote": "",
"Serial": "234234234",
"UoM_json": "{\"UD\":\"1\"}",
"UoM_conv_json": "1.0000",
"UoM_Storage": "UD",
"UoM": "UD",
"Units": "1.0000",
"Global_Status": "ACTIVE"
}
]
},
{
"id": "2479857",
"Outbound": "OUT-000001",
"Wave_OutBound": null,
"Wave_OB_info_json": null,
"Item": "SKU-000002",
"UoM_json": "{\"UD\":\"4\"}",
"UoM": "UD",
"Units": "4.0000",
"Units_Processed": "4.0000",
"Units_Processed_Content": [
{
"Reff": "TAG000000027",
"Bin": "BIN0000000011",
"Item": "SKU-000002",
"Expire": "2022-02-24",
"Lote": "11111",
"Serial": "",
"UoM_json": "",
"UoM_conv_json": null,
"UoM_Storage": "UD",
"UoM": "UD",
"Units": "4.0000",
"Global_Status": "ACTIVE"
}
]
}
]
},
{
"id": "OUT-000002",
"Source": "INTERNAL",
"Customer": "3",
"Outbound_Relation": "",
"Type": "WORKORDER",
"WareHouse": "DEVELOPMENT",
"Slot_Out": "SLT000005",
"Entity": "48672",
"Reff": "031",
"External_Reff": "031",
"Date": "2022-02-07",
"Delivery_Date": "2022-02-07 20:26:00",
"Estimate_Date": "2022-02-07 20:26:00",
"Comments": "",
"Status": "WAVED",
"CreatedBy": "[email protected]",
"Created": "2022-02-07 15:30:10",
"UpdatedBy": null,
"Updated": "2022-02-07 15:32:09",
"Wave_To": "OUT-000004",
"Wave_By": "[email protected]",
"Wave_Date": "2022-02-07 15:32:09",
"Edit_Timestamp": null,
"Edit_User": null,
"Fullfilled": "N",
"Picking": "PENDING",
"Picking_DateTime": null,
"Verified": "PENDING",
"Verified_DateTime": null,
"Delivery": "PENDING",
"Delivery_DateTime": null,
"LogisticChannel": "",
"ClosingReason": null,
"Integration_Closed": "NO",
"Integration_Closed_Date": null,
"Integration_Closed_User": null,
"ERP_DB": null,
"outbound_lines": [
{
"id": "2479858",
"Outbound": "OUT-000002",
"Wave_OutBound": null,
"Wave_OB_info_json": null,
"Item": "SKU-000001",
"UoM_json": "{\"UD\":\"1\"}",
"UoM": "UD",
"Units": "1.0000",
"Units_Processed": "0.0000"
}
]
},
{
"id": "OUT-000003",
"Source": "INTERNAL",
"Customer": "3",
"Outbound_Relation": "",
"Type": "WORKORDER",
"WareHouse": "DEVELOPMENT",
"Slot_Out": "SLT000005",
"Entity": "48672",
"Reff": "032",
"External_Reff": "032",
"Date": "2022-02-07",
"Delivery_Date": "2022-02-07 20:30:00",
"Estimate_Date": "2022-02-07 20:30:00",
"Comments": "",
"Status": "WAVED",
"CreatedBy": "[email protected]",
"Created": "2022-02-07 15:30:33",
"UpdatedBy": null,
"Updated": "2022-02-07 15:32:09",
"Wave_To": "OUT-000004",
"Wave_By": "[email protected]",
"Wave_Date": "2022-02-07 15:32:09",
"Edit_Timestamp": null,
"Edit_User": null,
"Fullfilled": "N",
"Picking": "PENDING",
"Picking_DateTime": null,
"Verified": "PENDING",
"Verified_DateTime": null,
"Delivery": "PENDING",
"Delivery_DateTime": null,
"LogisticChannel": "",
"ClosingReason": null,
"Integration_Closed": "NO",
"Integration_Closed_Date": null,
"Integration_Closed_User": null,
"ERP_DB": null,
"outbound_lines": [
{
"id": "2479859",
"Outbound": "OUT-000003",
"Wave_OutBound": null,
"Wave_OB_info_json": null,
"Item": "SKU-000001",
"UoM_json": "{\"UD\":\"1\"}",
"UoM": "UD",
"Units": "1.0000",
"Units_Processed": "0.0000"
}
]
},
{
"id": "OUT-000004",
"Source": "INTERNAL",
"Customer": "3",
"Outbound_Relation": "",
"Type": "WAVE",
"WareHouse": "DEVELOPMENT",
"Slot_Out": "SLT000005",
"Entity": "48672",
"Reff": "032",
"External_Reff": "032",
"Date": "2022-02-07",
"Delivery_Date": "0000-00-00 00:00:00",
"Estimate_Date": "2022-02-07 20:31:00",
"Comments": "",
"Status": "ACTIVE",
"CreatedBy": "[email protected]",
"Created": "2022-02-07 15:32:09",
"UpdatedBy": null,
"Updated": "2022-02-08 20:46:34",
"Wave_To": null,
"Wave_By": null,
"Wave_Date": null,
"Edit_Timestamp": "2022-02-08 20:46:34",
"Edit_User": "[email protected]",
"Fullfilled": "N",
"Picking": "PENDING",
"Picking_DateTime": null,
"Verified": "PENDING",
"Verified_DateTime": null,
"Delivery": "PENDING",
"Delivery_DateTime": null,
"LogisticChannel": null,
"ClosingReason": null,
"Integration_Closed": "NO",
"Integration_Closed_Date": null,
"Integration_Closed_User": null,
"ERP_DB": null,
"outbound_lines": [
{
"id": "2479860",
"Outbound": "OUT-000004",
"Wave_OutBound": "OUT-000002",
"Wave_OB_info_json": "{\"id\":\"OUT-000002\",\"Source\":\"INTERNAL\",\"Customer\":\"3\",\"Outbound_Relation\":\"\",\"Type\":\"WORKORDER\",\"WareHouse\":\"DEVELOPMENT\",\"Slot_Out\":\"SLT000005\",\"Entity\":\"48672\",\"Reff\":\"031\",\"External_Reff\":\"031\",\"Date\":\"2022-02-07\",\"Delivery_Date\":\"2022-02-07 20:26:00\",\"Estimate_Date\":\"2022-02-07 20:26:00\",\"Comments\":\"\",\"Status\":\"ACTIVE\",\"CreatedBy\":\"[email protected]\",\"Created\":\"2022-02-07 15:30:10\",\"UpdatedBy\":null,\"Updated\":\"2022-02-07 15:30:10\",\"Wave_To\":null,\"Wave_By\":null,\"Wave_Date\":null,\"Edit_Timestamp\":null,\"Edit_User\":null,\"Fullfilled\":\"N\",\"Picking\":\"PENDING\",\"Picking_DateTime\":null,\"Verified\":\"PENDING\",\"Verified_DateTime\":null,\"Delivery\":\"PENDING\",\"Delivery_DateTime\":null,\"LogisticChannel\":\"\",\"ClosingReason\":null,\"Integration_Closed\":\"NO\",\"Integration_Closed_Date\":null,\"Integration_Closed_User\":null,\"ERP_DB\":null}",
"Item": "SKU-000001",
"UoM_json": "{\"UD\":\"1\"}",
"UoM": "UD",
"Units": "1.0000",
"Units_Processed": "0.0000"
},
{
"id": "2479861",
"Outbound": "OUT-000004",
"Wave_OutBound": "OUT-000003",
"Wave_OB_info_json": "{\"id\":\"OUT-000003\",\"Source\":\"INTERNAL\",\"Customer\":\"3\",\"Outbound_Relation\":\"\",\"Type\":\"WORKORDER\",\"WareHouse\":\"DEVELOPMENT\",\"Slot_Out\":\"SLT000005\",\"Entity\":\"48672\",\"Reff\":\"032\",\"External_Reff\":\"032\",\"Date\":\"2022-02-07\",\"Delivery_Date\":\"2022-02-07 20:30:00\",\"Estimate_Date\":\"2022-02-07 20:30:00\",\"Comments\":\"\",\"Status\":\"ACTIVE\",\"CreatedBy\":\"[email protected]\",\"Created\":\"2022-02-07 15:30:33\",\"UpdatedBy\":null,\"Updated\":\"2022-02-07 15:30:33\",\"Wave_To\":null,\"Wave_By\":null,\"Wave_Date\":null,\"Edit_Timestamp\":null,\"Edit_User\":null,\"Fullfilled\":\"N\",\"Picking\":\"PENDING\",\"Picking_DateTime\":null,\"Verified\":\"PENDING\",\"Verified_DateTime\":null,\"Delivery\":\"PENDING\",\"Delivery_DateTime\":null,\"LogisticChannel\":\"\",\"ClosingReason\":null,\"Integration_Closed\":\"NO\",\"Integration_Closed_Date\":null,\"Integration_Closed_User\":null,\"ERP_DB\":null}",
"Item": "SKU-000001",
"UoM_json": "{\"UD\":\"1\"}",
"UoM": "UD",
"Units": "1.0000",
"Units_Processed": "0.0000"
}
]
}
],
"count": "0"
}
Updated almost 3 years ago