Volver al catálogo

7shifts

7shifts

7shifts is a restaurant team management platform for employee scheduling, time clocking, payroll, communication, and operational workflows.

Acciones
10
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (10)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Create Department7SHIFTS_CREATE_DEPARTMENTAcción

Create a department at a company location, optionally make it the location's default department, and return its new department ID.

Parámetros de entrada

  • namestringObligatorio

    Department name, up to 155 characters. Use a unique name for temporary fixtures.

  • defaultbooleanObligatorio

    Whether this department becomes the location's default department. Use false for isolated test fixtures.

  • company_idintegerObligatorio

    Company ID in which to create the department.

  • location_idintegerObligatorio

    Location ID that will own the department.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Department7SHIFTS_DELETE_DEPARTMENTAcción

Permanently delete a department, optionally transferring its roles and shifts to another department.

Parámetros de entrada

  • company_idintegerObligatorio

    Company ID that owns the department.

  • transfer_tointeger

    Destination department ID for roles and shifts currently assigned to the deleted department; omit for an unused temporary department.

  • department_idintegerObligatorio

    Department ID to permanently delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Department7SHIFTS_GET_DEPARTMENTAcción

Return one department by company and department ID.

Parámetros de entrada

  • company_idintegerObligatorio

    Company ID that owns the department.

  • department_idintegerObligatorio

    Department ID to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get User Assignments7SHIFTS_GET_USER_ASSIGNMENTSAcción

Return one user's assigned locations, departments, and roles in a single read.

Parámetros de entrada

  • user_idintegerObligatorio

    User ID whose location, department, and role assignments to return.

  • company_idintegerObligatorio

    Company ID that owns the user.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Companies7SHIFTS_LIST_COMPANIESAcción

Return companies available to the connected access token, including the company IDs needed by company-scoped tools.

Parámetros de entrada

  • modified_sincestringdate

    Return only companies modified on or after this date in YYYY-MM-DD format.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Departments7SHIFTS_LIST_DEPARTMENTSAcción

List one page of departments in a company, optionally filtered by location or modification date, with a cursor when more are available.

Parámetros de entrada

  • limitinteger

    Maximum departments to return in this page (1-200).

  • cursorstring

    Opaque next_cursor from a previous response; omit for the first page.

  • company_idintegerObligatorio

    Company ID whose departments to return.

  • location_idinteger

    Return departments belonging to this location.

  • modified_sincestringdate

    Return only departments modified on or after this date in YYYY-MM-DD format.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Locations7SHIFTS_LIST_LOCATIONSAcción

List one page of locations in a company and return location IDs used to filter schedules, users, and departments, with a cursor when more are available.

Parámetros de entrada

  • limitinteger

    Maximum locations to return in this page (1-500).

  • cursorstring

    Opaque next_cursor from a previous response; omit for the first page.

  • deletedboolean

    Whether to return deleted locations instead of active locations.

  • company_idintegerObligatorio

    Company ID whose locations to return.

  • modified_sincestringdate

    Return only locations modified on or after this date in YYYY-MM-DD format.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Shifts7SHIFTS_LIST_SHIFTSAcción

List one page of scheduled shifts for a company with employee, location, department, role, time-range, publication-state, and open-shift filters, with a cursor when more are available.

Parámetros de entrada

  • openboolean

    Filter by whether shifts are open for workers to request.

  • draftboolean

    Return only unpublished draft shifts; overrides the deleted filter.

  • limitinteger

    Maximum shifts in this page (1-500).

  • cursorstring

    Opaque next_cursor from a previous response; omit for the first page.

  • deletedboolean

    Return published shifts that were deleted; cannot be combined with draft.

  • end_gtestringdate-time

    Return shifts ending on or after this ISO 8601 date-time.

  • end_ltestringdate-time

    Return shifts ending on or before this ISO 8601 date-time.

  • role_idinteger

    Return shifts assigned to this role.

  • sort_bystringenum

    Sort shifts by start or end time.

    startend
  • user_idinteger

    Return shifts assigned to this user.

  • sort_dirstringenum

    Sort direction.

    ascdesc
  • shift_idsinteger[]

    Return only these shift IDs. Sent as one comma-separated query value.

  • start_gtestringdate-time

    Return shifts starting on or after this ISO 8601 date-time.

  • start_ltestringdate-time

    Return shifts starting on or before this ISO 8601 date-time.

  • company_idintegerObligatorio

    Company ID whose shifts to return.

  • location_idinteger

    Return shifts at this location.

  • department_idinteger

    Return shifts in this department.

  • include_draftboolean

    Include draft shifts with published shifts; overrides the deleted and draft filters.

  • department_idsinteger[]

    Return shifts in any of these departments.

  • modified_sincestringdate-time

    Return only shifts modified on or after this ISO 8601 date-time.

  • include_deletedboolean

    Include deleted shifts with other matching shifts.

  • consider_tz_in_rangesboolean

    Honor offsets in supplied start/end range date-times instead of treating them as local location time.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Users7SHIFTS_LIST_USERSAcción

List employees and administrators in a 7shifts company, with optional status, name, and one assignment filter. Returns one page and an opaque cursor when more users are available.

Parámetros de entrada

  • namestring

    Filter by a partial or full employee name.

  • limitinteger

    Maximum users to return in this page (1-500).

  • cursorstring

    Opaque next_cursor from a previous response; omit for the first page.

  • statusstringenum

    Return only active or inactive users.

    activeinactive
  • role_idinteger

    Return users assigned to this role; do not combine with location_id or department_id.

  • sort_bystring

    Provider-supported field and direction used to sort the page.

  • company_idintegerObligatorio

    Company ID whose users to return.

  • location_idinteger

    Return users assigned to this location; do not combine with department_id or role_id.

  • department_idinteger

    Return users assigned to this department; do not combine with location_id or role_id.

  • modified_sincestringdate

    Return only users modified on or after this date in YYYY-MM-DD format.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Department7SHIFTS_UPDATE_DEPARTMENTAcción

Replace a department's name and default setting.

Parámetros de entrada

  • namestringObligatorio

    Complete replacement name for the department.

  • defaultbooleanObligatorio

    Complete replacement for whether this is the location's default department.

  • company_idintegerObligatorio

    Company ID that owns the department.

  • department_idintegerObligatorio

    Department ID to update.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not