Get the User ID and user email for a user. 


JSON Request Example: 

/**
 * Users::GetUser
 */
{
  "username": "bob",
  "usertoken": "abc123",
  "requesttype": "Users",
  "requestmethod": "GetUser"
}
HTML
JavaScript


"json_request" element


Field NameDescription
usernameUsername used to login to Pinpointe
usertokenUnique token assigned to Pinpointe account
requesttypeUsers
requestmethodGetUser



Successful Response:


"response" element


Field NameDescription
statusWill return SUCCESS if a user was successfully found.
useridReturns the user ID
usernameReturns the user name 
useremailReturns the user's email address
webserverReturns the webserver the user is on 


Unsuccessful Response:


"response" element


Field NameDescription
statusWill return FAILED if unsuccessful
errormessageText explaining why request failed