POST Bestbuy/BookingValuationRequest

Request Information

URI Parameters

None.

Body Parameters

BestbuyBookingValuationRQ
NameDescriptionTypeAdditional information
Header

BestbuyHeader

None.

Main

BestbuyBookingValuationMain

None.

Request Formats

application/json, text/json

Sample:
{
  "Header": {
    "Agency": "sample string 1",
    "User": "sample string 2",
    "Password": "sample string 3",
    "Operation": "sample string 4",
    "OperationType": "sample string 5"
  },
  "Main": {
    "HotelSearchCode": "sample string 1",
    "ArrivalDate": "sample string 2",
    "Version": "sample string 3",
    "ResponseFormat": "sample string 4",
    "IncludeGeo": "sample string 5"
  }
}

application/xml, text/xml

Sample:
<BestbuyBookingValuationRQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bestbuy.Model">
  <Header>
    <Agency>sample string 1</Agency>
    <Operation>sample string 4</Operation>
    <OperationType>sample string 5</OperationType>
    <Password>sample string 3</Password>
    <User>sample string 2</User>
  </Header>
  <Main>
    <IncludeGeo>sample string 5</IncludeGeo>
    <ResponseFormat>sample string 4</ResponseFormat>
    <Version>sample string 3</Version>
    <ArrivalDate>sample string 2</ArrivalDate>
    <HotelSearchCode>sample string 1</HotelSearchCode>
  </Main>
</BestbuyBookingValuationRQ>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ContainerObjectOfBestbuyBookingValuationRS
NameDescriptionTypeAdditional information
TotalItens

integer

None.

Completed

boolean

None.

Success

boolean

None.

HasResult

boolean

None.

Erro

Exception

None.

MensagemErro

string

None.

Data

Collection of BestbuyBookingValuationRS

None.

Token

string

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalItens": 1,
  "Completed": true,
  "Success": false,
  "HasResult": false,
  "Erro": {
    "ClassName": "System.Exception",
    "Message": null,
    "Data": null,
    "InnerException": null,
    "HelpURL": "sample string 1",
    "StackTraceString": null,
    "RemoteStackTraceString": null,
    "RemoteStackIndex": 0,
    "ExceptionMethod": null,
    "HResult": 3,
    "Source": "sample string 2",
    "WatsonBuckets": null
  },
  "MensagemErro": "sample string 3",
  "Data": [
    {
      "Header": {
        "Agency": "sample string 1",
        "User": "sample string 2",
        "Password": "sample string 3",
        "Operation": "sample string 4",
        "OperationType": "sample string 5"
      },
      "Main": {
        "HotelSearchCode": "sample string 1",
        "ArrivalDate": "sample string 2",
        "CancellationDeadline": "sample string 3",
        "Remarks": "sample string 4",
        "Rates": "sample string 5"
      }
    },
    {
      "Header": {
        "Agency": "sample string 1",
        "User": "sample string 2",
        "Password": "sample string 3",
        "Operation": "sample string 4",
        "OperationType": "sample string 5"
      },
      "Main": {
        "HotelSearchCode": "sample string 1",
        "ArrivalDate": "sample string 2",
        "CancellationDeadline": "sample string 3",
        "Remarks": "sample string 4",
        "Rates": "sample string 5"
      }
    }
  ],
  "Token": "sample string 4"
}

application/xml, text/xml

Sample:
<ContainerObjectOfBestbuyBookingValuationRSbEIiGjt6 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model">
  <Completed>true</Completed>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Bestbuy.Model">
    <d2p1:BestbuyBookingValuationRS>
      <d2p1:Header>
        <d2p1:Agency>sample string 1</d2p1:Agency>
        <d2p1:Operation>sample string 4</d2p1:Operation>
        <d2p1:OperationType>sample string 5</d2p1:OperationType>
        <d2p1:Password>sample string 3</d2p1:Password>
        <d2p1:User>sample string 2</d2p1:User>
      </d2p1:Header>
      <d2p1:Main>
        <d2p1:ArrivalDate>sample string 2</d2p1:ArrivalDate>
        <d2p1:CancellationDeadline>sample string 3</d2p1:CancellationDeadline>
        <d2p1:HotelSearchCode>sample string 1</d2p1:HotelSearchCode>
        <d2p1:Rates>sample string 5</d2p1:Rates>
        <d2p1:Remarks>sample string 4</d2p1:Remarks>
      </d2p1:Main>
    </d2p1:BestbuyBookingValuationRS>
    <d2p1:BestbuyBookingValuationRS>
      <d2p1:Header>
        <d2p1:Agency>sample string 1</d2p1:Agency>
        <d2p1:Operation>sample string 4</d2p1:Operation>
        <d2p1:OperationType>sample string 5</d2p1:OperationType>
        <d2p1:Password>sample string 3</d2p1:Password>
        <d2p1:User>sample string 2</d2p1:User>
      </d2p1:Header>
      <d2p1:Main>
        <d2p1:ArrivalDate>sample string 2</d2p1:ArrivalDate>
        <d2p1:CancellationDeadline>sample string 3</d2p1:CancellationDeadline>
        <d2p1:HotelSearchCode>sample string 1</d2p1:HotelSearchCode>
        <d2p1:Rates>sample string 5</d2p1:Rates>
        <d2p1:Remarks>sample string 4</d2p1:Remarks>
      </d2p1:Main>
    </d2p1:BestbuyBookingValuationRS>
  </Data>
  <Erro xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName>
    <Message i:nil="true" xmlns="" />
    <Data i:nil="true" xmlns="" />
    <InnerException i:nil="true" xmlns="" />
    <HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL>
    <StackTraceString i:nil="true" xmlns="" />
    <RemoteStackTraceString i:nil="true" xmlns="" />
    <RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex>
    <ExceptionMethod i:nil="true" xmlns="" />
    <HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult>
    <Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Source>
    <WatsonBuckets i:nil="true" xmlns="" />
  </Erro>
  <MensagemErro>sample string 3</MensagemErro>
  <Token>sample string 4</Token>
  <TotalItens>1</TotalItens>
</ContainerObjectOfBestbuyBookingValuationRSbEIiGjt6>