Team/id/MoveTo/targetId

From Oxygen.next Wiki

Jump to: navigation, search

Moves a Team to another Team


URL: https://api.oxygennext.com/Team/{teamId}/MoveTo/{targetTeam}

Formats: xml, json

HTTP Method(s): POST

API rate limited (about Rate Limiting): true


Response (about HTTP Response Codes and Errors):

XML example (truncated):

<Team>
  <TeamLink>https://api.oxygennext.com/Team/bb862ee3-052b-4f62-a604-923a0e4aaa19</TeamLink>
  <ParentTeam>https://api.oxygennext.com/Team/df424f75-52f2-4232-b9a0-4178ddd05aa9</ParentTeam>
  <Name>42-Dev</Name>
  <Comment />
  <StationGroups>https://api.oxygennext.com/Team/bb862ee3-052b-4f62-a604-923a0e4aaa19/StationGroups</StationGroups>
  <Users>https://api.oxygennext.com/Team/bb862ee3-052b-4f62-a604-923a0e4aaa19/Users</Users>
  <Move>https://api.oxygennext.com/Team/bb862ee3-052b-4f62-a604-923a0e4aaa19/MoveTo/{targetGuid}</Move>
  <Stations>https://api.oxygennext.com/Team/bb862ee3-052b-4f62-a604-923a0e4aaa19/Stations</Stations>
  <ChildTeams>https://api.oxygennext.com/Team/bb862ee3-052b-4f62-a604-923a0e4aaa19/Teams</ChildTeams>
</Team>

Usage examples:

cURL (about cURL):

curl -F https://api.oxygennext.com/Team/e4fe7043-3071-4a4d-978c-5d5058b17674/MoveTo/5e1b3cf8-24f3-4780-beed-3ef5cadf8ef2


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

Personal tools