POST api/userprofiles

Returns all users in specific account context based on provided filters

Request Information

URI Parameters

None.

Body Parameters

Request filters

GetUserProfilesRequest
NameDescriptionTypeAdditional information
KnownSearchFields

Collection of string

None.

KnownSortFields

Collection of string

None.

PageSize

integer

None.

PageIndex

integer

None.

SearchBy

Collection of Filter

None.

SortBy

Collection of Sort

None.

Request Formats

application/json, text/json

Sample:
{
  "KnownSearchFields": [
    "DeletedAt",
    "CreatedAt",
    "PhoneNumber",
    "Email",
    "IsNewsletter",
    "SubscribeOnNewsletter",
    "UserCancelledFillingProfile",
    "InstitutionContextNumber",
    "User.Username"
  ],
  "KnownSortFields": [
    "DeletedAt",
    "CreatedAt",
    "PhoneNumber",
    "Email",
    "IsNewsletter",
    "SubscribeOnNewsletter",
    "UserCancelledFillingProfile",
    "InstitutionContextNumber",
    "User.Username"
  ],
  "PageSize": 1,
  "PageIndex": 2,
  "SearchBy": [
    {
      "Key": "sample string 1",
      "Value": {},
      "Type": 0
    },
    {
      "Key": "sample string 1",
      "Value": {},
      "Type": 0
    }
  ],
  "SortBy": [
    {
      "Key": "sample string 1",
      "Order": 0
    },
    {
      "Key": "sample string 1",
      "Order": 0
    }
  ]
}

application/xml, text/xml

Sample:
<GetUserProfilesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Requests.UserProfile">
  <KnownSearchFields xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">
    <d2p1:string>DeletedAt</d2p1:string>
    <d2p1:string>CreatedAt</d2p1:string>
    <d2p1:string>PhoneNumber</d2p1:string>
    <d2p1:string>Email</d2p1:string>
    <d2p1:string>IsNewsletter</d2p1:string>
    <d2p1:string>SubscribeOnNewsletter</d2p1:string>
    <d2p1:string>UserCancelledFillingProfile</d2p1:string>
    <d2p1:string>InstitutionContextNumber</d2p1:string>
    <d2p1:string>User.Username</d2p1:string>
  </KnownSearchFields>
  <KnownSortFields xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">
    <d2p1:string>DeletedAt</d2p1:string>
    <d2p1:string>CreatedAt</d2p1:string>
    <d2p1:string>PhoneNumber</d2p1:string>
    <d2p1:string>Email</d2p1:string>
    <d2p1:string>IsNewsletter</d2p1:string>
    <d2p1:string>SubscribeOnNewsletter</d2p1:string>
    <d2p1:string>UserCancelledFillingProfile</d2p1:string>
    <d2p1:string>InstitutionContextNumber</d2p1:string>
    <d2p1:string>User.Username</d2p1:string>
  </KnownSortFields>
  <PageIndex xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">2</PageIndex>
  <PageSize xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">1</PageSize>
  <SearchBy xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">
    <Filter>
      <Key>sample string 1</Key>
      <Type>None</Type>
      <Value />
    </Filter>
    <Filter>
      <Key>sample string 1</Key>
      <Type>None</Type>
      <Value />
    </Filter>
  </SearchBy>
  <SortBy xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">
    <Sort>
      <Key>sample string 1</Key>
      <Order>None</Order>
    </Sort>
    <Sort>
      <Key>sample string 1</Key>
      <Order>None</Order>
    </Sort>
  </SortBy>
</GetUserProfilesRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of users

ApiCollectionResponseOfGetUserProfileResponse
NameDescriptionTypeAdditional information
PageSize

integer

None.

PageIndex

integer

None.

Total

integer

None.

SearchBy

Collection of Filter

None.

SortBy

Collection of Sort

None.

Data

Collection of GetUserProfileResponse

None.

