TimerEvent/Id/Update

From Oxygen.next Wiki

Jump to: navigation, search

Contents

[edit] Description

Updates the TimerEventwith the given Id

[edit] Summary

URL: https://api.oxygennext.com/TimerEvent/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) of the TimerEvent

Request

XML Example (truncated)

<?xml version="1.0" encoding="utf-8" ?>
<TimerEvent>
    <FootageLink>http://api.oxygennext.com/Footage/60551d2b-931e-4769-903d-080301e2a12f</FootageLink>
    <StartDate>12/10/2009 1:00:00 AM</StartDate>
    <Duration>142</Duration>
    <Channel>1</Channel>
    <Name>Hangover</Name>
</TimerEvent>

Response

XML Example (truncated)

<?xml version="1.0" encoding="utf-8" ?>
<TimerEvent>
    <LastChange>1/1/0001 12:00:00 AM</LastChange>
    <TimerEventLink>http://api.oxygennext.com/TimerEvent/28ecbd02-a4e2-4375-9975-fe8d400e8d65</TimerEventLink>
    <FootageLink>http://api.oxygennext.com/Footage/60551d2b-931e-4769-903d-080301e2a12f</FootageLink>
    <StartDate>12/10/2009 1:00:00 AM</StartDate>
    <ExactStart>False</ExactStart>
    <Active>True</Active>
    <AllowOverlay>True</AllowOverlay>
    <AllowStationLogo>True</AllowStationLogo>
    <PlayAudio>True</PlayAudio>
    <Duration>142</Duration>
    <Channel>1</Channel>
    <Notes />
    <IsPeriodicTimerEvent>False</IsPeriodicTimerEvent>
    <ParentPeriodicTimerEventLink>http://api.oxygennext.com/PeriodicTimerEvent/00000000-0000-0000-0000-000000000000</ParentPeriodicTimerEventLink>
    <Name>Hangover</Name>
</TimerEvent>

[edit] Usage examples

cURL (about cURL):
curl -u user:password https://api.oxygennext.com/TimerEvent/15bb6d26-40d7-465f-bc2e-1c65bb5b5f93/Update

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


Personal tools