Create Role

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int64
required

The company id

Body Params
string
required

Role name

string
required

A hex number representing the color

integer
required

Location ID

integer
required

Department ID. If this role is not assigned to a department, this value will be zero

integer
≥ 0
Defaults to 0

The order in which the roles will be listed in the web app

string

Job code

stations
array of objects

Stations this role contains

stations
boolean
Defaults to false

When true, role is tipped. Otherwise the role is non tipped

Headers
string

7shifts API version

uuid

Company GUID

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json