Team/id/StationGroups
From Oxygen.next Wiki
Contents |
[edit] Description
Gets a list of station groups from the given team.
[edit] Summary
URL: https://api.oxygennext.com/Team/Id/StationGroups.format
Formats: xml, json
Requires Authentication (about Authentication): true
HTTP Method(s): GET
API rate limited (about Rate Limiting): true
[edit] Parameters
Id = Id (Guid) from the Team.
[edit] Response
XML Example (truncated)
<?xml version="1.0" encoding="utf-8" ?> <ListOfStationGroup> <StationGroup> <StationGroupLink readonly="true">https://api.oxygennext.com/StationGroup/7647cdaf-3873-49f9-a526-71242ba78d93</StationGroupLink> <Name>Test</Name> <ParentTeam readonly="true">https://api.oxygennext.com/Team/b0acea0f-e63d-40d3-a220-409ae6b98462</ParentTeam> <ChildStationGroups>https://api.oxygennext.com/StationGroup/7647cdaf-3873-49f9-a526-71242ba78d93/StationGroups</ChildStationGroups> <TemplateCategories>https://api.oxygennext.com/StationGroup/7647cdaf-3873-49f9-a526-71242ba78d93/TemplateCategories</TemplateCategories> <Delete>https://api.oxygennext.com/StationGroup/7647cdaf-3873-49f9-a526-71242ba78d93/Delete</Delete> <ChildStations>https://api.oxygennext.com/StationGroup/7647cdaf-3873-49f9-a526-71242ba78d93/Stations</ChildStations> <TimerEvents>https://api.oxygennext.com/StationGroup/7647cdaf-3873-49f9-a526-71242ba78d93/TimerEvents/11-24-2009/To/12-1-2009</TimerEvents> <Move>https://api.oxygennext.com/StationGroup/7647cdaf-3873-49f9-a526-71242ba78d93/MoveTo/{targetGuid}</Move> <MessageFeeds>https://api.oxygennext.com/StationGroup/7647cdaf-3873-49f9-a526-71242ba78d93/MessageFeeds</MessageFeeds> <Categories>https://api.oxygennext.com/StationGroup/7647cdaf-3873-49f9-a526-71242ba78d93/Categories</Categories> <Copy>https://api.oxygennext.com/StationGroup/7647cdaf-3873-49f9-a526-71242ba78d93/CopyTo/{targetGuid}</Copy> </StationGroup> </ListOfStationGroup>
[edit] Usage examples
cURL (about cURL):
curl -u user:password https://api.oxygennext.com/Team/b0acea0f-e63d-40d3-a220-409ae6b98462/StationGroups
Do you have an example to share in the language of your choice? Please share!
