POST v1/agentdata/statistics

Request Information

URI Parameters

None.

Body Parameters

StatisticsOptions
NameDescriptionTypeAdditional information
FromUTC

date

None.

ToUTC

date

None.

XMLAgentID

string

None.

PropertyType

PropertyType

None.

Request Formats

application/json, text/json

Sample:
{
  "FromUTC": "2024-11-21T11:26:55.206564+00:00",
  "ToUTC": "2024-11-21T11:26:55.206564+00:00",
  "XMLAgentID": "sample string 3",
  "PropertyType": 0
}

application/xml, text/xml

Sample:
<StatisticsOptions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRE.API.Models.AgentDataNS">
  <FromUTC>2024-11-21T11:26:55.206564+00:00</FromUTC>
  <PropertyType>Rental</PropertyType>
  <ToUTC>2024-11-21T11:26:55.206564+00:00</ToUTC>
  <XMLAgentID>sample string 3</XMLAgentID>
</StatisticsOptions>

multipart/form-data

Sample:
<StatisticsOptions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRE.API.Models.AgentDataNS"><FromUTC>2024-11-21T11:26:55.206564+00:00</FromUTC><PropertyType>Rental</PropertyType><ToUTC>2024-11-21T11:26:55.206564+00:00</ToUTC><XMLAgentID>sample string 3</XMLAgentID></StatisticsOptions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

StatisticsData
NameDescriptionTypeAdditional information
RequestedData

string

None.

StatisticsOptions

StatisticsOptions

None.

Statistics

AgentDataStatistics

None.

Response Formats

application/json, text/json

Sample:
{
  "RequestedData": "sample string 1",
  "StatisticsOptions": {
    "FromUTC": "2024-11-21T11:26:55.206564+00:00",
    "ToUTC": "2024-11-21T11:26:55.206564+00:00",
    "XMLAgentID": "sample string 3",
    "PropertyType": 0
  },
  "Statistics": {
    "ListedPropertyCount": 1,
    "EnquiryCount": 2,
    "EnquiryAverage": 3.1,
    "InspectionCount": 4,
    "InspectionAverage": 5.1,
    "LeasedPropertyCount": 6,
    "LeasedPropertyCountNewBusiness": 7,
    "LeasedPropertyCountReLet": 8,
    "LeasedPropertyPriceAverage": 9.1,
    "LeasedPropertyPriceAverageNewBusiness": 10.1,
    "LeasedPropertyPriceAverageReLet": 11.1,
    "LeasedPropertyDayOnMarketAverage": 12.1,
    "LeasedPropertyDayOnMarketAverageNewBusiness": 13.1,
    "LeasedPropertyDayOnMarketAverageReLet": 14.1
  }
}

application/xml, text/xml

Sample:
<StatisticsData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRE.API.Models.AgentDataNS">
  <RequestedData>sample string 1</RequestedData>
  <Statistics>
    <EnquiryAverage>3.1</EnquiryAverage>
    <EnquiryCount>2</EnquiryCount>
    <InspectionAverage>5.1</InspectionAverage>
    <InspectionCount>4</InspectionCount>
    <LeasedPropertyCount>6</LeasedPropertyCount>
    <LeasedPropertyCountNewBusiness>7</LeasedPropertyCountNewBusiness>
    <LeasedPropertyCountReLet>8</LeasedPropertyCountReLet>
    <LeasedPropertyDayOnMarketAverage>12.1</LeasedPropertyDayOnMarketAverage>
    <LeasedPropertyDayOnMarketAverageNewBusiness>13.1</LeasedPropertyDayOnMarketAverageNewBusiness>
    <LeasedPropertyDayOnMarketAverageReLet>14.1</LeasedPropertyDayOnMarketAverageReLet>
    <LeasedPropertyPriceAverage>9.1</LeasedPropertyPriceAverage>
    <LeasedPropertyPriceAverageNewBusiness>10.1</LeasedPropertyPriceAverageNewBusiness>
    <LeasedPropertyPriceAverageReLet>11.1</LeasedPropertyPriceAverageReLet>
    <ListedPropertyCount>1</ListedPropertyCount>
  </Statistics>
  <StatisticsOptions>
    <FromUTC>2024-11-21T11:26:55.206564+00:00</FromUTC>
    <PropertyType>Rental</PropertyType>
    <ToUTC>2024-11-21T11:26:55.206564+00:00</ToUTC>
    <XMLAgentID>sample string 3</XMLAgentID>
  </StatisticsOptions>
</StatisticsData>

multipart/form-data

Sample:
<StatisticsData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRE.API.Models.AgentDataNS"><RequestedData>sample string 1</RequestedData><Statistics><EnquiryAverage>3.1</EnquiryAverage><EnquiryCount>2</EnquiryCount><InspectionAverage>5.1</InspectionAverage><InspectionCount>4</InspectionCount><LeasedPropertyCount>6</LeasedPropertyCount><LeasedPropertyCountNewBusiness>7</LeasedPropertyCountNewBusiness><LeasedPropertyCountReLet>8</LeasedPropertyCountReLet><LeasedPropertyDayOnMarketAverage>12.1</LeasedPropertyDayOnMarketAverage><LeasedPropertyDayOnMarketAverageNewBusiness>13.1</LeasedPropertyDayOnMarketAverageNewBusiness><LeasedPropertyDayOnMarketAverageReLet>14.1</LeasedPropertyDayOnMarketAverageReLet><LeasedPropertyPriceAverage>9.1</LeasedPropertyPriceAverage><LeasedPropertyPriceAverageNewBusiness>10.1</LeasedPropertyPriceAverageNewBusiness><LeasedPropertyPriceAverageReLet>11.1</LeasedPropertyPriceAverageReLet><ListedPropertyCount>1</ListedPropertyCount></Statistics><StatisticsOptions><FromUTC>2024-11-21T11:26:55.206564+00:00</FromUTC><PropertyType>Rental</PropertyType><ToUTC>2024-11-21T11:26:55.206564+00:00</ToUTC><XMLAgentID>sample string 3</XMLAgentID></StatisticsOptions></StatisticsData>