Master tables - dgt30-eng/Use-case-12 GitHub Wiki

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": "Start"
        },
        {
            "id": 2,
            "name": "End"
        },
        {
            "id": 3,
            "name": "Intermediate"
        },
        {
            "id": 4,
            "name": "Unique"
        }
    ]

Device Types

  • 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"
        }
    ]

Device Use Types

  • 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"
        }
    ]

Vehicle Types

  • 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"
        }
    ]

Event Types

  • 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"
        }
    ]

⚠️ **GitHub.com Fallback** ⚠️