POST api/v1/user/add
Add a new member.
Request Information
URI Parameters
None.
Body Parameters
AddMemberDtoName | Description | Type | Additional information |
---|---|---|---|
UserName | string |
Required |
|
EmailAddress | string |
Required |
|
Password | string |
Required |
Request Formats
application/json, text/json, application/senml+json
Sample:
{ "UserName": "sample string 1", "EmailAddress": "sample string 2", "Password": "sample string 3" }
application/xml, text/xml
Sample:
<AddMemberDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.User"> <EmailAddress>sample string 2</EmailAddress> <Password>sample string 3</Password> <UserName>sample string 1</UserName> </AddMemberDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UserDtoName | Description | Type | Additional information |
---|---|---|---|
Id |
User Id |
globally unique identifier |
None. |
Url | string |
None. |
|
AccountId |
The Id of the account the user is assigned to |
string |
None. |
Name |
The users name |
string |
None. |
UserName |
UserName (used to login with) |
string |
None. |
FullUserName |
User Id and Account name |
string |
None. |
DisplayName |
Users first and last name |
string |
None. |
Avatar |
Link to the users avatar |
LinkDto |
None. |
TimeLine |
Link to the users timeline page. |
LinkDto |
None. |
Profile |
Link to the users profile page. |
LinkDto |
None. |
Tags | Collection of string |
None. |
|
Links |
Collection of links appropriate for the user |
Collection of LinkDto |
None. |
Actions | Collection of LinkDto |
None. |
Response Formats
application/json, text/json, application/senml+json
Sample:
{ "Id": "2f280171-8a7b-46f0-a80e-adcf7d12b79b", "Url": "sample string 2", "AccountId": "sample string 3", "Name": "sample string 4", "UserName": "sample string 5", "FullUserName": "sample string 6", "DisplayName": "sample string 7", "Avatar": { "Href": "sample string 1", "Rel": "sample string 2", "Action": "sample string 3" }, "TimeLine": { "Href": "sample string 1", "Rel": "sample string 2", "Action": "sample string 3" }, "Profile": { "Href": "sample string 1", "Rel": "sample string 2", "Action": "sample string 3" }, "Tags": [ "sample string 1", "sample string 2" ], "Links": [ { "Href": "sample string 1", "Rel": "sample string 2", "Action": "sample string 3" }, { "Href": "sample string 1", "Rel": "sample string 2", "Action": "sample string 3" } ], "Actions": [ { "Href": "sample string 1", "Rel": "sample string 2", "Action": "sample string 3" }, { "Href": "sample string 1", "Rel": "sample string 2", "Action": "sample string 3" } ] }
application/xml, text/xml
Sample:
<UserViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared"> <AccountId>sample string 3</AccountId> <Actions> <LinkViewModel> <Action>sample string 3</Action> <Href>sample string 1</Href> <Rel>sample string 2</Rel> </LinkViewModel> <LinkViewModel> <Action>sample string 3</Action> <Href>sample string 1</Href> <Rel>sample string 2</Rel> </LinkViewModel> </Actions> <Avatar> <Action>sample string 3</Action> <Href>sample string 1</Href> <Rel>sample string 2</Rel> </Avatar> <DisplayName>sample string 7</DisplayName> <FullUserName>sample string 6</FullUserName> <Id>2f280171-8a7b-46f0-a80e-adcf7d12b79b</Id> <Links> <LinkViewModel> <Action>sample string 3</Action> <Href>sample string 1</Href> <Rel>sample string 2</Rel> </LinkViewModel> <LinkViewModel> <Action>sample string 3</Action> <Href>sample string 1</Href> <Rel>sample string 2</Rel> </LinkViewModel> </Links> <Name>sample string 4</Name> <Profile> <Action>sample string 3</Action> <Href>sample string 1</Href> <Rel>sample string 2</Rel> </Profile> <Tags xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Tags> <TimeLine> <Action>sample string 3</Action> <Href>sample string 1</Href> <Rel>sample string 2</Rel> </TimeLine> <Url>sample string 2</Url> <UserName>sample string 5</UserName> </UserViewModel>