GET api/BedCleaning/areas

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CleaningArea
NameDescriptionTypeAdditional 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": "2024-05-18T06:33:12.2662537Z",
    "Spaces": [
      1,
      2
    ]
  },
  {
    "ID": 1,
    "Description": "sample string 2",
    "EnDescription": "samplestring2",
    "AccountID": 3,
    "IsSelectable": true,
    "UserName": "sample string 5",
    "LastChanged": "2024-05-18T06:33:12.2662537Z",
    "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>2024-05-18T06:33:12.2662537+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>2024-05-18T06:33:12.2662537+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>