A presentation covering all apects of IDX Broker's CSS and API customizations.
Learn more about the IDX Broker Developer Partner program: http://bit.ly/DeveloperProgram
3. Multiple saved links
• The creation of saved links in the
IDX broker system is a very
common task.
• An iteration of saved links in an city,
subdivision, or area by price range
is great for SEO, but time-
consuming.
• Customization goes beyond client-
side cosmetics and can be applied
with tools making set-ups easier.
6. PUT, POST, and DELETE
Available as of version
1.1 of the IDX Broker API
is the addition of the
PUT, POST, and DELETE
methods for Saved Links.
7. PUT, POST, and DELETE
With this method you can:
• Create new saved links via the
API
• Modify existing saved links via
API call
• Delete save links via API call
8. PUT, POST, and DELETE
• All saved links are question mark
(?) and ampersand (&)
delineated.
• While a GET call will return these
? and & strings, all PUT and POST
API calls should create and array
and encode.
9. PHP Example
$data = array(
'linkName'=> 'Good_side_of_tracks',
// the link's url
'pageTitle'=>'Good_side_of_tracks',
// the title tag
'linkTitle'=>'Good_side_of_tracks',
// how the link displays
'queryString'=>array('idxID'=>'a001','hp'=>200000)
);
$data = http_build_query($data);
// encode and & delineate
10. PUT, POST, and DELETE
• Of saved links created via API,
there is a limit of 1000.
• This is to prevent abuse of
programmatically creating saved
links.
• If this limit is reached, a status
code of 417 will be returned for
PUT and POST API calls.
11. DELETE
• This method is to be used at your own
risk.
• We will NOT be held accountable for
programmatic errors in your code or the
improper use of search values or
options within said values resulting in
broken saved links.
• A successful call will require the ID of
the saved link to be deleted. This will
return 204 upon success.
12. Create a Price Range of Saved Links
Choose a saved link to create
a price range of saved link
The output will be the saved link
with hp and lp ranges set to:
100000 to 200000
200000 to 300000
300000 to 400000
400000 to 500000
http code: 200
13. Range of Saved Links
Link Name: Rental
Link Query: page=homes&idxsrp=4512
&city[]=1316&ccz=city &aw_address=123+fake
UID: 2120-78368
Create price range links from this link
14. Range of Saved links
saved link ID = 2120-78368
url string = page=homes&idxsrp=4512&city[]=1316
&ccz=city&aw_address=123 fake link name = Rental
Returned code: 200
If 200 returned the link Rental100000to200000 was added
Returned code: 200
If 200 returned the link Rental200000to300000 was added
Returned code: 200
If 200 returned the link Rental300000to400000 was added
Returned code: 200
If 200 returned the link Rental400000to500000 was added
23. CSS Logged In versus
Logged Out
• IDX Broker can have different CSS
rules based on whether or not the
visitor is logged in.
• This can help you to change
content for the public versus
leads.
• Be sure that any changes don't
violate MLS rules.
24. Logged Out
.IDX-notLoggedIn .IDX-resultsAddressNumber
{display: none;}
.IDX-notLoggedIn .IDX-resultsAddressDirection
{display: none;}
.IDX-notLoggedIn .IDX-resultsAddressName
{display: none;}
.IDX-notLoggedIn .IDX-
resultsEndAddressCommaOne {display: none;}
.IDX-notLoggedIn .IDX-resultsAddressZip::after
{content: " signup to see address";}
25. Logged In
• Here you can see that
when logged in, the
previous CSS has no
effect and allows the
lead to see all of the
address information.
26. • You can check out all the example scripts at
GitHub.
• https://github.com/antonioortegajr/
Editor's Notes
Everyone has seen these links. Iterations of an area with price.
Let's look at the process.
csv files from other systems often do no match the fields IDX Broker has in Platinum
csv files from other systems often do no match the fields IDX Broker has in Platinum
We just need to map the csv to json and send
The heavy lifting is done by the provided sample API call