POST Bestbuy/BookingCancel

Request Information

URI Parameters

None.

Body Parameters

BestbuyBookingCancelRQ
NameDescriptionTypeAdditional information
Header

BestbuyHeader

None.

Main

BestbuyCancelRequestRQMain

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": {
    "GoBookingCode": "sample string 1",
    "Version": "sample string 2",
    "ResponseFormat": "sample string 3",
    "IncludeGeo": "sample string 4"
  }
}

application/xml, text/xml

Sample:
<BestbuyBookingCancelRQ 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 4</IncludeGeo>
    <ResponseFormat>sample string 3</ResponseFormat>
    <Version>sample string 2</Version>
    <GoBookingCode>sample string 1</GoBookingCode>
  </Main>
</BestbuyBookingCancelRQ>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ContainerObjectOfBestbuyBookingCancelRS
NameDescriptionTypeAdditional information
TotalItens

integer

None.

Completed

boolean

None.

Success

boolean

None.

HasResult

boolean

None.

Erro

Exception

None.

MensagemErro

string

None.

Data

Collection of BestbuyBookingCancelRS

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": {
        "GoBookingCode": "sample string 1",
        "BookingStatus": "sample string 2",
        "Version": "sample string 3",
        "ResponseFormat": "sample string 4",
        "IncludeGeo": "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": {
        "GoBookingCode": "sample string 1",
        "BookingStatus": "sample string 2",
        "Version": "sample string 3",
        "ResponseFormat": "sample string 4",
        "IncludeGeo": "sample string 5"
      }
    }
  ],
  "Token": "sample string 4"
}

application/xml, text/xml

Sample:
<ContainerObjectOfBestbuyBookingCancelRSbEIiGjt6 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:BestbuyBookingCancelRS>
      <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:IncludeGeo>sample string 5</d2p1:IncludeGeo>
        <d2p1:ResponseFormat>sample string 4</d2p1:ResponseFormat>
        <d2p1:Version>sample string 3</d2p1:Version>
        <d2p1:BookingStatus>sample string 2</d2p1:BookingStatus>
        <d2p1:GoBookingCode>sample string 1</d2p1:GoBookingCode>
      </d2p1:Main>
    </d2p1:BestbuyBookingCancelRS>
    <d2p1:BestbuyBookingCancelRS>
      <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:IncludeGeo>sample string 5</d2p1:IncludeGeo>
        <d2p1:ResponseFormat>sample string 4</d2p1:ResponseFormat>
        <d2p1:Version>sample string 3</d2p1:Version>
        <d2p1:BookingStatus>sample string 2</d2p1:BookingStatus>
        <d2p1:GoBookingCode>sample string 1</d2p1:GoBookingCode>
      </d2p1:Main>
    </d2p1:BestbuyBookingCancelRS>
  </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>
</ContainerObjectOfBestbuyBookingCancelRSbEIiGjt6>