POST v1/agentdata/simpleinspection/search

Request Information

URI Parameters

None.

Body Parameters

SimpleInspectionSearchOptions
NameDescriptionTypeAdditional information
FromUTC

date

None.

ToUTC

date

None.

PageNo

integer

None.

XMLAgentID

string

None.

PropertyType

PropertyType

None.

Request Formats

application/json, text/json

Sample:
{
  "FromUTC": "2024-09-19T18:19:46.8634548+00:00",
  "ToUTC": "2024-09-19T18:19:46.8634548+00:00",
  "PageNo": 3,
  "XMLAgentID": "sample string 4",
  "PropertyType": 0
}

application/xml, text/xml

Sample:
<SimpleInspectionSearchOptions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRE.API.Models.AgentDataNS">
  <FromUTC>2024-09-19T18:19:46.8634548+00:00</FromUTC>
  <PageNo>3</PageNo>
  <PropertyType>Rental</PropertyType>
  <ToUTC>2024-09-19T18:19:46.8634548+00:00</ToUTC>
  <XMLAgentID>sample string 4</XMLAgentID>
</SimpleInspectionSearchOptions>

multipart/form-data

Sample:
<SimpleInspectionSearchOptions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRE.API.Models.AgentDataNS"><FromUTC>2024-09-19T18:19:46.8634548+00:00</FromUTC><PageNo>3</PageNo><PropertyType>Rental</PropertyType><ToUTC>2024-09-19T18:19:46.8634548+00:00</ToUTC><XMLAgentID>sample string 4</XMLAgentID></SimpleInspectionSearchOptions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SimpleInspectionSearchData
NameDescriptionTypeAdditional information
RequestedData

string

None.

SimpleInspectionSearchOptions

SimpleInspectionSearchOptions

None.

RecordCount

integer

None.

DataRecords

Collection of AgentDataSimpleInspection

None.

Response Formats

application/json, text/json

Sample:
{
  "RequestedData": "sample string 1",
  "SimpleInspectionSearchOptions": {
    "FromUTC": "2024-09-19T18:19:46.8634548+00:00",
    "ToUTC": "2024-09-19T18:19:46.8634548+00:00",
    "PageNo": 3,
    "XMLAgentID": "sample string 4",
    "PropertyType": 0
  },
  "RecordCount": 2,
  "DataRecords": [
    {
      "ID": 1,
      "StartDayLocal": "2024-09-19T18:19:46.8634548+00:00",
      "StartTimeLocal": "00:00:00.1234567",
      "Duration": 4,
      "Property": {
        "Price": 1.1,
        "PriceView": "sample string 2",
        "ID": 3,
        "SourcePropertyID": "sample string 4",
        "Address": {
          "StreetNo": "sample string 1",
          "Street": "sample string 2",
          "Suburb": "sample string 3",
          "State": "sample string 4",
          "PostCode": "sample string 5",
          "Country": "sample string 6"
        },
        "PropertyType": "sample string 5"
      },
      "OfficeDetails": {
        "ID": 1,
        "LoginName": "sample string 2",
        "InternalName": "sample string 3",
        "ExternalName": "sample string 4",
        "Address": {
          "StreetNo": "sample string 1",
          "Street": "sample string 2",
          "Suburb": "sample string 3",
          "State": "sample string 4",
          "PostCode": "sample string 5",
          "Country": "sample string 6"
        }
      }
    },
    {
      "ID": 1,
      "StartDayLocal": "2024-09-19T18:19:46.8634548+00:00",
      "StartTimeLocal": "00:00:00.1234567",
      "Duration": 4,
      "Property": {
        "Price": 1.1,
        "PriceView": "sample string 2",
        "ID": 3,
        "SourcePropertyID": "sample string 4",
        "Address": {
          "StreetNo": "sample string 1",
          "Street": "sample string 2",
          "Suburb": "sample string 3",
          "State": "sample string 4",
          "PostCode": "sample string 5",
          "Country": "sample string 6"
        },
        "PropertyType": "sample string 5"
      },
      "OfficeDetails": {
        "ID": 1,
        "LoginName": "sample string 2",
        "InternalName": "sample string 3",
        "ExternalName": "sample string 4",
        "Address": {
          "StreetNo": "sample string 1",
          "Street": "sample string 2",
          "Suburb": "sample string 3",
          "State": "sample string 4",
          "PostCode": "sample string 5",
          "Country": "sample string 6"
        }
      }
    }
  ]
}

application/xml, text/xml

