GET api/BedCleaning/areas
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of CleaningArea| Name | Description | Type | Additional information | 
|---|---|---|---|
| ID | integer | 
                             None.  | 
                |
| Description | string | 
                                 Required String length: inclusive between 0 and 50  | 
                |
| EnDescription | string | 
                             None.  | 
                |
| AccountID | integer | 
                             None.  | 
                |
| IsSelectable | boolean | 
                             None.  | 
                |
| UserName | string | 
                             None.  | 
                |
| LastChanged | date | 
                             None.  | 
                |
| Spaces | Collection of integer | 
                             None.  | 
                
Response Formats
application/json, text/json
            Sample:
        
[
  {
    "ID": 1,
    "Description": "sample string 2",
    "EnDescription": "samplestring2",
    "AccountID": 3,
    "IsSelectable": true,
    "UserName": "sample string 5",
    "LastChanged": "2025-11-04T03:51:28.5602189Z",
    "Spaces": [
      1,
      2
    ]
  },
  {
    "ID": 1,
    "Description": "sample string 2",
    "EnDescription": "samplestring2",
    "AccountID": 3,
    "IsSelectable": true,
    "UserName": "sample string 5",
    "LastChanged": "2025-11-04T03:51:28.5602189Z",
    "Spaces": [
      1,
      2
    ]
  }
]
        application/xml, text/xml
            Sample:
<ArrayOfCleaningArea xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aramark.ISIS.Domain.Models">
  <CleaningArea>
    <AccountID>3</AccountID>
    <Description>sample string 2</Description>
    <ID>1</ID>
    <IsSelectable>true</IsSelectable>
    <LastChanged>2025-11-04T03:51:28.5602189+00:00</LastChanged>
    <Spaces xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </Spaces>
    <UserName>sample string 5</UserName>
  </CleaningArea>
  <CleaningArea>
    <AccountID>3</AccountID>
    <Description>sample string 2</Description>
    <ID>1</ID>
    <IsSelectable>true</IsSelectable>
    <LastChanged>2025-11-04T03:51:28.5602189+00:00</LastChanged>
    <Spaces xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </Spaces>
    <UserName>sample string 5</UserName>
  </CleaningArea>
</ArrayOfCleaningArea>