... | ... | @@ -6,7 +6,7 @@ The event is the main part of this data ingestion API. This element is where the |
|
|
|
|
|
- Body:
|
|
|
|
|
|
```
|
|
|
```json
|
|
|
{
|
|
|
"companyId": "v2client.acme.com",
|
|
|
"actionId": "CLI_235",
|
... | ... | @@ -54,3 +54,17 @@ The event is the main part of this data ingestion API. This element is where the |
|
|
- deviceUseTypeId * (integer number): identifier of the type of use of the device that sends the information. Possible values in / deviceUseTypes
|
|
|
|
|
|
- speed (integer number): speed measured in kilometers per hour at which the element is at the moment it sends the event
|
|
|
|
|
|
#### Requirements
|
|
|
|
|
|
In order to maintain the quality of the messages, the following requirements will apply to the content of the messages:
|
|
|
|
|
|
- The geographical position must be contained in the Spanish territory
|
|
|
|
|
|
- The position provided by the GPS must not have an error greater than 5 meters
|
|
|
|
|
|
- Dada la criticidad de esta información, se requerirá que los eventos se generen desde el momento en que los trabajadores entren en la zona de riesgo, y se dejen de enviar cuando salgan de la misma
|
|
|
|
|
|
- A maximum age of 15 seconds from UTC time is required
|
|
|
|
|
|
- A refresh rate of 15 seconds is estimated for roads with a maximum speed of 120 km / h and 20 seconds for roads with a maximum speed of less than or equal to 90 km / h from the moment of entry, and during the entire stay within the road risk zone |