projects

Create Hourly Report Root Preset

Changed on

Creates a new hourly report root preset and initiates asynchronous processing; the response includes an async_task object that can be used to track completion.

Token scopes: timesheets:write

post/timesheets/root-presets

Request

  • Base URL
    https://api.letsdeel.com/rest
  • Auth
    HTTP bearer

Request body

object required
file, string binary nullable

Optional file attachment for the root preset

type, 'RATE' | 'TRACKING'

The type of preset, RATE – indicates a preset that overrides the default contract rate, TRACKING - used exclusively for tracking, applying the default contract rate

title, string required

The title of the hourly report root preset (maximum 255 characters)

description, string

Detailed description of the root preset's purpose and usage (maximum 30000 characters)

hourly_report_presets, TimesheetsRootPresetsPostRequestBodyContentApplicationJsonSchemaHourlyReportPresetsItems[]

Array of preset configurations to be created along with the root preset

hourly_report_presets_processing_type, 'ASYNC' | 'SYNC'

Determines whether presets should be processed synchronously or asynchronously

Response

Successful operation.

ProjectsCreateRootTimesheetsPresetResponse200 required
data, TimesheetsRootPresetsPostResponsesContentApplicationJsonSchemaData required

Container object with the identifier of the newly created root preset.

Changes

    • warning

      removed the optional property error from the response with the status

    • warning

      removed the optional property errors/items/path from the response with the status

    • warning

      removed the optional property request from the response with the status

    4 more changes in this revision