POST api/Search/GroupTravelAvailability

Request Information

URI Parameters

None.

Body Parameters

FPGroupTravelRQ
NameDescriptionTypeAdditional information
GroupTravelRequest

GroupTravelDetails

None.

SoapAuthentication

SoapAuthentication

None.

Request Formats

application/json, text/json

Sample:
{
  "GroupTravelRequest": {
    "Adults": 64,
    "Childs": 64,
    "Seniors": 64,
    "InfantInLaps": 64,
    "InfantOnSeats": 64,
    "Youths": 64,
    "ClassOfService": 0,
    "From": "sample string 7",
    "To": "sample string 8",
    "DepartDate": "2018-02-25T12:47:54.7933215-05:00",
    "ReturnDate": "2018-02-25T12:47:54.7933215-05:00",
    "Specialrequest": "sample string 11",
    "FirstName": "sample string 12",
    "LastName": "sample string 13",
    "PhoneNo": "sample string 14",
    "Email": "sample string 15"
  },
  "SoapAuthentication": {
    "UserName": "sample string 1",
    "Password": "sample string 2"
  }
}

text/html

Sample:
{"GroupTravelRequest":{"Adults":64,"Childs":64,"Seniors":64,"InfantInLaps":64,"InfantOnSeats":64,"Youths":64,"ClassOfService":0,"From":"sample string 7","To":"sample string 8","DepartDate":"2018-02-25T12:47:54.7933215-05:00","ReturnDate":"2018-02-25T12:47:54.7933215-05:00","Specialrequest":"sample string 11","FirstName":"sample string 12","LastName":"sample string 13","PhoneNo":"sample string 14","Email":"sample string 15"},"SoapAuthentication":{"UserName":"sample string 1","Password":"sample string 2"}}

application/xml, text/xml

Sample:
<FPGroupTravelRQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FPWebBox.BusinessObjects">
  <GroupTravelRequest>
    <Adults>64</Adults>
    <Childs>64</Childs>
    <ClassOfService>ALL</ClassOfService>
    <DepartDate>2018-02-25T12:47:54.7933215-05:00</DepartDate>
    <Email>sample string 15</Email>
    <FirstName>sample string 12</FirstName>
    <From>sample string 7</From>
    <InfantInLaps>64</InfantInLaps>
    <InfantOnSeats>64</InfantOnSeats>
    <LastName>sample string 13</LastName>
    <PhoneNo>sample string 14</PhoneNo>
    <ReturnDate>2018-02-25T12:47:54.7933215-05:00</ReturnDate>
    <Seniors>64</Seniors>
    <Specialrequest>sample string 11</Specialrequest>
    <To>sample string 8</To>
    <Youths>64</Youths>
  </GroupTravelRequest>
  <SoapAuthentication>
    <Password>sample string 2</Password>
    <UserName>sample string 1</UserName>
  </SoapAuthentication>
</FPGroupTravelRQ>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

FPGroupTravelRS
NameDescriptionTypeAdditional information
Message

string

None.

ErrorCode

string

None.

ErrorAtNode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "ErrorCode": "sample string 2",
  "ErrorAtNode": "sample string 3"
}

text/html

Sample:
{"Message":"sample string 1","ErrorCode":"sample string 2","ErrorAtNode":"sample string 3"}

application/xml, text/xml

Sample:
<FPGroupTravelRS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FPWebBox.BusinessObjects">
  <ErrorAtNode>sample string 3</ErrorAtNode>
  <ErrorCode>sample string 2</ErrorCode>
  <Message>sample string 1</Message>
</FPGroupTravelRS>