Title User – Create or update User information in the Nathean Analytics System
URL /User
URL Params
Header Authorization: “OAuth {user_token}”
Data Params Example:
{ “AuthenticateKey”: “Logix”, “UserName”:“testuser”, “Password”:“testuser”, “FirstName”:“test”, “Surname”:“user”, “Domain”: “LGX_DOM”, “IsDisable”:“false”, “Domain”:”“, “Roles”:”[ “admin”, “publisher” ]”, “Attributes”:”{ “userID”:“admin”, “dept”:“Sales” }”, “AuthenticateRole”: “admin”
Success Response Code: 200
Content: { “ErrorMessage”:”“, “SuccessFlag”:“true” }
Error Response Content: { “ErrorMessage”:“errorString”, “SuccessFlag”:“false”, }
Sample Call $.ajax({ url: “/User”, dataType: “json”, data : { “AuthenticateKey”: “Logix”, “UserName”:“testuser”, “Password”:“testuser”, “FirstName”:“test”, “Surname”:“user”, “IsDisabled”:“false”, “Domain”:”“, “Roles”:”[” “admin”, “publisher” “]”, Attributes “userID”:“admin”, “dept”:“Sales” }, “AuthenticateRole”: “admin” }, type : “POST
_.Notes POST to create a new user, PUT to update an existing one. POST
will also update an existing one but is less efficient as it will attempt
to create the new user first.
Revision: 9
Last modified: Jun 22, 2020


Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment