GET GetSupplyData?FromDate={FromDate}&ToDate={ToDate}&SID={SID}&LOS={LOS}&Guest={Guest}&ShopDateTime={ShopDateTime}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
FromDate

string

Required

ToDate

string

Required

SID

string

Required

LOS

string

Required

Guest

string

Required

ShopDateTime

string

Default value is

Body Parameters

None.

Response Information

Resource Description

ResponseOfListOfSupplyViewModel
NameDescriptionTypeAdditional information
Message

string

None.

Status

boolean

None.

Body

Collection of SupplyViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Status": true,
  "Body": [
    {
      "LOS": 1,
      "Guest": 2,
      "SupplyEntites": [
        {
          "ComponentType": 0,
          "ComponentName": "sample string 1",
          "SupplyEntityCollection": [
            {
              "SupplyData": 1.0,
              "SupplyText": "sample string 1",
              "CheckInDate": "2025-04-28T17:37:15.1187176+00:00",
              "ColorCode": 0,
              "LOS": "sample string 3",
              "Guests": "sample string 4",
              "ShortRateDescription": "sample string 5",
              "ChannelName": "sample string 6",
              "NoofProperties": 7,
              "ShopDateTime": "2025-04-28T17:37:15.1187176+00:00"
            },
            {
              "SupplyData": 1.0,
              "SupplyText": "sample string 1",
              "CheckInDate": "2025-04-28T17:37:15.1187176+00:00",
              "ColorCode": 0,
              "LOS": "sample string 3",
              "Guests": "sample string 4",
              "ShortRateDescription": "sample string 5",
              "ChannelName": "sample string 6",
              "NoofProperties": 7,
              "ShopDateTime": "2025-04-28T17:37:15.1187176+00:00"
            }
          ]
        },
        {
          "ComponentType": 0,
          "ComponentName": "sample string 1",
          "SupplyEntityCollection": [
            {
              "SupplyData": 1.0,
              "SupplyText": "sample string 1",
              "CheckInDate": "2025-04-28T17:37:15.1187176+00:00",
              "ColorCode": 0,
              "LOS": "sample string 3",
              "Guests": "sample string 4",
              "ShortRateDescription": "sample string 5",
              "ChannelName": "sample string 6",
              "NoofProperties": 7,
              "ShopDateTime": "2025-04-28T17:37:15.1187176+00:00"
            },
            {
              "SupplyData": 1.0,
              "SupplyText": "sample string 1",
              "CheckInDate": "2025-04-28T17:37:15.1187176+00:00",
              "ColorCode": 0,
              "LOS": "sample string 3",
              "Guests": "sample string 4",
              "ShortRateDescription": "sample string 5",
              "ChannelName": "sample string 6",
              "NoofProperties": 7,
              "ShopDateTime": "2025-04-28T17:37:15.1187176+00:00"
            }
          ]
        }
      ],
      "EventEntity": [
        {
          "EventDate": "2025-04-28T17:37:15.1187176+00:00",
          "EventDetails": [
            {
              "EventName": "sample string 1",
              "EventId": 2,
              "Color": "sample string 3",
              "EventImpact": 4
            },
            {
              "EventName": "sample string 1",
              "EventId": 2,
              "Color": "sample string 3",
              "EventImpact": 4
            }
          ]
        },
        {
          "EventDate": "2025-04-28T17:37:15.1187176+00:00",
          "EventDetails": [
            {
              "EventName": "sample string 1",
              "EventId": 2,
              "Color": "sample string 3",
              "EventImpact": 4
            },
            {
              "EventName": "sample string 1",
              "EventId": 2,
              "Color": "sample string 3",
              "EventImpact": 4
            }
          ]
        }
      ]
    },
    {
      "LOS": 1,
      "Guest": 2,
      "SupplyEntites": [
        {
          "ComponentType": 0,
          "ComponentName": "sample string 1",
          "SupplyEntityCollection": [
            {
              "SupplyData": 1.0,
              "SupplyText": "sample string 1",
              "CheckInDate": "2025-04-28T17:37:15.1187176+00:00",
              "ColorCode": 0,
              "LOS": "sample string 3",
              "Guests": "sample string 4",
              "ShortRateDescription": "sample string 5",
              "ChannelName": "sample string 6",
              "NoofProperties": 7,
              "ShopDateTime": "2025-04-28T17:37:15.1187176+00:00"
            },
            {
              "SupplyData": 1.0,
              "SupplyText": "sample string 1",
              "CheckInDate": "2025-04-28T17:37:15.1187176+00:00",
              "ColorCode": 0,
              "LOS": "sample string 3",
              "Guests": "sample string 4",
              "ShortRateDescription": "sample string 5",
              "ChannelName": "sample string 6",
              "NoofProperties": 7,
              "ShopDateTime": "2025-04-28T17:37:15.1187176+00:00"
            }
          ]
        },
        {
          "ComponentType": 0,
          "ComponentName": "sample string 1",
          "SupplyEntityCollection": [
            {
              "SupplyData": 1.0,
              "SupplyText": "sample string 1",
              "CheckInDate": "2025-04-28T17:37:15.1187176+00:00",
              "ColorCode": 0,
              "LOS": "sample string 3",
              "Guests": "sample string 4",
              "ShortRateDescription": "sample string 5",
              "ChannelName": "sample string 6",
              "NoofProperties": 7,
              "ShopDateTime": "2025-04-28T17:37:15.1187176+00:00"
            },
            {
              "SupplyData": 1.0,
              "SupplyText": "sample string 1",
              "CheckInDate": "2025-04-28T17:37:15.1187176+00:00",
              "ColorCode": 0,
              "LOS": "sample string 3",
              "Guests": "sample string 4",
              "ShortRateDescription": "sample string 5",
              "ChannelName": "sample string 6",
              "NoofProperties": 7,
              "ShopDateTime": "2025-04-28T17:37:15.1187176+00:00"
            }
          ]
        }
      ],
      "EventEntity": [
        {
          "EventDate": "2025-04-28T17:37:15.1187176+00:00",
          "EventDetails": [
            {
              "EventName": "sample string 1",
              "EventId": 2,
              "Color": "sample string 3",
              "EventImpact": 4
            },
            {
              "EventName": "sample string 1",
              "EventId": 2,
              "Color": "sample string 3",
              "EventImpact": 4
            }
          ]
        },
        {
          "EventDate": "2025-04-28T17:37:15.1187176+00:00",
          "EventDetails": [
            {
              "EventName": "sample string 1",
              "EventId": 2,
              "Color": "sample string 3",
              "EventImpact": 4
            },
            {
              "EventName": "sample string 1",
              "EventId": 2,
              "Color": "sample string 3",
              "EventImpact": 4
            }
          ]
        }
      ]
    }
  ]
}

text/html

Sample:
{"Message":"sample string 1","Status":true,"Body":[{"LOS":1,"Guest":2,"SupplyEntites":[{"ComponentType":0,"ComponentName":"sample string 1","SupplyEntityCollection":[{"SupplyData":1.0,"SupplyText":"sample string 1","CheckInDate":"2025-04-28T17:37:15.1187176+00:00","ColorCode":0,"LOS":"sample string 3","Guests":"sample string 4","ShortRateDescription":"sample string 5","ChannelName":"sample string 6","NoofProperties":7,"ShopDateTime":"2025-04-28T17:37:15.1187176+00:00"},{"SupplyData":1.0,"SupplyText":"sample string 1","CheckInDate":"2025-04-28T17:37:15.1187176+00:00","ColorCode":0,"LOS":"sample string 3","Guests":"sample string 4","ShortRateDescription":"sample string 5","ChannelName":"sample string 6","NoofProperties":7,"ShopDateTime":"2025-04-28T17:37:15.1187176+00:00"}]},{"ComponentType":0,"ComponentName":"sample string 1","SupplyEntityCollection":[{"SupplyData":1.0,"SupplyText":"sample string 1","CheckInDate":"2025-04-28T17:37:15.1187176+00:00","ColorCode":0,"LOS":"sample string 3","Guests":"sample string 4","ShortRateDescription":"sample string 5","ChannelName":"sample string 6","NoofProperties":7,"ShopDateTime":"2025-04-28T17:37:15.1187176+00:00"},{"SupplyData":1.0,"SupplyText":"sample string 1","CheckInDate":"2025-04-28T17:37:15.1187176+00:00","ColorCode":0,"LOS":"sample string 3","Guests":"sample string 4","ShortRateDescription":"sample string 5","ChannelName":"sample string 6","NoofProperties":7,"ShopDateTime":"2025-04-28T17:37:15.1187176+00:00"}]}],"EventEntity":[{"EventDate":"2025-04-28T17:37:15.1187176+00:00","EventDetails":[{"EventName":"sample string 1","EventId":2,"Color":"sample string 3","EventImpact":4},{"EventName":"sample string 1","EventId":2,"Color":"sample string 3","EventImpact":4}]},{"EventDate":"2025-04-28T17:37:15.1187176+00:00","EventDetails":[{"EventName":"sample string 1","EventId":2,"Color":"sample string 3","EventImpact":4},{"EventName":"sample string 1","EventId":2,"Color":"sample string 3","EventImpact":4}]}]},{"LOS":1,"Guest":2,"SupplyEntites":[{"ComponentType":0,"ComponentName":"sample string 1","SupplyEntityCollection":[{"SupplyData":1.0,"SupplyText":"sample string 1","CheckInDate":"2025-04-28T17:37:15.1187176+00:00","ColorCode":0,"LOS":"sample string 3","Guests":"sample string 4","ShortRateDescription":"sample string 5","ChannelName":"sample string 6","NoofProperties":7,"ShopDateTime":"2025-04-28T17:37:15.1187176+00:00"},{"SupplyData":1.0,"SupplyText":"sample string 1","CheckInDate":"2025-04-28T17:37:15.1187176+00:00","ColorCode":0,"LOS":"sample string 3","Guests":"sample string 4","ShortRateDescription":"sample string 5","ChannelName":"sample string 6","NoofProperties":7,"ShopDateTime":"2025-04-28T17:37:15.1187176+00:00"}]},{"ComponentType":0,"ComponentName":"sample string 1","SupplyEntityCollection":[{"SupplyData":1.0,"SupplyText":"sample string 1","CheckInDate":"2025-04-28T17:37:15.1187176+00:00","ColorCode":0,"LOS":"sample string 3","Guests":"sample string 4","ShortRateDescription":"sample string 5","ChannelName":"sample string 6","NoofProperties":7,"ShopDateTime":"2025-04-28T17:37:15.1187176+00:00"},{"SupplyData":1.0,"SupplyText":"sample string 1","CheckInDate":"2025-04-28T17:37:15.1187176+00:00","ColorCode":0,"LOS":"sample string 3","Guests":"sample string 4","ShortRateDescription":"sample string 5","ChannelName":"sample string 6","NoofProperties":7,"ShopDateTime":"2025-04-28T17:37:15.1187176+00:00"}]}],"EventEntity":[{"EventDate":"2025-04-28T17:37:15.1187176+00:00","EventDetails":[{"EventName":"sample string 1","EventId":2,"Color":"sample string 3","EventImpact":4},{"EventName":"sample string 1","EventId":2,"Color":"sample string 3","EventImpact":4}]},{"EventDate":"2025-04-28T17:37:15.1187176+00:00","EventDetails":[{"EventName":"sample string 1","EventId":2,"Color":"sample string 3","EventImpact":4},{"EventName":"sample string 1","EventId":2,"Color":"sample string 3","EventImpact":4}]}]}]}

application/xml, text/xml

Sample:
<ResponseOfArrayOfSupplyViewModelQzIzD0mn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Common">
  <Body>
    <SupplyViewModel>
      <EventEntity xmlns:d4p1="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Events">
        <d4p1:EventEntites>
          <d4p1:EventDate>2025-04-28T17:37:15.1187176+00:00</d4p1:EventDate>
          <d4p1:EventDetails>
            <d4p1:PricePostioningEventView>
              <d4p1:Color>sample string 3</d4p1:Color>
              <d4p1:EventId>2</d4p1:EventId>
              <d4p1:EventImpact>4</d4p1:EventImpact>
              <d4p1:EventName>sample string 1</d4p1:EventName>
            </d4p1:PricePostioningEventView>
            <d4p1:PricePostioningEventView>
              <d4p1:Color>sample string 3</d4p1:Color>
              <d4p1:EventId>2</d4p1:EventId>
              <d4p1:EventImpact>4</d4p1:EventImpact>
              <d4p1:EventName>sample string 1</d4p1:EventName>
            </d4p1:PricePostioningEventView>
          </d4p1:EventDetails>
        </d4p1:EventEntites>
        <d4p1:EventEntites>
          <d4p1:EventDate>2025-04-28T17:37:15.1187176+00:00</d4p1:EventDate>
          <d4p1:EventDetails>
            <d4p1:PricePostioningEventView>
              <d4p1:Color>sample string 3</d4p1:Color>
              <d4p1:EventId>2</d4p1:EventId>
              <d4p1:EventImpact>4</d4p1:EventImpact>
              <d4p1:EventName>sample string 1</d4p1:EventName>
            </d4p1:PricePostioningEventView>
            <d4p1:PricePostioningEventView>
              <d4p1:Color>sample string 3</d4p1:Color>
              <d4p1:EventId>2</d4p1:EventId>
              <d4p1:EventImpact>4</d4p1:EventImpact>
              <d4p1:EventName>sample string 1</d4p1:EventName>
            </d4p1:PricePostioningEventView>
          </d4p1:EventDetails>
        </d4p1:EventEntites>
      </EventEntity>
      <Guest>2</Guest>
      <LOS>1</LOS>
      <SupplyEntites>
        <SupplyContainerEntity>
          <ComponentName>sample string 1</ComponentName>
          <ComponentType>MySubscriberRate</ComponentType>
          <SupplyEntityCollection>
            <SupplyEntityModel>
              <ChannelName>sample string 6</ChannelName>
              <CheckInDate>2025-04-28T17:37:15.1187176+00:00</CheckInDate>
              <ColorCode>None</ColorCode>
              <Guests>sample string 4</Guests>
              <LOS>sample string 3</LOS>
              <NoofProperties>7</NoofProperties>
              <ShopDateTime>2025-04-28T17:37:15.1187176+00:00</ShopDateTime>
              <ShortRateDescription>sample string 5</ShortRateDescription>
              <SupplyData>1</SupplyData>
              <SupplyText>sample string 1</SupplyText>
            </SupplyEntityModel>
            <SupplyEntityModel>
              <ChannelName>sample string 6</ChannelName>
              <CheckInDate>2025-04-28T17:37:15.1187176+00:00</CheckInDate>
              <ColorCode>None</ColorCode>
              <Guests>sample string 4</Guests>
              <LOS>sample string 3</LOS>
              <NoofProperties>7</NoofProperties>
              <ShopDateTime>2025-04-28T17:37:15.1187176+00:00</ShopDateTime>
              <ShortRateDescription>sample string 5</ShortRateDescription>
              <SupplyData>1</SupplyData>
              <SupplyText>sample string 1</SupplyText>
            </SupplyEntityModel>
          </SupplyEntityCollection>
        </SupplyContainerEntity>
        <SupplyContainerEntity>
          <ComponentName>sample string 1</ComponentName>
          <ComponentType>MySubscriberRate</ComponentType>
          <SupplyEntityCollection>
            <SupplyEntityModel>
              <ChannelName>sample string 6</ChannelName>
              <CheckInDate>2025-04-28T17:37:15.1187176+00:00</CheckInDate>
              <ColorCode>None</ColorCode>
              <Guests>sample string 4</Guests>
              <LOS>sample string 3</LOS>
              <NoofProperties>7</NoofProperties>
              <ShopDateTime>2025-04-28T17:37:15.1187176+00:00</ShopDateTime>
              <ShortRateDescription>sample string 5</ShortRateDescription>
              <SupplyData>1</SupplyData>
              <SupplyText>sample string 1</SupplyText>
            </SupplyEntityModel>
            <SupplyEntityModel>
              <ChannelName>sample string 6</ChannelName>
              <CheckInDate>2025-04-28T17:37:15.1187176+00:00</CheckInDate>
              <ColorCode>None</ColorCode>
              <Guests>sample string 4</Guests>
              <LOS>sample string 3</LOS>
              <NoofProperties>7</NoofProperties>
              <ShopDateTime>2025-04-28T17:37:15.1187176+00:00</ShopDateTime>
              <ShortRateDescription>sample string 5</ShortRateDescription>
              <SupplyData>1</SupplyData>
              <SupplyText>sample string 1</SupplyText>
            </SupplyEntityModel>
          </SupplyEntityCollection>
        </SupplyContainerEntity>
      </SupplyEntites>
    </SupplyViewModel>
    <SupplyViewModel>
      <EventEntity xmlns:d4p1="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Events">
        <d4p1:EventEntites>
          <d4p1:EventDate>2025-04-28T17:37:15.1187176+00:00</d4p1:EventDate>
          <d4p1:EventDetails>
            <d4p1:PricePostioningEventView>
              <d4p1:Color>sample string 3</d4p1:Color>
              <d4p1:EventId>2</d4p1:EventId>
              <d4p1:EventImpact>4</d4p1:EventImpact>
              <d4p1:EventName>sample string 1</d4p1:EventName>
            </d4p1:PricePostioningEventView>
            <d4p1:PricePostioningEventView>
              <d4p1:Color>sample string 3</d4p1:Color>
              <d4p1:EventId>2</d4p1:EventId>
              <d4p1:EventImpact>4</d4p1:EventImpact>
              <d4p1:EventName>sample string 1</d4p1:EventName>
            </d4p1:PricePostioningEventView>
          </d4p1:EventDetails>
        </d4p1:EventEntites>
        <d4p1:EventEntites>
          <d4p1:EventDate>2025-04-28T17:37:15.1187176+00:00</d4p1:EventDate>
          <d4p1:EventDetails>
            <d4p1:PricePostioningEventView>
              <d4p1:Color>sample string 3</d4p1:Color>
              <d4p1:EventId>2</d4p1:EventId>
              <d4p1:EventImpact>4</d4p1:EventImpact>
              <d4p1:EventName>sample string 1</d4p1:EventName>
            </d4p1:PricePostioningEventView>
            <d4p1:PricePostioningEventView>
              <d4p1:Color>sample string 3</d4p1:Color>
              <d4p1:EventId>2</d4p1:EventId>
              <d4p1:EventImpact>4</d4p1:EventImpact>
              <d4p1:EventName>sample string 1</d4p1:EventName>
            </d4p1:PricePostioningEventView>
          </d4p1:EventDetails>
        </d4p1:EventEntites>
      </EventEntity>
      <Guest>2</Guest>
      <LOS>1</LOS>
      <SupplyEntites>
        <SupplyContainerEntity>
          <ComponentName>sample string 1</ComponentName>
          <ComponentType>MySubscriberRate</ComponentType>
          <SupplyEntityCollection>
            <SupplyEntityModel>
              <ChannelName>sample string 6</ChannelName>
              <CheckInDate>2025-04-28T17:37:15.1187176+00:00</CheckInDate>
              <ColorCode>None</ColorCode>
              <Guests>sample string 4</Guests>
              <LOS>sample string 3</LOS>
              <NoofProperties>7</NoofProperties>
              <ShopDateTime>2025-04-28T17:37:15.1187176+00:00</ShopDateTime>
              <ShortRateDescription>sample string 5</ShortRateDescription>
              <SupplyData>1</SupplyData>
              <SupplyText>sample string 1</SupplyText>
            </SupplyEntityModel>
            <SupplyEntityModel>
              <ChannelName>sample string 6</ChannelName>
              <CheckInDate>2025-04-28T17:37:15.1187176+00:00</CheckInDate>
              <ColorCode>None</ColorCode>
              <Guests>sample string 4</Guests>
              <LOS>sample string 3</LOS>
              <NoofProperties>7</NoofProperties>
              <ShopDateTime>2025-04-28T17:37:15.1187176+00:00</ShopDateTime>
              <ShortRateDescription>sample string 5</ShortRateDescription>
              <SupplyData>1</SupplyData>
              <SupplyText>sample string 1</SupplyText>
            </SupplyEntityModel>
          </SupplyEntityCollection>
        </SupplyContainerEntity>
        <SupplyContainerEntity>
          <ComponentName>sample string 1</ComponentName>
          <ComponentType>MySubscriberRate</ComponentType>
          <SupplyEntityCollection>
            <SupplyEntityModel>
              <ChannelName>sample string 6</ChannelName>
              <CheckInDate>2025-04-28T17:37:15.1187176+00:00</CheckInDate>
              <ColorCode>None</ColorCode>
              <Guests>sample string 4</Guests>
              <LOS>sample string 3</LOS>
              <NoofProperties>7</NoofProperties>
              <ShopDateTime>2025-04-28T17:37:15.1187176+00:00</ShopDateTime>
              <ShortRateDescription>sample string 5</ShortRateDescription>
              <SupplyData>1</SupplyData>
              <SupplyText>sample string 1</SupplyText>
            </SupplyEntityModel>
            <SupplyEntityModel>
              <ChannelName>sample string 6</ChannelName>
              <CheckInDate>2025-04-28T17:37:15.1187176+00:00</CheckInDate>
              <ColorCode>None</ColorCode>
              <Guests>sample string 4</Guests>
              <LOS>sample string 3</LOS>
              <NoofProperties>7</NoofProperties>
              <ShopDateTime>2025-04-28T17:37:15.1187176+00:00</ShopDateTime>
              <ShortRateDescription>sample string 5</ShortRateDescription>
              <SupplyData>1</SupplyData>
              <SupplyText>sample string 1</SupplyText>
            </SupplyEntityModel>
          </SupplyEntityCollection>
        </SupplyContainerEntity>
      </SupplyEntites>
    </SupplyViewModel>
  </Body>
  <Message>sample string 1</Message>
  <Status>true</Status>
</ResponseOfArrayOfSupplyViewModelQzIzD0mn>