POST api/eScheduler/UpdateScheduleTaskStatus

Request Information

URI Parameters

None.

Body Parameters

UpdateScheduleTaskEventRequest
NameDescriptionTypeAdditional information
ScheduleTaskID

integer

None.

ScheduleTaskStatusCode

string

None.

Duration

integer

None.

CampusID

integer

None.

Timestamp

date

None.

Notes

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ScheduleTaskID": 1,
  "ScheduleTaskStatusCode": "sample string 2",
  "Duration": 3,
  "CampusID": 4,
  "Timestamp": "2024-05-18T05:04:22.6207299Z",
  "Notes": "sample string 6"
}

application/xml, text/xml

Sample:
<UpdateScheduleTaskEventRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aramark.ISIS.Domain.Models.eScheduler.Mobile">
  <CampusID>4</CampusID>
  <Duration>3</Duration>
  <Notes>sample string 6</Notes>
  <ScheduleTaskID>1</ScheduleTaskID>
  <ScheduleTaskStatusCode>sample string 2</ScheduleTaskStatusCode>
  <Timestamp>2024-05-18T05:04:22.6207299+00:00</Timestamp>
</UpdateScheduleTaskEventRequest>

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

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>