StationOrStationGroup/id/MessageFeeds

From Oxygen.next Wiki

Jump to: navigation, search

Contents

[edit] Description

Gets all MessageFeeds from the given Station or StationGroup.

[edit] Summary

URL: https://api.oxygennext.com/Controller/Id/MessageFeeds.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 TemplateCategory.
Controller = Station or StationGroup.


Response

XML Example (truncated)

<?xml version="1.0" encoding="utf-8" ?>
<ListOfMessageFeed>
  <MessageFeed>
    <MessageFeedLink readonly="true">https://api.oxygennext.com/MessageFeed/46e07d2c-ad26-4d57-b687-e2d8054244a9</MessageFeedLink>
    <Name>Test</Name>
    <Description />
    <MaxDuration>31.00:00:00</MaxDuration>
    <MaxItems>50</MaxItems>
    <ItemCount>1</ItemCount>
    <MessageCategory readonly="true">65c255d5-a15b-46ba-a685-0fbe05d8a7c0</MessageCategory>
    <Messages>https://api.oxygennext.com/MessageFeed/46e07d2c-ad26-4d57-b687-e2d8054244a9/Messages</Messages>
    <ImportProperties>https://api.oxygennext.com/MessageFeed/46e07d2c-ad26-4d57-b687-e2d8054244a9/ImportProperties</ImportProperties>
    <Delete>https://api.oxygennext.com/MessageFeed/46e07d2c-ad26-4d57-b687-e2d8054244a9/Delete</Delete>
  </MessageFeed>
</ListOfMessageFeed>

[edit] Usage examples

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

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