POST api/BedCleaning/housekeeperstatuses

Saves selected cleaning status that a Housekeeper is assigned to

Request Information

URI Parameters

None.

Body Parameters

CleaningStatus
NameDescriptionTypeAdditional information
ID

integer

None.

Description

string

Required

String length: inclusive between 0 and 30

EnDescription

string

None.

AccountID

integer

None.

UserName

string

None.

LastChanged

date

None.

IsCleaned

boolean

None.

IsCancelled

boolean

None.

IsInProgress

boolean

None.

IsDirty

boolean

None.

IsDelayed

boolean

None.

IsSanitization

boolean

None.

Order

integer

Required

Range: inclusive between 1 and 99

Optional

boolean

None.

HL7Code

string

String length: inclusive between 0 and 1

HL7Send

boolean

None.

Icon

string

None.

ParentID

integer

None.

IsEditable

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Description": "sample string 2",
  "EnDescription": "samplestring2",
  "AccountID": 3,
  "UserName": "sample string 4",
  "LastChanged": "2024-05-18T05:54:40.7879679Z",
  "IsCleaned": true,
  "IsCancelled": true,
  "IsInProgress": true,
  "IsDirty": true,
  "IsDelayed": true,
  "IsSanitization": true,
  "Order": 11,
  "Optional": true,
  "HL7Code": "sample string 13",
  "HL7Send": true,
  "Icon": "sample string 15",
  "ParentID": 1,
  "IsEditable": true
}

application/xml, text/xml

Sample:
<CleaningStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aramark.ISIS.Domain.Models">
  <AccountID>3</AccountID>
  <Description>sample string 2</Description>
  <HL7Code>sample string 13</HL7Code>
  <HL7Send>true</HL7Send>
  <ID>1</ID>
  <Icon>sample string 15</Icon>
  <IsCancelled>true</IsCancelled>
  <IsCleaned>true</IsCleaned>
  <IsDelayed>true</IsDelayed>
  <IsDirty>true</IsDirty>
  <IsEditable>true</IsEditable>
  <IsInProgress>true</IsInProgress>
  <IsSanitization>true</IsSanitization>
  <LastChanged>2024-05-18T05:54:40.7879679+00:00</LastChanged>
  <Optional>true</Optional>
  <Order>11</Order>
  <ParentID>1</ParentID>
  <UserName>sample string 4</UserName>
</CleaningStatus>

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

Response Information

Resource Description

A list of CleaningStatus

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>