Create a vacation substitution for another user (admin)
POST/vacation-substitutions/admin/:user_code
Admin endpoint to create a vacation substitution on behalf of another user
Request
Responses
- 201
- 400
- 401
- 403
- 409
- 429
- 500
Successfully created vacation substitution
Bad request - validation error
Unauthorized
Forbidden - admin role required
Conflict - user already has an active or scheduled vacation
Too many requests - rate limited by the API firewall; wait out the Retry-After delay before retrying
Response Headers
Retry-After
Delay in seconds a client must wait before retrying the request
Internal server error