curl --request POST \
--url http://localhost:3000/v1/scheduling/deputy/generate-pins{
"success": true,
"results": [
{
"staffId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "<string>",
"name": "<string>",
"pin": "<string>",
"status": "<string>"
}
],
"errors": [
{
"error": "<string>",
"deputyId": 123,
"name": "<string>",
"email": "<string>"
}
],
"summary": {
"staff_without_pins": 123,
"pins_generated": 123,
"errors": 123
},
"error": "<string>"
}Generates 6-digit PINs for all active staff members without a PIN.
curl --request POST \
--url http://localhost:3000/v1/scheduling/deputy/generate-pins{
"success": true,
"results": [
{
"staffId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "<string>",
"name": "<string>",
"pin": "<string>",
"status": "<string>"
}
],
"errors": [
{
"error": "<string>",
"deputyId": 123,
"name": "<string>",
"email": "<string>"
}
],
"summary": {
"staff_without_pins": 123,
"pins_generated": 123,
"errors": 123
},
"error": "<string>"
}