Richemont.Booster2.PublicApi

<back to all web services

GetUsers

Requires Authentication
The following routes are available for this service:
GET/usersGet a list of users
GetUsers Parameters:
NameParameterData TypeRequiredDescription
pagequeryintYesIndex of the result set returned
itemsqueryintYesSize of the result set returned
noCountqueryboolNoOmit precise record count - save on performance
sortByquerystringNoSorting expression
emailquerystringNoEmail address
includeLockedAccountsquerybool?NoAlso retreive users with locked account
GetUsersResponse Parameters:
NameParameterData TypeRequiredDescription
pageformintYesIndex of the result set returnedr
itemsformintYesSize of the result set returned
totalPagesformintYesTotal amount of pages / result sets
totalResultsformintYesTotal amount of results
elementsformIEnumerable<GetUserResponse>YesList of Users
GetUserResponse Parameters:
NameParameterData TypeRequiredDescription
userIdformGuidYesUnique Identifier of a User
emailAddressformstringYesUser's Email address
firstNameformstringYesFirst Name
lastNameformstringYesLast Name
passwordExpirationDateformstringNoUser's Password Expiration Date
passwordMustBeChangedformboolYesIf the User must change the password
userTypeformstringYesUser Type of the User
cultureformstringYesCulture ID of the User
accountLockedformboolYesIf the User account is locked

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /users HTTP/1.1 
Host: dev-api-booster.richemont.com 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetUsersResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Richemont.Booster2.PublicApi.Security.ServiceModel">
  <elements i:nil="true" />
  <items>0</items>
  <page>0</page>
  <totalPages>0</totalPages>
  <totalResults>0</totalResults>
</GetUsersResponse>