POST api/BedCleaning/housekeeperdefaultareas

Request Information

URI Parameters

None.

Body Parameters

Collection of HousekeeperArea
NameDescriptionTypeAdditional information
EmployeeID

integer

None.

CleanAreaID

integer

None.

Description

string

None.

EnDescription

string

None.

CoverageType

integer

None.

UserName

string

None.

LastChanged

date

None.

AccountID

integer

None.

CoverageTypeDescription

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "EmployeeID": 1,
    "CleanAreaID": 2,
    "Description": "sample string 3",
    "EnDescription": "samplestring3",
    "CoverageType": 4,
    "UserName": "sample string 5",
    "LastChanged": "2024-05-18T06:16:24.0519521Z",
    "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-18T06:16:24.0519521Z",
    "AccountID": 6,
    "CoverageTypeDescription": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfHousekeeperArea xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aramark.ISIS.Domain.Models">
  <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-18T06:16:24.0519521+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-18T06:16:24.0519521+00:00</LastChanged>
    <UserName>sample string 5</UserName>
  </HousekeeperArea>
</ArrayOfHousekeeperArea>

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 'HousekeeperArea[]'.

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>