POST api/PostBook/GetMainBookingByGUID

Request Information

URI Parameters

None.

Body Parameters

FPMainBookingDetailsRQ
NameDescriptionTypeAdditional information
BookingGUID

globally unique identifier

None.

SoapAuthentication

SoapAuthentication

None.

Request Formats

application/json, text/json

Sample:
{
  "BookingGUID": "448f4082-159a-4d74-b925-54248871f8e0",
  "SoapAuthentication": {
    "UserName": "sample string 1",
    "Password": "sample string 2"
  }
}

text/html

Sample:
{"BookingGUID":"448f4082-159a-4d74-b925-54248871f8e0","SoapAuthentication":{"UserName":"sample string 1","Password":"sample string 2"}}

application/xml, text/xml

Sample:
<FPMainBookingDetailsRQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FPWebBox.BusinessObjects">
  <BookingGUID>448f4082-159a-4d74-b925-54248871f8e0</BookingGUID>
  <SoapAuthentication>
    <Password>sample string 2</Password>
    <UserName>sample string 1</UserName>
  </SoapAuthentication>
</FPMainBookingDetailsRQ>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

FPMainBookingDetailsRS
NameDescriptionTypeAdditional information
BookingGIUD

string

None.

BookingID

integer

None.

Flowtype

FlowType

None.

EngineType

EngineType

None.

ErrorCode

string

None.

ErrorAtNode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "BookingGIUD": "sample string 1",
  "BookingID": 2,
  "Flowtype": 0,
  "EngineType": 0,
  "ErrorCode": "sample string 3",
  "ErrorAtNode": "sample string 4"
}

text/html

Sample:
{"BookingGIUD":"sample string 1","BookingID":2,"Flowtype":0,"EngineType":0,"ErrorCode":"sample string 3","ErrorAtNode":"sample string 4"}

application/xml, text/xml

Sample:
<FPMainBookingDetailsRS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FPWebBox.BusinessObjects">
  <BookingGIUD>sample string 1</BookingGIUD>
  <BookingID>2</BookingID>
  <EngineType>NONE</EngineType>
  <ErrorAtNode>sample string 4</ErrorAtNode>
  <ErrorCode>sample string 3</ErrorCode>
  <Flowtype>NONE</Flowtype>
</FPMainBookingDetailsRS>