POST Accounts/ByKeys

Gets back users based on their public key

Request Information

URI Parameters

None.

Body Parameters

Collection of globally unique identifier

Request Formats

application/json, text/json

Sample:
[
  "330a043b-7630-44fa-a787-f8922b87ee84",
  "19f3158b-aa81-4274-b8c7-75e6f0c1d25c"
]

text/html

Sample:
["330a043b-7630-44fa-a787-f8922b87ee84","19f3158b-aa81-4274-b8c7-75e6f0c1d25c"]

application/xml, text/xml

Sample:
<ArrayOfguid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <guid>330a043b-7630-44fa-a787-f8922b87ee84</guid>
  <guid>19f3158b-aa81-4274-b8c7-75e6f0c1d25c</guid>
</ArrayOfguid>

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 'List`1'.

application/bson

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

Response Information

Resource Description

SystemUserModel

Collection of SystemUserModel
NameDescriptionTypeAdditional information
PublicKey

globally unique identifier

Required

LastLoginDate

date

None.

EffectivePermissions

Collection of OutputAssignedPermissionModel

None.

CustomerID

integer

None.

LockoutEnabled

boolean

None.

LockoutEndDate

date

None.

ContactInfo

UserContactBindingModel

None.

UserID

integer

None.

UserName

string

Required

String length: inclusive between 4 and 128

FirstName

string

Required

String length: inclusive between 1 and 256

LastName

string

Required

String length: inclusive between 1 and 256

Office

string

None.

Culture

string

String length: inclusive between 0 and 5

CultureID

integer

None.

DefaultTimeZone

TimeZoneModel

None.

Activation

date

Data type: DateTime

Expiration

date

Data type: DateTime

JobTitle

string

String length: inclusive between 0 and 256

IsDisabled

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "PublicKey": "c75283a6-a89a-4948-90de-cea9804b4e35",
    "LastLoginDate": "2019-08-18T22:20:47.4578005-04:00",
    "EffectivePermissions": [
      {
        "DisplayName": "sample string 1",
        "Name": "sample string 2",
        "Tag": "sample string 3"
      }
    ],
    "CustomerID": 1,
    "LockoutEnabled": true,
    "LockoutEndDate": "2019-08-18T22:20:47.4578005-04:00",
    "ContactInfo": {
      "UserContactInformationID": 1,
      "Email": "sample string 2",
      "OfficeNumber": "sample string 3",
      "HomeNumber": "sample string 4",
      "MobileNumber": "sample string 5",
      "HomeAddress": {
        "Street1": "sample string 1",
        "Street2": "sample string 2",
        "City": "sample string 3",
        "StateProvinceRegion": "sample string 4",
        "PostalCode": "sample string 5",
        "Country": "sample string 6"
      },
      "BusinessAddress": {
        "Street1": "sample string 1",
        "Street2": "sample string 2",
        "City": "sample string 3",
        "StateProvinceRegion": "sample string 4",
        "PostalCode": "sample string 5",
        "Country": "sample string 6"
      }
    },
    "UserID": 2,
    "UserName": "sample string 3",
    "FirstName": "sample string 4",
    "LastName": "sample string 5",
    "Office": "sample string 6",
    "Culture": "sample string 7",
    "CultureID": 8,
    "DefaultTimeZone": {
      "Id": "sample string 1",
      "BaseUtcOffset": "00:00:00.1234567",
      "DisplayName": "sample string 3"
    },
    "Activation": "2019-08-18T22:20:47.4578005-04:00",
    "Expiration": "2019-08-18T22:20:47.4578005-04:00",
    "JobTitle": "sample string 9",
    "IsDisabled": true
  },
  {
    "PublicKey": "c75283a6-a89a-4948-90de-cea9804b4e35",
    "LastLoginDate": "2019-08-18T22:20:47.4578005-04:00",
    "EffectivePermissions": [
      {
        "DisplayName": "sample string 1",
        "Name": "sample string 2",
        "Tag": "sample string 3"
      }
    ],
    "CustomerID": 1,
    "LockoutEnabled": true,
    "LockoutEndDate": "2019-08-18T22:20:47.4578005-04:00",
    "ContactInfo": {
      "UserContactInformationID": 1,
      "Email": "sample string 2",
      "OfficeNumber": "sample string 3",
      "HomeNumber": "sample string 4",
      "MobileNumber": "sample string 5",
      "HomeAddress": {
        "Street1": "sample string 1",
        "Street2": "sample string 2",
        "City": "sample string 3",
        "StateProvinceRegion": "sample string 4",
        "PostalCode": "sample string 5",
        "Country": "sample string 6"
      },
      "BusinessAddress": {
        "Street1": "sample string 1",
        "Street2": "sample string 2",
        "City": "sample string 3",
        "StateProvinceRegion": "sample string 4",
        "PostalCode": "sample string 5",
        "Country": "sample string 6"
      }
    },
    "UserID": 2,
    "UserName": "sample string 3",
    "FirstName": "sample string 4",
    "LastName": "sample string 5",
    "Office": "sample string 6",
    "Culture": "sample string 7",
    "CultureID": 8,
    "DefaultTimeZone": {
      "Id": "sample string 1",
      "BaseUtcOffset": "00:00:00.1234567",
      "DisplayName": "sample string 3"
    },
    "Activation": "2019-08-18T22:20:47.4578005-04:00",
    "Expiration": "2019-08-18T22:20:47.4578005-04:00",
    "JobTitle": "sample string 9",
    "IsDisabled": true
  }
]

