StationOrStationGroup/id/Update
From Oxygen.next Wiki
Contents |
[edit] Description
Updates the Station or StationGroup with the given Id
[edit] Summary
URL: https://api.oxygennext.com/Controller/Id/Update.format
Formats: Xml, Json
Requires Authentication (about Authentication): true
HTTP Method(s): POST
API rate limited (about Rate Limiting): true
[edit] Parameters
Id = Id(Guid) from the Station or StationGroup
Controller = Station or StationGroup
Request
XML Example (truncated)
<?xml version="1.0" encoding="utf-8" ?> <Station> <Name>StefanPlayerNeu</Name> </Station>
Response
XML Example (truncated)
<?xml version="1.0" encoding="utf-8" ?> <Station> <Name>StefanPlayerNeu</Name> <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">http://api.oxygennext.com/Team/b0acea0f-e63d-40d3-a220-409ae6b98462</ParentTeam> <TimeZoneKey /> <StationLink readonly="true">http://api.oxygennext.com/Station/15bb6d26-40d7-465f-bc2e-1c65bb5b5f93</StationLink> <Screenshots>http://api.oxygennext.com/Station/15bb6d26-40d7-465f-bc2e-1c65bb5b5f93/Screenshots</Screenshots> <Alerts>http://api.oxygennext.com/Station/15bb6d26-40d7-465f-bc2e-1c65bb5b5f93/Alerts</Alerts> <Delete>http://api.oxygennext.com/Station/15bb6d26-40d7-465f-bc2e-1c65bb5b5f93/Delete</Delete> <MessageFeeds>http://api.oxygennext.com/Station/15bb6d26-40d7-465f-bc2e-1c65bb5b5f93/MessageFeeds</MessageFeeds> <Logs>http://api.oxygennext.com/Station/15bb6d26-40d7-465f-bc2e-1c65bb5b5f93/Logs</Logs> <PlayoutChannels>http://api.oxygennext.com/Station/15bb6d26-40d7-465f-bc2e-1c65bb5b5f93/PlayoutChannels</PlayoutChannels> <Playlist>http://api.oxygennext.com/Station/15bb6d26-40d7-465f-bc2e-1c65bb5b5f93/Playlist</Playlist> <TimerEvents>http://api.oxygennext.com/Station/15bb6d26-40d7-465f-bc2e-1c65bb5b5f93/TimerEvents/12-3-2009/To/12-10-2009</TimerEvents> <TemplateCategories>http://api.oxygennext.com/Station/15bb6d26-40d7-465f-bc2e-1c65bb5b5f93/TemplateCategories</TemplateCategories> <FootageCategories>http://api.oxygennext.com/Station/15bb6d26-40d7-465f-bc2e-1c65bb5b5f93/FootageCategories</FootageCategories> <Move>http://api.oxygennext.com/Station/15bb6d26-40d7-465f-bc2e-1c65bb5b5f93/MoveTo/{targetGuid}</Move> </Station>
[edit] Usage examples
cURL (about cURL):
curl -u user:password https://api.oxygennext.com/Station/15bb6d26-40d7-465f-bc2e-1c65bb5b5f93/Update
Do you have an example to share in the language of your choice? Please share!
