GET api/v1/user
Get all users for the current account.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of 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": "16faacad-c06a-4be5-8bfc-b7e2c2680ede", "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" } ] }, { "Id": "16faacad-c06a-4be5-8bfc-b7e2c2680ede", "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:
<ArrayOfUserViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared"> <UserViewModel> <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>16faacad-c06a-4be5-8bfc-b7e2c2680ede</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:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1: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> <UserViewModel> <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>16faacad-c06a-4be5-8bfc-b7e2c2680ede</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:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1: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> </ArrayOfUserViewModel>