# 7shifts

> Read restaurant staffing and time records, manage roles and draft shifts, and watch for changes in 7shifts.

App · 21 actions. Web page: https://docs.lodol.com/docs/integrations/seven-shifts

## Actions

### Create role

Create role.

**Inputs**

- Company (`company_id`, number, required): The company id
- Name (`name`, text, required): Role name
- Color (`color`, text, required): A hex number representing the color
- Location (`location_id`, number, required): Location ID
- Department (`department_id`, number, required): Department ID. If this role is not assigned to a department, this value will be zero
- Sort (`sort`, number): The order in which the roles will be listed in the web app. At least 0. Default: `0`.
- Job code (`job_code`, text): Job code
- Stations (`stations`, list): Stations this role contains
- Is tipped role (`is_tipped_role`, true/false): When true, role is tipped. Otherwise the role is non tipped. Default: `false`.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": {
      "color": "example",
      "color_code": "example",
      "color_dark": "example",
      "company_id": 1,
      "created": "example",
      "department_id": 1,
      "id": 1,
      "is_tipped_role": false,
      "job_code": "example",
      "location_id": 1,
      "modified": "example",
      "name": "example",
      "num_stations": 1,
      "sort": 1,
      "stations": []
    },
    "object": "role"
  }
}
```

### Create shift

Create shift.

**Inputs**

- Company (`company_id`, number, required): Company ID
- Location (`location_id`, number, required): Shift ID
- User (`employee_id`, number): User ID
- Department (`department_id`, number): Department ID. Required if the location uses departments.
- Role (`role_id`, number): Role ID. Required if the location uses roles.
- Station id (`station_id`, number): Station Number
- Start (`start`, date and time, required): Start date time of the shift. UTC in ISO8601 format.
- End (`end`, date and time, required): End date time of the shift. UTC in ISO8601 format.
- Close (`close`, true/false): Set to true if the shift ends at closing time. If set, end is not used.
- Business decline (`business_decline`, true/false): Set to true if the shift ends at business decline.
- Notes (`notes`, text): Notes displayed on a shift.
- Draft (`draft`, true/false): If true the shift is not published.
- Notified (`notified`, true/false): If true the user has been notified of the published shift.
- Open (`open`, true/false): Set to true if the shift is not assigned to any user. Open shifts can be requested by users.
- Open offer type (`open_offer_type`, number): Set when open is true. Set to 1 for everyone can request an open shift; set to 1 if only offered to specified role.
- List in job network (`list_in_job_network`, true/false): Set to true if the shift should be made available to the 7shifts job network.
- Job network wage (`job_network_wage`, number): The wage to offer the shift at in the 7shifts job network.
- Unassigned (`unassigned`, true/false): Internal use only
- Unassigned skill level (`unassigned_skill_level`, number): The skill level required for this shift. One of: `1`, `2`, `3`.
- Status (`status`, number): Shift status type. 0 - none, 1 - sick, 2 - no show, 3 - late, 4 - call out, 5 - left late. One of: `0`, `1`, `2`, `3`, `4`, `5`.
- Late minutes (`late_minutes`, number): Number of minutes a user can clock in late after the shift starts.
- Breaks (`breaks`, list): Breaks to be created with the shift

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": {
      "attendance_status": "none",
      "breaks": [],
      "business_decline": false,
      "close": false,
      "created": "example",
      "custom_flag": {
        "color": "example",
        "id": 1,
        "name": "example"
      },
      "deleted": false,
      "department_id": 1,
      "draft": false,
      "end": "example",
      "hourly_wage": 1.0,
      "id": 1,
      "late_minuets": 1,
      "location_id": 1,
      "modified": "example",
      "notes": "example",
      "notified": false,
      "open": false,
      "open_offer_type": "all_location_members",
      "publish_status": "draft",
      "role_id": 1,
      "soft_deleted": "example",
      "start": "example",
      "station": 1,
      "station_id": 1,
      "station_name": "example",
      "unassigned": false,
      "unassigned_skill_level": 1,
      "user_id": 1
    },
    "object": "shift"
  }
}
```

### Delete role

Delete role.

**Inputs**

