A WordPress API library for accessing the IDX Broker API.
version | 1.1.0 |
---|---|
link | API Documentation |
package | WP-API-Libraries\WP-IDX-Broker-API |
author | Santiago Garza |
author | imFORZA |
__construct(string $api_key, string $partner_key= null
, string $outputtype= 'json'
, string $apiversion= '1.4.0'
) : void
access | public |
---|
string
IDX Broker API key.
string
Ancillarykey.
string
XML or JSON.
string
Version of API to use.
build_request(string $route, array $fields = array()
) : \IdxBrokerAPI
fluent | This method is part of a fluent interface and will return the same instance |
---|
string
The route to make the call to.
array
Array containing the http method and body of call. Optional for GET requests.
\IdxBrokerAPI
IdxBrokerAPI Object.delete_clients_savedlink(string $saved_links_id) : mixed
api | DELETE |
---|---|
see | Documentation. |
string
The ID of a client's saved link.
mixed
Nothing on success.delete_clients_supplemental(string $listing_id) : mixed
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 deletion of supplemental properties.
api | DELETE |
---|---|
see | Documentation. |
string
The listingID of a supplmental property.
mixed
Nothing on success.delete_clients_wrappercache() : mixed
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 deletion of supplemental properties.
api | DELETE |
---|---|
see | Documentation. |
mixed
Nothing on success.delete_lead(integer $lead_id) : mixed
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 deletion of leads.
api | DELETE |
---|---|
see | Documentation. |
integer
The ID of a lead.
mixed
Nothing on success.delete_leads_note(integer $lead_id, integer $note_id) : mixed
api | DELETE |
---|---|
see | Documentation. |
integer
The ID of a lead.
integer
The ID of the note to delete.
mixed
Nothing on success.delete_leads_property(integer $lead_id, integer $property_id) : mixed
api | DELETE |
---|---|
see | Documentation. |
integer
The ID of a lead.
integer
The ID of a property to delete.
mixed
Nothing on success.delete_leads_search(integer $lead_id, integer $search_id) : mixed
api | DELETE |
---|---|
see | Documentation. |
integer
The ID of a lead.
integer
The ID of a saved search to delete.
mixed
Nothing on success.get_clients_accounttype() : string
get_clients_agents(array $args = array()
) : array
api | GET |
---|---|
see | Documentation. |
array
Query args to send in to API call.
array
All agents on the account or those matching filter values.get_clients_apiversion() : array
get_clients_cities(string $list_id= ''
, string|array $rf= ''
) : array
api | GET |
---|---|
see | Documentation. |
string
City list id.
string
array
A string or an array of strings of return field names.
array
All cities in a given list or, if no list ID is provided, a list of list IDs.get_clients_citieslistname() : array
get_clients_counties(string $list_id= ''
, string|array $rf= ''
) : array
api | GET |
---|---|
see | Documentation. |
string
If no ID is given a list of IDs is returned.
string
array
A string or an array of strings of fields to return in the output..
array
All counties in a given list or, if no list ID is provided, a list of list IDs.get_clients_countieslistname() : array
get_clients_featured(array $args = array()
) : array
api | GET |
---|---|
see | Documentation. |
array
Query args to send in to API call.
array
Featured properties on the account.get_clients_listallowedfields(string $idx_id, string $listing_id) : array
Note: Valid ancillarykey is required in the request header.
api | GET |
---|---|
see | Documentation. |
string
The idxID of MLS.
string
The listing ID.
array
List of fields that are returnable for the listingID.get_clients_listcomponents() : array
get_clients_listing(string $idx_id, string $listing_id, string $rf= ''
, boolean $disclaimers= ''
) : array
Note: Valid ancillarykey is required in the request header.
api | GET |
---|---|
see | Documentation. |
string
The idxID of MLS.
string
The listing ID.
string
Array of fields to return in the output.
boolean
Include MLS disclaimer/courtesy in the response.
array
List of fields that are returnable for the listingID.get_clients_listmethods() : array
get_clients_offices(array $args = array()
) : array
api | GET |
---|---|
see | Documentation. |
array
Query args to send in to API call.
array
All offices on the account or those matching filter values.get_clients_postalcodes(string $list_id= ''
, array $args= array()
) : array
Note: This method was previously called as "zipcodes" but was changed to keep API format more international. Calls to "zipcodes" will be forwarded to "postalcodes" and "zipcodes" is listed as deprecated in the method list.
api | GET |
---|---|
see | Documentation. |
string
If no ID is given a list of IDs is returned.
array
Query args to send in to API call.
array
All postalcodes in a given list or, if no list ID is provided, a list of list IDs.get_clients_postalcodeslistname() : array
get_clients_properties(string $saved_links_id, array $args = array()
) : array
Note: Valid ancillarykey is required in the request header.
api | GET |
---|---|
see | Documentation. |
string
The ID of a client's saved link.
array
Query args to send in to API call.
array
All property results for a provided Saved Link ID.get_clients_savedlinks(array $args = array()
) : array
api | GET |
---|---|
see | Documentation. |
array
Query args to send in to API call.
array
All saved links on the account.get_clients_searchquery(array $args = array()
) : array
Note: Valid ancillarykey is required in the request header.
api | GET |
---|---|
see | Documentation. |
array
Query args to send in to API call.
array
All available APIs/Components.get_clients_soldpending(array $args = array()
) : array
api | GET |
---|---|
see | Documentation. |
array
Query args to send in to API call.
array
Sold/pending properties on the account.get_clients_supplemental(array $args = array()
) : array
api | GET |
---|---|
see | Documentation. |
array
Query args to send in to API call.
array
Supplemental properties on the account.get_clients_systemlinks(string|array $rf = ''
) : array
api | GET |
---|---|
see | Documentation. |
string
array
String or array of fields to return in the output.
array
The name, unique ID, and URL for all system links on the account. Additionally there
is a boolean named systemresults. If true this is a property results page that requires
additional parameters. This means the url can be useful when dynamically building
results page links but should not be linked to directly. When a client has more than
one MLS on their account, listings for search pages that can vary by MLS ID will
include a subpages array element.get_clients_zipcodes(string $list_id= ''
, string|array $rf= ''
) : array
api | GET |
---|---|
see | Documentation. |
string
If no ID is given a list of IDs is returned.
string
array
String or array of fields to return in the output.
array
All zipcodes in a given list or, if no list ID is provided, a list of list IDs..get_idx_domain() : array
array
Array containing domain 'scheme' & 'url'.get_leads(string $lead_id= ''
, array $args= array()
) : array
api | GET |
---|---|
see | Documentation. |
string
If no ID is given a list of IDs is returned.
array
Query args to send in to API call.
array
If a lead ID is provided detailed information about that lead is returned. Otherwise
simple information about all leads is returned.get_leads_listcomponents() : array
get_leads_listmethods() : array
get_leads_note(integer $lead_id, integer $note_id= ''
, array $args= array()
) : array
api | GET |
---|---|
see | Documentation. |
integer
The ID of a lead.
integer
The ID of the note to delete.
array
Query args to send in to API call.
array
Lead note information. If no note ID is sent all notes for the lead are returned. If a
note ID is passed only the one note is returned.get_leads_property(integer $lead_id, integer $property_id= ''
, array $args= array()
) : array
api | GET |
---|---|
see | Documentation. |
integer
The ID of a lead.
integer
The ID of a lead's saved property.
array
Query args to send in to API call.
array
If no property ID is passed all properties are returned. If a property ID is passed
only the information for that specified property is returned.get_leads_search(integer $lead_id, integer $search_id= ''
, array $args= array()
) : array
api | GET |
---|---|
see | Documentation. |
integer
The ID of a lead.
integer
The ID of a lead's search.
array
Query args to send in to API call.
array
An array with 2 keys. The key searchInformation that contains all existing saved search
information. The key info will return messages about any returned saved search. Currently
this info will tell you if any search's advanced fields are not valid in the IDX system.get_leadtraffic(string $lead_id, array $args = array()
) : array
For bandwidth and memory considerations there is a limit of 5,000 on the number of lead traffics that can be returned in any single request.
api | GET |
---|---|
see | Documentation. |
string
If no ID is given a list of IDs is returned.
array
Query args to send in to API call.
array
The applicable client account ID, date, lead ID, IP , page, and referrer.get_mls_age(string $idx_id, string|array $rf = ''
) : array
Note: dates/times given are UTC.
api | GET |
---|---|
see | Documentation. |
string
Format: x000 .
string
array
String or array of fields to return in the output.
array
An array of timestamps for last downloaded, last processes and last images gathered.get_mls_approvedmls(string|array $rf = ''
) : array
Note: This method was previously camelcased as "approvedMLS" but was made lower case to fit the API naming convention. Calls to "approvedMLS" will be forwarded to "approvedmls" and "approvedMLS" is listed as deprecated in the method list.
api | GET |
---|---|
see | Documentation. |
string
array
String or array of fields to return in the output.
array
A list of IDs and names for all MLSs approved for display on the client account.get_mls_cities(string $idx_id, string $filter_field= ''
, string $filter_value= ''
, string|array $rf= ''
) : array
api | GET |
---|---|
see | Documentation. |
string
Format: x000 .
string
The field to use when filtering output. Allowed values: "cityID, cityName, stateAbrv, mlsPtID".
string
The value by which to filter. Conditional on use of filterField.
string
array
String or array of fields to return in the output.
array
Available cities along with applicable city ID, property type, and state as
well as a count of the number of occurrences for each value.get_mls_counties(string $idx_id, string $filter_field= ''
, string $filter_value= ''
, string|array $rf= ''
) : array
api | GET |
---|---|
see | Documentation. |
string
Format: x000.
string
The field to use when filtering output. Allowed values: "countyID, countyName, stateAbrv, mlsPtID".
string
The value by which to filter. Conditional on use of filterField.
string
array
String or array of fields to return in the output.
array
Available counties along with applicable county ID, property type, and state
as well as a count of the number of occurrences of each value.get_mls_listcomponents() : array
get_mls_listmethods() : array
get_mls_postalcodes(string $idx_id, string $filter_field= ''
, string $filter_value= ''
, string|array $rf= ''
) : array
api | GET |
---|---|
see | Documentation. |
string
Format: x000.
string
The field to use when filtering output. Allowed values: "id, stateAbrv, mlsPtID".
string
The value by which to filter. Conditional on use of filterField.
string
array
String or array of fields to return in the output.
array
Available postalcodes along with applicable property type and state as well
as a count of the number of occurrences of each value.get_mls_prices(string $idx_id, string|array $rf = ''
) : array
api | GET |
---|---|
see | Documentation. |
string
Format: x000.
string
array
String or array of fields to return in the output.
array
A multidimensional array with the total sum and the sum for each property type.get_mls_propertycount(string $idx_id, string $count_type= ''
, integer $count_specifier= ''
) : integer
api | GET |
---|---|
see | Documentation. |
string
Format: x000.
string
Specify if you are looking for the count of a city, county, or zipcode. Allowed values: "city", "county", "zipcode".
integer
The numeric city ID, county ID, or zipcode for which you want to get a property count.
integer
An integer count of the number of properties.get_mls_propertytypes(string $idx_id, string $filter_field= ''
, string $filter_value= ''
, string|array $rf= ''
) : array
api | GET |
---|---|
see | Documentation. |
string
Format: x000.
string
The field to use when filtering output. Allowed values: "mlsPtID, mlsPropertyType".
string
The value by which to filter. Conditional on use of filterField.
string
array
String or array of fields to return in the output.
array
An array of property type information including MLS property type ID, MLS
property type name, parent property type, and subtypes.get_mls_searchfields(string $idx_id, string $filter_field= ''
, string $filter_value= ''
, string|array $rf= ''
) : array
api | GET |
---|---|
see | Documentation. |
string
Format: x000.
string
The field to use when filtering output. Allowed values: "mlsPtID, parentPtID".
string
The value by which to filter. Conditional on use of filterField.
string
array
String or array of fields to return in the output.
array
An array containing all MLS fields that are searchable according to MLS rules
and IDX guidelines. Array contains the field's name (which is the field to
be used as a key when performing a search), the display name (as should be
displayed in a search form), and both the mlsPtID and parentPtID to which
the field belongs.get_mls_searchfieldvalues(string $idx_id, integer $mls_pt_id, string $name) : array
api | GET |
---|---|
see | Documentation. |
string
Format: x000.
integer
The IDX assigned ID of the MLS property type(s). See the propertytypes method in this API/Component for a lookup of property type IDs.
string
Mls field name - the IDX assigned name of the MLS field name. See the searchfields for the list of searchable fields.
array
An array containing all the values for the given mls field.get_mls_zipcodes(string $idx_id, string $filter_field= ''
, string $filter_value= ''
, string|array $rf= ''
) : array
api | GET |
---|---|
see | Documentation. |
string
Format: x000.
string
The field to use when filtering output. Allowed values: "mlsPtID, parentPtID".
string
The value by which to filter. Conditional on use of filterField.
string
array
String or array of fields to return in the output.
array
Available zipcodes along with applicable property type and state as well as
a count of the number of occurrences of each value.get_partners_aggregatedagents(array $args = array()
) : array
api | GET |
---|---|
see | Documentation |
access | public |
array
Query args to send in to API call.
array
All available agents.get_partners_aggregatedfeatured(array $args = array()
) : array
api | GET |
---|---|
see | Documentation |
access | public |
array
Query args to send in to API call.
array
List of featured MLS properties for each client.get_partners_aggregatedleads(array $args = array()
) : array
For bandwidth and memory considerations there is a limit of 5,000 on the number of leads that can be returned in any single request. Even if a full week of data is requested this limit will only be encountered if your clients have a combined average 30+ leads created, updated, or active per hour (as such it will be most common when requesting leads based on last property update date). If this limit is exceeded a 413 -Requested Entity Too Large error is returned. If encountered a smaller interval will need to be used.
api | GET |
---|---|
see | Documentation |
access | public |
array
Query args to send in to API call.
array
The applicable client account ID, lead ID, first name, last name, email address, address, city,
state/province, country, zipCode, phone number, ID of the agent assigned, email format (html or
plain text), disabled status (y/n), allowed to log in to their account (y/n), will receive property
updates (y/n), subscribe date, last edited, last login date, last property update date, last
activity type, and last activity date.get_partners_aggregatedleadtraffic(array $args = array()
) : array
Note: For bandwidth and memory considerations there is a limit of 5,000 on the number of searches that can be returned in any single request.
api | GET |
---|---|
see | Documentation |
access | public |
array
Query args to send in to API call.
array
The applicable client account ID, date, lead ID, IP , page, and referrer.get_partners_aggregatedlistingstatus(array $args = array()
) : array
This is helpful if you need to know when previously gathered featured properties have left the market.
api | GET |
---|---|
see | Documentation |
access | public |
array
Query args to send in to API call.
array
MLS listings along with their statuses.get_partners_aggregatedproperties(array $args = array()
) : array
For bandwidth and memory considerations there is a limit of 5,000 on the number of searches that can be returned in any single request.
api | GET |
---|---|
see | Documentation |
access | public |
array
Query args to send in to API call.
array
Search ID, the applicable client account ID, lead ID, page ID, search name, search parameters, lead
will receive property updates (y/n), created date, last edited date.get_partners_aggregatedsearches(array $args = array()
) : array
For bandwidth and memory considerations there is a limit of 5,000 on the number of searches that can be returned in any single request.
api | GET |
---|---|
see | Documentation |
access | public |
array
Query args to send in to API call.
array
Search ID, the applicable client account ID, lead ID, page ID, search name, search parameters, lead
will receive property updates (y/n), created date, last edited date.get_partners_aggregatedsoldpending(array $args = array()
) : array
Output fields may or may not be populated depending on how the information was entered into the IDX system.
We are planning to add the ability to query by the date the property left the market and, for sold listings, the date it was sold in a future update.
api | GET |
---|---|
see | Documentation |
access | public |
array
Query args to send in to API call.
array
List of soldpending properties for each client.get_partners_aggregatedsupplemental(array $args = array()
) : array
Output fields may or may not be populated depending on how the information was entered into the IDX system.
api | GET |
---|---|
see | Documentation |
access | public |
array
Query args to send in to API call.
array
List of supplemental (non-MLS) properties for each client.get_partners_apiversion() : string
get_partners_availablemls() : array
get_partners_clients(array $args = array()
) : array
api | GET |
---|---|
see | Documentation |
access | public |
array
Query args to send in to API call.
array
The account ID, company name, display name, account status, and current API key of each client or
clients matching the filter values.get_partners_listcomponents() : array
get_partners_listmethods() : array
api | GET |
---|---|
see | Documentation |
access | public |
array
Basic information about all available methods in this API.get_partners_propertytypes(string $idx_id= ''
, string|array $rf= ''
) : array
Note: The IDX property types are those used for multiple MLS searches and are equivalent to the property types used in the original IDX product. The data returned is structured as:
idxPropTypes
api | GET |
---|---|
see | Documentation |
string
The IDX ID of the MLS from which you need property type information. If no IDX ID is specified then only the IDX property types (parentPtID) will be returned.
string
array
A string or an array of strings of return field names.
array
An array containing the IDX property types and, if an IDX ID has been provided,
the MLS's property types and their IDs.get_specialtypartner_pricing() : array
Note: This method is only available for specialty billing partners.
api | GET |
---|---|
see | Documentation. |
array
IDX account and agent/office add-on pricing.post_bulkleads(array $data = array()
) : mixed
Note: Each lead field should be passed as an indexed array starting at and going to, at most, 100. There must not be any gaps. LeadID is required for each lead to be updated
Data Example: $data = array( 'id[0]' = 1, 'firstName[0]' => 'John', 'lastName[0]' => 'Doe', 'email[0]' => 'john@example.com', 'id[1]' = 2, 'firstName[1]' => 'Aaron', 'lastName[1]' => 'Aaronson', 'email[1]' => 'aaron@example.com' );
api | POST |
---|---|
see | Documentation. |
array
Supplemental fields to update.
mixed
If a leads are successfully updated the updated lead IDs will be returned. If no POST
data is supplied then a list of updatable fields with format information is returned.post_clients_dynamicwrapperurl(string $dynamic_url, integer $savedlink_id= ''
, integer $page_id= ''
) : mixed
api | POST |
---|---|
see | Documentation. |
string
Dynamic wrapper url.
integer
Saved link ID if setting dynamic wrapper url for a specific saved link.
integer
Page ID if setting dynamic wrapper url for a specific page.
mixed
No data returned on success.post_clients_savedlink(string $saved_links_id, array $data = array()
) : mixed
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.
Note: The updatable fields need to be in a URL encoded, ampersand delineated query string format.
Data Example: $data = array( 'linkName' => 'Good_side_of_tracks', 'pageTitle' => 'Good_side_of_tracks', 'linkTitle' => 'Good_side_of_tracks', 'queryString' => array('idxID' => 'a001', 'hp' => '200000') );
api | POST |
---|---|
see | Documentation. |
string
The ID of a client's saved link.
array
Savedlink fields to update.
mixed
If no POST data is supplied, then a list of updatable fields with format
information is returned, otherwise on success 204 is returned.post_clients_supplemental(string $listing_id, array $data = array()
) : mixed
Note: if updating images, existing images are deleted and the new images are inserted instead for the listing.
Data Example: $data = array( 'likeIdxID' => 'a001', 'likeMlsPtID' => '1', 'images' => array('http://example.com/image1.jpg', 'http://example.com/image2.jpg') );
api | POST |
---|---|
see | Documentation. |
string
The supplemental listing ID.
array
Supplemental fields to update.
mixed
If no POST data is supplied, then a list of updatable fields with format information
is returned, otherwise on success 204 is returned.post_lead(integer $lead_id, array $data) : mixed
Data Example: $data = array( 'firstName' => 'John', 'lastName' => 'Doe', 'email' => 'john@example.com' );
api | POST |
---|---|
see | Documentation. |
integer
The ID of a lead.
array
Lead fields to update.
mixed
If a leads are successfully updated the updated lead IDs will be returned. If no POST
data is supplied then a list of updatable fields with format information is returned.post_leads_note(integer $lead_id, integer $note_id, array $data = array()
) : mixed
Data Example: $data = array( 'note' => 'Test note' );
api | POST |
---|---|
see | Documentation. |
integer
The ID of a lead.
integer
The ID of the note to update.
array
Note data.
mixed
If no data is supplied then a list of updatable fields with format information is returned.post_leads_property(integer $lead_id, integer $property_id, array $data = array()
) : mixed
Data Example:
$data = array( 'propertyName' => 'Test Property', 'property' => array('idxID' => 'a001', 'listingID' => '345678') );
api | POST |
---|---|
see | Documentation. |
integer
The ID of a lead.
integer
The ID of the note to update.
array
Property data.
mixed
If no data is supplied then a list of updatable fields with format information is returned.post_leads_search(integer $lead_id, integer $search_id, array $data = array()
) : mixed
Data Example:
$data = array( 'searchName' => 'Test Search', 'search' => array('idxID' => 'a001', 'hp' => '200000') );
api | POST |
---|---|
see | Documentation. |
integer
The ID of a lead.
integer
The ID of a lead's saved search.
array
Search data.
mixed
If a lead search is successfully created the new searches' ID will be returned. If no
data is supplied then a list of updatable fields with format information is returned.put_bulkleads(array $data = array()
) : array
Note: Each lead field should be passed as an indexed array starting at and going to, at most, 100. There must not be any gaps.
Data Example: $data = array( 'firstName[0]' => 'John', 'lastName[0]' => 'Doe', 'email[0]' => 'john@example.com', 'firstName[1]' => 'Aaron', 'lastName[1]' => 'Aaronson', 'email[1]' => 'aaron@example.com' );
api | PUT |
---|---|
see | Documentation. |
array
Supplemental fields to update.
array
If a lead is successfully created the new lead IDs will be returned. If no PUT data is
supplied then a list of updatable fields with format information is returned.put_clients_savedlink(array $data = array()
) : mixed
Note: The updatable fields need to be in a URL encoded, ampersand delineated query string format. This action is not allowed if the client has more than 1000 saved links.
Data Example: $data = array( 'linkName' => 'Good_side_of_tracks', 'pageTitle' => 'Good_side_of_tracks', 'linkTitle' => 'Good_side_of_tracks', 'queryString' => array('idxID' => 'a001', 'hp' => '200000') );
api | PUT |
---|---|
see | Documentation. |
array
Savedlink fields to create.
mixed
If a client saved link is successfully created, the new saved link's ID will be
returned. If no PUT data is supplied, then a list of updatable fields with format
information is returned.put_clients_supplemental(array $data = array()
) : mixed
Note: likeIdxID and likeMlsPtID fields are required.
Data Example: $data = array( 'likeIdxID' => 'a001', 'likeMlsPtID' => '1', 'images' => array('http://example.com/image1.jpg', 'http://example.com/image2.jpg') );
api | PUT |
---|---|
see | Documentation. |
array
Supplemental fields to create.
mixed
If a supplemental listing is successfully created, the new supplemental listing ID will be
returned. If no PUT data is supplied, then a list of updatable fields with format
information is returned.put_lead(array $data = array()
) : mixed
Special Note: Currently the API cannot differentiate between a lead rejected due to server error or one rejected due to bad email address. The lead system requires email addresses that are correctly formatted to cut down on garbage accounts, and they need to have a valid MX record. Most 500 error from this method are a result of bad email addresses. In future versions we will differentiate the error and make the MX record requirement optional.
Data Example: $data = array( 'firstName' => 'John', 'lastName' => 'Doe', 'email' => 'john@example.com' );
api | PUT |
---|---|
see | Documentation. |
array
Lead fields to create.
mixed
If a lead is successfully created the new lead's ID will be returned. If no PUT data is
supplied then a list of updatable fields with format information is returned.put_leads_note(integer $lead_id, array $data = array()
) : mixed
Data Example: $data = array( 'note' => 'Test note' );
api | POST |
---|---|
see | Documentation. |
integer
The ID of a lead.
array
Note data.
mixed
If a note is successfully created the new notes's ID will be returned. If no PUT data is
supplied then a list of updatable fields with format information is returned.put_leads_property(integer $lead_id, array $data = array()
) : mixed
Data Example:
$data = array( 'propertyName' => 'Test Property', 'property' => array('idxID' => 'a001', 'listingID' => '345678') );
api | PUT |
---|---|
see | Documentation. |
integer
The ID of a lead.
array
Property data.
mixed
If a saved property is successfully created the new property's ID will be returned.
If no data is supplied then a list of updatable fields with format information is
returned.put_leads_search(integer $lead_id, array $data = array()
) : mixed
Data Example:
$data = array( 'searchName' => 'Test Search', 'search' => array('idxID' => 'a001', 'hp' => '200000') );
api | PUT |
---|---|
see | Documentation. |
integer
The ID of a lead.
array
Search data.
mixed
If a lead search is successfully created the new searches' ID will be returned. If no
data is supplied then a list of updatable fields with format information is returned.put_specialtypartner_subscriber(array $data = array()
) : mixed
Note: this method is only available for specialty billing partners.
Data Example:
$data = array( 'product' => 'lite', 'firstName' => 'Test', 'lastName' => 'Test', 'companyName' => 'Test Company', 'address' => '1000 E Test street', 'city' => 'Eugene', 'state' => 'OR', // Use XX for international. 'zipcode' => 97402, 'primaryPhone' => '5555555555', 'email' => 'test@gmail.com', 'mlsIDList' => 'a001,a002', 'agreeToTermsOfService' => 'yes' );
api | PUT |
---|---|
see | Documentation. |
array
Subscriber data.
mixed
Nothing on successrequest() : array
access | public |
---|
array
Array of API results.response_code_msg(string $code = ''
) : string
string
Response code to get message from.
string
Message corresponding to response code sent in.check_usage() : string
string
API hourly usage count.get_response_code()
$code : integer
$args : Array
array()
(default value: array())
access | protected |
---|
$response : string
$route : string
$api_url : string
'https://api.idxbroker.com/'