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": "a87e0044-1aa2-4319-985f-7eb23f07e130",
  "ParentTaskId": "eed4abc8-9cb2-456f-a77b-c891c6bd873e",
  "Integration": {
    "IntegrationId": "a9e6b55b-9597-4f20-881e-c3795b20edcd",
    "ExternalItemId": "sample string 2",
    "ExternalUrl": "sample string 3",
    "ReadOnlyFields": [
      "sample string 1",
      "sample string 2"
    ]
  },
  "Assignments": {
    "01092be7-996f-46c1-b372-370f774d3db1": 2.0,
    "c6038290-949a-48cc-8f06-845190019a52": 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.