POST v1/agentdata/suburbprospectcount
Request Information
URI Parameters
None.
Body Parameters
AgentSuburbProspectCountOptions| Name | Description | Type | Additional information |
|---|---|---|---|
| Suburbs | Collection of string |
None. |
|
| Categories | Collection of PropertyCategoryGroup |
None. |
|
| Bedrooms | integer |
None. |
|
| MinPrice | decimal number |
None. |
|
| MaxPrice | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"Suburbs": [
"sample string 1",
"sample string 2"
],
"Categories": [
0,
0
],
"Bedrooms": 1,
"MinPrice": 1.1,
"MaxPrice": 1.1
}
application/xml, text/xml
Sample:
<AgentSuburbProspectCountOptions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRE.API.Models.AgentDataNS">
<Bedrooms>1</Bedrooms>
<Categories xmlns:d2p1="http://schemas.datacontract.org/2004/07/IRE.Domain">
<d2p1:PropertyCategoryGroup>None</d2p1:PropertyCategoryGroup>
<d2p1:PropertyCategoryGroup>None</d2p1:PropertyCategoryGroup>
</Categories>
<MaxPrice>1.1</MaxPrice>
<MinPrice>1.1</MinPrice>
<Suburbs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Suburbs>
</AgentSuburbProspectCountOptions>
multipart/form-data
Sample:
<AgentSuburbProspectCountOptions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRE.API.Models.AgentDataNS"><Bedrooms>1</Bedrooms><Categories xmlns:d2p1="http://schemas.datacontract.org/2004/07/IRE.Domain"><d2p1:PropertyCategoryGroup>None</d2p1:PropertyCategoryGroup><d2p1:PropertyCategoryGroup>None</d2p1:PropertyCategoryGroup></Categories><MaxPrice>1.1</MaxPrice><MinPrice>1.1</MinPrice><Suburbs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><d2p1:string>sample string 1</d2p1:string><d2p1:string>sample string 2</d2p1:string></Suburbs></AgentSuburbProspectCountOptions>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml, multipart/form-data
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>