- Company (`company_id`, number, required): Company ID
- Role (`role_id`, number, required): Role ID

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {}
}
```

### Delete shift

Delete shift.

**Inputs**

- Company (`company_id`, number, required): Company ID
- Shift id (`shift_id`, number, required): Shift ID

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {}
}
```

### Get employee

Get employee.

**Inputs**

- Company (`company_id`, number, required): Company ID
- Identifier (`identifier`, text, required): User ID. Accepted values are 7shifts user id or punch id. Use prefix punch: for punch id
- Include inactive (`include_inactive`, true/false): include inactive users

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": {
      "active": false,
      "address": "example",
      "appear_as_employee": false,
      "birth_date": "example",
      "city": "example",
      "company_id": 1,
      "created": "example",
      "email": "example",
      "employee_id": "example",
      "first_name": "example",
      "home_number": "example",
      "hourly_wage": 1,
      "id": 1,
      "identity_id": 1,
      "invite_accepted": "example",
      "invite_status": "accepted",
      "invited": "example",
      "is_new": false,
      "language": "example",
      "last_name": "example",
      "max_weekly_hours": "example",
      "meta": {
        "identity_status": "created",
        "readonly_fields": []
      },
      "mobile_number": "example",
      "modified": "example",
      "notes": "example",
      "notify_ot_risk": false,
      "permissions_template_id": 1,
      "photo": "example",
      "postal_zip": "example",
      "preferred_first_name": "example",
      "preferred_last_name": "example",
      "pronouns": "example",
      "prov_state": "example",
      "punch_id": "example",
      "push": false,
      "reactivation_status": "accepted",
      "skill_level": 1,
      "sms_me_schedules": false,
      "subscribe_to_updates": false,
      "timezone": "example",
      "type": "employee",
      "wage_type": "example"
    },
    "object": "user"
  }
}
```

### Get identity

Get identity.

**Inputs**: None.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": {
      "identity_id": 1,
      "users": []
    },
    "object": "whoami"
  }
}
```

### Get location

Get location.

**Inputs**

- Company (`company_id`, number, required): Company ID
- Location (`location_id`, number, required): Location ID

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": {
      "auto_send_log_book_time": "example",
      "city": "example",
      "company_id": 1,
      "country": "example",
      "created": "example",
      "deleted": false,
      "department_based_budget": false,
      "formatted_address": "example",
      "fri_hours_close": "example",
      "fri_hours_open": "example",
      "fri_is_closed": false,
      "hash": "example",
      "holiday_pay": false,
      "id": 1,
      "lat": 1.0,
      "lng": 1.0,
      "mapping_id": "example",
      "message": "example",
      "modified": "example",
      "mon_hours_close": "example",
      "mon_hours_open": "example",
      "mon_is_closed": false,
      "name": "example",
      "place_id": "example",
      "sat_hours_close": "example",
      "sat_hours_open": "example",
      "sat_is_closed": false,
      "shift_feedback": false,
      "state": "example",
      "sun_hours_close": "example",
      "sun_hours_open": "example",
      "sun_is_closed": false,
      "thu_hours_close": "example",
      "thu_hours_open": "example",
      "thu_is_closed": false,
      "timezone": "example",
      "timezone_updated": false,
      "tue_hours_close": "example",
      "tue_hours_open": "example",
      "tue_is_closed": false,
      "wed_hours_close": "example",
      "wed_hours_open": "example",
      "wed_is_closed": false
    },
    "object": "location"
  }
}
```

### Get role

Get role.

**Inputs**

- Company (`company_id`, number, required): Company ID
- Role (`role_id`, number, required): Role ID

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": {
      "color": "example",
      "color_code": "example",
      "color_dark": "example",
      "company_id": 1,
      "created": "example",
      "department_id": 1,
      "id": 1,
      "is_tipped_role": false,
      "job_code": "example",
      "location_id": 1,
      "modified": "example",
      "name": "example",
      "num_stations": 1,
      "sort": 1,
      "stations": []
    },
    "object": "role"
  }
}
```

### Get shift

Get shift.

**Inputs**

