Team/id

From Oxygen.next Wiki

Jump to: navigation, search

Contents

[edit] Description

Gets the team with the given id.

[edit] Summary

URL: https://api.oxygennext.com/Team/Id.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" ?>
<Team>
  <TeamLink readonly="true">https://api.oxygennext.com/Team/b0acea0f-e63d-40d3-a220-409ae6b98462</TeamLink>
  <ParentTeam readonly="true">https://api.oxygennext.com/Team/00000000-0000-0000-0000-000000000000</ParentTeam>
  <Name>Stefan</Name>
  <Comment />
  <Move>https://api.oxygennext.com/Team/b0acea0f-e63d-40d3-a220-409ae6b98462/MoveTo/{targetGuid}</Move>
  <Delete>https://api.oxygennext.com/Team/b0acea0f-e63d-40d3-a220-409ae6b98462/Delete</Delete>
  <StationGroups>https://api.oxygennext.com/Team/b0acea0f-e63d-40d3-a220-409ae6b98462/StationGroups</StationGroups>
  <ChildTeams>https://api.oxygennext.com/Team/b0acea0f-e63d-40d3-a220-409ae6b98462/Teams</ChildTeams>
  <Users>https://api.oxygennext.com/Team/b0acea0f-e63d-40d3-a220-409ae6b98462/Users</Users>
  <Stations>https://api.oxygennext.com/Team/b0acea0f-e63d-40d3-a220-409ae6b98462/Stations</Stations>
</Team>

[edit] Usage examples

cURL (about cURL):
curl -u user:password https://api.oxygennext.com/Team/b0acea0f-e63d-40d3-a220-409ae6b98462

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


Personal tools