If you have your own system and would like to lookup a property listing based on the list ID or keyword or to get all your listings data without our dashboard, we have just created an API allowing you to do just that. This API is for server to server communication, in case you have your own CRM system or something similar to manage your customer base.
- Url: https://mcpn.us/limeApi?ev=lookupPropertyListing
- You must supply one of the following parameters: listid / keyword / all
- Parameters (case sensitive, bold are mandatory):
Parameter Name (Case Sensitive)
|
Value |
Description |
Default Value |
user |
Advertiser username |
The advertiser’s username that matches the api_id |
None |
api_id |
Advertiser Api Id |
The advertiser’s api_id that matches the username |
Generated from edit profile |
name |
List name |
List name |
|
listid |
Number |
List Id |
The list id for lookup |
keyword |
Full keyword value i.e "house3 (71441-US)" / "house5 (40691)" |
The keyword of the listing |
|
all |
true |
To get a list of all your listings |
|
Return Code
- If the API succeeds then it will return with status code 200 with xml
- If an error occurs or there is an invalid parameter then it returns with status code 400 or 500 with an error message in the response.
- If an error occurs or there is an invalid parameter then it returns with status code 400 or 500 with an error message in the response.
Example:
http://login.limecellular.com/limeApi?ev=lookupPropertyListing=username&api_id=a4HI43WyFK83821B&listid=398
XML:
If it's one listing lookup that is answer to the parameters: listid or keyword than the XML will be with one listing:
<?xml version="1.0" encoding="UTF-8" ?>
<listing>
<id>398</id>
<name>My Listing</name>
<keyword>house3 (71441-US)</keyword>
<price>$ 1,223,344</price>
<address>12 main St New York NY 10123</address>
<bed>3</bed>
<bath>4</bath>
<description />
<url />
<optInList />
<coupon />
<sendToMyEmail>false</sendToMyEmail>
<notifyEmail />
<notifyNumber />
</listing>
If it's a numbers of listing lookup that is answer to the parameters: all than the XML will be with list of listing:
<?xml version="1.0" encoding="UTF-8" ?>
<listings>
<listing>
<id>398</id>
<name>My Listing</name>
<keyword>house3 (71441-US)</keyword>
<price>$ 1,223,344</price>
<address>12 main St New York NY 10123</address>
<bed>3</bed>
<bath>4</bath>
<description />
<url />
<optInList />
<coupon />
<sendToMyEmail>false</sendToMyEmail>
<notifyEmail />
<notifyNumber />
</listing>
<listing>
<id>399</id>
<name>New Listing</name>
<keyword>house5 (71441-US)</keyword>
<price>$ 320,00</price>
<address>14 main St New York NY 10123</address>
<bed>3</bed>
<bath>1</bath>
<description />
<url />
<optInList />
<coupon />
<sendToMyEmail>false</sendToMyEmail>
<notifyEmail />
<notifyNumber />
</listing>
<listings>
Comments
0 comments
Article is closed for comments.