- Company (`company_id`, number, required): Company ID
- Shift id (`shift_id`, number, required): Shift ID
- Include deleted (`include_deleted`, true/false): Return the shift even if its deleted

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": {
      "attendance_status": "none",
      "breaks": [],
      "business_decline": false,
      "close": false,
      "created": "example",
      "custom_flag": {
        "color": "example",
        "id": 1,
        "name": "example"
      },
      "deleted": false,
      "department_id": 1,
      "draft": false,
      "end": "example",
      "hourly_wage": 1.0,
      "id": 1,
      "late_minuets": 1,
      "location_id": 1,
      "modified": "example",
      "notes": "example",
      "notified": false,
      "open": false,
      "open_offer_type": "all_location_members",
      "publish_status": "draft",
      "role_id": 1,
      "soft_deleted": "example",
      "start": "example",
      "station": 1,
      "station_id": 1,
      "station_name": "example",
      "unassigned": false,
      "unassigned_skill_level": 1,
      "user_id": 1
    },
    "object": "shift"
  }
}
```

### Get time punch

Get time punch.

**Inputs**

- Company (`company_id`, number, required): Company ID
- Time punch id (`time_punch_id`, number, required): Time punch ID

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": {
      "approved": false,
      "auto_clocked_out": false,
      "breaks": [],
      "clocked_in": "example",
      "clocked_in_offline": false,
      "clocked_out": "example",
      "clocked_out_offline": false,
      "company_id": 1,
      "created": "example",
      "deleted": false,
      "department_id": 1,
      "editable_punch": false,
      "hourly_wage": 1,
      "id": 1,
      "location_id": 1,
      "modified": "example",
      "notes": "example",
      "pos_type": "example",
      "role_id": 1,
      "shift_id": 1,
      "tips": 1,
      "user_id": 1
    },
    "object": "time_punch"
  }
}
```

### List availability

List availability. Returns one page; use its continuation fields to request the next page.

**Inputs**

- Company (`company_id`, number, required): Company ID
- Cursor (`cursor`, text): Cursor for the next or previous page of results.
- Limit (`limit`, number): The number results desired per page. From 1 to 500. Default: `100`.
- Location (`location_id`, number): Location ID
- User (`employee_id`, number): User ID
- Status (`status`, number): Return availabilities for a specified status (pending = 0, approved = 1, declined = 2).
- Repeating (`repeating`, true/false): Return repeating or weekly availabilities.
- Week gte (`week_gte`, text): Return availabilities for a specific week.
- Week to include repeating gte (`week_to_include_repeating_gte`, text): Return repeating availabilities that end before or on a specified week.
- Order field (`order_field`, text): The field that availabilities will be sorted by.
- Order dir (`order_dir`, text): The direction that availabilities will be sorted by.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": [],
    "meta": {
      "cursor": {
        "count": 1,
        "current": "example",
        "next": "example",
        "prev": "example"
      }
    },
    "object": "availability"
  }
}
```

### List companies

List companies.

**Inputs**

- Modified since (`modified_since`, text): Return companies that have been modified since the specified date. Format YYYY-MM-DD

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": [],
    "object": "companies"
  }
}
```

### List departments

List departments. Returns one page; use its continuation fields to request the next page.

**Inputs**

- Company (`company_id`, number, required): Company ID
- Modified since (`modified_since`, text): Return departments that have been modified since the specified date. Format YYYY-MM-DD
- Cursor (`cursor`, text): Cursor for the next or previous page of results.
- Limit (`limit`, number): The number of results desired per page.
- Location (`location_id`, number): Return departments that match the provided location ID

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": [],
    "meta": {
      "cursor": {
        "count": 1,
        "current": "example",
        "next": "example",
        "prev": "example"
      }
    },
    "object": "departments"
  }
}
```

### List employees

List employees. Returns one page; use its continuation fields to request the next page.

**Inputs**

- Company (`company_id`, number, required): Company ID
- Modified since (`modified_since`, text): Return users that have been modified since the specified date. Format YYYY-MM-DD
- Location (`location_id`, number): Location ID (cannot be used in conjunction with Department ID and Role ID)
- Department (`department_id`, number): Department ID (cannot be used in conjunction with Location ID and Role ID)
- Role (`role_id`, number): Role ID (cannot be used in conjunction with Location ID and Department ID)
- Status (`status`, text): The user status. One of: `active`, `inactive`.
- Name (`name`, text): Filter by partial or full employee name
- Sort by (`sort_by`, text): Sort the paginated result by the given field and direction.
- Cursor (`cursor`, text): Cursor for the next or previous page of results.
- Limit (`limit`, number): The number of results desired per page. From 1 to 500. Default: `100`.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": [],
    "meta": {
      "cursor": {
        "count": 1,
        "current": "example",
        "next": "example",
        "prev": "example"
      }
    },
    "object": "users"
  }
}
```

