User method

Use this method to retrieve information about the user. We do not recommend treating the response as a fixed structure as we reserve the right to extend the output with more information at any time.

Request

GET https://www.teamdesk.net/secure/api/v2/{appid}/user.{json|xml}

Retrieve information about the caller

GET https://www.teamdesk.net/secure/api/v2/21995/user.json

Response

{
    "id": 12345,
    "email": "test@test.com",
    "firstName": "Test",
    "lastName": "User",
    "role": "Default Role",
    "culture": "en-US",
    // as defined in IANA TimeZone Database
    // http://en.wikipedia.org/wiki/Tz_database
    "timezone": "America/Chicago",
    "admin": "CustomizeApplication, ManageUsers, ManageData"
}