Planfix API contact.updateUserInfo

From Planfix
Jump to: navigation, search

This function updates the information about the user's authentication in the system. Admin rights are required to execute this function:

<?xml version="1.0" encoding="UTF-8"?>
<request method="contact.updateUserInfo">
Name Type Value Note
id int contact identifier
userid int contact identifier for cases when it is used in the system on par with employees (task assignee, etc., as well as a custom contact type field)
general int contact number
user information about the account used for logging in
user.password string password
user.status enum status see the list of acceptable values in the custom statuses section string email address
user.jabber string Jabber account used in the notification system
user.notifyByEmail bool receive notifications by email setting this parameter to 1 (use) requires a filled email field
user.notifyByJabber bool receive notifications via jabber setting this parameter to 1 (use) requires a filled jabber field
user.notifyByPlanfix bool eceive notifications via the internal Planfix notification system
user.pic string base64encoded image
signature string(32) signature

Result of successful function execution:

<?xml version="1.0" encoding="UTF-8"?>
<response status="ok">
Name Type Value Note int contact identifier

Otherwise, an error response will be returned:

<?xml version="1.0" encoding="UTF-8"?>
<response status="error">

Go To