This article will guide you through sending user data to specific device(s) via BioStar 2 API.
POST /api/users/export?overwrite={true|false}&id={user ids}
This API sends user data to a device.
[Query Parameters]
Parameter | Type | Required | Description |
---|---|---|---|
overwrite | boolean | Y | Toggle to overwrite data on the device. True to overwrite. Default is true. |
id | Number | Y | Id of the users that will be sent to the device. To send multiple users' data, use plus sign (+) as separator. ex) 1+2+3+4 |
[Body Parameters]
Parameter | Type | Required | Description |
---|---|---|---|
id | Number | Y | Id of the device. To send data to multiple devices, add all the devices' Ids in the rows array. |
[Example Request Body]
If successful, you'll receive a 200 HTTP status code with a response body that looks like below.