GET v1/agentdata/keyreservations?FromUTC={FromUTC}&ToUTC={ToUTC}&PageNo={PageNo}&XMLAgentID={XMLAgentID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
FromUTC

date

None.

ToUTC

date

None.

PageNo

integer

None.

XMLAgentID

string

None.

Body Parameters

None.

Response Information

Resource Description

KeyReservationData
NameDescriptionTypeAdditional information
RequestedData

string

None.

Options

KeyReservationOptions

None.

RecordCount

integer

None.

DataRecords

Collection of KeyReservation

None.

Response Formats

application/json, text/json

Sample:
{
  "RequestedData": "sample string 1",
  "Options": {
    "FromUTC": "2024-11-21T09:48:33.6248709+00:00",
    "ToUTC": "2024-11-21T09:48:33.6248709+00:00",
    "PageNo": 3,
    "XMLAgentID": "sample string 4"
  },
  "RecordCount": 2,
  "DataRecords": [
    {
      "AgentName": "sample string 1",
      "KeyNumber": "sample string 2",
      "StreetNo": "sample string 3",
      "Street": "sample string 4",
      "Suburb": "sample string 5",
      "PostCode": "sample string 6",
      "Listed": true,
      "PropertyManager": "sample string 8",
      "ListingAgent": "sample string 9",
      "FromDateUTC": "2024-11-21T09:48:33.6248709+00:00",
      "ToDateUTC": "2024-11-21T09:48:33.6248709+00:00",
      "ReservedBy": "sample string 12",
      "BorrowerType": "sample string 13",
      "StaffName": "sample string 14",
      "Company": "sample string 15",
      "Mobile": "sample string 16",
      "Email": "sample string 17",
      "Comment": "sample string 18",
      "Cancelled": true,
      "CancelledBy": "sample string 20"
    },
    {
      "AgentName": "sample string 1",
      "KeyNumber": "sample string 2",
      "StreetNo": "sample string 3",
      "Street": "sample string 4",
      "Suburb": "sample string 5",
      "PostCode": "sample string 6",
      "Listed": true,
      "PropertyManager": "sample string 8",
      "ListingAgent": "sample string 9",
      "FromDateUTC": "2024-11-21T09:48:33.6248709+00:00",
      "ToDateUTC": "2024-11-21T09:48:33.6248709+00:00",
      "ReservedBy": "sample string 12",
      "BorrowerType": "sample string 13",
      "StaffName": "sample string 14",
      "Company": "sample string 15",
      "Mobile": "sample string 16",
      "Email": "sample string 17",
      "Comment": "sample string 18",
      "Cancelled": true,
      "CancelledBy": "sample string 20"
    }
  ]
}

application/xml, text/xml

Sample:
<KeyReservationData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRE.API.Models.KeyTracker">
  <DataRecords>
    <KeyReservation>
      <AgentName>sample string 1</AgentName>
      <BorrowerType>sample string 13</BorrowerType>
      <Cancelled>true</Cancelled>
      <CancelledBy>sample string 20</CancelledBy>
      <Comment>sample string 18</Comment>
      <Company>sample string 15</Company>
      <Email>sample string 17</Email>
      <FromDateUTC>2024-11-21T09:48:33.6248709+00:00</FromDateUTC>
      <KeyNumber>sample string 2</KeyNumber>
      <Listed>true</Listed>
      <ListingAgent>sample string 9</ListingAgent>
      <Mobile>sample string 16</Mobile>
      <PostCode>sample string 6</PostCode>
      <PropertyManager>sample string 8</PropertyManager>
      <ReservedBy>sample string 12</ReservedBy>
      <StaffName>sample string 14</StaffName>
      <Street>sample string 4</Street>
      <StreetNo>sample string 3</StreetNo>
      <Suburb>sample string 5</Suburb>
      <ToDateUTC>2024-11-21T09:48:33.6248709+00:00</ToDateUTC>
    </KeyReservation>
    <KeyReservation>
      <AgentName>sample string 1</AgentName>
      <BorrowerType>sample string 13</BorrowerType>
      <Cancelled>true</Cancelled>
      <CancelledBy>sample string 20</CancelledBy>
      <Comment>sample string 18</Comment>
      <Company>sample string 15</Company>
      <Email>sample string 17</Email>
      <FromDateUTC>2024-11-21T09:48:33.6248709+00:00</FromDateUTC>
      <KeyNumber>sample string 2</KeyNumber>
      <Listed>true</Listed>
      <ListingAgent>sample string 9</ListingAgent>
      <Mobile>sample string 16</Mobile>
      <PostCode>sample string 6</PostCode>
      <PropertyManager>sample string 8</PropertyManager>
      <ReservedBy>sample string 12</ReservedBy>
      <StaffName>sample string 14</StaffName>
      <Street>sample string 4</Street>
      <StreetNo>sample string 3</StreetNo>
      <Suburb>sample string 5</Suburb>
      <ToDateUTC>2024-11-21T09:48:33.6248709+00:00</ToDateUTC>
    </KeyReservation>
  </DataRecords>
  <Options>
    <FromUTC>2024-11-21T09:48:33.6248709+00:00</FromUTC>
    <PageNo>3</PageNo>
    <ToUTC>2024-11-21T09:48:33.6248709+00:00</ToUTC>
    <XMLAgentID>sample string 4</XMLAgentID>
  </Options>
  <RequestedData>sample string 1</RequestedData>
</KeyReservationData>

multipart/form-data

Sample:
<KeyReservationData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRE.API.Models.KeyTracker"><DataRecords><KeyReservation><AgentName>sample string 1</AgentName><BorrowerType>sample string 13</BorrowerType><Cancelled>true</Cancelled><CancelledBy>sample string 20</CancelledBy><Comment>sample string 18</Comment><Company>sample string 15</Company><Email>sample string 17</Email><FromDateUTC>2024-11-21T09:48:33.6248709+00:00</FromDateUTC><KeyNumber>sample string 2</KeyNumber><Listed>true</Listed><ListingAgent>sample string 9</ListingAgent><Mobile>sample string 16</Mobile><PostCode>sample string 6</PostCode><PropertyManager>sample string 8</PropertyManager><ReservedBy>sample string 12</ReservedBy><StaffName>sample string 14</StaffName><Street>sample string 4</Street><StreetNo>sample string 3</StreetNo><Suburb>sample string 5</Suburb><ToDateUTC>2024-11-21T09:48:33.6248709+00:00</ToDateUTC></KeyReservation><KeyReservation><AgentName>sample string 1</AgentName><BorrowerType>sample string 13</BorrowerType><Cancelled>true</Cancelled><CancelledBy>sample string 20</CancelledBy><Comment>sample string 18</Comment><Company>sample string 15</Company><Email>sample string 17</Email><FromDateUTC>2024-11-21T09:48:33.6248709+00:00</FromDateUTC><KeyNumber>sample string 2</KeyNumber><Listed>true</Listed><ListingAgent>sample string 9</ListingAgent><Mobile>sample string 16</Mobile><PostCode>sample string 6</PostCode><PropertyManager>sample string 8</PropertyManager><ReservedBy>sample string 12</ReservedBy><StaffName>sample string 14</StaffName><Street>sample string 4</Street><StreetNo>sample string 3</StreetNo><Suburb>sample string 5</Suburb><ToDateUTC>2024-11-21T09:48:33.6248709+00:00</ToDateUTC></KeyReservation></DataRecords><Options><FromUTC>2024-11-21T09:48:33.6248709+00:00</FromUTC><PageNo>3</PageNo><ToUTC>2024-11-21T09:48:33.6248709+00:00</ToUTC><XMLAgentID>sample string 4</XMLAgentID></Options><RequestedData>sample string 1</RequestedData></KeyReservationData>