PublishShifts

Get preview of shifts to be published

Returns all areas with unpublished shifts (including micro shifts) for the specified date range and locations

post/management/v2/shifts/publish/preview

Request

  • Base URL
    https://your-subdomain.deputy.deputy.com/api
  • URL
    https://your-subdomain.deputy.deputy.com/api/management/v2/shifts/publish/preview
  • Auth
    API key in header OAuth

Request body

locationIdsinteger[]
locationMode'ALL' | 'SELECTED'

LocationMode specifies how location filtering should be applied.

  • ALL: Include all locations accessible by the current user (no filtering)
  • SELECTED: Filter to only selected locations (requires locationIds to be provided)
startDatestring
endDatestring
status'UNPUBLISHED' | 'ALL'

Response

A successful response.

successboolean

Changes

No recorded changes to this operation across all 1 revision of this API.