Batch Update Tasks

put

/api/restapi/workManagerTask/batch

Send a request to this endpoint to update one or more tasks.

Request

Query Parameters
  • Enabling this boolean flag automatically adjusts the tentativeDueDate of dependent tasks if the updated tentativeDueDate of a task overlaps with that of its predecessor or successor dependent tasks.
    Default Value: false
Supported Media Types
Request Body - application/json ()
Root Schema : List<ApiEntityWorkManagerTaskInput>
Type: array
Title: List<ApiEntityWorkManagerTaskInput>
Show Source
  • ApiEntityWorkManagerTaskInput
    Title: ApiEntityWorkManagerTaskInput
    This entity represents a WorkManagerTask object, a unique WorkManagerTask object can be identified by the following combinations of the fields.
    • workManagerTaskId
    • itemCode,project,projectCompanyId
    • itemCode,projectCode,workspaceCode,projectCompanyId
    • itemCode,project,companyName,companyPostalCode,projectCompanyColor
    • itemCode,projectCode,workspaceCode,companyName,companyPostalCode,projectCompanyColor
Nested Schema : ApiEntityWorkManagerTaskInput
Type: object
Title: ApiEntityWorkManagerTaskInput
This entity represents a WorkManagerTask object, a unique WorkManagerTask object can be identified by the following combinations of the fields.
  • workManagerTaskId
  • itemCode,project,projectCompanyId
  • itemCode,projectCode,workspaceCode,projectCompanyId
  • itemCode,project,companyName,companyPostalCode,projectCompanyColor
  • itemCode,projectCode,workspaceCode,companyName,companyPostalCode,projectCompanyColor
Show Source
Nested Schema : codeValues
Type: array
The list of code values for a work manager task. This entity can only be used to assign codeValues or create codeValues on the fly.
Show Source
  • ApiEntityCodeValueWorkManagerTaskInput
    Title: ApiEntityCodeValueWorkManagerTaskInput
    This entity represents a CodeValueWorkManagerTask object, a unique CodeValueWorkManagerTask object can be identified by the following combinations of the fields.
    • codeValueTasksId
    • codeValueId
    • codeTypeId,codeValueCode
    • codeTypeCode,codeValueCode
    • codeTypeCode,parentId,codeValueCode
    • codeValueCode,codeTypeId,parentId
    • codeTypeCode,codeValueCode,projectCode
    • codeTypeCode,codeValueCode,projectId
    • codeTypeCode,codeValueCode,parentId,projectCode
    • codeTypeCode,codeValueCode,parentId,projectId
Nested Schema : configuredFields
Type: array
The list of configured fields for a work manager task.
Show Source
  • ApiEntityWorkManagerTaskConfiguredFieldValueInput
    Title: ApiEntityWorkManagerTaskConfiguredFieldValueInput
    This entity represents a WorkManagerTaskConfiguredFieldValue object, a unique WorkManagerTaskConfiguredFieldValue object can be identified by the following combinations of the fields.
    • workManagerTaskConfiguredFieldValueId
    • columnDefinitionId
    • columnName
    • columnLabel
Nested Schema : taskConstraints
Type: array
List of work manager task constraints.
Show Source
  • ApiEntityTaskConstraintInput
    Title: ApiEntityTaskConstraintInput
    This entity represents a TaskConstraint object, a unique TaskConstraint object can be identified by the following combinations of the fields.
    • taskConstraintId
    • constraintId,workManagerTaskId
Nested Schema : ApiEntityCodeValueWorkManagerTaskInput
Type: object
Title: ApiEntityCodeValueWorkManagerTaskInput
This entity represents a CodeValueWorkManagerTask object, a unique CodeValueWorkManagerTask object can be identified by the following combinations of the fields.
  • codeValueTasksId
  • codeValueId
  • codeTypeId,codeValueCode
  • codeTypeCode,codeValueCode
  • codeTypeCode,parentId,codeValueCode
  • codeValueCode,codeTypeId,parentId
  • codeTypeCode,codeValueCode,projectCode
  • codeTypeCode,codeValueCode,projectId
  • codeTypeCode,codeValueCode,parentId,projectCode
  • codeTypeCode,codeValueCode,parentId,projectId
Show Source
Nested Schema : ApiEntityWorkManagerTaskConfiguredFieldValueInput
Type: object
Title: ApiEntityWorkManagerTaskConfiguredFieldValueInput
This entity represents a WorkManagerTaskConfiguredFieldValue object, a unique WorkManagerTaskConfiguredFieldValue object can be identified by the following combinations of the fields.
  • workManagerTaskConfiguredFieldValueId
  • columnDefinitionId
  • columnName
  • columnLabel
Show Source
Nested Schema : ApiEntityTaskConstraintInput
Type: object
Title: ApiEntityTaskConstraintInput
This entity represents a TaskConstraint object, a unique TaskConstraint object can be identified by the following combinations of the fields.
  • taskConstraintId
  • constraintId,workManagerTaskId
Show Source
Examples

Back to Top

Response

200 Response

A collection of object IDs mapped to a canonical link of the object with corresponding warning messages if any warnings were generated while processing the update request. For example - {"links":{"1":"https://[host]:[port]/api/restapi/[object]/1","2":"https://[host]:[port]/api/restapi/[object]/2"},"warnings":[{"primaryKeyName":"objectIdFieldName","uniqueFieldName":"object_code_01","uniqueFieldValue":"objectCodeFieldName","primaryKeyValue":1,"warningMessages":["warning_message_1","warning_message_2"]}]}

400 Response

Invalid input for the Task service.
Back to Top