Generates a random PIN within the specified range Returns ()
This generates a random pin and tracks the pins already in use that way it ensured a new pin everytime.
| Name | Description |
|---|---|
| folder | The folder to generate the PIN for |
| lowValue | The minimum value for the PIN |
| highValue | The maximum value for the PIN |
Example in C#
// Returns: Int64
var item = await client.GetRandomPinAsync(FolderInfo folder, Int64 lowValue, Int64 highValue);
Example in CURL
curl -X GET \
'https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/randompin?lowValue=1000&highValue=9999' \
-H 'Authorization: Bearer TOKEN_GOES_HERE'