Add a worker request rule to a location

Create a worker request rule and link it to the location or location group specified in the request.

Body Params
rule
object
required
string
enum
required

Type of worker request (dropShift, shiftClaim, timeOffRequest)

Allowed:
string
enum
required

Type of rule (autoApprove, autoReject)

Allowed:
uuid

Location UUID to associate the rule with

uuid

Location group UUID to associate the rule with

Responses

400

Bad request

500

Internal server error

Language
Credentials
OAuth2
Missing 1 required scope
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json