API - Remove users from a position

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!

Hi Sam,

Thanks for the report. This is a bug that we are going to have a patch to fix by today.

For total count, this only available for query operations.

Regards,
Frank

1 Like