GET servicegroups
Returns a list of service groups based on the provided information. A service group is a grouping of service based on the day type (weekday, Saturday or Sunday/holiday). This table links the master service groups with services.
Resource URL
http://api.rgrta.com/servicegroups
Parameters
servicegroupid
optional
|
Specifies the Service Group ID, which can be obtained from the API using the MasterServiceGroup methods.
Example Value: 12345 |
serviceid
optional
|
Service identifier. Can be used to cross-reference the Service methods.
Example Value: 12345 |
Response Object
ServiceGroup
Example Request
GET - http://api.rgrta.com/servicegroups
[
{
"SignId":62,
"ServiceGroupId":1,
"ServiceId":1
},
{
"SignId":62,
"ServiceGroupId":2,
"ServiceId":2
},
{
"SignId":62,
"ServiceGroupId":3,
"ServiceId":3
}
]