Please note
This resource can be read by all users except time trackers. And, unlike other objects, users can only be read, not created or edited over the mite.api.
Show all active users
GET /users.xml
Lists all active users, sorted by name.
Response : 200 OK
<?xml version="1.0" encoding="UTF-8"?>
<users type="array">
<user>
...
</user>
<user>
...
</user>
</users>
You can limit the output by using the parameters name and/or email:
GET /users.xml?email=@mail.com
Lists all active users with an e-mail-adress containing '@mail.com'. Upper / lower case will be ignored.
Per default the API returns all matching users. You can limit the output by using the limit parameter:
GET /users.xml?limit=100
Returns the first 100 matching users. To access users per page, use the page attribute:
GET /users.xml?limit=100&page=2
Returns users 101 to 200.
Show all archived users
GET /users/archived.xml
Lists all archived services, sorted by name. You can limit the output by using the parameters name and/or email here as well.
Show a single user
GET /users/{id}.xml
Returns a single user.
Response : 200 OK
<?xml version="1.0" encoding="UTF-8"?>
<user>
<id type="integer">2</id>
<name>Susan Smart</name>
<email>susan@email.com</email>
<note></note>
<archived type="boolean">false</archived>
<role>admin</role>
<language>en</language>
<created-at type="datetime">2007-06-23T23:00:58+02:00</created-at>
<updated-at type="datetime">2009-02-14T00:33:26+01:00</updated-at>
</user>
