GET api/componentinforestricted/substations/event/{eventName}

GET list of substations that has an active flag for the given event and has been published to web from notification center

Request Information

URI Parameters

NameDescriptionTypeAdditional information
eventName

Exact name of the event, not case sensitive

string

Required

Body Parameters

None.

Response Information

Resource Description

SimpleAsset list

Collection of SimpleAsset
NameDescriptionTypeAdditional information
Id

integer

None.

AssetGuid

string

None.

Name

string

None.

Description

string

None.

Note

string

None.

Location

Location

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Id": 1,
    "AssetGuid": "sample string 2",
    "Name": "sample string 3",
    "Description": "sample string 4",
    "Note": "sample string 5",
    "Location": {
      "$id": "2",
      "Latitude": 1.1,
      "Longitude": 1.1
    }
  },
  {
    "$ref": "1"
  }
]

text/html

Sample:
[{"$id":"1","Id":1,"AssetGuid":"sample string 2","Name":"sample string 3","Description":"sample string 4","Note":"sample string 5","Location":{"$id":"2","Latitude":1.1,"Longitude":1.1}},{"$ref":"1"}]