StationGroup/id/Stations

From Oxygen.next Wiki

Jump to: navigation, search

Contents

[edit] Description

Gets all stations from the given station group.

[edit] Summary

URL: https://api.oxygennext.com/StationGroup/Id/Stations.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 station group.

[edit] Response

XML Example (truncated)

<?xml version="1.0" encoding="utf-8" ?>
<ListOfStation>
  <Station>
    <LocationBranch>Development</LocationBranch>
    <LocationStreet>Carl-Zeiss-Stra?e 25-27</LocationStreet>
    <LocationCity>Garbsen</LocationCity>
    <LocationPostalCode>30827</LocationPostalCode>
    <LocationCountry>Deutschland</LocationCountry>
    <LocationFederalState>Niedersachsen</LocationFederalState>
    <LocationPlace>Bei Stefan</LocationPlace>
    <ContactName>Stefan</ContactName>
    <ContactPhone />
    <ContactFax />
    <ContactMobile />
    <ContactEMail />
    <Comments />
    <LastLogin readonly="true">1/1/1753 12:00:00 AM</LastLogin>
    <LastUpdate readonly="true">1/1/1753 12:00:00 AM</LastUpdate>
    <LastReboot readonly="true">1/1/1753 12:00:00 AM</LastReboot>
    <Created readonly="true">5/5/2008 5:34:49 PM</Created>
    <OxygenVersion readonly="true" />
    <UpdaterVersion readonly="true" />
    <RemainingDiskspace readonly="true">0</RemainingDiskspace>
    <LocalIp readonly="true" />
    <LocalSubnet readonly="true" />
    <MacAddress readonly="true" />
    <RebootStation>False</RebootStation>
    <ParentTeam readonly="true">https://api.oxygennext.com/Team/b0acea0f-e63d-40d3-a220-409ae6b98462</ParentTeam>
    <TimeZoneKey />
    <StationLink readonly="true">https://api.oxygennext.com/Station/15bb6d26-40d7-465f-bc2e-1c65bb5b5f93</StationLink>
    <Name>StefanPlayer</Name>
    <Screenshots>https://api.oxygennext.com/Station/15bb6d26-40d7-465f-bc2e-1c65bb5b5f93/Screenshots</Screenshots>
    <Alerts>https://api.oxygennext.com/Station/15bb6d26-40d7-465f-bc2e-1c65bb5b5f93/Alerts</Alerts>
    <Move>https://api.oxygennext.com/Station/15bb6d26-40d7-465f-bc2e-1c65bb5b5f93/MoveTo/{targetGuid}</Move>
    <Delete>https://api.oxygennext.com/Station/15bb6d26-40d7-465f-bc2e-1c65bb5b5f93/Delete</Delete>
    <PlayoutChannels>https://api.oxygennext.com/Station/15bb6d26-40d7-465f-bc2e-1c65bb5b5f93/PlayoutChannels</PlayoutChannels>
    <Playlist>https://api.oxygennext.com/Station/15bb6d26-40d7-465f-bc2e-1c65bb5b5f93/Playlist</Playlist>
    <Logs>https://api.oxygennext.com/Station/15bb6d26-40d7-465f-bc2e-1c65bb5b5f93/Logs</Logs>
    <TimerEvents>https://api.oxygennext.com/Station/15bb6d26-40d7-465f-bc2e-1c65bb5b5f93/TimerEvents/11-24-2009/To/12-1-2009</TimerEvents>
    <TemplateCategories>https://api.oxygennext.com/Station/15bb6d26-40d7-465f-bc2e-1c65bb5b5f93/TemplateCategories</TemplateCategories>
    <FootageCategories>https://api.oxygennext.com/Station/15bb6d26-40d7-465f-bc2e-1c65bb5b5f93/FootageCategories</FootageCategories>
    <MessageFeeds>https://api.oxygennext.com/Station/15bb6d26-40d7-465f-bc2e-1c65bb5b5f93/MessageFeeds</MessageFeeds>
  </Station>
</ListOfStation>

[edit] Usage examples

cURL (about cURL):
curl -u user:password http://api.oxygennext.com/StationGroup/7647cdaf-3873-49f9-a526-71242ba78d93/Stations

Do you have an example to share in the language of your choice? Please share!

Personal tools