POST api/eScheduler/GetScheduleTasks

Request Information

URI Parameters

None.

Body Parameters

Collection of integer

Request Formats

application/json, text/json

Sample:
[
  1,
  2
]

application/xml, text/xml

Sample:
<ArrayOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <int>1</int>
  <int>2</int>
</ArrayOfint>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

Collection of TaskSync
NameDescriptionTypeAdditional 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": "2024-05-18T04:00:50.0325292Z",
      "StartByID": 1,
      "StartDate": "2024-05-18T04:00:50.0325292Z",
      "ResumedBy": 1,
      "ResumedDate": "2024-05-18T04:00:50.0325292Z",
      "FinishByID": 1,
      "FinishDate": "2024-05-18T04:00:50.0325292Z",
      "AccountID": 19,
      "EmployeeID": 1,
      "LastChangedByID": 1,
      "LastChangedDate": "2024-05-18T04:00:50.0325292Z"
    }
  },
  {
    "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": "2024-05-18T04:00:50.0325292Z",
      "StartByID": 1,
      "StartDate": "2024-05-18T04:00:50.0325292Z",
      "ResumedBy": 1,
      "ResumedDate": "2024-05-18T04:00:50.0325292Z",
      "FinishByID": 1,
      "FinishDate": "2024-05-18T04:00:50.0325292Z",
      "AccountID": 19,
      "EmployeeID": 1,
      "LastChangedByID": 1,
      "LastChangedDate": "2024-05-18T04:00:50.0325292Z"
    }
  }
]

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>2024-05-18T04:00:50.0325292+00:00</CreatedDate>
      <DischargeID>1</DischargeID>
      <Duration>1</Duration>
      <EmployeeID>1</EmployeeID>
      <ExpectedDuration>1</ExpectedDuration>
      <FinishByID>1</FinishByID>
      <FinishDate>2024-05-18T04:00:50.0325292+00:00</FinishDate>
      <FloorID>1</FloorID>
      <FloorName>sample string 9</FloorName>
      <ID>1</ID>
      <LastChangedByID>1</LastChangedByID>
      <LastChangedDate>2024-05-18T04:00:50.0325292+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>2024-05-18T04:00:50.0325292+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>2024-05-18T04:00:50.0325292+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>2024-05-18T04:00:50.0325292+00:00</CreatedDate>
      <DischargeID>1</DischargeID>
      <Duration>1</Duration>
      <EmployeeID>1</EmployeeID>
      <ExpectedDuration>1</ExpectedDuration>
      <FinishByID>1</FinishByID>
      <FinishDate>2024-05-18T04:00:50.0325292+00:00</FinishDate>
      <FloorID>1</FloorID>
      <FloorName>sample string 9</FloorName>
      <ID>1</ID>
      <LastChangedByID>1</LastChangedByID>
      <LastChangedDate>2024-05-18T04:00:50.0325292+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>2024-05-18T04:00:50.0325292+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>2024-05-18T04:00:50.0325292+00:00</StartDate>
      <TaskOrder>16</TaskOrder>
    </ScheduleTask>
    <TaskOrder>1</TaskOrder>
  </TaskSync>
</ArrayOfTaskSync>