POST api/mywork/activities

Update Activities

Request Information

URI Parameters

None.

Body Parameters

SyncRequest
NameDescriptionTypeAdditional information
tasks

ItemSyncRequest

None.

assignments

ItemSyncRequest

None.

dependencies

ItemSyncRequest

None.

resources

ItemSyncRequest

None.

requestId

unsigned integer

None.

revision

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "tasks": {
    "updated": [
      {
        "sample string 1": {},
        "sample string 3": {}
      },
      {
        "sample string 1": {},
        "sample string 3": {}
      }
    ],
    "added": [
      {
        "sample string 1": {},
        "sample string 3": {}
      },
      {
        "sample string 1": {},
        "sample string 3": {}
      }
    ],
    "removed": [
      {
        "sample string 1": {},
        "sample string 3": {}
      },
      {
        "sample string 1": {},
        "sample string 3": {}
      }
    ],
    "removedFromSchedule": [
      {
        "sample string 1": {},
        "sample string 3": {}
      },
      {
        "sample string 1": {},
        "sample string 3": {}
      }
    ]
  },
  "assignments": {
    "updated": [
      {
        "sample string 1": {},
        "sample string 3": {}
      },
      {
        "sample string 1": {},
        "sample string 3": {}
      }
    ],
    "added": [
      {
        "sample string 1": {},
        "sample string 3": {}
      },
      {
        "sample string 1": {},
        "sample string 3": {}
      }
    ],
    "removed": [
      {
        "sample string 1": {},
        "sample string 3": {}
      },
      {
        "sample string 1": {},
        "sample string 3": {}
      }
    ],
    "removedFromSchedule": [
      {
        "sample string 1": {},
        "sample string 3": {}
      },
      {
        "sample string 1": {},
        "sample string 3": {}
      }
    ]
  },
  "dependencies": {
    "updated": [
      {
        "sample string 1": {},
        "sample string 3": {}
      },
      {
        "sample string 1": {},
        "sample string 3": {}
      }
    ],
    "added": [
      {
        "sample string 1": {},
        "sample string 3": {}
      },
      {
        "sample string 1": {},
        "sample string 3": {}
      }
    ],
    "removed": [
      {
        "sample string 1": {},
        "sample string 3": {}
      },
      {
        "sample string 1": {},
        "sample string 3": {}
      }
    ],
    "removedFromSchedule": [
      {
        "sample string 1": {},
        "sample string 3": {}
      },
      {
        "sample string 1": {},
        "sample string 3": {}
      }
    ]
  },
  "resources": {
    "updated": [
      {
        "sample string 1": {},
        "sample string 3": {}
      },
      {
        "sample string 1": {},
        "sample string 3": {}
      }
    ],
    "added": [
      {
        "sample string 1": {},
        "sample string 3": {}
      },
      {
        "sample string 1": {},
        "sample string 3": {}
      }
    ],
    "removed": [
      {
        "sample string 1": {},
        "sample string 3": {}
      },
      {
        "sample string 1": {},
        "sample string 3": {}
      }
    ],
    "removedFromSchedule": [
      {
        "sample string 1": {},
        "sample string 3": {}
      },
      {
        "sample string 1": {},
        "sample string 3": {}
      }
    ]
  },
  "requestId": 1,
  "revision": 1
}

Response Information

Resource Description

GanttSyncResponse
NameDescriptionTypeAdditional information
tasks

Object

None.

assignments

Object

None.

dependencies

Object

None.

resources

Object

None.

Process

AsyncProcessResult

None.

revision

Revision stamp set for the response.

integer

None.

NeedRefresh

boolean

None.

success

`True` for this type of response.

boolean

None.

Message

Status of request processing. True if request was processed successfully and False otherwise.

string

None.

requestId

Identifier of request as reaction on which this respond is sent.

unsigned integer

None.

Response Formats

application/json, text/json

Sample:
{
  "tasks": {},
  "assignments": {},
  "dependencies": {},
  "resources": {},
  "Process": {
    "Success": true,
    "Message": "sample string 2",
    "ProcessInfo": {
      "PlanId": "94629eb5-ee2b-45cd-bff0-f242e967e31e",
      "InputValues": {
        "sample string 1": {},
        "sample string 3": {}
      },
      "PercentComplete": 2.0,
      "State": 0,
      "Status": 0,
      "LastMessage": "sample string 3",
      "AsyncClass": "sample string 4",
      "accessToken": "sample string 5",
      "SequenceNumber": 6,
      "StartDate": "2024-12-18T19:48:41.1516865+00:00",
      "QueueDate": "2024-12-18T19:48:41.1516865+00:00",
      "Delay": 9.0,
      "UserId": "5f1d4b83-5dbf-437e-9899-f64b5bfacafe",
      "InBlob": true,
      "ScheduleId": "4e4c48f6-034a-4a34-a960-a11f20b368e5",
      "id": "98f88007-d365-4042-b0f6-828722b8a76a",
      "ConfigId": "83e4607f-558a-4743-809f-880bc6341109"
    }
  },
  "revision": 5,
  "NeedRefresh": true,
  "success": true,
  "Message": "sample string 8",
  "requestId": 1
}