GET lines
Returns line data based on the provided information.
Resource URL
http://api.rgrta.com/lines
Parameters
lineid
optional
|
Specifies the Line ID, which can be obtained from the API using the MasterLines methods.
Example Value: 12345 |
linedirid
optional
|
Specifies the Line Direction ID, which is determined through this interface. To find the Line Direction ID you wish to reference, you can pull the line information using the Line ID and view the data.
Example Value: 12345 |
Response Object
Line
Example Request
GET - http://api.rgrta.com/lines?lineid=11022
[
{
"LineId":11022,
"DirNum":0,
"SignId":62,
"LineDirId":110220,
"DirectionName":"Westbound",
"LinkedLineDirId":0,
"LineDirIdConst":19330
},
{
"LineId":11022,
"DirNum":1,
"SignId":62,
"LineDirId":110221,
"DirectionName":"Eastbound",
"LinkedLineDirId":1,
"LineDirIdConst":19331
}
]