【发布时间】:2021-04-01 18:58:00
【问题描述】:
我正在尝试使用 jQuery Ajax 通过 API 更新 processmaker 用户
但我不知道如何从 jQuery Ajax 发布数据
我阅读了 wiki,但没有样本存在
请给我一个样品。
这是我的数据:
{
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": {
"code": 400,
"message": "Bad Request: This user: , can not update the data."
}
}
【问题讨论】:
标签: jquery ajax api processmaker