rtm.locations.getList
Description
Retrieves a list of locations.
Availability
Available in versions 1 and 2.
Authentication
This method requires authentication with read permissions.
Arguments
api_key
(Required) 1 2- Your API application key. See here for more details.
Example Response
<locations>
<location id="987654321" name="Berlin" longitude="13.411508"
latitude="52.524008" zoom="9" address="Berlin, Germany" viewable="1"/>
<location id="987654322" name="New York" longitude="-74.00713"
latitude="40.71449" zoom="9" address="New York, NY, USA" viewable="1"/>
<location id="987654323" name="Sydney" longitude="151.216667"
latitude="-33.8833333" zoom="7"
address="Sydney, New South Wales, Australia" viewable="1"/>
...
</locations>
Error Codes
96 Invalid signature
- The passed signature was invalid.
97 Missing signature
- The call required signing but no signature was sent.
98 Login failed / Invalid auth token
- The login details or auth token passed were invalid.
99 User not logged in / Insufficient permissions
- The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.
100 Invalid API Key
- The API key passed was not valid or has expired.
105 Service currently unavailable
- The requested service is temporarily unavailable.
114 Invalid SOAP envelope
- The SOAP envelope sent in the request could not be parsed.
115 Invalid XML-RPC Method Call
- The XML-RPC request document could not be parsed.
120 Method not valid for requested version
- The requested method is not compatible with the requested version.