POST api/eScheduler/SyncScheduleTasks
Request Information
URI Parameters
None.
Body Parameters
ScheduleInstanceTaskEventSyncName | Description | Type | Additional information |
---|---|---|---|
TasksChanged | Collection of ScheduleInstanceTask |
None. |
|
TasksUnchanged | Collection of ScheduleInstanceTask |
None. |
|
TaskEvents | Collection of ScheduleInstanceTaskEvent |
None. |
|
TaskNotes | Collection of ScheduleTaskNote |
None. |
|
TaskRefresh | Collection of integer |
None. |
|
scheduleInstanceID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "TasksChanged": [ { "ID": 1, "ScheduleID": 1, "ScheduleTaskTypeID": 2, "ScheduleTaskStatusID": 3, "PriorityID": 4, "TaskOrder": 1, "ExpectedDuration": 5, "Duration": 6, "Name": "sample string 7", "Notes": "sample string 8", "Reason": "sample string 9", "SpaceID": 1, "SpacePath": "sample string 10", "AccountID": 11, "EmployeeID": 12 }, { "ID": 1, "ScheduleID": 1, "ScheduleTaskTypeID": 2, "ScheduleTaskStatusID": 3, "PriorityID": 4, "TaskOrder": 1, "ExpectedDuration": 5, "Duration": 6, "Name": "sample string 7", "Notes": "sample string 8", "Reason": "sample string 9", "SpaceID": 1, "SpacePath": "sample string 10", "AccountID": 11, "EmployeeID": 12 } ], "TasksUnchanged": [ { "ID": 1, "ScheduleID": 1, "ScheduleTaskTypeID": 2, "ScheduleTaskStatusID": 3, "PriorityID": 4, "TaskOrder": 1, "ExpectedDuration": 5, "Duration": 6, "Name": "sample string 7", "Notes": "sample string 8", "Reason": "sample string 9", "SpaceID": 1, "SpacePath": "sample string 10", "AccountID": 11, "EmployeeID": 12 }, { "ID": 1, "ScheduleID": 1, "ScheduleTaskTypeID": 2, "ScheduleTaskStatusID": 3, "PriorityID": 4, "TaskOrder": 1, "ExpectedDuration": 5, "Duration": 6, "Name": "sample string 7", "Notes": "sample string 8", "Reason": "sample string 9", "SpaceID": 1, "SpacePath": "sample string 10", "AccountID": 11, "EmployeeID": 12 } ], "TaskEvents": [ { "ScheduleTaskID": 1, "ScheduleTaskStatusID": 2, "EmployeeID": 3, "Notes": "sample string 4", "Timestamp": "sample string 5" }, { "ScheduleTaskID": 1, "ScheduleTaskStatusID": 2, "EmployeeID": 3, "Notes": "sample string 4", "Timestamp": "sample string 5" } ], "TaskNotes": [ { "ID": 1, "OldID": 2, "ScheduleTaskID": 1, "Note": "sample string 3", "LastChanged": "2025-04-03T04:17:57.6101682Z", "SpaceID": 1, "AccountID": 4 }, { "ID": 1, "OldID": 2, "ScheduleTaskID": 1, "Note": "sample string 3", "LastChanged": "2025-04-03T04:17:57.6101682Z", "SpaceID": 1, "AccountID": 4 } ], "TaskRefresh": [ 1, 2 ], "scheduleInstanceID": 1 }
application/xml, text/xml
Sample:
<ScheduleInstanceTaskEventSync xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aramark.ISIS.Domain.Models.eScheduler"> <TaskEvents> <ScheduleInstanceTaskEvent> <EmployeeID>3</EmployeeID> <Notes>sample string 4</Notes> <ScheduleTaskID>1</ScheduleTaskID> <ScheduleTaskStatusID>2</ScheduleTaskStatusID> <Timestamp>sample string 5</Timestamp> </ScheduleInstanceTaskEvent> <ScheduleInstanceTaskEvent> <EmployeeID>3</EmployeeID> <Notes>sample string 4</Notes> <ScheduleTaskID>1</ScheduleTaskID> <ScheduleTaskStatusID>2</ScheduleTaskStatusID> <Timestamp>sample string 5</Timestamp> </ScheduleInstanceTaskEvent> </TaskEvents> <TaskNotes> <ScheduleTaskNote> <AccountID>4</AccountID> <ID>1</ID> <LastChanged>2025-04-03T04:17:57.6101682+00:00</LastChanged> <Note>sample string 3</Note> <OldID>2</OldID> <ScheduleTaskID>1</ScheduleTaskID> <SpaceID>1</SpaceID> </ScheduleTaskNote> <ScheduleTaskNote> <AccountID>4</AccountID> <ID>1</ID> <LastChanged>2025-04-03T04:17:57.6101682+00:00</LastChanged> <Note>sample string 3</Note> <OldID>2</OldID> <ScheduleTaskID>1</ScheduleTaskID> <SpaceID>1</SpaceID> </ScheduleTaskNote> </TaskNotes> <TaskRefresh xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </TaskRefresh> <TasksChanged> <ScheduleInstanceTask> <AccountID>11</AccountID> <Duration>6</Duration> <EmployeeID>12</EmployeeID> <ExpectedDuration>5</ExpectedDuration> <ID>1</ID> <Name>sample string 7</Name> <Notes>sample string 8</Notes> <PriorityID>4</PriorityID> <Reason>sample string 9</Reason> <ScheduleID>1</ScheduleID> <ScheduleTaskStatusID>3</ScheduleTaskStatusID> <ScheduleTaskTypeID>2</ScheduleTaskTypeID> <SpaceID>1</SpaceID> <SpacePath>sample string 10</SpacePath> <TaskOrder>1</TaskOrder> </ScheduleInstanceTask> <ScheduleInstanceTask> <AccountID>11</AccountID> <Duration>6</Duration> <EmployeeID>12</EmployeeID> <ExpectedDuration>5</ExpectedDuration> <ID>1</ID> <Name>sample string 7</Name> <Notes>sample string 8</Notes> <PriorityID>4</PriorityID> <Reason>sample string 9</Reason> <ScheduleID>1</ScheduleID> <ScheduleTaskStatusID>3</ScheduleTaskStatusID> <ScheduleTaskTypeID>2</ScheduleTaskTypeID> <SpaceID>1</SpaceID> <SpacePath>sample string 10</SpacePath> <TaskOrder>1</TaskOrder> </ScheduleInstanceTask> </TasksChanged> <TasksUnchanged> <ScheduleInstanceTask> <AccountID>11</AccountID> <Duration>6</Duration> <EmployeeID>12</EmployeeID> <ExpectedDuration>5</ExpectedDuration> <ID>1</ID> <Name>sample string 7</Name> <Notes>sample string 8</Notes> <PriorityID>4</PriorityID> <Reason>sample string 9</Reason> <ScheduleID>1</ScheduleID> <ScheduleTaskStatusID>3</ScheduleTaskStatusID> <ScheduleTaskTypeID>2</ScheduleTaskTypeID> <SpaceID>1</SpaceID> <SpacePath>sample string 10</SpacePath> <TaskOrder>1</TaskOrder> </ScheduleInstanceTask> <ScheduleInstanceTask> <AccountID>11</AccountID> <Duration>6</Duration> <EmployeeID>12</EmployeeID> <ExpectedDuration>5</ExpectedDuration> <ID>1</ID> <Name>sample string 7</Name> <Notes>sample string 8</Notes> <PriorityID>4</PriorityID> <Reason>sample string 9</Reason> <ScheduleID>1</ScheduleID> <ScheduleTaskStatusID>3</ScheduleTaskStatusID> <ScheduleTaskTypeID>2</ScheduleTaskTypeID> <SpaceID>1</SpaceID> <SpacePath>sample string 10</SpacePath> <TaskOrder>1</TaskOrder> </ScheduleInstanceTask> </TasksUnchanged> <scheduleInstanceID>1</scheduleInstanceID> </ScheduleInstanceTaskEventSync>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of TaskSyncName | Description | Type | Additional information |
---|---|---|---|
ScheduleInstanceTaskID | integer |
None. |
|
TaskOrder | integer |
None. |
|
ScheduleTask | ScheduleTask |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ScheduleInstanceTaskID": 1, "TaskOrder": 1, "ScheduleTask": { "ID": 1, "Name": "sample string 2", "Notes": "sample string 3", "Reason": "sample string 4", "ScheduleInstanceID": 5, "OriginalScheduleInstanceID": 6, "SpaceID": 1, "SpaceName": "sample string 7", "AreaID": 1, "AreaName": "sample string 8", "FloorID": 1, "FloorName": "sample string 9", "BuildingID": 1, "BuildingName": "sample string 10", "SpacePath": "sample string 11", "SpaceType": "sample string 12", "ScheduleTaskTypeID": 13, "ScheduleTaskStatusID": 14, "CleaningProcedureID": 15, "SpaceEquipmentID": 1, "ExpectedDuration": 1, "Duration": 1, "TaskOrder": 16, "PriorityID": 1, "Priority": "sample string 17", "PriorityLevel": 18, "DischargeID": 1, "CreatedDate": "2025-04-03T04:17:57.6413585Z", "StartByID": 1, "StartDate": "2025-04-03T04:17:57.6413585Z", "ResumedBy": 1, "ResumedDate": "2025-04-03T04:17:57.6413585Z", "FinishByID": 1, "FinishDate": "2025-04-03T04:17:57.6413585Z", "AccountID": 19, "EmployeeID": 1, "LastChangedByID": 1, "LastChangedDate": "2025-04-03T04:17:57.6413585Z" } }, { "ScheduleInstanceTaskID": 1, "TaskOrder": 1, "ScheduleTask": { "ID": 1, "Name": "sample string 2", "Notes": "sample string 3", "Reason": "sample string 4", "ScheduleInstanceID": 5, "OriginalScheduleInstanceID": 6, "SpaceID": 1, "SpaceName": "sample string 7", "AreaID": 1, "AreaName": "sample string 8", "FloorID": 1, "FloorName": "sample string 9", "BuildingID": 1, "BuildingName": "sample string 10", "SpacePath": "sample string 11", "SpaceType": "sample string 12", "ScheduleTaskTypeID": 13, "ScheduleTaskStatusID": 14, "CleaningProcedureID": 15, "SpaceEquipmentID": 1, "ExpectedDuration": 1, "Duration": 1, "TaskOrder": 16, "PriorityID": 1, "Priority": "sample string 17", "PriorityLevel": 18, "DischargeID": 1, "CreatedDate": "2025-04-03T04:17:57.6413585Z", "StartByID": 1, "StartDate": "2025-04-03T04:17:57.6413585Z", "ResumedBy": 1, "ResumedDate": "2025-04-03T04:17:57.6413585Z", "FinishByID": 1, "FinishDate": "2025-04-03T04:17:57.6413585Z", "AccountID": 19, "EmployeeID": 1, "LastChangedByID": 1, "LastChangedDate": "2025-04-03T04:17:57.6413585Z" } } ]
application/xml, text/xml
Sample:
<ArrayOfTaskSync xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aramark.ISIS.Domain.Models.eScheduler.Mobile"> <TaskSync> <ScheduleInstanceTaskID>1</ScheduleInstanceTaskID> <ScheduleTask> <AccountID>19</AccountID> <AreaID>1</AreaID> <AreaName>sample string 8</AreaName> <BuildingID>1</BuildingID> <BuildingName>sample string 10</BuildingName> <CleaningProcedureID>15</CleaningProcedureID> <CreatedDate>2025-04-03T04:17:57.6413585+00:00</CreatedDate> <DischargeID>1</DischargeID> <Duration>1</Duration> <EmployeeID>1</EmployeeID> <ExpectedDuration>1</ExpectedDuration> <FinishByID>1</FinishByID> <FinishDate>2025-04-03T04:17:57.6413585+00:00</FinishDate> <FloorID>1</FloorID> <FloorName>sample string 9</FloorName> <ID>1</ID> <LastChangedByID>1</LastChangedByID> <LastChangedDate>2025-04-03T04:17:57.6413585+00:00</LastChangedDate> <Name>sample string 2</Name> <Notes>sample string 3</Notes> <OriginalScheduleInstanceID>6</OriginalScheduleInstanceID> <Priority>sample string 17</Priority> <PriorityID>1</PriorityID> <PriorityLevel>18</PriorityLevel> <Reason>sample string 4</Reason> <ResumedBy>1</ResumedBy> <ResumedDate>2025-04-03T04:17:57.6413585+00:00</ResumedDate> <ScheduleInstanceID>5</ScheduleInstanceID> <ScheduleTaskStatusID>14</ScheduleTaskStatusID> <ScheduleTaskTypeID>13</ScheduleTaskTypeID> <SpaceEquipmentID>1</SpaceEquipmentID> <SpaceID>1</SpaceID> <SpaceName>sample string 7</SpaceName> <SpacePath>sample string 11</SpacePath> <SpaceType>sample string 12</SpaceType> <StartByID>1</StartByID> <StartDate>2025-04-03T04:17:57.6413585+00:00</StartDate> <TaskOrder>16</TaskOrder> </ScheduleTask> <TaskOrder>1</TaskOrder> </TaskSync> <TaskSync> <ScheduleInstanceTaskID>1</ScheduleInstanceTaskID> <ScheduleTask> <AccountID>19</AccountID> <AreaID>1</AreaID> <AreaName>sample string 8</AreaName> <BuildingID>1</BuildingID> <BuildingName>sample string 10</BuildingName> <CleaningProcedureID>15</CleaningProcedureID> <CreatedDate>2025-04-03T04:17:57.6413585+00:00</CreatedDate> <DischargeID>1</DischargeID> <Duration>1</Duration> <EmployeeID>1</EmployeeID> <ExpectedDuration>1</ExpectedDuration> <FinishByID>1</FinishByID> <FinishDate>2025-04-03T04:17:57.6413585+00:00</FinishDate> <FloorID>1</FloorID> <FloorName>sample string 9</FloorName> <ID>1</ID> <LastChangedByID>1</LastChangedByID> <LastChangedDate>2025-04-03T04:17:57.6413585+00:00</LastChangedDate> <Name>sample string 2</Name> <Notes>sample string 3</Notes> <OriginalScheduleInstanceID>6</OriginalScheduleInstanceID> <Priority>sample string 17</Priority> <PriorityID>1</PriorityID> <PriorityLevel>18</PriorityLevel> <Reason>sample string 4</Reason> <ResumedBy>1</ResumedBy> <ResumedDate>2025-04-03T04:17:57.6413585+00:00</ResumedDate> <ScheduleInstanceID>5</ScheduleInstanceID> <ScheduleTaskStatusID>14</ScheduleTaskStatusID> <ScheduleTaskTypeID>13</ScheduleTaskTypeID> <SpaceEquipmentID>1</SpaceEquipmentID> <SpaceID>1</SpaceID> <SpaceName>sample string 7</SpaceName> <SpacePath>sample string 11</SpacePath> <SpaceType>sample string 12</SpaceType> <StartByID>1</StartByID> <StartDate>2025-04-03T04:17:57.6413585+00:00</StartDate> <TaskOrder>16</TaskOrder> </ScheduleTask> <TaskOrder>1</TaskOrder> </TaskSync> </ArrayOfTaskSync>