Este endpoint obtiene el listado de los toolkits de su empresa
HTTP Request
GET https://admin.cmmshere.com/api/v1/toolkits
Parámetros de consulta
Estos parametros son opcionales y utilizados para filtrar e interactuar con la información obtenida. Los parámetros de filtrado (si se utilizan) se usan para buscar resultados que contengan dicho texto.
Parámetro | Tipo | Default | Descripción |
---|---|---|---|
cod | String | No definido | Si se utiliza, el resultado solo incluirá los Toolkits que contengan ese código |
name | String | No definido | |
description | String | No definido | |
offset | Int | No definido | Offset para paginación |
limit | Int | No definido | Limite para paginación |
orderBy | Array | ["created_at", "desc"] | Ordenamiento. El primer valor es el campo y el segundo la direccion ASC o DESC |
Ejemplo de petición
curl --location --request GET 'https://admin.cmmshere.com/api/v1/toolkits' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer 804|fCkDcz43egLAubMzPinRCIVUIjPUsGkvbVJ864IP' \
--header 'Cookie: XSRF-TOKEN=eyJpdiI6IktwckY2VTNIOU5UYVZvUjg5eUxXV2c9PSIsInZhbHVlIjoiOTlpVEZIVGRnZEJoRnN3RnpVK3lLMjZZQnBHVGFrc2VNZU5XVUplamswTjl1RC8yVk1JY0lUWGVSVDlIN0YxZnEzQldLQjRyUUFmTEQ2WWFhbDNDNXVVSTZ2QVg2aEkxTTNaZWI3NzlvZVJGV3dmRlFXUU5qVWhhelFCOFpRaTgiLCJtYWMiOiIwMzU2Y2YyNTk5YjE2ZmYyN2Y4MmJkMzQyNjg4MTU2MGJjZjY1MWZjYTAxMDdjNjlkYTkxYjIzZTkwZjZlMmZhIn0%3D; laravel_session=eyJpdiI6IkpMOHR1c3pYOHpXem9vZmhUa0RqUXc9PSIsInZhbHVlIjoiWGY3RGlUV3A3WGJyQ3JvZ29nWVdYWFRtbFA5U0VmU3RLdmVuMVZQcEMwa3B4VGlYb1M2SG5TYTA5U1hxclJNT2tyRDdoanhqWVFITHB3SEdENzZzaTl5RlBZR3hOc2VJNGQzczVxZDdTNC9pMVRobXBTckM4emlzTWtNNjFGS1kiLCJtYWMiOiIyZGZkODQ2YjI2YmU0NGUyYmU0YTAwNTBiNDk3ODU2MTMwMjEyOGUyOGE0YzIzOTMzZjAxZGQzMGY0MGVkOGU1In0%3D' \
--data '{
"cod" : "TK00000",
"offset" : 0,
"limit" : 10,
"orderBy" : ["cod", "desc"]
}'
La petición de arriba devuelve un JSON estructurado de la siguiente manera
{
"success": true,
"code": 200,
"results": [
{
"id": 8,
"cod": "TK000005",
"creator_id": 31,
"responsible_id": 48,
"title": "Kit de mantenimiento preventivo AAP",
"description": "Herramientas de mantenimiento preventivo aires de precisión",
"status": "1",
"created_at": "2021-08-05T22:55:36.000000Z",
"parts": [
{
"id": 94,
"cod": "P0000061",
"creator_id": 31,
"category": 19,
"name": "Alicate de corte",
"quantity": 1,
"status": "1",
"description": "Alicate de corte STANLEY",
"created_at": "2021-07-23T00:45:18.000000Z",
"pivot": {
"inv_toolskits_id": 8,
"inv_parts_id": 94
}
},
{
"id": 92,
"cod": "P0000059",
"creator_id": 31,
"category": 19,
"name": "Alicate de fuerza ",
"quantity": 1,
"status": "1",
"description": "Alicate de fuerza STANLEY",
"created_at": "2021-07-23T00:45:18.000000Z",
"pivot": {
"inv_toolskits_id": 8,
"inv_parts_id": 92
}
},
{
"id": 93,
"cod": "P0000060",
"creator_id": 31,
"category": 19,
"name": "Alicate de punta",
"quantity": 1,
"status": "1",
"description": "Alicate de punta STANLEY",
"created_at": "2021-07-23T00:45:18.000000Z",
"pivot": {
"inv_toolskits_id": 8,
"inv_parts_id": 93
}
},
{
"id": 79,
"cod": "P0000046",
"creator_id": 31,
"category": 19,
"name": "Amperimetro Fluke",
"quantity": 1,
"status": "1",
"description": "Amperimetro Fluke",
"created_at": "2021-07-23T00:45:18.000000Z",
"pivot": {
"inv_toolskits_id": 8,
"inv_parts_id": 79
}
},
{
"id": 71,
"cod": "P0000038",
"creator_id": 31,
"category": 19,
"name": "Hidrolavadora Karcher",
"quantity": 1,
"status": "1",
"description": "Hidrolavadora Karcher",
"created_at": "2021-07-23T00:45:18.000000Z",
"pivot": {
"inv_toolskits_id": 8,
"inv_parts_id": 71
}
},
{
"id": 39,
"cod": "P0000006",
"creator_id": 30,
"category": 15,
"name": "Juego de llaves torx",
"quantity": 1,
"status": "1",
"description": "Marca TRUPER, plegable color naranja con negro",
"created_at": "2021-07-22T19:21:47.000000Z",
"pivot": {
"inv_toolskits_id": 8,
"inv_parts_id": 39
}
},
{
"id": 95,
"cod": "P0000062",
"creator_id": 31,
"category": 19,
"name": "Juego destornilladores",
"quantity": 1,
"status": "1",
"description": "Juego destornilladores STANLEY",
"created_at": "2021-07-23T00:45:18.000000Z",
"pivot": {
"inv_toolskits_id": 8,
"inv_parts_id": 95
}
},
{
"id": 68,
"cod": "P0000035",
"creator_id": 31,
"category": 19,
"name": "Manometro Analogico",
"quantity": 1,
"status": "1",
"description": "Manometro Analogico MASTER COOL",
"created_at": "2021-07-23T00:45:18.000000Z",
"pivot": {
"inv_toolskits_id": 8,
"inv_parts_id": 68
}
},
{
"id": 67,
"cod": "P0000034",
"creator_id": 31,
"category": 19,
"name": "Manometro Digital ",
"quantity": 1,
"status": "1",
"description": "Manometro Digital REFCO",
"created_at": "2021-07-23T00:45:18.000000Z",
"pivot": {
"inv_toolskits_id": 8,
"inv_parts_id": 67
}
},
{
"id": 61,
"cod": "P0000028",
"creator_id": 30,
"category": 15,
"name": "Set de limpieza",
"quantity": 1,
"status": "1",
"description": "Brocha, franelas, liquido para equipos",
"created_at": "2021-07-22T19:21:48.000000Z",
"pivot": {
"inv_toolskits_id": 8,
"inv_parts_id": 61
}
},
{
"id": 70,
"cod": "P0000037",
"creator_id": 31,
"category": 19,
"name": "Sopladora Blower",
"quantity": 1,
"status": "1",
"description": "Sopladora Blower IGCO",
"created_at": "2021-07-23T00:45:18.000000Z",
"pivot": {
"inv_toolskits_id": 8,
"inv_parts_id": 70
}
}
]
},
{
"id": 6,
"cod": "TK000004",
"creator_id": 31,
"responsible_id": 31,
"title": "Kit de relevamiento",
"description": "Kit de herramientas para relevamiento",
"status": "1",
"created_at": "2021-08-01T20:26:05.000000Z",
"parts": [
{
"id": 79,
"cod": "P0000046",
"creator_id": 31,
"category": 19,
"name": "Amperimetro Fluke",
"quantity": 1,
"status": "1",
"description": "Amperimetro Fluke",
"created_at": "2021-07-23T00:45:18.000000Z",
"pivot": {
"inv_toolskits_id": 6,
"inv_parts_id": 79
}
},
{
"id": 103,
"cod": "P0000070",
"creator_id": 31,
"category": 19,
"name": "Distanciometro Digital 50m",
"quantity": 1,
"status": "1",
"description": "Distanciometro Digital Bosch",
"created_at": "2021-08-01T20:24:07.000000Z",
"pivot": {
"inv_toolskits_id": 6,
"inv_parts_id": 103
}
},
{
"id": 44,
"cod": "P0000011",
"creator_id": 30,
"category": 15,
"name": "Flexometro",
"quantity": 1,
"status": "1",
"description": "KASAN, 5 Metros",
"created_at": "2021-07-22T19:21:47.000000Z",
"pivot": {
"inv_toolskits_id": 6,
"inv_parts_id": 44
}
},
{
"id": 104,
"cod": "P0000071",
"creator_id": 31,
"category": 19,
"name": "Wincha de 50 metros",
"quantity": 1,
"status": "1",
"description": "Wincha marca Stanley de 50m",
"created_at": "2021-08-01T20:24:46.000000Z",
"pivot": {
"inv_toolskits_id": 6,
"inv_parts_id": 104
}
}
]
},
{
"id": 5,
"cod": "TK000003",
"creator_id": 31,
"responsible_id": 47,
"title": "KIT DE MANTENIMIENTO PREVENTIVO G.E.",
"description": "Herramientas de mantenimiento de Grupo Electrógeno",
"status": "1",
"created_at": "2021-07-28T03:53:23.000000Z",
"parts": [
{
"id": 94,
"cod": "P0000061",
"creator_id": 31,
"category": 19,
"name": "Alicate de corte",
"quantity": 1,
"status": "1",
"description": "Alicate de corte STANLEY",
"created_at": "2021-07-23T00:45:18.000000Z",
"pivot": {
"inv_toolskits_id": 5,
"inv_parts_id": 94
}
},
{
"id": 92,
"cod": "P0000059",
"creator_id": 31,
"category": 19,
"name": "Alicate de fuerza ",
"quantity": 1,
"status": "1",
"description": "Alicate de fuerza STANLEY",
"created_at": "2021-07-23T00:45:18.000000Z",
"pivot": {
"inv_toolskits_id": 5,
"inv_parts_id": 92
}
},
{
"id": 53,
"cod": "P0000020",
"creator_id": 30,
"category": 15,
"name": "Computadora portatil de servicio",
"quantity": 1,
"status": "1",
"description": "Sofware con licencia",
"created_at": "2021-07-22T19:21:47.000000Z",
"pivot": {
"inv_toolskits_id": 5,
"inv_parts_id": 53
}
},
{
"id": 52,
"cod": "P0000019",
"creator_id": 30,
"category": 15,
"name": "Escalera",
"quantity": 1,
"status": "1",
"description": "Marca WERNER, de 1.5 metros, verde de fibra",
"created_at": "2021-07-22T19:21:47.000000Z",
"pivot": {
"inv_toolskits_id": 5,
"inv_parts_id": 52
}
},
{
"id": 71,
"cod": "P0000038",
"creator_id": 31,
"category": 19,
"name": "Hidrolavadora Karcher",
"quantity": 1,
"status": "1",
"description": "Hidrolavadora Karcher",
"created_at": "2021-07-23T00:45:18.000000Z",
"pivot": {
"inv_toolskits_id": 5,
"inv_parts_id": 71
}
},
{
"id": 95,
"cod": "P0000062",
"creator_id": 31,
"category": 19,
"name": "Juego destornilladores",
"quantity": 1,
"status": "1",
"description": "Juego destornilladores STANLEY",
"created_at": "2021-07-23T00:45:18.000000Z",
"pivot": {
"inv_toolskits_id": 5,
"inv_parts_id": 95
}
},
{
"id": 43,
"cod": "P0000010",
"creator_id": 30,
"category": 15,
"name": "Pinza Amperimetrica",
"quantity": 1,
"status": "1",
"description": "FLUKE 375",
"created_at": "2021-07-22T19:21:47.000000Z",
"pivot": {
"inv_toolskits_id": 5,
"inv_parts_id": 43
}
},
{
"id": 61,
"cod": "P0000028",
"creator_id": 30,
"category": 15,
"name": "Set de limpieza",
"quantity": 1,
"status": "1",
"description": "Brocha, franelas, liquido para equipos",
"created_at": "2021-07-22T19:21:48.000000Z",
"pivot": {
"inv_toolskits_id": 5,
"inv_parts_id": 61
}
},
{
"id": 70,
"cod": "P0000037",
"creator_id": 31,
"category": 19,
"name": "Sopladora Blower",
"quantity": 1,
"status": "1",
"description": "Sopladora Blower IGCO",
"created_at": "2021-07-23T00:45:18.000000Z",
"pivot": {
"inv_toolskits_id": 5,
"inv_parts_id": 70
}
}
]
},
{
"id": 4,
"cod": "TK000002",
"creator_id": 30,
"responsible_id": 35,
"title": "KIT Mantenimiento preventivo UPS-T",
"description": "Kit de herramientas para mantenimiento preventivo de equipo UPS trifásico",
"status": "1",
"created_at": "2021-07-23T16:50:15.000000Z",
"parts": [
{
"id": 49,
"cod": "P0000016",
"creator_id": 30,
"category": 15,
"name": "Aspiradora",
"quantity": 1,
"status": "1",
"description": "Marca RIDGID, Color naranja",
"created_at": "2021-07-22T19:21:47.000000Z",
"pivot": {
"inv_toolskits_id": 4,
"inv_parts_id": 49
}
},
{
"id": 34,
"cod": "P0000001",
"creator_id": 30,
"category": 15,
"name": "Set de darmadores estrellas y planos asilados",
"quantity": 6,
"status": "1",
"description": "Marca SATA, 3 planos y 3 estrellas",
"created_at": "2021-07-22T19:21:47.000000Z",
"pivot": {
"inv_toolskits_id": 4,
"inv_parts_id": 34
}
},
{
"id": 35,
"cod": "P0000002",
"creator_id": 30,
"category": 15,
"name": "Set de alicates aislados",
"quantity": 3,
"status": "1",
"description": "Marca SATA, Fuerza, Punta y corte",
"created_at": "2021-07-22T19:21:47.000000Z",
"pivot": {
"inv_toolskits_id": 4,
"inv_parts_id": 35
}
},
{
"id": 36,
"cod": "P0000003",
"creator_id": 30,
"category": 15,
"name": "Juego de Bocallaves 09002",
"quantity": 1,
"status": "1",
"description": "Marca SATA, 38 piezas en estuche verde",
"created_at": "2021-07-22T19:21:47.000000Z",
"pivot": {
"inv_toolskits_id": 4,
"inv_parts_id": 36
}
},
{
"id": 39,
"cod": "P0000006",
"creator_id": 30,
"category": 15,
"name": "Juego de llaves torx",
"quantity": 1,
"status": "1",
"description": "Marca TRUPER, plegable color naranja con negro",
"created_at": "2021-07-22T19:21:47.000000Z",
"pivot": {
"inv_toolskits_id": 4,
"inv_parts_id": 39
}
},
{
"id": 42,
"cod": "P0000009",
"creator_id": 30,
"category": 15,
"name": "Multimetro",
"quantity": 1,
"status": "1",
"description": "FLUKE 87 V",
"created_at": "2021-07-22T19:21:47.000000Z",
"pivot": {
"inv_toolskits_id": 4,
"inv_parts_id": 42
}
},
{
"id": 43,
"cod": "P0000010",
"creator_id": 30,
"category": 15,
"name": "Pinza Amperimetrica",
"quantity": 1,
"status": "1",
"description": "FLUKE 375",
"created_at": "2021-07-22T19:21:47.000000Z",
"pivot": {
"inv_toolskits_id": 4,
"inv_parts_id": 43
}
},
{
"id": 45,
"cod": "P0000012",
"creator_id": 30,
"category": 15,
"name": "Set de llaves combinadas",
"quantity": 12,
"status": "1",
"description": "12 llaves",
"created_at": "2021-07-22T19:21:47.000000Z",
"pivot": {
"inv_toolskits_id": 4,
"inv_parts_id": 45
}
},
{
"id": 46,
"cod": "P0000013",
"creator_id": 30,
"category": 15,
"name": "Sopladora",
"quantity": 1,
"status": "1",
"description": "Marca CORONA",
"created_at": "2021-07-22T19:21:47.000000Z",
"pivot": {
"inv_toolskits_id": 4,
"inv_parts_id": 46
}
},
{
"id": 47,
"cod": "P0000014",
"creator_id": 30,
"category": 15,
"name": "Extension",
"quantity": 1,
"status": "1",
"description": "5 Metros",
"created_at": "2021-07-22T19:21:47.000000Z",
"pivot": {
"inv_toolskits_id": 4,
"inv_parts_id": 47
}
},
{
"id": 48,
"cod": "P0000015",
"creator_id": 30,
"category": 15,
"name": "Carga resistiva",
"quantity": 1,
"status": "1",
"description": "3 OHM",
"created_at": "2021-07-22T19:21:47.000000Z",
"pivot": {
"inv_toolskits_id": 4,
"inv_parts_id": 48
}
},
{
"id": 52,
"cod": "P0000019",
"creator_id": 30,
"category": 15,
"name": "Escalera",
"quantity": 1,
"status": "1",
"description": "Marca WERNER, de 1.5 metros, verde de fibra",
"created_at": "2021-07-22T19:21:47.000000Z",
"pivot": {
"inv_toolskits_id": 4,
"inv_parts_id": 52
}
},
{
"id": 55,
"cod": "P0000022",
"creator_id": 30,
"category": 15,
"name": "Analizador de baterías Midtronics",
"quantity": 1,
"status": "1",
"description": "Marca CELLTRON ADVANTAGE Midtronics, Conductancia",
"created_at": "2021-07-22T19:21:47.000000Z",
"pivot": {
"inv_toolskits_id": 4,
"inv_parts_id": 55
}
},
{
"id": 61,
"cod": "P0000028",
"creator_id": 30,
"category": 15,
"name": "Set de limpieza",
"quantity": 1,
"status": "1",
"description": "Brocha, franelas, liquido para equipos",
"created_at": "2021-07-22T19:21:48.000000Z",
"pivot": {
"inv_toolskits_id": 4,
"inv_parts_id": 61
}
},
{
"id": 64,
"cod": "P0000031",
"creator_id": 30,
"category": 15,
"name": "Medidor de temperatura laser",
"quantity": 1,
"status": "1",
"description": "Marca FLUKE 561",
"created_at": "2021-07-22T19:21:48.000000Z",
"pivot": {
"inv_toolskits_id": 4,
"inv_parts_id": 64
}
}
]
},
{
"id": 3,
"cod": "TK000001",
"creator_id": 30,
"responsible_id": 35,
"title": "KIT Mantenimiento preventivo UPS-M",
"description": "Herramientas básicas para mantenimiento preventivo de equipos UPS monofasicos",
"status": "1",
"created_at": "2021-07-23T14:23:48.000000Z",
"parts": [
{
"id": 48,
"cod": "P0000015",
"creator_id": 30,
"category": 15,
"name": "Carga resistiva",
"quantity": 1,
"status": "1",
"description": "3 OHM",
"created_at": "2021-07-22T19:21:47.000000Z",
"pivot": {
"inv_toolskits_id": 3,
"inv_parts_id": 48
}
},
{
"id": 47,
"cod": "P0000014",
"creator_id": 30,
"category": 15,
"name": "Extension",
"quantity": 1,
"status": "1",
"description": "5 Metros",
"created_at": "2021-07-22T19:21:47.000000Z",
"pivot": {
"inv_toolskits_id": 3,
"inv_parts_id": 47
}
},
{
"id": 43,
"cod": "P0000010",
"creator_id": 30,
"category": 15,
"name": "Pinza Amperimetrica",
"quantity": 1,
"status": "1",
"description": "FLUKE 375",
"created_at": "2021-07-22T19:21:47.000000Z",
"pivot": {
"inv_toolskits_id": 3,
"inv_parts_id": 43
}
},
{
"id": 35,
"cod": "P0000002",
"creator_id": 30,
"category": 15,
"name": "Set de alicates aislados",
"quantity": 3,
"status": "1",
"description": "Marca SATA, Fuerza, Punta y corte",
"created_at": "2021-07-22T19:21:47.000000Z",
"pivot": {
"inv_toolskits_id": 3,
"inv_parts_id": 35
}
},
{
"id": 34,
"cod": "P0000001",
"creator_id": 30,
"category": 15,
"name": "Set de darmadores estrellas y planos asilados",
"quantity": 6,
"status": "1",
"description": "Marca SATA, 3 planos y 3 estrellas",
"created_at": "2021-07-22T19:21:47.000000Z",
"pivot": {
"inv_toolskits_id": 3,
"inv_parts_id": 34
}
},
{
"id": 61,
"cod": "P0000028",
"creator_id": 30,
"category": 15,
"name": "Set de limpieza",
"quantity": 1,
"status": "1",
"description": "Brocha, franelas, liquido para equipos",
"created_at": "2021-07-22T19:21:48.000000Z",
"pivot": {
"inv_toolskits_id": 3,
"inv_parts_id": 61
}
},
{
"id": 45,
"cod": "P0000012",
"creator_id": 30,
"category": 15,
"name": "Set de llaves combinadas",
"quantity": 12,
"status": "1",
"description": "12 llaves",
"created_at": "2021-07-22T19:21:47.000000Z",
"pivot": {
"inv_toolskits_id": 3,
"inv_parts_id": 45
}
},
{
"id": 46,
"cod": "P0000013",
"creator_id": 30,
"category": 15,
"name": "Sopladora",
"quantity": 1,
"status": "1",
"description": "Marca CORONA",
"created_at": "2021-07-22T19:21:47.000000Z",
"pivot": {
"inv_toolskits_id": 3,
"inv_parts_id": 46
}
}
]
}
]
}