GET services
Returns a list of services based on the provided information. A service is based on the day type (weekday, Saturday or Sunday/holiday).
Resource URL
http://api.rgrta.com/services
Parameters
serviceid
optional
|
Specifies the Service ID, which is determined through this interface. To find the Service ID you wish to reference, you can pull the list of Services and view the data.
Example Value: 12345 |
serviceabbr
optional
|
Abbreviated service identifier.
Example Value: 12345 |
servicename
optional
|
The name used to reference the service.
Example Value: WEEKDAY, SATURDAY or SUNDAY/HOLIDAY
|
servicenum
optional
|
Secondary service identifier.
Example Value: 12345 |
Response Object
Service
Example Request
GET - http://api.rgrta.com/services
[
{
"ServiceId":1,
"ServiceAbbr":"0",
"ServiceName":"WEEKDAY",
"ServiceNum":0
},
{
"ServiceId":2,
"ServiceAbbr":"4",
"ServiceName":"SATURDAY",
"ServiceNum":4
},
{
"ServiceId":3,
"ServiceAbbr":"5",
"ServiceName":"SUNDAY/HOLIDAY",
"ServiceNum":5
}
]