GET api/me/my-viewing-history?projectId={projectId}&unitId={unitId}&dateFrom={dateFrom}&dateTo={dateTo}&PageIndex={PageIndex}&PageSize={PageSize}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectId

string

None.

unitId

string

None.

dateFrom

date

None.

dateTo

date

None.

PageIndex

integer

None.

PageSize

integer

None.

Body Parameters

None.

Response Information

Resource Description

PaginationRespModelOfMePropertyViewingHistoryModel
NameDescriptionTypeAdditional information
CurrentPage

integer

None.

LastPage

integer

None.

PerPage

integer

None.

Total

integer

None.

From

integer

None.

To

integer

None.

Data

Collection of MePropertyViewingHistoryModel

None.

Response Formats

application/json, text/json

Sample:
{
  "CurrentPage": 1,
  "LastPage": 2,
  "PerPage": 3,
  "Total": 4,
  "From": 5,
  "To": 6,
  "Data": [
    {
      "AppointmentId": "sample string 1",
      "ProjectName": "sample string 2",
      "UnitNo": "sample string 3",
      "Date": "2024-11-28T01:34:01.7046391+08:00"
    },
    {
      "AppointmentId": "sample string 1",
      "ProjectName": "sample string 2",
      "UnitNo": "sample string 3",
      "Date": "2024-11-28T01:34:01.7046391+08:00"
    }
  ]
}

application/xml, text/xml

Sample:
<PaginationRespModelOfMePropertyViewingHistoryModeljhlROBjS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HyperQB.ClientPropertyManagement.API.Models">
  <CurrentPage>1</CurrentPage>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/HyperQB.ClientPropertyManagement.API.Models.Me">
    <d2p1:MePropertyViewingHistoryModel>
      <d2p1:AppointmentId>sample string 1</d2p1:AppointmentId>
      <d2p1:Date>2024-11-28T01:34:01.7046391+08:00</d2p1:Date>
      <d2p1:ProjectName>sample string 2</d2p1:ProjectName>
      <d2p1:UnitNo>sample string 3</d2p1:UnitNo>
    </d2p1:MePropertyViewingHistoryModel>
    <d2p1:MePropertyViewingHistoryModel>
      <d2p1:AppointmentId>sample string 1</d2p1:AppointmentId>
      <d2p1:Date>2024-11-28T01:34:01.7046391+08:00</d2p1:Date>
      <d2p1:ProjectName>sample string 2</d2p1:ProjectName>
      <d2p1:UnitNo>sample string 3</d2p1:UnitNo>
    </d2p1:MePropertyViewingHistoryModel>
  </Data>
  <From>5</From>
  <LastPage>2</LastPage>
  <PerPage>3</PerPage>
  <To>6</To>
  <Total>4</Total>
</PaginationRespModelOfMePropertyViewingHistoryModeljhlROBjS>