POST api/workplan/{id}/tasks/{taskid}

Update Task

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

taskid

globally unique identifier

Required

Body Parameters

TasksRequest
NameDescriptionTypeAdditional information
Name

string

None.

Fields

Dictionary of string [key] and Object [value]

None.

WorkTypeId

globally unique identifier

None.

ParentTaskId

globally unique identifier

None.

Integration

TaskIntegrationInfo

None.

Assignments

Dictionary of globally unique identifier [key] and decimal number [value]

None.

ProcessAssignments

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "WorkTypeId": "e3597fce-3d7d-4337-badc-818403452aa9",
  "ParentTaskId": "85321a3f-8e68-4e3c-a682-03176a1a4ae2",
  "Integration": {
    "IntegrationId": "fe034362-d4a6-43c5-8f43-af777ea3af1c",
    "ExternalItemId": "sample string 2",
    "ExternalUrl": "sample string 3",
    "ReadOnlyFields": [
      "sample string 1",
      "sample string 2"
    ]
  },
  "Assignments": {
    "161dbe20-d63c-4799-aca5-c05a2d5fb565": 2.0,
    "8adede30-f56b-4148-be3a-1c0c8cb78e20": 4.0
  },
  "ProcessAssignments": true
}

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.