I'm trying to update processmaker Users by API with jQuery Ajax
but I don't know how to post data from jQuery Ajax
I read wiki but no sample exist
please give me a sample.
This is my data:
{
usr_birthday: "2019-09-14"
usr_create_date: "2019-09-14 00:47:00"
usr_due_date: "2021-09-14"
usr_email: "Administrator@oautomation.ir"
usr_firstname: "fghf"
usr_lastname: "fghfgh"
usr_photo_path: "/opt/processmaker/workflow/public_html/images/user.gif"
usr_role: "PROCESSMAKER_OPERATOR"
usr_status: "ACTIVE"
usr_uid: "1082202175d7bf93c319774069666327"
usr_update_date: "2019-09-14 00:47:00"
usr_username: "Administrator"
usr_ux: "NORMAL"
}
Error:
{
"error": {
"code": 400,
"message": "Bad Request: This user: , can not update the data."
}
}