POST api/PostBook/SpecialRequests

Request Information

URI Parameters

None.

Body Parameters

FPSpecialRequestRQ
NameDescriptionTypeAdditional information
BookingGUID

string

None.

SoapAuthentication

SoapAuthentication

None.

SSRRequest

Collection of SSRRequest

None.

ClientIP

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BookingGUID": "sample string 1",
  "SoapAuthentication": {
    "UserName": "sample string 1",
    "Password": "sample string 2"
  },
  "SSRRequest": [
    {
      "PaxFirstName": "sample string 1",
      "PaxMiddleName": "sample string 2",
      "PaxLastName": "sample string 3",
      "SeatPreference": 0,
      "MealPreference": 0,
      "SpecialRequest": 0
    },
    {
      "PaxFirstName": "sample string 1",
      "PaxMiddleName": "sample string 2",
      "PaxLastName": "sample string 3",
      "SeatPreference": 0,
      "MealPreference": 0,
      "SpecialRequest": 0
    }
  ],
  "ClientIP": "sample string 2"
}

text/html

Sample:
{"BookingGUID":"sample string 1","SoapAuthentication":{"UserName":"sample string 1","Password":"sample string 2"},"SSRRequest":[{"PaxFirstName":"sample string 1","PaxMiddleName":"sample string 2","PaxLastName":"sample string 3","SeatPreference":0,"MealPreference":0,"SpecialRequest":0},{"PaxFirstName":"sample string 1","PaxMiddleName":"sample string 2","PaxLastName":"sample string 3","SeatPreference":0,"MealPreference":0,"SpecialRequest":0}],"ClientIP":"sample string 2"}

application/xml, text/xml

Sample:
<FPSpecialRequestRQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FPWebBox.BusinessObjects">
  <BookingGUID>sample string 1</BookingGUID>
  <ClientIP>sample string 2</ClientIP>
  <SSRRequest>
    <SSRRequest>
      <MealPreference>NOMEALSERVICENEEDED</MealPreference>
      <PaxFirstName>sample string 1</PaxFirstName>
      <PaxLastName>sample string 3</PaxLastName>
      <PaxMiddleName>sample string 2</PaxMiddleName>
      <SeatPreference>ANY</SeatPreference>
      <SpecialRequest>NOSPECIALSERVICENEEDED</SpecialRequest>
    </SSRRequest>
    <SSRRequest>
      <MealPreference>NOMEALSERVICENEEDED</MealPreference>
      <PaxFirstName>sample string 1</PaxFirstName>
      <PaxLastName>sample string 3</PaxLastName>
      <PaxMiddleName>sample string 2</PaxMiddleName>
      <SeatPreference>ANY</SeatPreference>
      <SpecialRequest>NOSPECIALSERVICENEEDED</SpecialRequest>
    </SSRRequest>
  </SSRRequest>
  <SoapAuthentication>
    <Password>sample string 2</Password>
    <UserName>sample string 1</UserName>
  </SoapAuthentication>
</FPSpecialRequestRQ>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

FPSpecialRequestRS
NameDescriptionTypeAdditional information
ErrorCode

string

None.

ErrorAtNode

string

None.

Success

boolean

None.

Errors

Collection of SSRErrors

None.

Response Formats

application/json, text/json

Sample:
{
  "ErrorCode": "sample string 1",
  "ErrorAtNode": "sample string 2",
  "Success": true,
  "Errors": [
    {
      "FirstName": "sample string 1",
      "MiddleName": "sample string 2",
      "LastName": "sample string 3",
      "ErrorCode": "sample string 4",
      "ErrorAtNode": "sample string 5"
    },
    {
      "FirstName": "sample string 1",
      "MiddleName": "sample string 2",
      "LastName": "sample string 3",
      "ErrorCode": "sample string 4",
      "ErrorAtNode": "sample string 5"
    }
  ]
}

text/html

Sample:
{"ErrorCode":"sample string 1","ErrorAtNode":"sample string 2","Success":true,"Errors":[{"FirstName":"sample string 1","MiddleName":"sample string 2","LastName":"sample string 3","ErrorCode":"sample string 4","ErrorAtNode":"sample string 5"},{"FirstName":"sample string 1","MiddleName":"sample string 2","LastName":"sample string 3","ErrorCode":"sample string 4","ErrorAtNode":"sample string 5"}]}

application/xml, text/xml

Sample:
<FPSpecialRequestRS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FPWebBox.BusinessObjects">
  <ErrorAtNode>sample string 2</ErrorAtNode>
  <ErrorCode>sample string 1</ErrorCode>
  <Errors>
    <SSRErrors>
      <ErrorAtNode>sample string 5</ErrorAtNode>
      <ErrorCode>sample string 4</ErrorCode>
      <FirstName>sample string 1</FirstName>
      <LastName>sample string 3</LastName>
      <MiddleName>sample string 2</MiddleName>
    </SSRErrors>
    <SSRErrors>
      <ErrorAtNode>sample string 5</ErrorAtNode>
      <ErrorCode>sample string 4</ErrorCode>
      <FirstName>sample string 1</FirstName>
      <LastName>sample string 3</LastName>
      <MiddleName>sample string 2</MiddleName>
    </SSRErrors>
  </Errors>
  <Success>true</Success>
</FPSpecialRequestRS>