modify to latest information API
This API will execute add /modify /delete by organization data
{
"code": 200,
"message": "success",
"response": {
{
"clear" : "0",
"users" :
[
{
"userId" : "developer@email.com",
"userName" : "developer",
"userRole" : "1",
"className" : "manager",
"deptId" : "dept01"
},
{
"userId" : "tester@email.com",
"userName" : "tester",
"userRole" : "0",
"deptId" : "dept02"
}
],
"depts" :
[
{
"deptId" : "dept01",
"deptName" : "development part"
},
{
"deptId" : "dept02",
"deptName" : "test part",
"deptUpId" : "dept01"
}
]
}
}
}
{
"code": 400,
"message": "Parameter is required.",
"response": null
}
{
"code": 500,
"message": "Internal Server Error",
"response": null
}
{
"code": 1002,
"message": "Invalid parameter. {parameterName} : {parameterValue}",
"response": null
}
{
"code": 1006,
"message": "Exceeded total number of users.",
"response": null
}
{
"code": 2001,
"message": "Duplicate {parameterName} : {parameterValue}",
"response": null
}