POST api/profiles/select/{pageNumber}/{pageSize}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageNumber

integer

Required

pageSize

integer

Required

Body Parameters

ProfilesFilterCriteriaDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

UserId

globally unique identifier

None.

UserIds

Collection of globally unique identifier

None.

TenantId

globally unique identifier

None.

OrganisationId

globally unique identifier

None.

IsDeleted

boolean

None.

Forename

string

None.

Surname

string

None.

JobTitle

string

None.

CreationDateFrom

date

None.

CreationDateTo

date

None.

ProfileProperties

Collection of ProfilePropertyFilterCriteriaDto

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "f24c3f88-b4dc-4aaf-8a5a-5676ee39fcc2",
  "UserId": "beb53de3-2bb5-4984-9d36-6b3afe5b0b2c",
  "UserIds": [
    "38f50d5d-2e72-4db7-8258-1e3d03123eda",
    "2804c9d8-0ec2-4c9f-809e-54139bba4bc5"
  ],
  "TenantId": "b95f964c-8262-4bca-aa20-f6eb1e267278",
  "OrganisationId": "9110f2de-9db6-4dd4-9a7e-3c2d2eca4594",
  "IsDeleted": true,
  "Forename": "sample string 1",
  "Surname": "sample string 2",
  "JobTitle": "sample string 3",
  "CreationDateFrom": "2025-12-06T03:06:42.0184452+00:00",
  "CreationDateTo": "2025-12-06T03:06:42.0184452+00:00",
  "ProfileProperties": [
    {
      "Name": "sample string 1",
      "Value": "sample string 2",
      "DataType": 0,
      "Options": [
        {
          "Id": "266baf12-5b84-47ab-aa61-2ab7b00d74ea",
          "Name": "sample string 2",
          "Value": "sample string 3",
          "CreationDate": "2025-12-06T03:06:42.0184452+00:00",
          "ProfilePropertyTypeId": "e5e62cf8-2b8d-47c5-b99f-6c6335d063e3"
        },
        {
          "Id": "266baf12-5b84-47ab-aa61-2ab7b00d74ea",
          "Name": "sample string 2",
          "Value": "sample string 3",
          "CreationDate": "2025-12-06T03:06:42.0184452+00:00",
          "ProfilePropertyTypeId": "e5e62cf8-2b8d-47c5-b99f-6c6335d063e3"
        }
      ]
    },
    {
      "Name": "sample string 1",
      "Value": "sample string 2",
      "DataType": 0,
      "Options": [
        {
          "Id": "266baf12-5b84-47ab-aa61-2ab7b00d74ea",
          "Name": "sample string 2",
          "Value": "sample string 3",
          "CreationDate": "2025-12-06T03:06:42.0184452+00:00",
          "ProfilePropertyTypeId": "e5e62cf8-2b8d-47c5-b99f-6c6335d063e3"
        },
        {
          "Id": "266baf12-5b84-47ab-aa61-2ab7b00d74ea",
          "Name": "sample string 2",
          "Value": "sample string 3",
          "CreationDate": "2025-12-06T03:06:42.0184452+00:00",
          "ProfilePropertyTypeId": "e5e62cf8-2b8d-47c5-b99f-6c6335d063e3"
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<ProfilesFilterCriteriaDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Profile.Models.FilterCriteria">
  <CreationDateFrom>2025-12-06T03:06:42.0184452+00:00</CreationDateFrom>
  <CreationDateTo>2025-12-06T03:06:42.0184452+00:00</CreationDateTo>
  <Forename>sample string 1</Forename>
  <Id>f24c3f88-b4dc-4aaf-8a5a-5676ee39fcc2</Id>
  <IsDeleted>true</IsDeleted>
  <JobTitle>sample string 3</JobTitle>
  <OrganisationId>9110f2de-9db6-4dd4-9a7e-3c2d2eca4594</OrganisationId>
  <ProfileProperties>
    <ProfilePropertyFilterCriteriaDto>
      <DataType>Bool</DataType>
      <Name>sample string 1</Name>
      <Options xmlns:d4p1="http://schemas.datacontract.org/2004/07/Aardvark.Profile.Models">
        <d4p1:ProfilePropertyOptionDto>
          <d4p1:CreationDate>2025-12-06T03:06:42.0184452+00:00</d4p1:CreationDate>
          <d4p1:Id>266baf12-5b84-47ab-aa61-2ab7b00d74ea</d4p1:Id>
          <d4p1:Name>sample string 2</d4p1:Name>
          <d4p1:ProfilePropertyTypeId>e5e62cf8-2b8d-47c5-b99f-6c6335d063e3</d4p1:ProfilePropertyTypeId>
          <d4p1:Value>sample string 3</d4p1:Value>
        </d4p1:ProfilePropertyOptionDto>
        <d4p1:ProfilePropertyOptionDto>
          <d4p1:CreationDate>2025-12-06T03:06:42.0184452+00:00</d4p1:CreationDate>
          <d4p1:Id>266baf12-5b84-47ab-aa61-2ab7b00d74ea</d4p1:Id>
          <d4p1:Name>sample string 2</d4p1:Name>
          <d4p1:ProfilePropertyTypeId>e5e62cf8-2b8d-47c5-b99f-6c6335d063e3</d4p1:ProfilePropertyTypeId>
          <d4p1:Value>sample string 3</d4p1:Value>
        </d4p1:ProfilePropertyOptionDto>
      </Options>
      <Value>sample string 2</Value>
    </ProfilePropertyFilterCriteriaDto>
    <ProfilePropertyFilterCriteriaDto>
      <DataType>Bool</DataType>
      <Name>sample string 1</Name>
      <Options xmlns:d4p1="http://schemas.datacontract.org/2004/07/Aardvark.Profile.Models">
        <d4p1:ProfilePropertyOptionDto>
          <d4p1:CreationDate>2025-12-06T03:06:42.0184452+00:00</d4p1:CreationDate>
          <d4p1:Id>266baf12-5b84-47ab-aa61-2ab7b00d74ea</d4p1:Id>
          <d4p1:Name>sample string 2</d4p1:Name>
          <d4p1:ProfilePropertyTypeId>e5e62cf8-2b8d-47c5-b99f-6c6335d063e3</d4p1:ProfilePropertyTypeId>
          <d4p1:Value>sample string 3</d4p1:Value>
        </d4p1:ProfilePropertyOptionDto>
        <d4p1:ProfilePropertyOptionDto>
          <d4p1:CreationDate>2025-12-06T03:06:42.0184452+00:00</d4p1:CreationDate>
          <d4p1:Id>266baf12-5b84-47ab-aa61-2ab7b00d74ea</d4p1:Id>
          <d4p1:Name>sample string 2</d4p1:Name>
          <d4p1:ProfilePropertyTypeId>e5e62cf8-2b8d-47c5-b99f-6c6335d063e3</d4p1:ProfilePropertyTypeId>
          <d4p1:Value>sample string 3</d4p1:Value>
        </d4p1:ProfilePropertyOptionDto>
      </Options>
      <Value>sample string 2</Value>
    </ProfilePropertyFilterCriteriaDto>
  </ProfileProperties>
  <Surname>sample string 2</Surname>
  <TenantId>b95f964c-8262-4bca-aa20-f6eb1e267278</TenantId>
  <UserId>beb53de3-2bb5-4984-9d36-6b3afe5b0b2c</UserId>
  <UserIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>38f50d5d-2e72-4db7-8258-1e3d03123eda</d2p1:guid>
    <d2p1:guid>2804c9d8-0ec2-4c9f-809e-54139bba4bc5</d2p1:guid>
  </UserIds>
</ProfilesFilterCriteriaDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.