Hi YeeFlow,
I just try the API to assign a user to a position (BindingType: 3
- Position binds to a location) with no problem.
But when I try API to remove the user from the position (Remove users from a position), it removes all the user on the group.
My API details are below:
URL:
https://api.yeeflow.com/v1/positions/1665640094748905472/users/remove
Json:
{
"UserIDs": [
1562661727083696128
],
"TargetID": 1656188612077424640,
"BindingType": 3
}
Result:
{
"Data": "True",
"Status": 0,
"Message": null,
"TotalCount": 0
}
Also the API result “TotalCount” should show the number of affected records?
Please kindly assist me with this matter whenever you have some free time.
Many thank!