|
|
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)
|
|
|
|
|
|
```json
|
|
|
|
|
|
{
|
|
|
"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)
|
|
|
|
|
|
```json
|
|
|
{
|
|
|
"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)
|
|
|
|
|
|
```json
|
|
|
{
|
|
|
"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)
|
|
|
|
|
|
```json
|
|
|
{
|
|
|
"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)
|
|
|
|
|
|
```json
|
|
|
{
|
|
|
"info_code": "infoid_example",
|
|
|
"info_desc": "infodesc_example",
|
|
|
"data": [
|
|
|
{
|
|
|
"id": 1,
|
|
|
"description": "example"
|
|
|
}
|
|
|
]
|
|
|
}
|
|
|
``` |
|
|
\ No newline at end of file |