POST api/PostBook/GetExtendedBookingDetails

Request Information

URI Parameters

None.

Body Parameters

FPExtendedBookingDetailsRQ
NameDescriptionTypeAdditional information
BookingGuid

string

None.

SoapAuthentication

SoapAuthentication

None.

Request Formats

application/json, text/json

Sample:
{
  "BookingGuid": "sample string 1",
  "SoapAuthentication": {
    "UserName": "sample string 1",
    "Password": "sample string 2"
  }
}

text/html

Sample:
{"BookingGuid":"sample string 1","SoapAuthentication":{"UserName":"sample string 1","Password":"sample string 2"}}

application/xml, text/xml

Sample:
<FPExtendedBookingDetailsRQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FPWebBox.BusinessObjects">
  <BookingGuid>sample string 1</BookingGuid>
  <SoapAuthentication>
    <Password>sample string 2</Password>
    <UserName>sample string 1</UserName>
  </SoapAuthentication>
</FPExtendedBookingDetailsRQ>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

FPExtendedBookingDetailsRS
NameDescriptionTypeAdditional information
Guid

string

None.

BookingNo

string

None.

BillingInfo

BillingDetalis

None.

AmtToCharge

decimal number

None.

AmtTotal

decimal number

None.

ErrorCode

string

None.

ErrorAtNode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Guid": "sample string 1",
  "BookingNo": "sample string 2",
  "BillingInfo": {
    "Phone": "sample string 1",
    "Email": "sample string 2",
    "Address1": "sample string 3",
    "Address2": "sample string 4",
    "City": "sample string 5",
    "State": "sample string 6",
    "Country": "sample string 7",
    "Zip": "sample string 8",
    "FlatNumber": "sample string 9",
    "ContactPhone": "sample string 10"
  },
  "AmtToCharge": 3.1,
  "AmtTotal": 4.1,
  "ErrorCode": "sample string 5",
  "ErrorAtNode": "sample string 6"
}

text/html

Sample:
{"Guid":"sample string 1","BookingNo":"sample string 2","BillingInfo":{"Phone":"sample string 1","Email":"sample string 2","Address1":"sample string 3","Address2":"sample string 4","City":"sample string 5","State":"sample string 6","Country":"sample string 7","Zip":"sample string 8","FlatNumber":"sample string 9","ContactPhone":"sample string 10"},"AmtToCharge":3.1,"AmtTotal":4.1,"ErrorCode":"sample string 5","ErrorAtNode":"sample string 6"}

application/xml, text/xml

Sample:
<FPExtendedBookingDetailsRS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FPWebBox.BusinessObjects">
  <AmtToCharge>3.1</AmtToCharge>
  <AmtTotal>4.1</AmtTotal>
  <BillingInfo>
    <Address1>sample string 3</Address1>
    <Address2>sample string 4</Address2>
    <City>sample string 5</City>
    <ContactPhone>sample string 10</ContactPhone>
    <Country>sample string 7</Country>
    <Email>sample string 2</Email>
    <FlatNumber>sample string 9</FlatNumber>
    <Phone>sample string 1</Phone>
    <State>sample string 6</State>
    <Zip>sample string 8</Zip>
  </BillingInfo>
  <BookingNo>sample string 2</BookingNo>
  <ErrorAtNode>sample string 6</ErrorAtNode>
  <ErrorCode>sample string 5</ErrorCode>
  <Guid>sample string 1</Guid>
</FPExtendedBookingDetailsRS>