B2B - v1.0.0 Client
B2B Apis.
Beta
B2BAccount
B2BAgency
B2BAgents
B2BClientMargin
B2BClientMarginHotel
B2BClientMarginTransfer
B2BClientMarginCar
B2BClientMarginVacationRental
B2BLogin
B2BNetworkMargin
B2BRequests
BkgBookingSearch
AirBookingFlexyUse
Method: GET
Description: Get the account information for the current login id.
Route: api/B2BAccount
Route: api/B2BAccount/{arg1}
Route: api/B2BAccount/{arg1}/{arg2}
Input Parameters:
lid
CacheResponse Header: 5 seconds
Response Object:
AccountRS (XSD / Schema )
Request
Method: GET
Description: Get the agency information from the AgencyId in arg1.
Route: api/B2BAgency
Route: api/B2BAgency/{arg1}
Route: api/B2BAgency/{arg1}/{arg2}
Input Parameters:
arg1
CacheResponse Header: 5 seconds
Response Object:
AgencyRS (XSD / Schema )
Request
Method: GET
Description: Get Agent information for B2B login, you can retrieve one agent using the arg1 param.
Route: api/B2BAgents
Route: api/B2BAgents/{arg1}
Route: api/B2BAgents/{arg1}/{arg2}
Input Parameters:
lid, arg1
CacheResponse Header: 2 seconds
Request
Method: POST
Description: Create a new Agent client .
Route: api/B2BAgents
Route: api/B2BAgents/{arg1}
Route: api/B2BAgents/{arg1}/{arg2}
Input Parameters:
lid, Body
Request Object: B2BNewAgent (XSD / Schema )
Response Object:
AgentManagementRS (XSD / Schema )
Request
Method: PUT
Description: Update an existing Agent client .
Route: api/B2BAgents
Route: api/B2BAgents/{arg1}
Route: api/B2BAgents/{arg1}/{arg2}
Input Parameters:
lid, Body
Request Object: Agent (XSD / Schema )
Response Object:
AgentManagementRS (XSD / Schema )
Request
Method: GET
Description: Retrieves a list of all elements by ClientId.
Route: api/B2BClientMargin
Route: api/B2BClientMargin/{arg1}
Route: api/B2BClientMargin/{arg1}/{arg2}
Input Parameters:
lid, toRange [optional, default=(null)]
CacheResponse Header: 2 seconds
Response Object:
List Of EntClientMargin (XSD / Schema )
Request
Method: POST
Description: Inserts a Client Margin.
Route: api/B2BClientMargin
Route: api/B2BClientMargin/{arg1}
Route: api/B2BClientMargin/{arg1}/{arg2}
Input Parameters:
lid, Body
Request Object: EntClientMargin (XSD / Schema )
Response Object:
Boolean (XSD / Schema )
Request
Method: PUT
Description: Update a Client Margin.
Route: api/B2BClientMargin
Route: api/B2BClientMargin/{arg1}
Route: api/B2BClientMargin/{arg1}/{arg2}
Input Parameters:
lid, Body
Request Object: EntClientMargin (XSD / Schema )
Response Object:
Boolean (XSD / Schema )
Request
Method: DELETE
Description: Delete a Client Margin.
Route: api/B2BClientMargin
Route: api/B2BClientMargin/{arg1}
Route: api/B2BClientMargin/{arg1}/{arg2}
Input Parameters:
lid, toRange
Request Object: Decimal (XSD / Schema )
Response Object:
Boolean (XSD / Schema )
Request
Method: GET
Description: Retrieves Hotel client margin by ClientId.
Route: api/B2BClientMarginHotel
Route: api/B2BClientMarginHotel/{arg1}
Route: api/B2BClientMarginHotel/{arg1}/{arg2}
Input Parameters:
lid
CacheResponse Header: 2 seconds
Response Object:
B2BMargin (XSD / Schema )
Request
Method: POST
Description: Inserts a Client Hotel Margin.
Route: api/B2BClientMarginHotel
Route: api/B2BClientMarginHotel/{arg1}
Route: api/B2BClientMarginHotel/{arg1}/{arg2}
Input Parameters:
lid, Body
Request Object: B2BMargin (XSD / Schema )
Response Object:
Boolean (XSD / Schema )
Request
Method: DELETE
Description: Delete a Client Hotel Margin.
Route: api/B2BClientMarginHotel
Route: api/B2BClientMarginHotel/{arg1}
Route: api/B2BClientMarginHotel/{arg1}/{arg2}
Input Parameters:
lid
Response Object:
Boolean (XSD / Schema )
Request
Method: GET
Description: Retrieves Transfer client margin by ClientId.
Route: api/B2BClientMarginTransfer
Route: api/B2BClientMarginTransfer/{arg1}
Route: api/B2BClientMarginTransfer/{arg1}/{arg2}
Input Parameters:
lid
CacheResponse Header: 2 seconds
Response Object:
B2BMarginTransfer (XSD / Schema )
Request
Method: POST
Description: Update a Client Transfer Margin.
Route: api/B2BClientMarginTransfer
Route: api/B2BClientMarginTransfer/{arg1}
Route: api/B2BClientMarginTransfer/{arg1}/{arg2}
Input Parameters:
lid, Body
Request Object: B2BMarginTransfer (XSD / Schema )
Response Object:
Boolean (XSD / Schema )
Request
Method: DELETE
Description: Delete a Client Transfer Margin.
Route: api/B2BClientMarginTransfer
Route: api/B2BClientMarginTransfer/{arg1}
Route: api/B2BClientMarginTransfer/{arg1}/{arg2}
Input Parameters:
lid
Response Object:
Boolean (XSD / Schema )
Request
Method: GET
Description: Retrieves Car client margin by ClientId.
Route: api/B2BClientMarginCar
Route: api/B2BClientMarginCar/{arg1}
Route: api/B2BClientMarginCar/{arg1}/{arg2}
Input Parameters:
lid
CacheResponse Header: 2 seconds
Response Object:
B2BMarginCar (XSD / Schema )
Request
Method: POST
Description: Update a Client Car Margin.
Route: api/B2BClientMarginCar
Route: api/B2BClientMarginCar/{arg1}
Route: api/B2BClientMarginCar/{arg1}/{arg2}
Input Parameters:
lid, Body
Request Object: B2BMarginCar (XSD / Schema )
Response Object:
Boolean (XSD / Schema )
Request
Method: DELETE
Description: Delete a Client Car Margin.
Route: api/B2BClientMarginCar
Route: api/B2BClientMarginCar/{arg1}
Route: api/B2BClientMarginCar/{arg1}/{arg2}
Input Parameters:
lid
Response Object:
Boolean (XSD / Schema )
Request
Method: GET
Description: Retrieves Vacation rental client margin by ClientId.
Route: api/B2BClientMarginVacationRental
Route: api/B2BClientMarginVacationRental/{arg1}
Route: api/B2BClientMarginVacationRental/{arg1}/{arg2}
Input Parameters:
lid
CacheResponse Header: 2 seconds
Response Object:
B2BMarginVacationRental (XSD / Schema )
Request
Method: POST
Description: Update a Client Vacation rental Margin.
Route: api/B2BClientMarginVacationRental
Route: api/B2BClientMarginVacationRental/{arg1}
Route: api/B2BClientMarginVacationRental/{arg1}/{arg2}
Input Parameters:
lid, Body
Request Object: B2BMarginVacationRental (XSD / Schema )
Response Object:
Boolean (XSD / Schema )
Request
Method: DELETE
Description: Delete a Client Vacation rental Margin.
Route: api/B2BClientMarginVacationRental
Route: api/B2BClientMarginVacationRental/{arg1}
Route: api/B2BClientMarginVacationRental/{arg1}/{arg2}
Input Parameters:
lid
Response Object:
Boolean (XSD / Schema )
Request
Method: POST
Description: B2B Login Access.
Route: api/B2BLogin
Route: api/B2BLogin/{arg1}
Route: api/B2BLogin/{arg1}/{arg2}
Input Parameters:
Body
Request Object: B2BLoginRQ (XSD / Schema )
Response Object:
B2BLoginRS (XSD / Schema )
Request
Method: GET
Description: B2B Login Check.
Route: api/B2BLogin
Route: api/B2BLogin/{arg1}
Route: api/B2BLogin/{arg1}/{arg2}
Input Parameters:
arg1
CacheResponse Header: 60 seconds
Response Object:
B2BLoginRS (XSD / Schema )
Request
Method: GET
Description: Retrieves a list of all elements by ClientId.
Route: api/B2BNetworkMargin
Route: api/B2BNetworkMargin/{arg1}
Route: api/B2BNetworkMargin/{arg1}/{arg2}
Input Parameters:
lid, enterpriseId, networkCodeId, toRange [optional, default=(null)]
CacheResponse Header: 2 seconds
Response Object:
List Of EntNetworkCodeMargin (XSD / Schema )
Request
Method: POST
Description: B2B Requests Submit.
Route: api/B2BRequests
Route: api/B2BRequests/{arg1}
Route: api/B2BRequests/{arg1}/{arg2}
Input Parameters:
lid, Body
Request Object: B2BControllerRequestRQ (XSD / Schema )
Response Object:
B2BControllerRequestsRS (XSD / Schema )
Request
Method: POST
Description: Get Booking List
Route: api/BkgBookingSearch
Route: api/BkgBookingSearch/{arg1}
Route: api/BkgBookingSearch/{arg1}/{arg2}
Input Parameters:
Body
Request Object: BookingRQ (XSD / Schema )
Response Object:
BookingRS (XSD / Schema )
Request
Method: POST
Description: Flexy Use controller.
Route: api/AirBookingFlexyUse
Route: api/AirBookingFlexyUse/{arg1}
Route: api/AirBookingFlexyUse/{arg1}/{arg2}
Input Parameters:
Body
Request Object: BookingFlexyUseRQ (XSD / Schema )
Response Object:
BookingFlexyUseRS (XSD / Schema )
Request