/Users/UserID GET

Returns the user id for a given username

URL
/Users
Verb
GET

Headers

Header Data Type Valid Values Required Description
Content-Type string application/json YES The format your data will be sent to our site.
X-DevKey string string YES The devkey assigned to the developer.

Input

NOTE: Variables to place in the query string of the request.

Parameter Data Type Valid Values Description
username string string Username for the user you are looking up. Special characters must be url encoded. For example, 'test+name' should be sent as 'test%2Bname'

Output

If the parameters provied are not for an existing user, you will recieve a 404 Not Found

If the parameters provied are for an existing user, you will receive a 200 OK and the following data as serialized JSON

Parameter Data Type Valid Values Description
UserId integer integer The user's identifier.