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": "0e6d3cd4-adae-4384-b178-4c1bb37d7449",
  "ParentTaskId": "480b6ef0-9ce4-44ca-988d-a18940dee1e1",
  "Integration": {
    "IntegrationId": "11f98605-0827-4512-801f-078d7dab7fcb",
    "ExternalItemId": "sample string 2",
    "ExternalUrl": "sample string 3",
    "ReadOnlyFields": [
      "sample string 1",
      "sample string 2"
    ]
  },
  "Assignments": {
    "19089d73-4a76-4db6-aeba-81cef012c265": 2.0,
    "4524beb1-16a2-4578-91d3-74806e6c7be4": 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.