### List locations

List locations. Returns one page; use its continuation fields to request the next page.

**Inputs**

- Company (`company_id`, number, required): Company ID
- Modified since (`modified_since`, text): Return locations that have been modified since the specified date. Format YYYY-MM-DD
- Deleted (`deleted`, true/false): When TRUE the search will return deleted locations. Default: `false`.
- Cursor (`cursor`, text): Cursor for the next or previous page of results.
- Limit (`limit`, number): The number of results desired per page. From 1 to 500. Default: `100`.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": [],
    "meta": {
      "cursor": {
        "count": 1,
        "current": "example",
        "next": "example",
        "prev": "example"
      }
    },
    "object": "locations"
  }
}
```

### List roles

List roles. Returns one page; use its continuation fields to request the next page.

**Inputs**

- Company (`company_id`, number, required): Company ID
- Location (`location_id`, number): Location ID - if provided all roles from this location will be included in the response
- Department (`department_id`, number): Department ID - if provided all roles from this Department will be included in the response
- Ids (`ids`, list): Role IDs
- Modified since (`modified_since`, text): Return roles that have been modified since the specified date. Format YYYY-MM-DD
- Cursor (`cursor`, text): Cursor for the next or previous page of results.
- Limit (`limit`, number): The number of results desired per page.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": [],
    "meta": {
      "cursor": {
        "count": 1,
        "current": "example",
        "next": "example",
        "prev": "example"
      }
    },
    "object": "roles"
  }
}
```

### List shifts

List shifts. Returns one page; use its continuation fields to request the next page.

**Inputs**

- Company (`company_id`, number, required): Company ID
- Cursor (`cursor`, text): Cursor for the next or previous page of results.
- Limit (`limit`, number): The number of results desired per page. From 1 to 500. Default: `100`.
- Location (`location_id`, number): Location ID
- Shift ids (`shift_ids`, list): A comma separated list of Shift IDs
- Department (`department_id`, number): Department ID
- Department ids (`department_ids`, list): Department IDs
- Role (`role_id`, number): Role ID
- User (`employee_id`, number): User ID
- Start[lte] (`start_lte`, date and time): Return shifts that start before or on specified date. In ISO8601 Format
- Start[gte] (`start_gte`, date and time): Return shifts that start after or on specified date time. In ISO8601 Format
- End[lte] (`end_lte`, date and time): Return shifts that end before or on specified date time. In ISO8601 Format
- End[gte] (`end_gte`, date and time): Return shifts that end after or on specified date time. In ISO8601 Format
- Deleted (`deleted`, true/false): Return shifts that were published and have been deleted. Cannot be combined with draft. Default: `false`.
- Include deleted (`include_deleted`, true/false): Return shifts that are deleted. Default: `false`.
- Draft (`draft`, true/false): Return shifts that are in draft. Draft shifts have created, edited or deleted but not been published. Overrides deleted flag. Default: `false`.
- Include draft (`include_draft`, true/false): Return shifts that are published, and also shifts in draft. Overrides deleted flag and draft flag. Default: `false`.
- Open (`open`, true/false): Return shifts that are open. Open shifts means anyone can request to take it and not assigned to any individual.
- Modified since (`modified_since`, date and time): Return only shifts that have been modified from specified date time. In ISO8601 Format
- Sort by (`sort_by`, text): Sort by either start or end
- Sort dir (`sort_dir`, text): Sort by direction (asc, desc)
- Consider tz in ranges (`consider_tz_in_ranges`, true/false): When passing start[lte], start[gte], end[lte], or end[gte] parameters, consider the offset passed. Previously we ignored the offset and treated all datetimes as local location time. Default: `true`.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": [],
    "meta": {
      "cursor": {
        "count": 1,
        "current": "example",
        "next": "example",
        "prev": "example"
      }
    },
    "object": "shifts"
  }
}
```

### List time off

List time off. Returns one page; use its continuation fields to request the next page.

**Inputs**

- Company (`company_id`, number, required): Company ID
- Location (`location_id`, number): Location ID
- User (`employee_id`, number): User ID
- Status (`status`, number): Status code from your 7shifts time-off records. Leave empty for every status.
- Category (`category`, text): Category. One of: `paid`, `unpaid`, `paid_sick` (Paid sick).
- To date gte (`to_date_gte`, text): Return time offs that end after a specified date.
- Sort by (`sort_by`, text): Sort by column. One of: `created`, `from_date` (From date).
- Sort dir (`sort_dir`, text): Sort by direction (asc, desc). One of: `asc`, `desc`.
- Cursor (`cursor`, text): Cursor for the next or previous page of results.
- Limit (`limit`, number): The number of results desired per page.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": [],
    "meta": {
      "cursor": {
        "count": 1,
        "current": "example",
        "next": "example",
        "prev": "example"
      }
    }
  }
}
```

