Team/Id/Update

From Oxygen.next Wiki

Jump to: navigation, search

Contents

[edit] Description

Updates the Team with the given Id

[edit] Summary

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

Request

XML Example (truncated)

<?xml version="1.0" encoding="utf-8" ?>
<Team>
  <Name>A-Team</Name>
</Team>

Response

XML Example (truncated)

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

[edit] Usage examples

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

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


Personal tools