Generates a new account



To submit data to the server, you will need to create standard credentials for an account. These credentials can be used to access the PEAKS Profiling platform via API or, if you need to disseminate to your users, they can use these credentials to access the platform via web interface




Parameters



Parameter



Value


action

GENERATEUSERID

token        

{token generated using GENERATETOKEN}

profile

4 (DEFAULT) -  60 QUESTIONS

7            - 270 QUESTIONS

170         - 360KIDS SELF

171         - 360KIDS PARENTS

172         - 360KIDS TEACHERS

173         - 360KIDS OTHERS
444         - 15 QUESTIONS




rated


UserID TO RATE
to be used for the 360KIDS type of profiles, excluding SELF

format


JSON / XML




Success Response





USER:{UserID}|PASSWORD:{Password}




JSON





{  
   "USER": "...",

   "PASSWORD": "..."

 






Errors


Code


Description


ERROR001

Login details not in the database

ERROR002

Wrong Admin ID associated to the login

ERROR003

Wrong “profile”. Please note that this parameter is required ONLY if the profile is not a 60 questions otherwise it can be omitted and, by default, a password for a 60 question profile will be generated.

ERROR004

It was requested the generation of a 360KIDS ID for Parent/Teacher/Other but no “rated” ID was specified

ERROR800

There are no more licenses left for the type of profile you are trying to generate the USER ID for. Please contact the sales department to add new licenses to your account. 



Created with the Personal Edition of HelpNDoc: Produce electronic books easily