### List time punches

List time punches. Returns one page; use its continuation fields to request the next page.

**Inputs**

- Company (`company_id`, number, required): Company ID
- Location (`location_id`, number): Location ID
- Department (`department_id`, number): Department ID
- Role (`role_id`, number): Role ID
- User (`employee_id`, number): User ID
- Approved (`approved`, true/false): Returns time punches that have been approved. Default null, returns both approved and unapproved punches. If true returns only approved punches. If false returns only unapproved punches.
- Limit (`limit`, number): The limit of results that will be returned. Default: `20`.
- Modified since (`modified_since`, date and time): Return time punches that have been modified after the specified date time. UTC in ISO8601 Format
- Clocked in[lte] (`clocked_in_lte`, date and time): Return time punches with clocked in before or on the specified date. UTC in ISO8601 format
- Clocked in[gte] (`clocked_in_gte`, date and time): Return time punches with clocked in after or on the specified date. UTC in ISO8601 format
- Clocked out[lte] (`clocked_out_lte`, date and time): Return time punches with clocked out before or on the specified date. UTC in ISO8601 format
- Clocked out[gte] (`clocked_out_gte`, date and time): Return time punches with clocked out after or on the specified date. UTC in ISO8601 format
- Include deleted (`include_deleted`, true/false): Deprecated, see 'deleted'. Default: `false`.
- Deleted (`deleted`, true/false): Returns punches filtered by deleted status. Default false, returns undeleted punches. If true returns only deleted punches. if value is null then returns both deleted and undeleted punches. Default: `false`.
- Localize search time (`localize_search_time`, true/false): If true, convert any date ranges to consider the local timezone of the punches. If false, date ranges will be in UTC. Default: `false`.
- Flags (`flags`, list): A comma separated list of flags to filter time punches by. One or more of: `late`, `auto_clocked_out` (Auto clocked out), `missed_break` (Missed break).
- Employee approval statuses (`employee_approval_statuses`, list): A comma-separated list of employee approval statuses to filter time punches by. One or more of: `pending`, `approved`, `disputed`.
- Cursor (`cursor`, text): Cursor for the next or previous page of results.
- Sort by (`sort_by`, text): The name of the field and direction you want the results ordered by.
- Business date start (`business_date_start`, text): Return time punches with business date (based on clocked in date) after or on the specified date. UTC in ISO8601 format. If used, it will take priority over all other clocked in/out date filters.
- Business date end (`business_date_end`, text): Return time punches with business date (based on clocked in date) before or on the specified date. UTC in ISO8601 format. If used, it will take priority over all other clocked in/out date filters.

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": [],
    "meta": {
      "cursor": {
        "count": 1,
        "current": "example",
        "next": "example",
        "prev": "example"
      }
    },
    "object": "time_punches"
  }
}
```

### Update role

Update role. Fields left empty keep their current values.

**Inputs**

- Company (`company_id`, number, required): Company ID
- Role (`role_id`, number, required): Role ID
- Department (`department_id`, number): Department ID. If this role is not assigned to a department, this value will be zero
- Sort (`sort`, number): The order in which the roles will be listed in the web app. At least 0.
- Color (`color`, text): A hex number representing the color
- Name (`name`, text): Role name
- Job code (`job_code`, text): Job code
- Stations (`stations`, list): Stations this role contains
- Is tipped role (`is_tipped_role`, true/false): When zero, role is a non tipped role, when one, role is tipped role

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": {
      "color": "example",
      "color_code": "example",
      "color_dark": "example",
      "company_id": 1,
      "created": "example",
      "department_id": 1,
      "id": 1,
      "is_tipped_role": false,
      "job_code": "example",
      "location_id": 1,
      "modified": "example",
      "name": "example",
      "num_stations": 1,
      "sort": 1,
      "stations": []
    },
    "object": "role"
  }
}
```

