Get users data limiting 25.
/users/1<ocid or ocid_hash>
Get data for user id 1. The user id can be a numeric value or a hash
Lookup for user whose question id (1) is equal to supplied value. The users object returned will have value of questions 1 & 2. Here for example assumed to be firstname and last name.
Return parameter defines a csv of question id that are requested back in response.
Create a new users
Parameters required to create the user needs to be sent as post data in JSON format.
Update user id 1. The user id can be a numeric value or a hash
Parameters required to update the user needs to be sent as post data in JSON format.
Get user id 1 and partner id 2's ONEcount hash. The user id can be a numeric value or a hash.
Check to see user exist with username/email and password.
Parameters required to create JSON object with u as username, e as email and p as password and sent is as POST param.
OUTPUT : Should get ocid of the user if it finds it otherwise get and error with msg user not found.
Sample response for /users/25255449<OCID or ocid_hash>
Along with the demo in json format, the active packages and products of the user referred to as products and resources respectively are also returned.