PUT Groups/Bed/{bedID}?validateOnly={validateOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
bedID

integer

Required

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:05:19.5820891+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:05:19 AM"
  },
  "lastUpdated": {
    "dateUtc": "2024-12-04T08:05:19.5820891+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:05:19 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:05:19.5820891+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </Created>
  <ExtraServices>true</ExtraServices>
  <LastUpdated>
    <DateUtc>2024-12-04T08:05:19.5820891+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:
�͒�N�0�_%ʕnKC]Hӆ Ķ␥�ViI*'E��=�W m�&�q���_b�����+��gT�Ek�ڪl�<��D0G�2j�>I
TP'u��<fMڲ��/���4pe��\^��,�s/=�VBs*�4�ҫ�3�b>`ɂe��"ӌ�l_0&�*x�"�UZK���XCb>JFM	�L�!�[���������0(��2�m�<�9�{� ��c�0��.���i��#k����X7�>��(�5�����/2����xȂ\�9nd�7����|}��)�!�v���M��

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.