POST api/eScheduler/CreateRepeatableTask

Request Information

URI Parameters

None.

Body Parameters

RepeatableTaskRequest
NameDescriptionTypeAdditional information
ScheduleTaskID

integer

None.

ScheduleTaskStatusCode

string

None.

CampusID

integer

None.

EarlyCompletionReasonID

integer

None.

IsRepeatableSpaceTask

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ScheduleTaskID": 1,
  "ScheduleTaskStatusCode": "sample string 2",
  "CampusID": 3,
  "EarlyCompletionReasonID": 4,
  "IsRepeatableSpaceTask": true
}

application/xml, text/xml

Sample:
<RepeatableTaskRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aramark.ISIS.Domain.Models.eScheduler.Mobile">
  <CampusID>3</CampusID>
  <EarlyCompletionReasonID>4</EarlyCompletionReasonID>
  <IsRepeatableSpaceTask>true</IsRepeatableSpaceTask>
  <ScheduleTaskID>1</ScheduleTaskID>
  <ScheduleTaskStatusCode>sample string 2</ScheduleTaskStatusCode>
</RepeatableTaskRequest>

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 'RepeatableTaskRequest'.

Response Information

Resource Description

ScheduleTask
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

Notes

string

None.

Reason

string

None.

ScheduleInstanceID

integer

None.

OriginalScheduleInstanceID

integer

None.

SpaceID

integer

None.

SpaceName

string

None.

AreaID

integer

None.

AreaName

string

None.

FloorID

integer

None.

FloorName

string

None.

BuildingID

integer

None.

BuildingName

string

None.

SpacePath

string

None.

SpaceType

string

None.

ScheduleTaskTypeID

integer

None.

ScheduleTaskStatusID

integer

None.

CleaningProcedureID

integer

None.

SpaceEquipmentID

integer

None.

ExpectedDuration

integer

None.

Duration

integer

None.

TaskOrder

integer

None.

PriorityID

integer

None.

Priority

string

None.

PriorityLevel

integer

None.

DischargeID

integer

None.

CreatedDate

date

None.

StartByID

integer

None.

StartDate

date

None.

ResumedBy

integer

None.

ResumedDate

date

None.

FinishByID

integer

None.

FinishDate

date

None.

AccountID

integer

None.

EmployeeID

integer

None.

LastChangedByID

integer

None.

LastChangedDate

date

None.

Response Formats

application/json, text/json

Sample:
{
  "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-03T23:43:41.4098541Z",
  "StartByID": 1,
  "StartDate": "2025-04-03T23:43:41.4098541Z",
  "ResumedBy": 1,
  "ResumedDate": "2025-04-03T23:43:41.4098541Z",
  "FinishByID": 1,
  "FinishDate": "2025-04-03T23:43:41.4098541Z",
  "AccountID": 19,
  "EmployeeID": 1,
  "LastChangedByID": 1,
  "LastChangedDate": "2025-04-03T23:43:41.4098541Z"
}

application/xml, text/xml

Sample:
<ScheduleTask xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aramark.ISIS.Domain.Models.eScheduler.Mobile">
  <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-03T23:43:41.4098541+00:00</CreatedDate>
  <DischargeID>1</DischargeID>
  <Duration>1</Duration>
  <EmployeeID>1</EmployeeID>
  <ExpectedDuration>1</ExpectedDuration>
  <FinishByID>1</FinishByID>
  <FinishDate>2025-04-03T23:43:41.4098541+00:00</FinishDate>
  <FloorID>1</FloorID>
  <FloorName>sample string 9</FloorName>
  <ID>1</ID>
  <LastChangedByID>1</LastChangedByID>
  <LastChangedDate>2025-04-03T23:43:41.4098541+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-03T23:43:41.4098541+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-03T23:43:41.4098541+00:00</StartDate>
  <TaskOrder>16</TaskOrder>
</ScheduleTask>