Errors

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "PageSize": 1,
  "PageIndex": 2,
  "Total": 3,
  "SearchBy": [
    {
      "Key": "sample string 1",
      "Value": {},
      "Type": 0
    },
    {
      "Key": "sample string 1",
      "Value": {},
      "Type": 0
    }
  ],
  "SortBy": [
    {
      "Key": "sample string 1",
      "Order": 0
    },
    {
      "Key": "sample string 1",
      "Order": 0
    }
  ],
  "Data": [
    {
      "Id": "54415453-0a5d-4dba-852c-624cdf3c6d00",
      "UserId": "f21035cc-6a64-4b85-95a3-7de66181f523",
      "InstitutionContextId": "a1dcff12-c87d-497f-803e-42bc68d2ec19",
      "InstitutionContextNumber": "sample string 4",
      "AccountId": "441d1ac6-1c72-4b3f-bd8d-f3ef48893d92",
      "DeletedAt": "2025-12-25T15:47:00.0027919+00:00",
      "CreatedAt": "2025-12-25T15:47:00.0027919+00:00",
      "PhoneNumber": "sample string 7",
      "Email": "sample string 8",
      "IsNewsletter": true,
      "SubscribeOnNewsletter": true,
      "UserCancelledFillingProfile": true,
      "Username": "sample string 12"
    },
    {
      "Id": "54415453-0a5d-4dba-852c-624cdf3c6d00",
      "UserId": "f21035cc-6a64-4b85-95a3-7de66181f523",
      "InstitutionContextId": "a1dcff12-c87d-497f-803e-42bc68d2ec19",
      "InstitutionContextNumber": "sample string 4",
      "AccountId": "441d1ac6-1c72-4b3f-bd8d-f3ef48893d92",
      "DeletedAt": "2025-12-25T15:47:00.0027919+00:00",
      "CreatedAt": "2025-12-25T15:47:00.0027919+00:00",
      "PhoneNumber": "sample string 7",
      "Email": "sample string 8",
      "IsNewsletter": true,
      "SubscribeOnNewsletter": true,
      "UserCancelledFillingProfile": true,
      "Username": "sample string 12"
    }
  ],
  "Errors": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<ApiCollectionResponseOfGetUserProfileResponsejGhB2GZz xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Alice.Dto.Responses.UserProfile">
    <d2p1:GetUserProfileResponse>
      <d2p1:AccountId>441d1ac6-1c72-4b3f-bd8d-f3ef48893d92</d2p1:AccountId>
      <d2p1:CreatedAt>2025-12-25T15:47:00.0027919+00:00</d2p1:CreatedAt>
      <d2p1:DeletedAt>2025-12-25T15:47:00.0027919+00:00</d2p1:DeletedAt>
      <d2p1:Email>sample string 8</d2p1:Email>
      <d2p1:Id>54415453-0a5d-4dba-852c-624cdf3c6d00</d2p1:Id>
      <d2p1:InstitutionContextId>a1dcff12-c87d-497f-803e-42bc68d2ec19</d2p1:InstitutionContextId>
      <d2p1:InstitutionContextNumber>sample string 4</d2p1:InstitutionContextNumber>
      <d2p1:IsNewsletter>true</d2p1:IsNewsletter>
      <d2p1:PhoneNumber>sample string 7</d2p1:PhoneNumber>
      <d2p1:SubscribeOnNewsletter>true</d2p1:SubscribeOnNewsletter>
      <d2p1:UserCancelledFillingProfile>true</d2p1:UserCancelledFillingProfile>
      <d2p1:UserId>f21035cc-6a64-4b85-95a3-7de66181f523</d2p1:UserId>
      <d2p1:Username>sample string 12</d2p1:Username>
    </d2p1:GetUserProfileResponse>
    <d2p1:GetUserProfileResponse>
      <d2p1:AccountId>441d1ac6-1c72-4b3f-bd8d-f3ef48893d92</d2p1:AccountId>
      <d2p1:CreatedAt>2025-12-25T15:47:00.0027919+00:00</d2p1:CreatedAt>
      <d2p1:DeletedAt>2025-12-25T15:47:00.0027919+00:00</d2p1:DeletedAt>
      <d2p1:Email>sample string 8</d2p1:Email>
      <d2p1:Id>54415453-0a5d-4dba-852c-624cdf3c6d00</d2p1:Id>
      <d2p1:InstitutionContextId>a1dcff12-c87d-497f-803e-42bc68d2ec19</d2p1:InstitutionContextId>
      <d2p1:InstitutionContextNumber>sample string 4</d2p1:InstitutionContextNumber>
      <d2p1:IsNewsletter>true</d2p1:IsNewsletter>
      <d2p1:PhoneNumber>sample string 7</d2p1:PhoneNumber>
      <d2p1:SubscribeOnNewsletter>true</d2p1:SubscribeOnNewsletter>
      <d2p1:UserCancelledFillingProfile>true</d2p1:UserCancelledFillingProfile>
      <d2p1:UserId>f21035cc-6a64-4b85-95a3-7de66181f523</d2p1:UserId>
      <d2p1:Username>sample string 12</d2p1:Username>
    </d2p1:GetUserProfileResponse>
  </Data>
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Errors>
  <PageIndex>2</PageIndex>
  <PageSize>1</PageSize>
  <SearchBy>
    <Filter>
      <Key>sample string 1</Key>
      <Type>None</Type>
      <Value />
    </Filter>
    <Filter>
      <Key>sample string 1</Key>
      <Type>None</Type>
      <Value />
    </Filter>
  </SearchBy>
  <SortBy>
    <Sort>
      <Key>sample string 1</Key>
      <Order>None</Order>
    </Sort>
    <Sort>
      <Key>sample string 1</Key>
      <Order>None</Order>
    </Sort>
  </SortBy>
  <Total>3</Total>
</ApiCollectionResponseOfGetUserProfileResponsejGhB2GZz>