Team/id/CreateUser

From Oxygen.next Wiki

Jump to: navigation, search

Contents

[edit] Description

Creates a User beneath the given Team

[edit] Summary

URL: https://api.oxygennext.com/Team/Id/CreateUser.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" ?>
<User>
  <UserName>Hannibal Smith</Name>
</User>

Response

XML Example (truncated)

<?xml version="1.0" encoding="utf-8" ?>
<User>
  <UploadWebDavLink readonly="true">http://api.oxygennext.com/Upload/91e1619e-10d2-4642-a285-6cdbf3fa64a4</UploadWebDavLink>
  <UserLink readonly="true">http://api.oxygennext.com/User/91e1619e-10d2-4642-a285-6cdbf3fa64a4</UserLink>
  <UserName>Hannibal Smith</UserName>
  <IsLockedOut>False</IsLockedOut>
  <LastActivityDate readonly="true">1/1/0001 12:00:00 AM</LastActivityDate>
  <Comment />
  <FullName />
  <EMail />
  <Language />
  <TeamLink readonly="true">http://api.oxygennext.com/Team/b0acea0f-e63d-40d3-a220-409ae6b98462</TeamLink>
  <TimeZoneKey />
  <CurrentRate readonly="true">0</CurrentRate>
  <RateLimit readonly="true">1000</RateLimit>
  <Move>http://api.oxygennext.com/User/91e1619e-10d2-4642-a285-6cdbf3fa64a4/MoveTo/{targetGuid}</Move>
  <Delete>http://api.oxygennext.com/User/91e1619e-10d2-4642-a285-6cdbf3fa64a4/Delete</Delete>
</User>

[edit] Usage examples

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

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