POST ExcelGetSupply?sid={sid}&reqDateTime={reqDateTime}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sid

integer

Required

reqDateTime

date

Required

Body Parameters

SupplyRequest
NameDescriptionTypeAdditional information
LOS

string

None.

Guest

string

None.

CheckInStartDate

date

None.

CheckInEndDate

date

None.

SID

integer

None.

PropertyID

integer

None.

PropertyName

string

None.

ShopDateTime

date

None.

Request Formats

application/json, text/json

Sample:
{
  "LOS": "sample string 1",
  "Guest": "sample string 2",
  "CheckInStartDate": "2025-04-28T17:00:28.954032+00:00",
  "CheckInEndDate": "2025-04-28T17:00:28.954032+00:00",
  "SID": 5,
  "PropertyID": 6,
  "PropertyName": "sample string 7",
  "ShopDateTime": "2025-04-28T17:00:28.954032+00:00"
}

text/html

Sample:
{"LOS":"sample string 1","Guest":"sample string 2","CheckInStartDate":"2025-04-28T17:00:28.954032+00:00","CheckInEndDate":"2025-04-28T17:00:28.954032+00:00","SID":5,"PropertyID":6,"PropertyName":"sample string 7","ShopDateTime":"2025-04-28T17:00:28.954032+00:00"}

application/xml, text/xml

Sample:
<SupplyRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Supply">
  <CheckInEndDate>2025-04-28T17:00:28.954032+00:00</CheckInEndDate>
  <CheckInStartDate>2025-04-28T17:00:28.954032+00:00</CheckInStartDate>
  <Guest>sample string 2</Guest>
  <LOS>sample string 1</LOS>
  <PropertyID>6</PropertyID>
  <PropertyName>sample string 7</PropertyName>
  <SID>5</SID>
  <ShopDateTime>2025-04-28T17:00:28.954032+00:00</ShopDateTime>
</SupplyRequest>

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

Response Information

Resource Description

string

Response Formats

application/json, text/json, text/html

Sample:
"sample string 1"

application/xml, text/xml

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