POST Groups/Bed?validateOnly={validateOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
validateOnly

boolean

Default value is False

Body Parameters

BedDTO
NameDescriptionTypeAdditional information
BedID

integer

None.

RootGroupID

integer

None.

ParentGroupID

integer

None.

BedName

string

None.

BedLocation

string

None.

Comments

string

None.

Props

Collection of Object

None.

RecordState

RecordState

None.

Created

AuditDataDTO

None.

LastUpdated

AuditDataDTO

None.

BathroomsCount

integer

None.

ExtraServices

boolean

None.

RoomType

string

None.

RoomCategoryEntryID

integer

None.

RoomCategoryEntryDescription

string

None.

MaximumRadAmount

decimal number

None.

MinimumRadAmount

decimal number

None.

OtherPrices

Collection of Object

None.

Summary

string

None.

Request Formats

application/json, text/json

Sample:
{
  "bedID": 1,
  "rootGroupID": 2,
  "parentGroupID": 3,
  "bedName": "sample string 4",
  "bedLocation": "sample string 5",
  "comments": "sample string 6",
  "recordState": 1,
  "created": {
    "dateUtc": "2024-12-04T08:13:54.4312009+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:13:54 AM"
  },
  "lastUpdated": {
    "dateUtc": "2024-12-04T08:13:54.4312009+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:13:54 AM"
  },
  "bathroomsCount": 1,
  "extraServices": true,
  "roomType": "sample string 7",
  "roomCategoryEntryID": 1,
  "roomCategoryEntryDescription": "sample string 8",
  "maximumRadAmount": 9.0,
  "minimumRadAmount": 1.0,
  "otherPrices": [],
  "summary": "sample string 5 > sample string 4"
}

application/xml, text/xml

Sample:
<BedDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models">
  <BathroomsCount>1</BathroomsCount>
  <BedID>1</BedID>
  <BedLocation>sample string 5</BedLocation>
  <BedName>sample string 4</BedName>
  <Comments>sample string 6</Comments>
  <Created>
    <DateUtc>2024-12-04T08:13:54.4312009+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </Created>
  <ExtraServices>true</ExtraServices>
  <LastUpdated>
    <DateUtc>2024-12-04T08:13:54.4312009+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </LastUpdated>
  <MaximumRadAmount>9</MaximumRadAmount>
  <MinimumRadAmount>1</MinimumRadAmount>
  <OtherPrices xmlns:d2p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" />
  <ParentGroupID>3</ParentGroupID>
  <Props xmlns:d2p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" i:nil="true" />
  <RecordState>Active</RecordState>
  <RoomCategoryEntryDescription>sample string 8</RoomCategoryEntryDescription>
  <RoomCategoryEntryID>1</RoomCategoryEntryID>
  <RoomType>sample string 7</RoomType>
  <RootGroupID>2</RootGroupID>
</BedDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/x-compressed-json

Sample:
�͒�N1�_����eQ؃	cL����P�؄��iװ!<��Wpv!!�x�6��v���|~����)O㈣s�]Y�g�B!ؓҏ���O�W���s�b	oأ�*�ζ���v�P:߂���lT�ƊF�0��g,��gRȤˎH�b���t�t�~,�]	�
A�JxѢ$�KcVmƜe��%��;�f�'���F��(��bg�še�ĕ64͂m@5��5P{���̫�]���>�rX�ـ�i~�S����P��ȨmnJ󪲱9�uɹ=��Zva
���o�w`�n�����鿮

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.