POST api/eScheduler/SyncDischarges

Request Information

URI Parameters

None.

Body Parameters

Collection of DischargeSync
NameDescriptionTypeAdditional information
ID

integer

None.

CleaningStatusID

integer

None.

StartedByEmployee

integer

None.

FinishedByEmployee

integer

None.

StartedTime

date

None.

FinishedTime

date

None.

ScheduleInstanceID

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "CleaningStatusID": 2,
    "StartedByEmployee": 3,
    "FinishedByEmployee": 4,
    "StartedTime": "2024-05-18T05:54:40.2195535Z",
    "FinishedTime": "2024-05-18T05:54:40.2195535Z",
    "ScheduleInstanceID": 7
  },
  {
    "ID": 1,
    "CleaningStatusID": 2,
    "StartedByEmployee": 3,
    "FinishedByEmployee": 4,
    "StartedTime": "2024-05-18T05:54:40.2195535Z",
    "FinishedTime": "2024-05-18T05:54:40.2195535Z",
    "ScheduleInstanceID": 7
  }
]

application/xml, text/xml

Sample:
<ArrayOfDischargeSync xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aramark.ISIS.Domain.Models.eScheduler">
  <DischargeSync>
    <CleaningStatusID>2</CleaningStatusID>
    <FinishedByEmployee>4</FinishedByEmployee>
    <FinishedTime>2024-05-18T05:54:40.2195535+00:00</FinishedTime>
    <ID>1</ID>
    <ScheduleInstanceID>7</ScheduleInstanceID>
    <StartedByEmployee>3</StartedByEmployee>
    <StartedTime>2024-05-18T05:54:40.2195535+00:00</StartedTime>
  </DischargeSync>
  <DischargeSync>
    <CleaningStatusID>2</CleaningStatusID>
    <FinishedByEmployee>4</FinishedByEmployee>
    <FinishedTime>2024-05-18T05:54:40.2195535+00:00</FinishedTime>
    <ID>1</ID>
    <ScheduleInstanceID>7</ScheduleInstanceID>
    <StartedByEmployee>3</StartedByEmployee>
    <StartedTime>2024-05-18T05:54:40.2195535+00:00</StartedTime>
  </DischargeSync>
</ArrayOfDischargeSync>

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

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>