POST saveHREData?PropertyId={PropertyId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PropertyId

integer

Required

Body Parameters

Collection of HREPaceData
NameDescriptionTypeAdditional information
SID

integer

None.

PropertyID

integer

None.

CheckInDate

date

None.

ChannelId

integer

None.

ChannelName

string

None.

LOS

integer

None.

Guest

integer

None.

RoomType

string

None.

RateType

string

None.

TotalRecordCount

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "SID": 1,
    "PropertyID": 2,
    "CheckInDate": "2025-04-28T17:26:47.0102395+00:00",
    "ChannelId": 4,
    "ChannelName": "sample string 5",
    "LOS": 6,
    "Guest": 7,
    "RoomType": "sample string 8",
    "RateType": "sample string 9",
    "TotalRecordCount": 10
  },
  {
    "SID": 1,
    "PropertyID": 2,
    "CheckInDate": "2025-04-28T17:26:47.0102395+00:00",
    "ChannelId": 4,
    "ChannelName": "sample string 5",
    "LOS": 6,
    "Guest": 7,
    "RoomType": "sample string 8",
    "RateType": "sample string 9",
    "TotalRecordCount": 10
  }
]

text/html

Sample:
[{"SID":1,"PropertyID":2,"CheckInDate":"2025-04-28T17:26:47.0102395+00:00","ChannelId":4,"ChannelName":"sample string 5","LOS":6,"Guest":7,"RoomType":"sample string 8","RateType":"sample string 9","TotalRecordCount":10},{"SID":1,"PropertyID":2,"CheckInDate":"2025-04-28T17:26:47.0102395+00:00","ChannelId":4,"ChannelName":"sample string 5","LOS":6,"Guest":7,"RoomType":"sample string 8","RateType":"sample string 9","TotalRecordCount":10}]

application/xml, text/xml

Sample:
<ArrayOfHREPaceData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Common">
  <HREPaceData>
    <ChannelId>4</ChannelId>
    <ChannelName>sample string 5</ChannelName>
    <CheckInDate>2025-04-28T17:26:47.0102395+00:00</CheckInDate>
    <Guest>7</Guest>
    <LOS>6</LOS>
    <PropertyID>2</PropertyID>
    <RateType>sample string 9</RateType>
    <RoomType>sample string 8</RoomType>
    <SID>1</SID>
    <TotalRecordCount>10</TotalRecordCount>
  </HREPaceData>
  <HREPaceData>
    <ChannelId>4</ChannelId>
    <ChannelName>sample string 5</ChannelName>
    <CheckInDate>2025-04-28T17:26:47.0102395+00:00</CheckInDate>
    <Guest>7</Guest>
    <LOS>6</LOS>
    <PropertyID>2</PropertyID>
    <RateType>sample string 9</RateType>
    <RoomType>sample string 8</RoomType>
    <SID>1</SID>
    <TotalRecordCount>10</TotalRecordCount>
  </HREPaceData>
</ArrayOfHREPaceData>

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 'List`1'.

Response Information

Resource Description

ResponseOfBoolean
NameDescriptionTypeAdditional information
Message

string

None.

Status

boolean

None.

Body

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Status": true,
  "Body": true
}

text/html

Sample:
{"Message":"sample string 1","Status":true,"Body":true}

application/xml, text/xml

Sample:
<ResponseOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Common">
  <Body>true</Body>
  <Message>sample string 1</Message>
  <Status>true</Status>
</ResponseOfboolean>