Skip to main content

Mass511

Alerts
  •  

GET api/GetMainlineLinkStatuses

Returns all link status.

Request Information

https://mass511.com/api/getmainlinelinkstatuses?key={key}&format={format}

URI Parameters

Api Call
NameDescriptionTypeAdditional information
key

string

Required

format

Valid values are xml or json.

string

Required

Response Information

Resource Description


Api Call
NameDescriptionTypeAdditional information
ID

string

None.

SpeedMetersPerHour

integer

None.

Response Formats

application/xml, text/xml

Sample:
<ArrayOfLinkStatus xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <LinkStatus>
    <ID>sample string 1</ID>
    <SpeedMetersPerHour>1</SpeedMetersPerHour>
  </LinkStatus>
  <LinkStatus>
    <ID>sample string 1</ID>
    <SpeedMetersPerHour>1</SpeedMetersPerHour>
  </LinkStatus>
</ArrayOfLinkStatus>

application/json, text/json

Sample:
[
  {
    "ID": "sample string 1",
    "SpeedMetersPerHour": 1
  },
  {
    "ID": "sample string 1",
    "SpeedMetersPerHour": 1
  }
]