GET api/loyalty2/member/club/page/{page}/size/{pageSize}/{memberDateProperty}?fromDate={fromDate}&toDate={toDate}

Provides member(s) of a club paged.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
page

The page number.

integer

Required

pageSize

The size of page.

integer

Required

memberDateProperty

The case insensitive name of a member's date property to search on (e.g.: 'Created', 'Modified', 'SignedUp', 'Birthdate'...).

string

Required

fromDate

The start date, from which on members shall be get (inclusive). Check the Member model doc to see if the search on the specific member date property requires a timezone or not.

date

Required

toDate

The end date, until members shall be get (inclusive). Check the Member model doc to see if the search on the specific member date property requires a timezone or not.

date

None.

Body Parameters

None.

Response Information

Resource Description

PagedMembers
NameDescriptionTypeAdditional information
PageNumber

The number of this page.

integer

None.

PageSize

The size of this page.

integer

None.

TotalNumberOfPages

The total number of pages available.

integer

None.

TotalNumberOfRecords

The total number of records available.

integer

None.

Results

The results of this page.

Collection of Member

None.

Response Formats

application/json, text/json

Sample:
{
  "PageNumber": 1,
  "PageSize": 2,
  "TotalNumberOfPages": 3,
  "TotalNumberOfRecords": 4,
  "Results": [
    {
      "Id": 1,
      "CustomerNumber": 2,
      "CreationShop": "sample string 3",
      "User": "sample string 4",
      "Password": "sample string 5",
      "Modified": "2025-05-04T06:48:57.7659061+02:00",
      "IsDeleted": true,
      "ClubId": 7,
      "EngineId": 8,
      "FirstName": "sample string 9",
      "LastName": "sample string 10",
      "Address": "sample string 11",
      "PostalCode": "sample string 12",
      "City": "sample string 13",
      "Country": "sample string 14",
      "Gender": "sample string 15",
      "BirthDate": "2025-05-04T06:48:57.7659061+02:00",
      "Email": "sample string 16",
      "Phone": "sample string 17",
      "ReceiptByEmail": 18,
      "Notes": "sample string 19",
      "IsActive": true,
      "Created": "2025-05-04T06:48:57.7659061+02:00",
      "SignedUp": "2025-05-04T06:48:57.7659061+02:00",
      "DefaultShop": 1,
      "SocialSecurityNr": "sample string 20",
      "TermsConditionsApproved": true
    },
    {
      "Id": 1,
      "CustomerNumber": 2,
      "CreationShop": "sample string 3",
      "User": "sample string 4",
      "Password": "sample string 5",
      "Modified": "2025-05-04T06:48:57.7659061+02:00",
      "IsDeleted": true,
      "ClubId": 7,
      "EngineId": 8,
      "FirstName": "sample string 9",
      "LastName": "sample string 10",
      "Address": "sample string 11",
      "PostalCode": "sample string 12",
      "City": "sample string 13",
      "Country": "sample string 14",
      "Gender": "sample string 15",
      "BirthDate": "2025-05-04T06:48:57.7659061+02:00",
      "Email": "sample string 16",
      "Phone": "sample string 17",
      "ReceiptByEmail": 18,
      "Notes": "sample string 19",
      "IsActive": true,
      "Created": "2025-05-04T06:48:57.7659061+02:00",
      "SignedUp": "2025-05-04T06:48:57.7659061+02:00",
      "DefaultShop": 1,
      "SocialSecurityNr": "sample string 20",
      "TermsConditionsApproved": true
    }
  ]
}

application/xml, text/xml

Sample:
<PagedMembersViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PublicAPI.Models">
  <PageNumber>1</PageNumber>
  <PageSize>2</PageSize>
  <Results>
    <MemberViewModel>
      <Address>sample string 11</Address>
      <BirthDate>2025-05-04T06:48:57.7659061+02:00</BirthDate>
      <City>sample string 13</City>
      <ClubId>7</ClubId>
      <Country>sample string 14</Country>
      <Created>2025-05-04T06:48:57.7659061+02:00</Created>
      <DefaultShop>1</DefaultShop>
      <Email>sample string 16</Email>
      <EngineId>8</EngineId>
      <FirstName>sample string 9</FirstName>
      <Gender>sample string 15</Gender>
      <IsActive>true</IsActive>
      <LastName>sample string 10</LastName>
      <Notes>sample string 19</Notes>
      <Phone>sample string 17</Phone>
      <PostalCode>sample string 12</PostalCode>
      <ReceiptByEmail>18</ReceiptByEmail>
      <SignedUp>2025-05-04T06:48:57.7659061+02:00</SignedUp>
      <SocialSecurityNr>sample string 20</SocialSecurityNr>
      <TermsConditionsApproved>true</TermsConditionsApproved>
      <CreationShop>sample string 3</CreationShop>
      <CustomerNumber>2</CustomerNumber>
      <Id>1</Id>
      <IsDeleted>true</IsDeleted>
      <Modified>2025-05-04T06:48:57.7659061+02:00</Modified>
      <Password>sample string 5</Password>
      <User>sample string 4</User>
    </MemberViewModel>
    <MemberViewModel>
      <Address>sample string 11</Address>
      <BirthDate>2025-05-04T06:48:57.7659061+02:00</BirthDate>
      <City>sample string 13</City>
      <ClubId>7</ClubId>
      <Country>sample string 14</Country>
      <Created>2025-05-04T06:48:57.7659061+02:00</Created>
      <DefaultShop>1</DefaultShop>
      <Email>sample string 16</Email>
      <EngineId>8</EngineId>
      <FirstName>sample string 9</FirstName>
      <Gender>sample string 15</Gender>
      <IsActive>true</IsActive>
      <LastName>sample string 10</LastName>
      <Notes>sample string 19</Notes>
      <Phone>sample string 17</Phone>
      <PostalCode>sample string 12</PostalCode>
      <ReceiptByEmail>18</ReceiptByEmail>
      <SignedUp>2025-05-04T06:48:57.7659061+02:00</SignedUp>
      <SocialSecurityNr>sample string 20</SocialSecurityNr>
      <TermsConditionsApproved>true</TermsConditionsApproved>
      <CreationShop>sample string 3</CreationShop>
      <CustomerNumber>2</CustomerNumber>
      <Id>1</Id>
      <IsDeleted>true</IsDeleted>
      <Modified>2025-05-04T06:48:57.7659061+02:00</Modified>
      <Password>sample string 5</Password>
      <User>sample string 4</User>
    </MemberViewModel>
  </Results>
  <TotalNumberOfPages>3</TotalNumberOfPages>
  <TotalNumberOfRecords>4</TotalNumberOfRecords>
</PagedMembersViewModel>