POST api/BackOffice/HandleReservationUpdate
Receive an update of resevation from outer system
Request Information
URI Parameters
None.
Body Parameters
Update reservation request object
UpdateReservationRequestName | 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", "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", "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": "3a96e157-1eac-48d8-9808-034c45d9dd0b", "StartDate": "2025-04-25T23:03:03.6661814+00:00", "EndDate": "2025-04-30T23:03:03.6661814Z", "PriceInfo": { "SupplierFees": 60.0, "Currency": "USD", "TotalPrice": 150.0 }, "ProductCode": "RefundMaxProtect", "Sold": true }, { "PolicyId": "d282e07a-e89f-4411-9501-8b4b08f86d22", "StartDate": "2025-04-30T23:03:03.6661814+00:00", "EndDate": "2025-05-05T23:03:03.6661814Z", "PriceInfo": { "SupplierFees": 76.0, "Currency": "USD", "TotalPrice": 190.0 }, "ProductCode": "RefundMaxProtect", "Sold": false } ], "LuggageCover": null, "InstallmentFees": null }, "UserName": "AmsalemWebIL", "Salt": 603658525, "Digest": "FE95DBghkcTFb2Tas3Xm1h530V9/AwFQ0L/PR2Th92eLa2OattJmG5PzH9GiAlHeUrU7LcVajwjLX1sHPgNbbQ==" }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Update reservation response object
UpdateReservationResponseName | 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>