Skip to main content
API: getLocation
Bryan Nye avatar
Written by Bryan Nye
Updated over 4 years ago

To retrieve the details of a location already in our system use the MetaLocator.getLocation api function call.

MetaLocator.getLocation

Use our API Test tool to obtain the latest documentation on this and other API methods.

Parameters:

Username (String) : Your MetaLocator Username
Password (String) : Your MetaLocator Password
ID (Integer): The ID number of the location.

Returns:

A single XMLRPC Struct object containing the complete location details.

An example of a complete response follows:

<methodResponse>
<params>
<param>
<value><struct>
<member><name>id</name>
<value><string>9</string></value>
</member>
<member><name>name</name>
<value><string>Bark &apos;n Purr Doggy Day Care</string></value>
</member>
<member><name>type</name>
<value><string></string></value>
</member>
<member><name>description</name>
<value><string></string></value>
</member>
<member><name>published</name>
<value><string>1</string></value>
</member>
<member><name>user_id</name>
<value><string></string></value>
</member>
<member><name>geo_failed</name>
<value><string>0</string></value>
</member>
<member><name>address</name>
<value><string>123 MetaLocator Way</string></value>
</member>
<member><name>address2</name>
<value><string></string></value>
</member>
<member><name>city</name>
<value><string>Auston</string></value>
</member>
<member><name>state</name>
<value><string>Texas</string></value>
</member>
<member><name>postalcode</name>
<value><string>78756</string></value>
</member>
<member><name>country</name>
<value><string>United States</string></value>
</member>
<member><name>date</name>
<value><string></string></value>
</member>
<member><name>startdate</name>
<value><string>0000-00-00 00:00:00</string></value>
</member>
<member><name>enddate</name>
<value><string>0000-00-00 00:00:00</string></value>
</member>
<member><name>phone</name>
<value><string>512- 452-3883</string></value>
</member>
<member><name>hours</name>
<value><string></string></value>
</member>
<member><name>fax</name>
<value><string></string></value>
</member>
<member><name>link</name>
<value><string></string></value>
</member>
<member><name>email</name>
<value><string></string></value>
</member>
<member><name>icon</name>
<value><string></string></value>
</member>
<member><name>tld</name>
<value><string></string></value>
</member>
<member><name>image</name>
<value><string></string></value>
</member>
<member><name>metadescription</name>
<value><string></string></value>
</member>
<member><name>metakeywords</name>
<value><string></string></value>
</member>
<member><name>language</name>
<value><string>en-US</string></value>
</member>
<member><name>sourcefile</name>
<value><string>en-de-short-not-geocoded.csv</string></value>
</member>
<member><name>lng</name>
<value><string>-97.7408795</string></value>
</member>
<member><name>lat</name>
<value><string>30.3171592</string></value>
</member>
<member><name>tag1</name>
<value><string></string></value>
</member>
<member><name>tag2</name>
<value><string></string></value>
</member>
<member><name>tag3</name>
<value><string></string></value>
</member>
<member><name>lobbyhours</name>
<value><string></string></value>
</member>
<member><name>bankservices</name>
<value><string></string></value>
</member>
<member><name>driveuphours</name>
<value><string></string></value>
</member>
<member><name>tellerlanguages</name>
<value><string></string></value>
</member>
<member><name>practicearea</name>
<value><string></string></value>
</member>
<member><name>specialty</name>
<value><string></string></value>
</member>
<member><name>troop</name>
<value><string>test, test2, est3</string></value>
</member>
<member><name>serviceunit</name>
<value><string></string></value>
</member>
<member><name>publishstart</name>
<value><string></string></value>
</member>
<member><name>publishend</name>
<value><string></string></value>
</member>
<member><name>marker</name>
<value><string></string></value>
</member>
<member><name>marker_shadow</name>
<value><string></string></value>
</member>
<member><name>marker_text</name>
<value><string></string></value>
</member>
<member><name>fg_marker_color</name>
<value><string></string></value>
</member>
<member><name>bg_marker_color</name>
<value><string></string></value>
</member>
<member><name>priority</name>
<value><string></string></value>
</member>
<member><name>priority_name</name>
<value><string></string></value>
</member>
<member><name>taglist</name>
<value><string></string></value>
</member>
<member><name>title</name>
<value><string>Bark &apos;n Purr Test</string></value>
</member>
</struct></value>
</param>
</params>
</methodResponse>
Did this answer your question?