MyHome.ie Data Delivery Service

<back to all web services

AnalyticsProperties

Requires Authentication
Required role:Admin
The following routes are available for this service:
POST/analytics/properties
AnalyticsProperties Parameters:
NameParameterData TypeRequiredDescription
FromDatebodystringNo
ToDatebodystringNo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyformstringNo
CorrelationIdformstringNo
ActiveUserIdformint?No
VersionformdoubleNo
RequestTypeIdformintNo
AnalyticsPropertiesResponse Parameters:
NameParameterData TypeRequiredDescription
PropertiesformList<Property>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
BaseType Parameters:
NameParameterData TypeRequiredDescription
VersionformdoubleNo
Property Parameters:
NameParameterData TypeRequiredDescription
PropertyIDformintNo
AgentIDformintNo
PropertyTypeIdformintNo
PropertyTypeformstringNo
AddressformstringNo
EircodeformstringNo
Priceformdecimal?No
PropertyClassformstringNo
RegionformstringNo
RegionIdformint?No
LocalityIdformint?No
Bedsformint?No
BERformstringNo
Bathroomsformint?No
SqMetresformfloat?No
DateListedformstringNo
LocalityformstringNo
Latitudeformfloat?No
Longitudeformfloat?No
PMLinkformstringNo
DescriptionformstringNo
PropertyTypeDetailedformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /analytics/properties HTTP/1.1 
Host: agentapi.myhome.ie 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"FromDate":"String","ToDate":"String","ApiKey":"String","CorrelationId":"String","ActiveUserId":0,"Version":0,"RequestTypeId":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Properties":[{"PropertyID":0,"AgentID":0,"PropertyTypeId":0,"PropertyType":"String","Address":"String","Eircode":"String","Price":0,"PropertyClass":"String","Region":"String","RegionId":0,"LocalityId":0,"Beds":0,"BER":"String","Bathrooms":0,"SqMetres":0,"DateListed":"String","Locality":"String","Latitude":0,"Longitude":0,"PMLink":"String","Description":"String","PropertyTypeDetailed":"String"}],"Version":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}