# Read a shift assignment

Returns one person's place on one shift: the status they are at, the times they
checked in and out, the break they took, any rating recorded, and the account's
own configured attributes for an assignment.

All three ids in the URL have to line up - the shift must belong to the event and
the assignment must belong to the shift - otherwise the response is a 404.

Endpoint: GET /api/v2/event/{event_id}/shift/{shift_id}/user/{id}
Version: 2.0.0
Security: default

## Path parameters:

  - `event_id` (integer, required)
    The ID of the event.

  - `shift_id` (integer, required)
    The ID of the shift.

  - `id` (integer, required)
    The ID of the shift assignment.

## Query parameters:

  - `leader_mode` (boolean)
    Return the reduced view a shift leader is shown,
carrying only the check-in and check-out fields rather than the whole assignment.

## Header parameters:

  - `Rosterfy-Platform` (string)

## Response 200 fields (application/json):

  - `object` (object)

  - `object.id` (integer)

  - `object.event_shift_id` (integer)

  - `object.user_id` (integer)

  - `object.post_shift_feedback_form_completed_at` (string | null)

  - `object.precheckin_form_completed_at` (string | null)

  - `object.event_shift_status_id` (integer)

  - `object.demand` (integer)

  - `object.break` (string | null)

  - `object.start_timestamp` (string | null)

  - `object.end_timestamp` (string | null)

  - `object.cost` (string)

  - `object.cost_meta` (array)

  - `object.meta` (string | null)

  - `object.latitude` (string | null)

  - `object.longitude` (string | null)

  - `object.payment_authorization_id` (string | null)

  - `object.waitlist_notification_last_sent_at` (string | null)

  - `object.timesheet_status` (string)

  - `object.rating` (string | null)

  - `object.demand_expire` (string | null)

  - `object.deleted_at` (string | null)

  - `object.is_erased` (integer)

  - `object.created_at` (string)

  - `object.updated_at` (string)

  - `object.deleted_by` (string | null)

  - `nice` (object)

  - `nice.rrn` (string)

  - `nice.journey_step` (string)

  - `nice.journey_step_category` (string)

  - `nice.created_at` (string)

  - `nice.created_at__date` (string)

  - `nice.created_at__time` (string)

  - `nice.created_at__offset` (string)

  - `nice.created_at__offset_minutes` (integer)

  - `nice.created_at__dayofweek` (string)

  - `nice.event_shift_status_id` (string)

  - `nice.event_shift_status_id:value` (integer)

  - `nice.event_shift_status_id:array` (string)

  - `nice.payment_authorization_id` (string)

  - `nice.timesheet_status` (string)

  - `nice.timesheet_status:value` (string)

  - `nice.timesheet_status:array` (string)

  - `nice.updated_at` (string)

  - `nice.updated_at__date` (string)

  - `nice.updated_at__time` (string)

  - `nice.updated_at__offset` (string)

  - `nice.updated_at__offset_minutes` (integer)

  - `nice.updated_at__dayofweek` (string)

  - `nice.attended` (object)

  - `nice.attended.seconds` (integer)

  - `nice.attended.minutes` (integer)

  - `nice.attended.hours` (integer)

  - `nice.attended.pretty` (string)

  - `nice.attended_without_checkout` (object)

  - `nice.attended_without_checkout.seconds` (integer)

  - `nice.attended_without_checkout.minutes` (integer)

  - `nice.attended_without_checkout.hours` (integer)

  - `nice.attended_without_checkout.pretty` (string)

  - `nice.event_id` (integer)

  - `nice.event_name` (string)

  - `nice.is_event_leader` (boolean)

  - `nice.is_leader` (boolean)

  - `nice.checkin_location` (array)

  - `nice.shift_name` (string)

  - `nice.user_name` (string)

  - `nice.requires_pre_checkin` (boolean)

  - `nice.has_shift_attended_form` (boolean)

  - `nice.has_checkin_form` (boolean)

  - `nice.has_checkout_form` (boolean)

  - `nice.shift_checkin_visible_attributes` (array)

  - `nice.has_confirmed` (boolean)

  - `nice.has_rejected` (boolean)

  - `nice.has_cancelled` (boolean)

  - `relations` (object)

  - `permissions` (object)

  - `permissions.read` (boolean)

  - `permissions.update` (boolean)

  - `permissions.delete` (boolean)

  - `permissions.status_update` (boolean)

  - `permissions.precheckin` (boolean)

  - `permissions.checkin` (boolean)

  - `permissions.checkout` (boolean)

  - `permissions.submitAttendedForm` (boolean)

  - `attributes` (object)

  - `is_leader` (integer)

