... | ... | @@ -59,6 +59,34 @@ Este endpoint permite el envío de múltiples eventos al mismo tiempo. Todos ell |
|
|
]
|
|
|
```
|
|
|
|
|
|
En este caso, uno de los posibles errores es el *error 13 - There is an error in one or more elements of the list* y la respuesta obtenida tendrá un valor en el *message* que nos indicará los campos donde está el error en forma de array:
|
|
|
|
|
|
```json
|
|
|
{
|
|
|
"status": 400,
|
|
|
"code": 13,
|
|
|
"message": "There is an error in one or more elements of the list",
|
|
|
"errorElements": [
|
|
|
{
|
|
|
"position": 0,
|
|
|
"actionId": "860525f3-d27b-412b-9d79-7f2ef341e663",
|
|
|
"errors": [
|
|
|
"eventTypeId: must be less than or equal to 3",
|
|
|
"hdop: must be greater than or equal to 0"
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
"position": 1,
|
|
|
"actionId": "017bdb38-6151-4f76-bd9e-34376db36efa",
|
|
|
"errors": [
|
|
|
"speed: must be greater than or equal to 0",
|
|
|
"beaconTypeId: must be less than or equal to 2"
|
|
|
]
|
|
|
}
|
|
|
]
|
|
|
}
|
|
|
```
|
|
|
|
|
|
#### Descripción de los campos del evento
|
|
|
|
|
|
*** = Campo requerido**
|
... | ... | |