Team/id/Teams

From Oxygen.next Wiki

Jump to: navigation, search

Contents

[edit] Description

Gets the child teams of the specified team.

[edit] Summary

URL: https://api.oxygennext.com/Team/Id/Teams.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


Response

XML Example (truncated)

<?xml version="1.0" encoding="utf-8" ?>
<ListOfTeam>
  <Team>
    <TeamLink readonly="true">https://api.oxygennext.com/Team/df424f75-52f2-4232-b9a0-4178ddd05aa9</TeamLink>
    <ParentTeam readonly="true">https://api.oxygennext.com/Team/00000000-0000-0000-0000-000000000000</ParentTeam>
    <Name>Root</Name>
    <Comment />
    <Move>https://api.oxygennext.com/Team/df424f75-52f2-4232-b9a0-4178ddd05aa9/MoveTo/{targetGuid}</Move>
    <Delete>https://api.oxygennext.com/Team/df424f75-52f2-4232-b9a0-4178ddd05aa9/Delete</Delete>
    <StationGroups>https://api.oxygennext.com/Team/df424f75-52f2-4232-b9a0-4178ddd05aa9/StationGroups</StationGroups>
    <ChildTeams>https://api.oxygennext.com/Team/df424f75-52f2-4232-b9a0-4178ddd05aa9/Teams</ChildTeams>
    <Users>https://api.oxygennext.com/Team/df424f75-52f2-4232-b9a0-4178ddd05aa9/Users</Users>
    <Stations>https://api.oxygennext.com/Team/df424f75-52f2-4232-b9a0-4178ddd05aa9/Stations</Stations>
  </Team>
</ListOfTeam>

[edit] Usage examples

cURL (about cURL):
curl -u user:password https://api.oxygennext.com/Team/df424f75-52f2-4232-b9a0-4178ddd05aa9/Teams

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


Personal tools