En validacion and gets a historical_request entry. Devices whose type has automatic_auth are approved immediately (Ingresado, with an automatic movement).kiolink-profile-almacen) of the devices' locations are notified by email and app notification._id.mybusiness-devices-update permission.authorization: ********************[
{
"_id": "65f1c2a9e4b0a1b2c3d4e5d1",
"_devicetype": {
"_id": "65f1c2a9e4b0a1b2c3d4e5d9",
"name": "Servidor"
},
"serie": "SGH123ABC",
"marca": "HPE",
"modelo": "ProLiant DL380 Gen10",
"location": "MEX1",
"fase": "F1",
"status": "Ingresado",
"active": true,
"details": {
"rack_gabinete": "R12"
},
"_business": "65f1c2a9e4b0a1b2c3d4e5a1",
"movement_request": false,
"historical": [],
"historical_request": [],
"created_at": "2025-01-15T18:00:00.000Z",
"owner": "Cliente",
"transfer_request": false,
"__v": 0
}
]curl --location --request PATCH 'https://qa-api.kiolinkapp.com/v1/my-business/status/devices' \
--header 'authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '[
{
"_id": "65f1c2a9e4b0a1b2c3d4e5d1",
"_devicetype": {
"_id": "65f1c2a9e4b0a1b2c3d4e5d9",
"name": "Servidor"
},
"serie": "SGH123ABC",
"marca": "HPE",
"modelo": "ProLiant DL380 Gen10",
"location": "MEX1",
"fase": "F1",
"status": "Ingresado",
"active": true,
"details": {
"rack_gabinete": "R12"
},
"_business": "65f1c2a9e4b0a1b2c3d4e5a1",
"movement_request": false,
"historical": [],
"historical_request": [],
"created_at": "2025-01-15T18:00:00.000Z",
"owner": "Cliente",
"transfer_request": false,
"__v": 0
}
]'[
{
"_id": "65f1c2a9e4b0a1b2c3d4e5d1",
"_devicetype": "65f1c2a9e4b0a1b2c3d4e5d9",
"serie": "SGH123ABC",
"marca": "HPE",
"modelo": "ProLiant DL380 Gen10",
"location": "MEX1",
"fase": "F1",
"status": "En validacion",
"active": true,
"details": {
"rack_gabinete": "R12"
},
"_business": "65f1c2a9e4b0a1b2c3d4e5a1",
"movement_request": false,
"historical": [],
"historical_request": [
{
"_id": "65f1c2a9e4b0a1b2c3d4e5d3",
"date": "2026-10-05T18:00:00.000Z",
"_business_user_request": "65f1c2a9e4b0a1b2c3d4e5f6"
}
],
"created_at": "2025-01-15T18:00:00.000Z",
"owner": "Cliente",
"transfer_request": false,
"__v": 0
}
]