text/html

Sample:
[{"PublicKey":"c75283a6-a89a-4948-90de-cea9804b4e35","LastLoginDate":"2019-08-18T22:20:47.4578005-04:00","EffectivePermissions":[{"DisplayName":"sample string 1","Name":"sample string 2","Tag":"sample string 3"}],"CustomerID":1,"LockoutEnabled":true,"LockoutEndDate":"2019-08-18T22:20:47.4578005-04:00","ContactInfo":{"UserContactInformationID":1,"Email":"sample string 2","OfficeNumber":"sample string 3","HomeNumber":"sample string 4","MobileNumber":"sample string 5","HomeAddress":{"Street1":"sample string 1","Street2":"sample string 2","City":"sample string 3","StateProvinceRegion":"sample string 4","PostalCode":"sample string 5","Country":"sample string 6"},"BusinessAddress":{"Street1":"sample string 1","Street2":"sample string 2","City":"sample string 3","StateProvinceRegion":"sample string 4","PostalCode":"sample string 5","Country":"sample string 6"}},"UserID":2,"UserName":"sample string 3","FirstName":"sample string 4","LastName":"sample string 5","Office":"sample string 6","Culture":"sample string 7","CultureID":8,"DefaultTimeZone":{"Id":"sample string 1","BaseUtcOffset":"00:00:00.1234567","DisplayName":"sample string 3"},"Activation":"2019-08-18T22:20:47.4578005-04:00","Expiration":"2019-08-18T22:20:47.4578005-04:00","JobTitle":"sample string 9","IsDisabled":true},{"PublicKey":"c75283a6-a89a-4948-90de-cea9804b4e35","LastLoginDate":"2019-08-18T22:20:47.4578005-04:00","EffectivePermissions":[{"DisplayName":"sample string 1","Name":"sample string 2","Tag":"sample string 3"}],"CustomerID":1,"LockoutEnabled":true,"LockoutEndDate":"2019-08-18T22:20:47.4578005-04:00","ContactInfo":{"UserContactInformationID":1,"Email":"sample string 2","OfficeNumber":"sample string 3","HomeNumber":"sample string 4","MobileNumber":"sample string 5","HomeAddress":{"Street1":"sample string 1","Street2":"sample string 2","City":"sample string 3","StateProvinceRegion":"sample string 4","PostalCode":"sample string 5","Country":"sample string 6"},"BusinessAddress":{"Street1":"sample string 1","Street2":"sample string 2","City":"sample string 3","StateProvinceRegion":"sample string 4","PostalCode":"sample string 5","Country":"sample string 6"}},"UserID":2,"UserName":"sample string 3","FirstName":"sample string 4","LastName":"sample string 5","Office":"sample string 6","Culture":"sample string 7","CultureID":8,"DefaultTimeZone":{"Id":"sample string 1","BaseUtcOffset":"00:00:00.1234567","DisplayName":"sample string 3"},"Activation":"2019-08-18T22:20:47.4578005-04:00","Expiration":"2019-08-18T22:20:47.4578005-04:00","JobTitle":"sample string 9","IsDisabled":true}]

application/xml, text/xml

