POST api/BackOffice/HandleTransportationRegistration
Receive a transportation reservation
Request Information
URI Parameters
None.
Body Parameters
Transportation reservation request object
TransportationReservationRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CurrencyCode |
Currency code (USD/EUR/ILS/...) |
string |
Required |
| UniqueClientId |
the client id in the back office like PRVT |
string |
Required |
| SupplierBackOfficeID |
The supplier id in the back office |
string |
Required |
| IsPrivate |
if the user is a private user |
boolean |
Required |
| ClientPrice |
The amount paid by the client |
decimal number |
Required |
| SupplierPrice |
The amount to the supplier |
decimal number |
Required |
| PricesIncludingVAT |
Indicates if the prices includes VAT or not. |
boolean |
Required |
| OrderId |
The unique order ID in the requested reservation system(GTP/UBUS/...) The extra field for the digest |
string |
Required |
| Routes |
a collection of routes in the reservation |
Collection of Route |
Required |
| UserClockId |
The user identifer in the back office |
integer |
Required |
| OrdererPaxId |
The ID of the pax that create the reservation. The pax must be in the back office |
string |
Required |
| UserName |
The provided user name. |
string |
Required |
| Salt |
A random number(at least 9 digits) |
integer |
Required |
| Digest |
A digest of the user credentials and the request |
string |
Required |
Request Formats
application/json, text/json
{
"CurrencyCode": "USD",
"UniqueClientId": "PRVT",
"SupplierBackOfficeID": "100105",
"IsPrivate": true,
"ClientPrice": 1000.0,
"SupplierPrice": 900.0,
"PricesIncludingVAT": true,
"OrderId": "1234567",
"Routes": [
{
"DepartureDateAndTime": "2025-10-28T15:18:28.2515611+00:00",
"Origin": "New Jersey EWR Airport",
"Destination": "New York Police Station",
"Distance": 55.8
}
],
"UserClockId": 5009,
"OrdererPaxId": "AM5751958",
"UserName": "AmsalemWebIL",
"Salt": 159315206,
"Digest": "3keSZjgAw1AG7P5oepCs8j5rqjxRlBSbPQG2jB/vsz0g9hWwyq38I9nPwA05uWly2ioN3zsx8G5rLZ2rWeChTA=="
}
application/xml, text/xml
<TransportationReservationRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UserName="AmsalemWebIL" Salt="159315206" Digest="3keSZjgAw1AG7P5oepCs8j5rqjxRlBSbPQG2jB/vsz0g9hWwyq38I9nPwA05uWly2ioN3zsx8G5rLZ2rWeChTA==">
<CurrencyCode>USD</CurrencyCode>
<UniqueClientId>PRVT</UniqueClientId>
<SupplierBackOfficeID>100105</SupplierBackOfficeID>
<IsPrivate>true</IsPrivate>
<ClientPrice>1000</ClientPrice>
<SupplierPrice>900</SupplierPrice>
<PricesIncludingVAT>true</PricesIncludingVAT>
<OrderId>1234567</OrderId>
<Routes>
<Route>
<DepartureDateAndTime>2025-10-28T15:18:28.2515611+00:00</DepartureDateAndTime>
<Origin>New Jersey EWR Airport</Origin>
<Destination>New York Police Station</Destination>
<Distance>55.8</Distance>
</Route>
</Routes>
<UserClockId>5009</UserClockId>
<OrdererPaxId>AM5751958</OrdererPaxId>
</TransportationReservationRequest>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
Transportation reservation response object
TransportationReservationResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| BackOfficeIdentifier |
The back office product identifier (5-123124) |
string |
None. |
| TripNumber |
Backoffice trip number |
string |
None. |
| Result |
a base result object |
WebOperationResult |
None. |
Response Formats
application/json, text/json
{
"BackOfficeIdentifier": "5-123456",
"TripNumber": null,
"Result": {
"Success": true,
"Message": "",
"Extra1": null,
"Extra2": null,
"Extra3": null
}
}
application/xml, text/xml
<TransportationReservationResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<BackOfficeIdentifier>5-123456</BackOfficeIdentifier>
<Result>
<Success>true</Success>
<Message />
</Result>
</TransportationReservationResponse>