Master Tables - dgt30-eng/Use-case-12 GitHub Wiki
These endpoints return information about the types of data that can make up the event.
-
Method: GET
-
URL: {baseUrl}/masterTables/v1/beaconTypes
-
Returns list of elements (id, name)
[ { "id": 1, "name": "Start" }, { "id": 2, "name": "End" }, { "id": 3, "name": "Intermediate" }, { "id": 4, "name": "Unique" } ]
-
Method: GET
-
URL: {baseUrl}/masterTables/v1/deviceTypes
-
Returns list of elements (id, name)
[ { "id": 1, "name": "Baliza" }, { "id": 2, "name": "Chaleco" }, { "id": 3, "name": "Cono" }, { "id": 4, "name": "APP" } ]
-
Method: GET
-
URL: {baseUrl}/masterTables/v1/deviceUseTypes
-
Returns list of elements (id, name)
[ { "id": 1, "name": "Worker" }, { "id": 2, "name": "Vehicle" } { "id": 3, "name": "Infrastructure" } ]
-
Method: GET
-
URL: {baseUrl}/masterTables/v1/vehicleTypes
-
Returns list of elements (id, name)
[ { "id": 0, "name": "None" }, { "id": 1, "name": "Car" }, { "id": 2, "name": "Motorbike" } ]
-
Method: GET
-
URL: {baseUrl}/masterTables/v1/eventTypes
-
Returns list of elements (id, name)
[ { "id": 1, "name": "Encendido" }, { "id": 2, "name": "Activado" }, { "id": 3, "name": "Apagado" } ]