Sample:
<ArrayOfSystemUserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.Membership">
  <SystemUserModel>
    <Activation xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2019-08-19T02:20:47.4578005Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes>
    </Activation>
    <Culture>sample string 7</Culture>
    <CultureID>8</CultureID>
    <DefaultTimeZone xmlns:d3p1="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.Common">
      <d3p1:BaseUtcOffset>PT0.1234567S</d3p1:BaseUtcOffset>
      <d3p1:DisplayName>sample string 3</d3p1:DisplayName>
      <d3p1:Id>sample string 1</d3p1:Id>
    </DefaultTimeZone>
    <Expiration xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2019-08-19T02:20:47.4578005Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes>
    </Expiration>
    <FirstName>sample string 4</FirstName>
    <IsDisabled>true</IsDisabled>
    <JobTitle>sample string 9</JobTitle>
    <LastName>sample string 5</LastName>
    <Office>sample string 6</Office>
    <UserName>sample string 3</UserName>
    <ContactInfo>
      <BusinessAddress xmlns:d4p1="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.Common">
        <d4p1:City>sample string 3</d4p1:City>
        <d4p1:Country>sample string 6</d4p1:Country>
        <d4p1:PostalCode>sample string 5</d4p1:PostalCode>
        <d4p1:StateProvinceRegion>sample string 4</d4p1:StateProvinceRegion>
        <d4p1:Street1>sample string 1</d4p1:Street1>
        <d4p1:Street2>sample string 2</d4p1:Street2>
      </BusinessAddress>
      <Email>sample string 2</Email>
      <HomeAddress xmlns:d4p1="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.Common">
        <d4p1:City>sample string 3</d4p1:City>
        <d4p1:Country>sample string 6</d4p1:Country>
        <d4p1:PostalCode>sample string 5</d4p1:PostalCode>
        <d4p1:StateProvinceRegion>sample string 4</d4p1:StateProvinceRegion>
        <d4p1:Street1>sample string 1</d4p1:Street1>
        <d4p1:Street2>sample string 2</d4p1:Street2>
      </HomeAddress>
      <HomeNumber>sample string 4</HomeNumber>
      <MobileNumber>sample string 5</MobileNumber>
      <OfficeNumber>sample string 3</OfficeNumber>
      <UserContactInformationID>1</UserContactInformationID>
    </ContactInfo>
    <LockoutEnabled>true</LockoutEnabled>
    <LockoutEndDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2019-08-19T02:20:47.4578005Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes>
    </LockoutEndDate>
    <UserID>2</UserID>
    <CustomerID>1</CustomerID>
    <EffectivePermissions>
      <OutputAssignedPermissionModel>
        <Name>sample string 2</Name>
        <Tag>sample string 3</Tag>
        <DisplayName>sample string 1</DisplayName>
      </OutputAssignedPermissionModel>
    </EffectivePermissions>
    <LastLoginDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2019-08-19T02:20:47.4578005Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes>
    </LastLoginDate>
    <PublicKey>c75283a6-a89a-4948-90de-cea9804b4e35</PublicKey>
  </SystemUserModel>
  <SystemUserModel>
    <Activation xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2019-08-19T02:20:47.4578005Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes>
    </Activation>
    <Culture>sample string 7</Culture>
    <CultureID>8</CultureID>
    <DefaultTimeZone xmlns:d3p1="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.Common">
      <d3p1:BaseUtcOffset>PT0.1234567S</d3p1:BaseUtcOffset>
      <d3p1:DisplayName>sample string 3</d3p1:DisplayName>
      <d3p1:Id>sample string 1</d3p1:Id>
    </DefaultTimeZone>
    <Expiration xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2019-08-19T02:20:47.4578005Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes>
    </Expiration>
    <FirstName>sample string 4</FirstName>
    <IsDisabled>true</IsDisabled>
    <JobTitle>sample string 9</JobTitle>
    <LastName>sample string 5</LastName>
    <Office>sample string 6</Office>
    <UserName>sample string 3</UserName>
    <ContactInfo>
      <BusinessAddress xmlns:d4p1="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.Common">
        <d4p1:City>sample string 3</d4p1:City>
        <d4p1:Country>sample string 6</d4p1:Country>
        <d4p1:PostalCode>sample string 5</d4p1:PostalCode>
        <d4p1:StateProvinceRegion>sample string 4</d4p1:StateProvinceRegion>
        <d4p1:Street1>sample string 1</d4p1:Street1>
        <d4p1:Street2>sample string 2</d4p1:Street2>
      </BusinessAddress>
      <Email>sample string 2</Email>
      <HomeAddress xmlns:d4p1="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.Common">
        <d4p1:City>sample string 3</d4p1:City>
        <d4p1:Country>sample string 6</d4p1:Country>
        <d4p1:PostalCode>sample string 5</d4p1:PostalCode>
        <d4p1:StateProvinceRegion>sample string 4</d4p1:StateProvinceRegion>
        <d4p1:Street1>sample string 1</d4p1:Street1>
        <d4p1:Street2>sample string 2</d4p1:Street2>
      </HomeAddress>
      <HomeNumber>sample string 4</HomeNumber>
      <MobileNumber>sample string 5</MobileNumber>
      <OfficeNumber>sample string 3</OfficeNumber>
      <UserContactInformationID>1</UserContactInformationID>
    </ContactInfo>
    <LockoutEnabled>true</LockoutEnabled>
    <LockoutEndDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2019-08-19T02:20:47.4578005Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes>
    </LockoutEndDate>
    <UserID>2</UserID>
    <CustomerID>1</CustomerID>
    <EffectivePermissions>
      <OutputAssignedPermissionModel>
        <Name>sample string 2</Name>
        <Tag>sample string 3</Tag>
        <DisplayName>sample string 1</DisplayName>
      </OutputAssignedPermissionModel>
    </EffectivePermissions>
    <LastLoginDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2019-08-19T02:20:47.4578005Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes>
    </LastLoginDate>
    <PublicKey>c75283a6-a89a-4948-90de-cea9804b4e35</PublicKey>
  </SystemUserModel>
</ArrayOfSystemUserModel>

application/bson

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