To send given Users to specific Devices you should do a
POST /api/users/export?overwrite={true|false}&id={user_id}
Where {user_id} is the user id whose data you want to send to specific devices, e.g., 5000
Body request:
{
DeviceCollection: {
rows: [
{
id: 541891252
}
]
}
}
Where id: is the Suprema Device ID to where the user information will be send.
Multiple users or multiple devices?
the approach is the same: id=5000+5001+...+{n_user_id}
and in the body request rows is an array type, then you should include the different devices' ID as rows: [{id:id1},{id:id2},...,{id:idn}]