Sample:
<SimpleInspectionSearchData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRE.API.Models.AgentDataNS">
  <DataRecords>
    <AgentDataSimpleInspection>
      <Duration>4</Duration>
      <ID>1</ID>
      <OfficeDetails>
        <Address>
          <Country>sample string 6</Country>
          <PostCode>sample string 5</PostCode>
          <State>sample string 4</State>
          <Street>sample string 2</Street>
          <StreetNo>sample string 1</StreetNo>
          <Suburb>sample string 3</Suburb>
        </Address>
        <ExternalName>sample string 4</ExternalName>
        <ID>1</ID>
        <InternalName>sample string 3</InternalName>
        <LoginName>sample string 2</LoginName>
      </OfficeDetails>
      <Property>
        <Address>
          <Country>sample string 6</Country>
          <PostCode>sample string 5</PostCode>
          <State>sample string 4</State>
          <Street>sample string 2</Street>
          <StreetNo>sample string 1</StreetNo>
          <Suburb>sample string 3</Suburb>
        </Address>
        <ID>3</ID>
        <PropertyType>sample string 5</PropertyType>
        <SourcePropertyID>sample string 4</SourcePropertyID>
        <Price>1.1</Price>
        <PriceView>sample string 2</PriceView>
      </Property>
      <StartDayLocal>2024-09-19T18:19:46.8634548+00:00</StartDayLocal>
      <StartTimeLocal>PT0.1234567S</StartTimeLocal>
    </AgentDataSimpleInspection>
    <AgentDataSimpleInspection>
      <Duration>4</Duration>
      <ID>1</ID>
      <OfficeDetails>
        <Address>
          <Country>sample string 6</Country>
          <PostCode>sample string 5</PostCode>
          <State>sample string 4</State>
          <Street>sample string 2</Street>
          <StreetNo>sample string 1</StreetNo>
          <Suburb>sample string 3</Suburb>
        </Address>
        <ExternalName>sample string 4</ExternalName>
        <ID>1</ID>
        <InternalName>sample string 3</InternalName>
        <LoginName>sample string 2</LoginName>
      </OfficeDetails>
      <Property>
        <Address>
          <Country>sample string 6</Country>
          <PostCode>sample string 5</PostCode>
          <State>sample string 4</State>
          <Street>sample string 2</Street>
          <StreetNo>sample string 1</StreetNo>
          <Suburb>sample string 3</Suburb>
        </Address>
        <ID>3</ID>
        <PropertyType>sample string 5</PropertyType>
        <SourcePropertyID>sample string 4</SourcePropertyID>
        <Price>1.1</Price>
        <PriceView>sample string 2</PriceView>
      </Property>
      <StartDayLocal>2024-09-19T18:19:46.8634548+00:00</StartDayLocal>
      <StartTimeLocal>PT0.1234567S</StartTimeLocal>
    </AgentDataSimpleInspection>
  </DataRecords>
  <RecordCount>2</RecordCount>
  <RequestedData>sample string 1</RequestedData>
  <SimpleInspectionSearchOptions>
    <FromUTC>2024-09-19T18:19:46.8634548+00:00</FromUTC>
    <PageNo>3</PageNo>
    <PropertyType>Rental</PropertyType>
    <ToUTC>2024-09-19T18:19:46.8634548+00:00</ToUTC>
    <XMLAgentID>sample string 4</XMLAgentID>
  </SimpleInspectionSearchOptions>
</SimpleInspectionSearchData>

multipart/form-data

Sample:
<SimpleInspectionSearchData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRE.API.Models.AgentDataNS"><DataRecords><AgentDataSimpleInspection><Duration>4</Duration><ID>1</ID><OfficeDetails><Address><Country>sample string 6</Country><PostCode>sample string 5</PostCode><State>sample string 4</State><Street>sample string 2</Street><StreetNo>sample string 1</StreetNo><Suburb>sample string 3</Suburb></Address><ExternalName>sample string 4</ExternalName><ID>1</ID><InternalName>sample string 3</InternalName><LoginName>sample string 2</LoginName></OfficeDetails><Property><Address><Country>sample string 6</Country><PostCode>sample string 5</PostCode><State>sample string 4</State><Street>sample string 2</Street><StreetNo>sample string 1</StreetNo><Suburb>sample string 3</Suburb></Address><ID>3</ID><PropertyType>sample string 5</PropertyType><SourcePropertyID>sample string 4</SourcePropertyID><Price>1.1</Price><PriceView>sample string 2</PriceView></Property><StartDayLocal>2024-09-19T18:19:46.8634548+00:00</StartDayLocal><StartTimeLocal>PT0.1234567S</StartTimeLocal></AgentDataSimpleInspection><AgentDataSimpleInspection><Duration>4</Duration><ID>1</ID><OfficeDetails><Address><Country>sample string 6</Country><PostCode>sample string 5</PostCode><State>sample string 4</State><Street>sample string 2</Street><StreetNo>sample string 1</StreetNo><Suburb>sample string 3</Suburb></Address><ExternalName>sample string 4</ExternalName><ID>1</ID><InternalName>sample string 3</InternalName><LoginName>sample string 2</LoginName></OfficeDetails><Property><Address><Country>sample string 6</Country><PostCode>sample string 5</PostCode><State>sample string 4</State><Street>sample string 2</Street><StreetNo>sample string 1</StreetNo><Suburb>sample string 3</Suburb></Address><ID>3</ID><PropertyType>sample string 5</PropertyType><SourcePropertyID>sample string 4</SourcePropertyID><Price>1.1</Price><PriceView>sample string 2</PriceView></Property><StartDayLocal>2024-09-19T18:19:46.8634548+00:00</StartDayLocal><StartTimeLocal>PT0.1234567S</StartTimeLocal></AgentDataSimpleInspection></DataRecords><RecordCount>2</RecordCount><RequestedData>sample string 1</RequestedData><SimpleInspectionSearchOptions><FromUTC>2024-09-19T18:19:46.8634548+00:00</FromUTC><PageNo>3</PageNo><PropertyType>Rental</PropertyType><ToUTC>2024-09-19T18:19:46.8634548+00:00</ToUTC><XMLAgentID>sample string 4</XMLAgentID></SimpleInspectionSearchOptions></SimpleInspectionSearchData>