Easyteam Embedded
GuidesAPIWhite-Label UIs
GuidesAPIWhite-Label UIs
  1. Schedules
  • Getting started
    • Authentication
      • Authentication Quick Start
      • Exchange Token
    • Permissions
      • Create Access Role
      • List Access Roles
      • Get Access Role
      • Update Access Role
      • Delete Access Role
  • Organizations
    • List Organizations
    • Get Organization
    • Get Organization by External ID
    • Create Organization
    • Create Organization With Defaults
    • Sync Locations
    • Update Organization
    • Delete Organization
    • Delete Organization by External ID
  • Locations
    • Retrieve all locations
    • Retrieve a specific location
    • Retrieve a specific location by external ID
    • Create a new location
    • Update a specific location
    • Delete a specific location
    • Retrieve timesheets for a specific location
    • Retrieve staff members for a specific location
  • Staff members
    • Retrieve all staff members
    • Retrieve a specific staff member
    • Retrieve a staff member by external ID
    • Retrieve staff member locations
    • Create a new staff member
    • Synchronize staff members
    • Update a specific staff member
    • Delete a specific staff member
  • Roles
    • Create a new role
    • Retrieve all roles
    • Retrieve a specific role
    • Update a specific role
    • Delete a specific role
  • Time Tracking
    • Retrieve staff member shift state
    • Clock in a staff member
    • Clock out a staff member
  • Breaks
    • Retrieve break types for a specific location
    • Create a new break type for a location
    • Update a specific break type
    • Delete a specific break type
  • Timesheets
    • Retrieve all shifts
    • Retrieve a specific shift
    • Export shifts
    • Generate per-employee shift reports
    • Generate shift reports
    • Create a new shift
    • Update a specific shift
    • Delete a specific shift
    • Delete all shifts on a specific date
  • Time Off
    • Retrieve all time off policies
    • Retrieve a policy
    • List all policy types
    • Create Policy
    • Update Policy
    • Activate Policy
    • Deactivate Policy
    • Get Worker Policies
    • List all worker policies
  • Requests and Approval
    • Get Time-Off Request
    • List Time-Offs
    • Create a time off request
    • Update Time-Off Request
    • Delete Time-Off Request
    • Approve Time-Off Request
    • Decline Time-Off Request
  • Shift Notes
    • Working with shift notes
    • List shift notes from current shift
    • Create shift note on current shift
  • Schedules
    • List all schedule entries
      GET
    • Get details for a schedule
      GET
    • Create schedule entry
      POST
    • Bulk copy schedule shifts
      POST
    • Update schedule entry
      PATCH
    • Remove schedule entry
      DELETE
    • List all draft schedule entries
      GET
    • Get details for a draft entry
      GET
    • Create draft schedule entry
      POST
    • Update draft entry
      PATCH
    • Remove draft schedule entry
      DELETE
    • Publish draft schedule
      POST
    • List open shifts
      GET
    • Get details for an open shift
      GET
    • Create open shift
      POST
    • Update open shift
      PATCH
    • Remove open shift
      DELETE
    • Claim open shift
      POST
    • Retract open shift submission
      POST
    • Create open shift preference
      POST
    • Retract open shift preference
      POST
    • Update open shift preference
      PATCH
    • Remove open shift preference
      PATCH
    • Assign or accept open shift preference
      POST
    • Bulk assign or accept open shift preferences
      POST
  • Settings
    • Retrieve organization time off settings
    • Update organization time off settings
  • Notifications
    • Coming soon
  1. Schedules

Update schedule entry

PATCH
/api/organizations/{organization_id}/locations/{location_id}/schedules/{id}
Modifies an existing schedule entry.

Request

Path Params

Body Params application/json

Examples

Responses

🟢200OK
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH '/api/organizations//locations//schedules/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "id": "string",
    "start": "string",
    "end": "string",
    "locationId": "string",
    "employeeId": "string",
    "roleName": "string",
    "timezone": "string",
    "utcOffset": 0,
    "colors": {
        "draft": {
            "background": "string",
            "text": "string",
            "borderColor": "string"
        },
        "background": "string",
        "text": "string",
        "borderColor": "string"
    },
    "breaks": [
        "string"
    ],
    "payrollId": "string"
}'
Response Response Example
{}
Modified at 2025-03-24 12:56:52
Previous
Bulk copy schedule shifts
Next
Remove schedule entry