Master Tables - dgt30-eng/Use-case-1 GitHub Wiki

These endpoints return information about the types of data that can make up the event.

Use types

  • Method: GET

  • URL: {baseUrl}/api/masterTables/v1/getUses

  • Returns (id, description)

{
  "info_code": "infoid_example",
  "info_desc": "infodesc_example",
  "data": [
    {
      "id": 1,
      "description": "example"
    }
  ]
}

Station types

  • Method: GET

  • URL: {baseUrl}/api/masterTables/v1/getStationTypes

  • Returns (id, description)

{
  "info_code": "infoid_example",
  "info_desc": "infodesc_example",
  "data": [
    {
      "id": 1,
      "description": "example"
    }
  ]

Device event types

  • Method: GET

  • URL: {baseUrl}/api/masterTables/v1/getDeviceEventTypes

  • Returns (id, description)

{
  "info_code": "infoid_example",
  "info_desc": "infodesc_example",
  "data": [
    {
      "id": 1,
      "description": "example"
    }
  ]
}

Event detection types

  • Method: GET

  • URL: {baseUrl}/api/masterTables/v1/getEventDetectionTypes

  • Returns (id, description)

{
  "info_code": "infoid_example",
  "info_desc": "infodesc_example",
  "data": [
    {
      "id": 1,
      "description": "example"
    }
  ]
}

Information types

  • Method: GET

  • URL: {baseUrl}/api/masterTables/v1/getInfos

  • Returns (id, description)

{
  "info_code": "infoid_example",
  "info_desc": "infodesc_example",
  "data": [
    {
      "id": 1,
      "description": "example"
    }
  ]
}
⚠️ **GitHub.com Fallback** ⚠️