|
|
These endpoints return information about the types of data that can make up the event.
|
|
|
|
|
|
#### Beacon Types
|
|
|
|
|
|
- Method: GET
|
|
|
|
|
|
- URL: {baseUrl}/masterTables/v1/**beaconTypes**
|
|
|
|
|
|
- Returns list of elements (id, name)
|
|
|
|
|
|
```
|
|
|
[
|
|
|
{
|
|
|
"id": 1,
|
|
|
"name": "Vehiculo grandes dimensiones"
|
|
|
}
|
|
|
]
|
|
|
```
|
|
|
|
|
|
#### Device Types
|
|
|
|
|
|
- Method: GET
|
|
|
|
|
|
- URL: {baseUrl}/masterTables/v1/**deviceTypes**
|
|
|
|
|
|
- Returns list of elements (id, name)
|
|
|
|
|
|
```
|
|
|
[
|
|
|
{
|
|
|
"id": 1,
|
|
|
"name": "Baliza"
|
|
|
}
|
|
|
]
|
|
|
```
|
|
|
|
|
|
#### Device Use Types
|
|
|
|
|
|
- Method: GET
|
|
|
|
|
|
- URL: {baseUrl}/masterTables/v1/**deviceUseTypes**
|
|
|
|
|
|
- Returns list of elements (id, name)
|
|
|
|
|
|
```
|
|
|
[
|
|
|
{
|
|
|
"id": 1,
|
|
|
"name": "Worker"
|
|
|
}
|
|
|
]
|
|
|
```
|
|
|
|
|
|
#### Vehicle Types
|
|
|
|
|
|
- Method: GET
|
|
|
|
|
|
- URL: {baseUrl}/masterTables/v1/**vehicleTypes**
|
|
|
|
|
|
- Returns list of elements (id, name)
|
|
|
|
|
|
```
|
|
|
[
|
|
|
{
|
|
|
"id": 1,
|
|
|
"name": "Car"
|
|
|
}
|
|
|
]
|
|
|
```
|
|
|
|
|
|
#### Information Quality Types
|
|
|
|
|
|
- Method: GET
|
|
|
|
|
|
- URL: {baseUrl}/masterTables/v1/**informationQualities**
|
|
|
|
|
|
- Returns list of elements (id, name)
|
|
|
|
|
|
```
|
|
|
[
|
|
|
{
|
|
|
"id": 1,
|
|
|
"name": "Good"
|
|
|
},
|
|
|
{
|
|
|
"id": 2,
|
|
|
"name": "Bad"
|
|
|
}
|
|
|
]
|
|
|
```
|
|
|
|
|
|
#### Tables with changes
|
|
|
|
|
|
- Here you can find the list of master tables that have had changes in their data and the date of their last modification to have a control of these.
|
|
|
|
|
|
- Method: GET
|
|
|
|
|
|
- URL: {baseUrl}/masterTables/v1/**changeTables**
|
|
|
|
|
|
- Returns list of elements (id, name, changedTimestamp)
|
|
|
|
|
|
```
|
|
|
[
|
|
|
{
|
|
|
"id": 1,
|
|
|
"name": "event_types",
|
|
|
"changedTimestamp": "2021-03-23T10:48:20.429"
|
|
|
},
|
|
|
{
|
|
|
"id": 2,
|
|
|
"name": "information_qualities",
|
|
|
"changedTimestamp": "2021-03-23T10:48:20.429"
|
|
|
}
|
|
|
]
|
|
|
``` |