v1

latestOpenAPI 3.0.12026-07-24241275527.9 KB
Dependencies

Create Dependency

Add dependency between tasks. If a dependency already exists, attempting to recreate will result in an error.

<b>Scopes:</b> Default, wsReadWrite

post/tasks/{taskId}/dependencies

Path parameters

taskIdstring required

Query parameters

predecessorIdstring required

Add predecessor task, only one of predecessorId/successorId fields can be specified

successorIdstring required

Add successor task, only one of predecessorId/successorId fields can be specified

relationType'FinishToFinish' | 'StartToStart' | 'StartToFinish' | 'FinishToStart' required
  • FinishToFinish - Finish to finish. Allowed only when predecessor and successor are Planned or Milestone tasks
  • StartToStart - Start to start. Allowed only when both predecessor and successor are Planned tasks
  • StartToFinish - Start to finish. Allowed only when predecessor is Planned, and successor is Planned or Milestone task
  • FinishToStart - Finish to start. Allowed only when predecessor is Planned or Milestone, and successor is Planned task

Relation between Predecessor and Successor

  • FinishToFinish - Finish to finish. Allowed only when predecessor and successor are Planned or Milestone tasks
  • StartToStart - Start to start. Allowed only when both predecessor and successor are Planned tasks
  • StartToFinish - Start to finish. Allowed only when predecessor is Planned, and successor is Planned or Milestone task
  • FinishToStart - Finish to start. Allowed only when predecessor is Planned or Milestone, and successor is Planned task
lagTimenumber

Always in minutes, positive numbers are lag time and negative numbers are lead time

Always in minutes, positive numbers are lag time and negative numbers are lead time

Response

success response

kind'accounts' | 'users' | 'contacts' | 'assets' | 'eDiscoveryReport' | 'folders' | 'folderTree' | 'tasks' | 'taskIds' | 'timelogs' | 'timelogCategories' | 'timelogLockPeriods' | 'timetrackerTimers' | 'comments' | 'attachments' | 'url' | 'version' | 'dataExport' | 'dataExportSchema' | 'auditLog' | 'accessRoles' | 'stream' | 'changes' | 'posts' | 'mailSettings' | 'integrationInfo' | 'gmailIntegrationSettings' | 'workTypesForIntegrations' | 'ids' | 'backups' | 'domains' | 'dependencies' | 'workflows' | 'workschedules' | 'workscheduleExclusions' | 'workscheduleUserExclusions' | 'customfields' | 'customfieldIds' | 'customstatuses' | 'invitations' | 'notifications' | 'jobroles' | 'placeholders' | 'groups' | 'session' | 'dashboards' | 'widgets' | 'taskCreationSettings' | 'colors' | 'experiments' | 'topics' | 'topicComments' | 'webhooks' | 'reviews' | 'boards' | 'textSearch' | 'chatChannels' | 'chatMessages' | 'forms' | 'requestForms' | 'request' | 'report' | 'platformWidgets' | 'platformWidgetInstances' | 'spaces' | 'pdf' | 'customerSatisfaction' | 'asyncJob' | 'approvals' | 'highlights' | 'highlightsList' | 'highlightsSettings' | 'highlightsCard' | 'timesheet' | 'timesheetRow' | 'timesheetSubmissionRule' | 'mobileFeatures' | 'mobileSettings' | 'folderBlueprintTree' | 'taskBlueprintTree' | 'feedback' | 'timeline_snapshot' | 'contactIds' | 'bookings' | 'integrateThreshold' | 'hourlyRatesProvision' | 'hourlyRates' | 'projectTeamMembers' | 'contactsHistory' | 'tasksHistory' | 'foldersHistory' | 'activityDigest' | 'workItemTemplates' | 'workTemplates' | 'workItemMetadata' | 'workItem' | 'customItemTypes' | 'verificationCode' | 'views' | 'listView' | 'tableView' | 'userTypes' | 'reactions' | 'externalRequesters' | 'workscheduleCapacityOverrides' | 'userCapacityOverrides' | 'userCapacityExclusions' | 'rollups' | 'requestFormPrefill' | 'userAggregatedCapacity' | 'cascadingFieldSettings'