POST Accounts/Search

Searches the system for Users

Request Information

URI Parameters

None.

Body Parameters

A query which defines which users are returned

LegacyUserQuery
NameDescriptionTypeAdditional information
Cursor

SearchCursor

None.

SearchOrder

LegacyUserSearchOrder

None.

MaxResults

integer

None.

UserName

string

None.

FirstName

string

None.

LastName

string

None.

JobTitle

string

None.

ActivationDate

date

None.

Email

string

None.

CultureCountryID

integer

None.

Request Formats

application/json, text/json, text/html

Sample:
{
  "Cursor": null,
  "SearchOrder": 1,
  "MaxResults": 1,
  "UserName": "sample string 2",
  "FirstName": "sample string 3",
  "LastName": "sample string 4",
  "JobTitle": "sample string 5",
  "ActivationDate": "2019-12-13T17:15:28.6509847-05:00",
  "Email": "sample string 6",
  "CultureCountryID": 1
}

application/xml, text/xml

Sample:
<LegacyUserQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Toluna.TEF.Authentication.Api.API.LegacyModels">
  <ActivationDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2019-12-13T22:15:28.6509847Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>-300</d2p1:OffsetMinutes>
  </ActivationDate>
  <CultureCountryID>1</CultureCountryID>
  <Email>sample string 6</Email>
  <FirstName>sample string 3</FirstName>
  <JobTitle>sample string 5</JobTitle>
  <LastName>sample string 4</LastName>
  <MaxResults>1</MaxResults>
  <SearchOrder>LastNameThenFirstName</SearchOrder>
  <UserName>sample string 2</UserName>
</LegacyUserQuery>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'LegacyUserQuery'.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

Paged results of Users

Collection of Object

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.