paymo.users.getInfo

Get information about a user.

Authentication

This method requires authentication.

Arguments

api_key (Required)
Your application key. See here for more details.
auth_token (Required)
Authentication token received upon login.
user_id (Required)
The ID of the user to fetch information about.

Example Response

<?xml version="1.0" encoding="UTF-8"?> <response status="ok"> <user id="1279" isadmin="0"> <username>johndoe</username> <realname>John Doe</realname> <email>johndoe@company.com</email> <phone>555-131-2428</phone> <photo_url>http://johnscompany.paymo.biz/photos/users/1279.jpg</photo_url> <workday_hours>8</workday_hours> <workday_start>09:00</workday_start> <workday_end>17:00</workday_end> <job_position>Editor</job_position> <timezone>US/Eastern</timezone> <date_format>%H:%M</date_format> <time_format>%d/%m/%Y</time_format> </user> </response>

Error Codes

101: Unknown API method
The requested method was not found.
102: Unknown response format
The requested response format was not found.
103: Invalid API Key
The API key passed was not valid.
104: Invalid auth token / Login failed
The login details or auth token passed were invalid.
105: Insufficient permissions
The user making the method call did not have the required permissions.
106: Service currently unavailable
The service is temporarily unavailable.
107: Too many requests for this API key
The application has reached the limit for number of API calls during a specific time period. Wait a bit and try again.
202: User not found
The user with given ID was not found.