POST api/BackOffice/HandleReservationUpdate
Receive an update of resevation from outer system
Request Information
URI Parameters
None.
Body Parameters
Update reservation request object
UpdateReservationRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Reservation |
The lead to be crated details |
ReservationDetails |
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
Sample:
{
"Reservation": {
"AddBy": "amsalem.co.il",
"FirstName": "Hila",
"LastName": "Marelly",
"MainCurrencyCode": null,
"Name": "Hila Marelly",
"Phone": "(972) 0504375718",
"Email": "[email protected]",
"Destination": "CDG",
"DepartureDate": "0001-01-01T00:00:00",
"Remark": "Holding",
"CameFrom": "www.Amsalem.co.il",
"PageUrl": "https://www.amsalem.co.il/booking/44cbe939-523f-4a24-9a4a-9f462d9b5523",
"PageName": "",
"InterestedToReceiveEmailUpdates": false,
"OnErrorSendMailTo": "[email protected]",
"FreeText": "",
"HTML": "",
"TripLink": "<a target='_blank' href='https://www.gtp-marketplace.com/Trip/7212553#/'>GTP 7212553</a>",
"Trip": "1234567",
"TourCode": null,
"System": "GTP",
"Status": 5,
"AutoCompleteStatus": 1,
"CallCenterIdentifier": 0,
"CCAuthNumber": "2598601",
"DS3Passed": true,
"SourceReservationSystemIdentifier": null,
"MailToConfirmLead": "[email protected]",
"Company": "",
"MailingLists": [
"5589|Amsalem.co.il"
],
"Customer": null,
"Emergency": false,
"AgentId": 0,
"OperationLogs": null,
"Passengers": [
{
"FirstName": "Camille",
"LastName": "Marelly",
"Email": "[email protected]",
"Title": 1,
"PTC": 1,
"DateOfBirth": "1950-01-07T00:00:00",
"Passport": {
"PassportNumber": "",
"IssueDate": "0001-01-01T00:00:00",
"ExpiryDate": "0001-01-01T00:00:00",
"Nationality": null
}
},
{
"FirstName": "Camille",
"LastName": "Marelly",
"Email": "[email protected]",
"Title": 1,
"PTC": 1,
"DateOfBirth": "1999-01-07T00:00:00",
"Passport": {
"PassportNumber": "",
"IssueDate": "0001-01-01T00:00:00",
"ExpiryDate": "0001-01-01T00:00:00",
"Nationality": null
}
},
{
"FirstName": "Camille",
"LastName": "Marelly",
"Email": "[email protected]",
"Title": 4,
"PTC": 4,
"DateOfBirth": "2021-01-07T00:00:00",
"Passport": {
"PassportNumber": "",
"IssueDate": "0001-01-01T00:00:00",
"ExpiryDate": "0001-01-01T00:00:00",
"Nationality": null
}
}
],
"DealProducts": [
{
"Deal": {
"DealType": "sport",
"OriginName": "New York",
"OriginCode": "NYC",
"DestinationName": "Israel",
"DestinationCode": "ILS",
"DepartureDate": "2021-08-20T00:00:00",
"ArrivalDate": "2021-08-10T00:00:00",
"HotelRate": "5",
"TransferIncluded": false
},
"QuoteId": 0,
"PriceInfo": {
"Currency": null,
"TotalPrice": 100.0
},
"DealId": null,
"DealName": null,
"DealCityCode": null,
"Category": 0,
"Board": 4,
"CheckInDate": "0001-01-01T00:00:00",
"CheckOutDate": "0001-01-01T00:00:00",
"SupplierId": null,
"Rooms": null
}
],
"FlightProducts": [
{
"Flight": {
"FlightType": "One-way",
"Class": "A",
"OriginName": "New York",
"DestinationName": "Israel",
"OriginCode": "NYC",
"DestinationCode": "ILS",
"Direct": true,
"DepartureDate": "2021-08-20T00:00:00",
"ArrivalDate": "2021-08-10T00:00:00"
},
"QuoteId": 0,
"PriceInfo": {
"Currency": null,
"TotalPrice": 1000.0
},
"PriceBreakDownByPtc": null,
"Services": null
}
],
"Contact": null,
"Payment": null,
"Products": [
{
"PNR": "24235320574",
"GDS": "",
"ProductID": ""
}
],
"ParkingProducts": [
{
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"PriceInfo": {
"DailyPrice": 0.0,
"Currency": null,
"TotalPrice": 50.0
},
"CarColor": null,
"CarModel": null,
"ProductCode": null,
"CityCode": "ILS"
}
],
"RefundProtectProducts": [
{
"PolicyId": "b69abf29-be7a-4870-b9d0-9d62788e4996",
"StartDate": "2025-10-26T09:18:44.621901+00:00",
"EndDate": "2025-10-31T09:18:44.621901Z",
"PriceInfo": {
"SupplierFees": 60.0,
"Currency": "USD",
"TotalPrice": 150.0
},
"ProductCode": "RefundMaxProtect",
"Sold": true
},
{
"PolicyId": "39aa6a6f-6d45-4f68-a2d3-1b809b9f5fd8",
"StartDate": "2025-10-31T09:18:44.621901+00:00",
"EndDate": "2025-11-05T09:18:44.621901Z",
"PriceInfo": {
"SupplierFees": 76.0,
"Currency": "USD",
"TotalPrice": 190.0
},
"ProductCode": "RefundMaxProtect",
"Sold": false
}
],
"LuggageCover": null,
"InstallmentFees": null
},
"UserName": "AmsalemWebIL",
"Salt": 556186107,
"Digest": "EAFIvb5N9lMnpt6Lt//a0Rp9AM/t0rsbLhMB98ufEKMxp+iTabUwHnrK6ZQp/u68p7f/hzlBtMKIm0BQ3IQ5lw=="
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Update reservation response object
UpdateReservationResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Result |
The result of the operation |
WebOperationResult |
None. |
| CallCenterIdentifier |
The identifier of the ticket, created in the back office |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Result": {
"Success": true,
"Message": "Ticket Created",
"Extra1": null,
"Extra2": null,
"Extra3": null
},
"CallCenterIdentifier": 123456789
}
application/xml, text/xml
Sample:
<UpdateReservationResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Result>
<Success>true</Success>
<Message>Ticket Created</Message>
</Result>
<CallCenterIdentifier>123456789</CallCenterIdentifier>
</UpdateReservationResponse>