Skip to content

batnom/PropertyHits

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

PropertyHits

Sample Perl and Python code for connecting to MyDesktop's Property Hits API.

The purpose of this endpoint is to provide external websites with access to update the property hits for a property.

Usage Notes

  • Submit a POST request with JSON payload as specified below
  • Hits submitted are the total number of hits for that day
  • A repeat Hits submission for a date will override the hits on that date with the new Hits figure
  • Your request should be submitted in batches of 500. More than 500 properties in one request will result in an error.

Payload

  • Apikey - Unique to each developer, MyDesktop will provide this to you on setup
  • Test - If set to 1, hits will not be committed to the database
  • Properties - An array of property objects (in batches of 500 or less)

Property Object

  • UniqueID - Property ID (MyDesktop primary key or REAXMLID)
  • AgentID - Numeric ID for the office
  • Date - The date the hits are for, in YYYY-MM-DD format
  • Hits - Cumulative number of hits for this property on this date

Setup and Support

Email support@mydesktop.com.au for assistance

About

Sample code for connecting to MyDesktop's Property Hits API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •