POST api/mywork/{id}

Update my work task

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

Dictionary of string [key] and Object [value]

Request Formats

application/json, text/json

Sample:
{
  "sample string 1": {},
  "sample string 3": {}
}

Response Information

Resource Description

WorkPlanTask
NameDescriptionTypeAdditional information
WorkTypeId

globally unique identifier

None.

Name

string

None.

Created

date

None.

Modified

date

None.

Author

string

None.

Editor

string

None.

AssignedTo

Collection of globally unique identifier

None.

Assignments

Collection of TaskAssignment

None.

ParentId

globally unique identifier

None.

WorkTypeParentId

globally unique identifier

None.

WorkTypeIndex

integer

None.

Fields

Dictionary of string [key] and Object [value]

None.

Index

integer

None.

Complete

boolean

None.

Comments

Collection of TaskComment

None.

StartDate

date

None.

DueDate

date

None.

TaskScheduleType

TaskType

None.

StatusUpdate

StatusUpdateClass

None.

LastComment

date

None.

IsScheduled

boolean

None.

Integration

TaskIntegrationInfo

None.

WorkPlanId

globally unique identifier

None.

id

globally unique identifier

None.

ConfigId

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "WorkTypeId": "493519d4-a154-405c-ae75-3ab920925471",
  "Name": "sample string 1",
  "Created": "2024-10-18T08:33:55.0046212+00:00",
  "Modified": "2024-10-18T08:33:55.0046212+00:00",
  "Author": "sample string 4",
  "Editor": "sample string 5",
  "AssignedTo": [
    "cf27ca15-1558-431c-841a-f94234ed24ee",
    "2341b4be-b38c-46db-9b5b-8e0510342eef"
  ],
  "Assignments": [
    {
      "Id": "8d3208f3-9a0d-423e-83a0-8b970fc968ac",
      "Type": 0,
      "ResourceId": "c746e634-513a-44bd-81b1-4abc1b700dca",
      "Units": 3.0
    },
    {
      "Id": "8d3208f3-9a0d-423e-83a0-8b970fc968ac",
      "Type": 0,
      "ResourceId": "c746e634-513a-44bd-81b1-4abc1b700dca",
      "Units": 3.0
    }
  ],
  "ParentId": "ca765fd6-dcdf-493a-91be-1d2498b4a66b",
  "WorkTypeParentId": "00b681c9-6cc9-4b0b-be0b-38391911a79b",
  "WorkTypeIndex": 9,
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "Index": 10,
  "Complete": true,
  "Comments": [
    {
      "Id": "f8bf2dd9-4783-47b8-bd41-706c08bc169e",
      "UPN": "1b719384-7e5d-4067-9598-fcabe7037488",
      "PostDate": "2024-10-18T08:33:55.0046212+00:00",
      "Comment": "sample string 4",
      "CC": [
        "53158a73-e376-4aef-a99e-f618acf138dd",
        "60ffc09e-bec6-4039-b96b-7fb947ee2189"
      ],
      "Users": [
        "a0e3521b-5060-4d15-a6e4-a82c653a6d4d",
        "6f136ad5-7ffa-46eb-a5dc-ca074af97dca"
      ]
    },
    {
      "Id": "f8bf2dd9-4783-47b8-bd41-706c08bc169e",
      "UPN": "1b719384-7e5d-4067-9598-fcabe7037488",
      "PostDate": "2024-10-18T08:33:55.0046212+00:00",
      "Comment": "sample string 4",
      "CC": [
        "53158a73-e376-4aef-a99e-f618acf138dd",
        "60ffc09e-bec6-4039-b96b-7fb947ee2189"
      ],
      "Users": [
        "a0e3521b-5060-4d15-a6e4-a82c653a6d4d",
        "6f136ad5-7ffa-46eb-a5dc-ca074af97dca"
      ]
    }
  ],
  "StartDate": "2024-10-18T08:33:55.0046212+00:00",
  "DueDate": "2024-10-18T08:33:55.0046212+00:00",
  "TaskScheduleType": 0,
  "StatusUpdate": {
    "ResourceReplacements": {
      "cffd1e8b-e480-4ec1-a8d2-deba28e4ec84": "acbdc0c2-a982-42cd-9c64-10db65c9fc44",
      "4fd15ec4-701d-420f-a470-4d4e44bcc95c": "1f8fe7f1-d18a-45b7-9525-c62773e938a1"
    },
    "HasUpdates": true,
    "Modified": "2024-10-18T08:33:55.0046212+00:00",
    "Editor": "sample string 3",
    "Fields": {
      "sample string 1": {},
      "sample string 3": {}
    },
    "CalcFields": {
      "sample string 1": {},
      "sample string 3": {}
    },
    "State": 0,
    "ApproveRejectBy": "sample string 4",
    "ApproveRejectDate": "2024-10-18T08:33:55.0046212+00:00"
  },
  "LastComment": "2024-10-18T08:33:55.0046212+00:00",
  "IsScheduled": true,
  "Integration": {
    "IntegrationId": "6eb144b4-1b25-4d11-9e65-e5e19892af8f",
    "ExternalItemId": "sample string 2",
    "ExternalUrl": "sample string 3",
    "ReadOnlyFields": [
      "sample string 1",
      "sample string 2"
    ]
  },
  "WorkPlanId": "1bdd7167-ced5-478c-bf3f-48f6597f3948",
  "id": "3c62a25d-40cf-4ba0-ab45-7998b768deb0",
  "ConfigId": "2c22decf-c5b2-4ebe-895f-5447bf318554"
}