POST api/testgantt/gantt
Request Information
URI Parameters
None.
Body Parameters
SyncRequestName | Description | Type | Additional 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
GanttSyncResponseName | Description | Type | Additional 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": "ef7a5add-efa1-4c9b-8327-5632c156f4f7", "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": "2025-04-04T02:33:54.4259165+00:00", "QueueDate": "2025-04-04T02:33:54.4259165+00:00", "Delay": 9.0, "UserId": "6a0c907b-e211-49a1-bcd3-3714972d5b79", "InBlob": true, "ScheduleId": "3d42d6fd-c0df-43be-830f-aa70b9eff1fd", "id": "424e18fd-9f50-41d9-ad3f-7566b2a3dffb", "ConfigId": "0811fe59-d5cf-4d8f-bc52-6229c445a835" } }, "revision": 5, "NeedRefresh": true, "success": true, "Message": "sample string 8", "requestId": 1 }