POST api/BedCleaning/housekeeperareas

Request Information

URI Parameters

None.

Body Parameters

HKAreaStatus
NameDescriptionTypeAdditional information
HousekeeperArea

Collection of HousekeeperArea

None.

selectedStatuses

Collection of CleaningStatus

None.

Request Formats

application/json, text/json

Sample:
{
  "HousekeeperArea": [
    {
      "EmployeeID": 1,
      "CleanAreaID": 2,
      "Description": "sample string 3",
      "EnDescription": "samplestring3",
      "CoverageType": 4,
      "UserName": "sample string 5",
      "LastChanged": "2024-05-18T05:04:24.4488856Z",
      "AccountID": 6,
      "CoverageTypeDescription": "sample string 7"
    },
    {
      "EmployeeID": 1,
      "CleanAreaID": 2,
      "Description": "sample string 3",
      "EnDescription": "samplestring3",
      "CoverageType": 4,
      "UserName": "sample string 5",
      "LastChanged": "2024-05-18T05:04:24.4488856Z",
      "AccountID": 6,
      "CoverageTypeDescription": "sample string 7"
    }
  ],
  "selectedStatuses": [
    {
      "ID": 1,
      "Description": "sample string 2",
      "EnDescription": "samplestring2",
      "AccountID": 3,
      "UserName": "sample string 4",
      "LastChanged": "2024-05-18T05:04:24.4488856Z",
      "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
    },
    {
      "ID": 1,
      "Description": "sample string 2",
      "EnDescription": "samplestring2",
      "AccountID": 3,
      "UserName": "sample string 4",
      "LastChanged": "2024-05-18T05:04:24.4488856Z",
      "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:
<HKAreaStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aramark.ISIS.Domain.Models">
  <HousekeeperArea>
    <HousekeeperArea>
      <AccountID>6</AccountID>
      <CleanAreaID>2</CleanAreaID>
      <CoverageType>4</CoverageType>
      <CoverageTypeDescription>sample string 7</CoverageTypeDescription>
      <Description>sample string 3</Description>
      <EmployeeID>1</EmployeeID>
      <LastChanged>2024-05-18T05:04:24.4488856+00:00</LastChanged>
      <UserName>sample string 5</UserName>
    </HousekeeperArea>
    <HousekeeperArea>
      <AccountID>6</AccountID>
      <CleanAreaID>2</CleanAreaID>
      <CoverageType>4</CoverageType>
      <CoverageTypeDescription>sample string 7</CoverageTypeDescription>
      <Description>sample string 3</Description>
      <EmployeeID>1</EmployeeID>
      <LastChanged>2024-05-18T05:04:24.4488856+00:00</LastChanged>
      <UserName>sample string 5</UserName>
    </HousekeeperArea>
  </HousekeeperArea>
  <selectedStatuses>
    <CleaningStatus>
      <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:04:24.4488856+00:00</LastChanged>
      <Optional>true</Optional>
      <Order>11</Order>
      <ParentID>1</ParentID>
      <UserName>sample string 4</UserName>
    </CleaningStatus>
    <CleaningStatus>
      <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:04:24.4488856+00:00</LastChanged>
      <Optional>true</Optional>
      <Order>11</Order>
      <ParentID>1</ParentID>
      <UserName>sample string 4</UserName>
    </CleaningStatus>
  </selectedStatuses>
</HKAreaStatus>

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

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>