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": "5acaa317-a92d-44eb-8403-c9092eff7787",
  "ParentTaskId": "1265d260-547b-4d1c-ae3b-16c774b41d04",
  "Integration": {
    "IntegrationId": "b3514c18-0e54-4ab0-8934-b8b097d9a293",
    "ExternalItemId": "sample string 2",
    "ExternalUrl": "sample string 3",
    "ReadOnlyFields": [
      "sample string 1",
      "sample string 2"
    ]
  },
  "Assignments": {
    "80c4affb-249b-4e86-b26c-6d94c0c77b82": 2.0,
    "d2ec182a-9283-4538-ac43-5e119975510e": 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.