POST api/BedCleaning/bedcleaningrequestcancel

Request Information

URI Parameters

None.

Body Parameters

MobileAssignment
NameDescriptionTypeAdditional information
SpacePath

string

None.

Bed

integer

None.

Priority

string

None.

RequestTime

date

None.

Status

string

None.

CleaningType

string

None.

CleaningTypeID

integer

None.

CleaningTypeColor

string

None.

CoverageType

integer

None.

StartedDateTime

date

None.

BedCleaningID

integer

None.

CleaningStatusID

integer

None.

StartedByEmployeeID

integer

None.

AssignedToEmployeeID

integer

None.

FinishedByEmployeeID

integer

None.

FinishedDateTime

string

None.

IsStat

boolean

None.

CancellationReasonID

integer

None.

Username

string

None.

DelayReasonID

integer

None.

CurrentStatusDelayMinutes

integer

None.

DelayMinutes

integer

None.

IsDirty

boolean

None.

IsInProgress

boolean

None.

IsCleaned

boolean

None.

IsCancelled

boolean

None.

IsDelayed

boolean

None.

Delay

string

None.

PriorityLevel

integer

None.

PriorityID

integer

None.

ID

integer

None.

Description

string

Required

Value

string

None.

EnDescription

string

None.

AccountID

integer

None.

IsEditable

boolean

None.

IsSelectable

boolean

None.

Code

string

None.

Color

string

None.

ShortDescription

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SpacePath": "sample string 1",
  "Bed": 1,
  "Priority": "sample string 2",
  "RequestTime": "2024-05-16T05:11:00.7664033Z",
  "Status": "sample string 4",
  "CleaningType": "sample string 5",
  "CleaningTypeID": 6,
  "CleaningTypeColor": "sample string 7",
  "CoverageType": 1,
  "StartedDateTime": "2024-05-16T05:11:00.7664033Z",
  "BedCleaningID": 9,
  "CleaningStatusID": 10,
  "StartedByEmployeeID": 1,
  "AssignedToEmployeeID": 1,
  "FinishedByEmployeeID": 11,
  "FinishedDateTime": "sample string 12",
  "IsStat": true,
  "CancellationReasonID": 14,
  "Username": "sample string 15",
  "DelayReasonID": 16,
  "CurrentStatusDelayMinutes": 1,
  "DelayMinutes": 1,
  "IsDirty": true,
  "IsInProgress": true,
  "IsCleaned": true,
  "IsCancelled": true,
  "IsDelayed": true,
  "Delay": "sample string 21",
  "PriorityLevel": 22,
  "PriorityID": 23,
  "ID": 24,
  "Description": "sample string 25",
  "Value": "sample string 26",
  "EnDescription": "samplestring25",
  "AccountID": 27,
  "IsEditable": true,
  "IsSelectable": true,
  "Code": "sample string 30",
  "Color": "sample string 31",
  "ShortDescription": "sample string 32"
}

application/xml, text/xml

Sample:
<MobileAssignment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aramark.ISIS.Domain.Models">
  <AccountID>27</AccountID>
  <Code>sample string 30</Code>
  <Color>sample string 31</Color>
  <Description>sample string 25</Description>
  <ID>24</ID>
  <IsEditable>true</IsEditable>
  <IsSelectable>true</IsSelectable>
  <ShortDescription>sample string 32</ShortDescription>
  <Value>sample string 26</Value>
  <AssignedToEmployeeID>1</AssignedToEmployeeID>
  <Bed>1</Bed>
  <BedCleaningID>9</BedCleaningID>
  <CancellationReasonID>14</CancellationReasonID>
  <CleaningStatusID>10</CleaningStatusID>
  <CleaningType>sample string 5</CleaningType>
  <CleaningTypeColor>sample string 7</CleaningTypeColor>
  <CleaningTypeID>6</CleaningTypeID>
  <CoverageType>1</CoverageType>
  <CurrentStatusDelayMinutes>1</CurrentStatusDelayMinutes>
  <Delay>sample string 21</Delay>
  <DelayMinutes>1</DelayMinutes>
  <DelayReasonID>16</DelayReasonID>
  <FinishedByEmployeeID>11</FinishedByEmployeeID>
  <FinishedDateTime>sample string 12</FinishedDateTime>
  <IsCancelled>true</IsCancelled>
  <IsCleaned>true</IsCleaned>
  <IsDelayed>true</IsDelayed>
  <IsDirty>true</IsDirty>
  <IsInProgress>true</IsInProgress>
  <IsStat>true</IsStat>
  <Priority>sample string 2</Priority>
  <PriorityID>23</PriorityID>
  <PriorityLevel>22</PriorityLevel>
  <RequestTime>2024-05-16T05:11:00.7664033+00:00</RequestTime>
  <SpacePath>sample string 1</SpacePath>
  <StartedByEmployeeID>1</StartedByEmployeeID>
  <StartedDateTime>2024-05-16T05:11:00.7664033+00:00</StartedDateTime>
  <Status>sample string 4</Status>
  <Username>sample string 15</Username>
</MobileAssignment>

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

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>