API Method /users/locales/list

Lists all locales attached to a user.

Arguments

authentication
This method requires the usual authentication arguments.
id string
The user's ID. If not specified, the authenticated user by default.

Example Request

Here's an example request URL:

http://api.eventful.com/rest/users/locales/list?...&id=eventor

Output Parameters

Output from this function is an XML block with the following constructs:
locales
A list of locales associated with the user. Each locale entry has the following structure:
name string
The locale name.
modified string
The timestamp the selected user's locale was last modified.
 

Example XML Response

<?xml version="1.0" encoding="UTF-8"?>

<locales>
	<locale>
	  <name>San Diego</name>
	  <modified>2005-11-14 11:42:39.282878</modified>
	</locale>
	...
</locales>

Error Codes

This method may return these errors in an error document:

Authentication error
The specified user was not found or provided invalid credentials.
 
Not found
The user id was not found.