Skip to main content
POST
/
v1
/
scheduling
/
deputy
/
push-all
Push all staff operational units to Deputy
curl --request POST \
  --url http://localhost:3000/v1/scheduling/deputy/push-all
{
  "success": true,
  "staff_results": [
    "<unknown>"
  ],
  "unit_updates": [
    "<unknown>"
  ],
  "errors": [
    {
      "error": "<string>",
      "deputyId": 123,
      "name": "<string>",
      "email": "<string>"
    }
  ],
  "summary": {
    "staff_processed": 123,
    "units_updated": 123,
    "errors": 123
  },
  "error": "<string>"
}

Response

200 - application/json

Push results

success
boolean
required
staff_results
null[]
required
unit_updates
null[]
required
errors
object[]
required
summary
object
error
string