### Update shift

Update shift. Fields left empty keep their current values.

**Inputs**

- Company (`company_id`, number, required): Company ID
- Shift id (`shift_id`, number, required): Shift ID
- Location (`location_id`, number): Location ID
- User (`employee_id`, number): User ID
- Department (`department_id`, number): Department ID. Required if the location uses departments
- Role (`role_id`, number): Role ID. Required if the location uses roles
- Station id (`station_id`, number): The station assigned to the shift
- Start (`start`, date and time): Start date time of the shift. UTC in ISO8601 format
- End (`end`, date and time): End date time of the shift. UTC in ISO8601 format
- Close (`close`, true/false): Set to true if the shift ends at closing time. If set end is not used.
- Business decline (`business_decline`, true/false): Set to true if the shift ends at business decline.
- Notes (`notes`, text): Notes displayed on a shift
- Draft (`draft`, true/false): If true the shift is not published.
- Open (`open`, true/false): Set to true if the shift is not assigned to any user. Open shifts can be requested by users.
- Open offer type (`open_offer_type`, number): Set when open is true. Set to 0 when everyone at a location can request an open shift; set to 1 if only offered to specified role. One of: `0`, `1`, `2`, `3`.
- Unassigned (`unassigned`, true/false): When true the shift is unassigned. Internal use only.
- Unassigned skill level (`unassigned_skill_level`, number): The skill level required for this shift. * 1: Beginner * 2: Intermediate * 3: Experienced. One of: `1`, `2`, `3`.
- Status (`status`, number): Shift status type. * -1: Custom (requires custom_flag_id) * 0: None * 1: Sick * 2: No Show * 3: Late * 4: Call Out * 5: Left Late. One of: `-1`, `0`, `1`, `2`, `3`, `4`, `5`.
- Custom flag id (`custom_flag_id`, number): Custom shift flag ID. Required when status is -1. Must match a company custom shift flag.
- Late minutes (`late_minutes`, number): Number of minutes a user can clock in late after the shift starts.
- Breaks (`breaks`, list): Breaks to be updated with the shift

**Outputs**

- `data` (object): Returned value.

**Example output**

```json
{
  "data": {
    "data": {
      "attendance_status": "none",
      "breaks": [],
      "business_decline": false,
      "close": false,
      "created": "example",
      "custom_flag": {
        "color": "example",
        "id": 1,
        "name": "example"
      },
      "deleted": false,
      "department_id": 1,
      "draft": false,
      "end": "example",
      "hourly_wage": 1.0,
      "id": 1,
      "late_minuets": 1,
      "location_id": 1,
      "modified": "example",
      "notes": "example",
      "notified": false,
      "open": false,
      "open_offer_type": "all_location_members",
      "publish_status": "draft",
      "role_id": 1,
      "soft_deleted": "example",
      "start": "example",
      "station": 1,
      "station_id": 1,
      "station_name": "example",
      "unassigned": false,
      "unassigned_skill_level": 1,
      "user_id": 1
    },
    "object": "shift"
  }
}
```
