POST api/Space/saveSpaceNotes

Request Information

URI Parameters

None.

Body Parameters

Space
NameDescriptionTypeAdditional information
ID

integer

None.

Description

string

Required

EnDescription

string

None.

Active

boolean

None.

Comments

string

String length: inclusive between 0 and 1024

Level

integer

None.

ParentID

integer

None.

OrderNumber

integer

None.

GrossSqFt

decimal number

None.

CleanableSqFt

decimal number

None.

MaintainableSqFt

decimal number

None.

IsInspectable

boolean

None.

UserName

string

None.

LastChanged

date

None.

LastVerificationDate

date

None.

AccountID

integer

None.

CostCenterID

integer

None.

SpaceTypeID

integer

Required

IvrNumber

string

None.

IsPatientSpace

boolean

None.

BedCount

integer

None.

FloorCount

integer

None.

AreaCount

integer

None.

CleanableSpaceCount

integer

None.

NonCleanableSpaceCount

integer

None.

HL7Identifier

string

None.

PointOfCare

string

None.

IsHrs

boolean

None.

HrsIgnoreInterval

integer

Required

SpacePath

string

None.

Building

string

None.

IsOutsourced

boolean

None.

IsVirtual

boolean

None.

Contents

Collection of SpaceInventoryContent

None.

HasChildren

boolean

None.

ParentUid

string

None.

ObjectUid

string

None.

AncestorList

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Description": "sample string 2",
  "EnDescription": "samplestring2",
  "Active": true,
  "Comments": "sample string 4",
  "Level": 1,
  "ParentID": 1,
  "OrderNumber": 1,
  "GrossSqFt": 1.0,
  "CleanableSqFt": 1.0,
  "MaintainableSqFt": 1.0,
  "IsInspectable": true,
  "UserName": "sample string 6",
  "LastChanged": "2024-05-18T04:00:50.2208887Z",
  "LastVerificationDate": "2024-05-18T04:00:50.2208887Z",
  "AccountID": 7,
  "CostCenterID": 1,
  "SpaceTypeID": 8,
  "IvrNumber": "sample string 9",
  "IsPatientSpace": true,
  "BedCount": 1,
  "FloorCount": 1,
  "AreaCount": 1,
  "CleanableSpaceCount": 1,
  "NonCleanableSpaceCount": 1,
  "HL7Identifier": "sample string 11",
  "PointOfCare": "sample string 12",
  "IsHrs": true,
  "HrsIgnoreInterval": 14,
  "SpacePath": "sample string 15",
  "Building": "sample string 16",
  "IsOutsourced": true,
  "IsVirtual": true,
  "Contents": [
    {
      "ID": 1,
      "Comments": "sample string 2",
      "Quantity": 1.0,
      "Length": 1.0,
      "Width": 1.0,
      "UserName": "sample string 3",
      "LastChanged": "2024-05-18T04:00:50.2208887Z",
      "SpaceID": 4,
      "SpaceContentID": 5,
      "CanIncludeNetCleanableSqFt": true,
      "FinishTypeID": 1,
      "CanSummarizeContent": true,
      "Description": "sample string 8",
      "AllowFinish": true
    },
    {
      "ID": 1,
      "Comments": "sample string 2",
      "Quantity": 1.0,
      "Length": 1.0,
      "Width": 1.0,
      "UserName": "sample string 3",
      "LastChanged": "2024-05-18T04:00:50.2208887Z",
      "SpaceID": 4,
      "SpaceContentID": 5,
      "CanIncludeNetCleanableSqFt": true,
      "FinishTypeID": 1,
      "CanSummarizeContent": true,
      "Description": "sample string 8",
      "AllowFinish": true
    }
  ],
  "HasChildren": true,
  "ParentUid": "sample string 19",
  "ObjectUid": "sample string 20",
  "AncestorList": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<Space xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aramark.ISIS.Domain.Models">
  <AccountID>7</AccountID>
  <Active>true</Active>
  <AncestorList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </AncestorList>
  <AreaCount>1</AreaCount>
  <BedCount>1</BedCount>
  <Building>sample string 16</Building>
  <CleanableSpaceCount>1</CleanableSpaceCount>
  <CleanableSqFt>1</CleanableSqFt>
  <Comments>sample string 4</Comments>
  <Contents>
    <SpaceInventoryContent>
      <AllowFinish>true</AllowFinish>
      <CanIncludeNetCleanableSqFt>true</CanIncludeNetCleanableSqFt>
      <CanSummarizeContent>true</CanSummarizeContent>
      <Comments>sample string 2</Comments>
      <Description>sample string 8</Description>
      <FinishTypeID>1</FinishTypeID>
      <ID>1</ID>
      <LastChanged>2024-05-18T04:00:50.2208887+00:00</LastChanged>
      <Length>1</Length>
      <Quantity>1</Quantity>
      <SpaceContentID>5</SpaceContentID>
      <SpaceID>4</SpaceID>
      <UserName>sample string 3</UserName>
      <Width>1</Width>
    </SpaceInventoryContent>
    <SpaceInventoryContent>
      <AllowFinish>true</AllowFinish>
      <CanIncludeNetCleanableSqFt>true</CanIncludeNetCleanableSqFt>
      <CanSummarizeContent>true</CanSummarizeContent>
      <Comments>sample string 2</Comments>
      <Description>sample string 8</Description>
      <FinishTypeID>1</FinishTypeID>
      <ID>1</ID>
      <LastChanged>2024-05-18T04:00:50.2208887+00:00</LastChanged>
      <Length>1</Length>
      <Quantity>1</Quantity>
      <SpaceContentID>5</SpaceContentID>
      <SpaceID>4</SpaceID>
      <UserName>sample string 3</UserName>
      <Width>1</Width>
    </SpaceInventoryContent>
  </Contents>
  <CostCenterID>1</CostCenterID>
  <Description>sample string 2</Description>
  <FloorCount>1</FloorCount>
  <GrossSqFt>1</GrossSqFt>
  <HL7Identifier>sample string 11</HL7Identifier>
  <HasChildren>true</HasChildren>
  <HrsIgnoreInterval>14</HrsIgnoreInterval>
  <ID>1</ID>
  <IsHrs>true</IsHrs>
  <IsInspectable>true</IsInspectable>
  <IsOutsourced>true</IsOutsourced>
  <IsPatientSpace>true</IsPatientSpace>
  <IsVirtual>true</IsVirtual>
  <IvrNumber>sample string 9</IvrNumber>
  <LastChanged>2024-05-18T04:00:50.2208887+00:00</LastChanged>
  <LastVerificationDate>2024-05-18T04:00:50.2208887+00:00</LastVerificationDate>
  <Level>1</Level>
  <MaintainableSqFt>1</MaintainableSqFt>
  <NonCleanableSpaceCount>1</NonCleanableSpaceCount>
  <ObjectUid>sample string 20</ObjectUid>
  <OrderNumber>1</OrderNumber>
  <ParentID>1</ParentID>
  <ParentUid>sample string 19</ParentUid>
  <PointOfCare>sample string 12</PointOfCare>
  <SpacePath>sample string 15</SpacePath>
  <SpaceTypeID>8</SpaceTypeID>
  <UserName>sample string 6</UserName>
</Space>

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

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>