POST api/importHotelContract
Imports a contract into the system.
Request Information
URI Parameters
None.
Body Parameters
The contracts to be imported.
Cyberlogic.eTourism.Mappings.Operations.Dto.Contracts.Hotels.MultipleContractDTOName | Description | Type | Additional information |
---|---|---|---|
Title | string |
None. |
|
TypeId | integer |
None. |
|
ActiveDateFrom | string |
None. |
|
ActiveDateTo | string |
None. |
|
BookingDateFrom | string |
None. |
|
BookingDateTo | string |
None. |
|
SignedDate | string |
None. |
|
HotelId | integer |
None. |
|
SupplierId | integer |
None. |
|
CompanyId | integer |
None. |
|
Customers | Collection of Cyberlogic.eTourism.Mappings.Operations.Dto.Contracts.Hotels.MultipleContractDTO+TypedCustomerDTO |
None. |
|
Quoter | string |
None. |
|
Recipient | string |
None. |
|
ContractNotes | string |
None. |
|
TariffNotes | string |
None. |
|
UserId | integer |
None. |
|
GuestTypes | Collection of Cyberlogic.eTourism.Mappings.Operations.Dto.Contracts.Hotels.GuestTypeDTO |
None. |
|
Sales | Collection of Cyberlogic.eTourism.Mappings.Operations.Dto.Contracts.Hotels.MultipleContractDTO+MultipleCustomerSaleDTO |
None. |
|
RatePlans | Collection of Cyberlogic.eTourism.Domain.ViewModels.Contracts.Hotels.RatePlans.RatePlanDTO |
None. |
|
CancellationPolicies | Collection of Cyberlogic.eTourism.Mappings.Operations.Dto.Contracts.Hotels.CancellationPolicyRequestDTO+CancellationPolicyDTO |
None. |
|
ParentId | integer |
None. |
|
Rooms | Collection of Cyberlogic.eTourism.Mappings.Operations.Dto.Contracts.Hotels.MultipleContractDTO+RoomDTO |
None. |
Request Formats
application/json, text/json
Sample:
{ "Title": "sample string 1", "TypeId": 2, "ActiveDateFrom": "sample string 3", "ActiveDateTo": "sample string 4", "BookingDateFrom": "sample string 5", "BookingDateTo": "sample string 6", "SignedDate": "sample string 7", "HotelId": 8, "SupplierId": 9, "CompanyId": 10, "Customers": [ { "CustomerId": 1, "TypeId": 2 }, { "CustomerId": 1, "TypeId": 2 } ], "Quoter": "sample string 11", "Recipient": "sample string 12", "ContractNotes": "sample string 13", "TariffNotes": "sample string 14", "UserId": 15, "GuestTypes": [ { "AgeFrom": 1, "AgeTo": 2 }, { "AgeFrom": 1, "AgeTo": 2 } ], "Sales": [ { "Description": "sample string 1", "RoomId": 2, "ChargeBasisId": 3, "MinAdults": 4, "MaxAdults": 5, "MinChildren": 6, "MaxChildren": 7, "MinPax": 8, "MaxPax": 9, "BasePax": 10, "NonRefundable": true, "SelfCatering": true, "Allocations": [ { "CustomerId": 1, "Allocation": [ { "DateFrom": "sample string 1", "DateTo": "sample string 2", "Allocation": 3 }, { "DateFrom": "sample string 1", "DateTo": "sample string 2", "Allocation": 3 } ] }, { "CustomerId": 1, "Allocation": [ { "DateFrom": "sample string 1", "DateTo": "sample string 2", "Allocation": 3 }, { "DateFrom": "sample string 1", "DateTo": "sample string 2", "Allocation": 3 } ] } ], "MinStay": [ { "DateFrom": "sample string 1", "DateTo": "sample string 2", "MinStay": 3 }, { "DateFrom": "sample string 1", "DateTo": "sample string 2", "MinStay": 3 } ], "Release": [ { "DateFrom": "sample string 1", "DateTo": "sample string 2", "Release": 3 }, { "DateFrom": "sample string 1", "DateTo": "sample string 2", "Release": 3 } ] }, { "Description": "sample string 1", "RoomId": 2, "ChargeBasisId": 3, "MinAdults": 4, "MaxAdults": 5, "MinChildren": 6, "MaxChildren": 7, "MinPax": 8, "MaxPax": 9, "BasePax": 10, "NonRefundable": true, "SelfCatering": true, "Allocations": [ { "CustomerId": 1, "Allocation": [ { "DateFrom": "sample string 1", "DateTo": "sample string 2", "Allocation": 3 }, { "DateFrom": "sample string 1", "DateTo": "sample string 2", "Allocation": 3 } ] }, { "CustomerId": 1, "Allocation": [ { "DateFrom": "sample string 1", "DateTo": "sample string 2", "Allocation": 3 }, { "DateFrom": "sample string 1", "DateTo": "sample string 2", "Allocation": 3 } ] } ], "MinStay": [ { "DateFrom": "sample string 1", "DateTo": "sample string 2", "MinStay": 3 }, { "DateFrom": "sample string 1", "DateTo": "sample string 2", "MinStay": 3 } ], "Release": [ { "DateFrom": "sample string 1", "DateTo": "sample string 2", "Release": 3 }, { "DateFrom": "sample string 1", "DateTo": "sample string 2", "Release": 3 } ] } ], "RatePlans": [ { "Title": "sample string 1", "MarketId": 2, "TariffId": 3, "BoardingId": 4, "Seasons": [ { "Name": "sample string 1", "Periods": [ { "DateFrom": "sample string 1", "DateTo": "sample string 2" }, { "DateFrom": "sample string 1", "DateTo": "sample string 2" } ] }, { "Name": "sample string 1", "Periods": [ { "DateFrom": "sample string 1", "DateTo": "sample string 2" }, { "DateFrom": "sample string 1", "DateTo": "sample string 2" } ] } ], "Rates": { "BasicRates": [ { "BoardingId": 1, "RateTypeId": 2, "RoomId": 1, "SeasonRates": [ { "SeasonName": "sample string 1", "Rate": 2.0 }, { "SeasonName": "sample string 1", "Rate": 2.0 } ] }, { "BoardingId": 1, "RateTypeId": 2, "RoomId": 1, "SeasonRates": [ { "SeasonName": "sample string 1", "Rate": 2.0 }, { "SeasonName": "sample string 1", "Rate": 2.0 } ] } ], "Discounts": [ { "BoardingId": 1, "PaxType": "sample string 2", "RateTypeId": 3, "RoomId": 4, "SeasonRates": [ { "SeasonName": "sample string 1", "Rate": 2.0 }, { "SeasonName": "sample string 1", "Rate": 2.0 } ] }, { "BoardingId": 1, "PaxType": "sample string 2", "RateTypeId": 3, "RoomId": 4, "SeasonRates": [ { "SeasonName": "sample string 1", "Rate": 2.0 }, { "SeasonName": "sample string 1", "Rate": 2.0 } ] } ], "Supplements": [ { "BoardingId": 1, "PaxType": "sample string 2", "RateTypeId": 3, "SeasonRates": [ { "SeasonName": "sample string 1", "Rate": 2.0 }, { "SeasonName": "sample string 1", "Rate": 2.0 } ] }, { "BoardingId": 1, "PaxType": "sample string 2", "RateTypeId": 3, "SeasonRates": [ { "SeasonName": "sample string 1", "Rate": 2.0 }, { "SeasonName": "sample string 1", "Rate": 2.0 } ] } ] }, "Offers": [ { "TypeCode": "sample string 1", "CriterionId": 2, "RoomId": 1, "ActiveDateFrom": "sample string 3", "ActiveDateTo": "sample string 4", "BookingDateFrom": "sample string 5", "BookingDateTo": "sample string 6", "MinStay": 1, "MaxStay": 1, "DaysPrior": 1, "SalesDescription": "sample string 7", "Remarks": "sample string 8", "Rank": 9, "CustomerId": 1, "ApplyToSupplements": true, "RRDiscount": 11.0, "BBDiscount": 12.0, "HBDiscount": 13.0, "FBDiscount": 14.0, "AIDiscount": 15.0, "UIDiscount": 16.0, "PayDate": "sample string 17", "PayValue": 18.0, "Stay": 19, "Pay": 20 }, { "TypeCode": "sample string 1", "CriterionId": 2, "RoomId": 1, "ActiveDateFrom": "sample string 3", "ActiveDateTo": "sample string 4", "BookingDateFrom": "sample string 5", "BookingDateTo": "sample string 6", "MinStay": 1, "MaxStay": 1, "DaysPrior": 1, "SalesDescription": "sample string 7", "Remarks": "sample string 8", "Rank": 9, "CustomerId": 1, "ApplyToSupplements": true, "RRDiscount": 11.0, "BBDiscount": 12.0, "HBDiscount": 13.0, "FBDiscount": 14.0, "AIDiscount": 15.0, "UIDiscount": 16.0, "PayDate": "sample string 17", "PayValue": 18.0, "Stay": 19, "Pay": 20 } ], "Contributions": [ { "Description": "sample string 1", "TypeId": 2, "SubTypeId": 3, "Percent": 1.0, "MinAmount": 1.0, "Amount": 1.0 }, { "Description": "sample string 1", "TypeId": 2, "SubTypeId": 3, "Percent": 1.0, "MinAmount": 1.0, "Amount": 1.0 } ] }, { "Title": "sample string 1", "MarketId": 2, "TariffId": 3, "BoardingId": 4, "Seasons": [ { "Name": "sample string 1", "Periods": [ { "DateFrom": "sample string 1", "DateTo": "sample string 2" }, { "DateFrom": "sample string 1", "DateTo": "sample string 2" } ] }, { "Name": "sample string 1", "Periods": [ { "DateFrom": "sample string 1", "DateTo": "sample string 2" }, { "DateFrom": "sample string 1", "DateTo": "sample string 2" } ] } ], "Rates": { "BasicRates": [ { "BoardingId": 1, "RateTypeId": 2, "RoomId": 1, "SeasonRates": [ { "SeasonName": "sample string 1", "Rate": 2.0 }, { "SeasonName": "sample string 1", "Rate": 2.0 } ] }, { "BoardingId": 1, "RateTypeId": 2, "RoomId": 1, "SeasonRates": [ { "SeasonName": "sample string 1", "Rate": 2.0 }, { "SeasonName": "sample string 1", "Rate": 2.0 } ] } ], "Discounts": [ { "BoardingId": 1, "PaxType": "sample string 2", "RateTypeId": 3, "RoomId": 4, "SeasonRates": [ { "SeasonName": "sample string 1", "Rate": 2.0 }, { "SeasonName": "sample string 1", "Rate": 2.0 } ] }, { "BoardingId": 1, "PaxType": "sample string 2", "RateTypeId": 3, "RoomId": 4, "SeasonRates": [ { "SeasonName": "sample string 1", "Rate": 2.0 }, { "SeasonName": "sample string 1", "Rate": 2.0 } ] } ], "Supplements": [ { "BoardingId": 1, "PaxType": "sample string 2", "RateTypeId": 3, "SeasonRates": [ { "SeasonName": "sample string 1", "Rate": 2.0 }, { "SeasonName": "sample string 1", "Rate": 2.0 } ] }, { "BoardingId": 1, "PaxType": "sample string 2", "RateTypeId": 3, "SeasonRates": [ { "SeasonName": "sample string 1", "Rate": 2.0 }, { "SeasonName": "sample string 1", "Rate": 2.0 } ] } ] }, "Offers": [ { "TypeCode": "sample string 1", "CriterionId": 2, "RoomId": 1, "ActiveDateFrom": "sample string 3", "ActiveDateTo": "sample string 4", "BookingDateFrom": "sample string 5", "BookingDateTo": "sample string 6", "MinStay": 1, "MaxStay": 1, "DaysPrior": 1, "SalesDescription": "sample string 7", "Remarks": "sample string 8", "Rank": 9, "CustomerId": 1, "ApplyToSupplements": true, "RRDiscount": 11.0, "BBDiscount": 12.0, "HBDiscount": 13.0, "FBDiscount": 14.0, "AIDiscount": 15.0, "UIDiscount": 16.0, "PayDate": "sample string 17", "PayValue": 18.0, "Stay": 19, "Pay": 20 }, { "TypeCode": "sample string 1", "CriterionId": 2, "RoomId": 1, "ActiveDateFrom": "sample string 3", "ActiveDateTo": "sample string 4", "BookingDateFrom": "sample string 5", "BookingDateTo": "sample string 6", "MinStay": 1, "MaxStay": 1, "DaysPrior": 1, "SalesDescription": "sample string 7", "Remarks": "sample string 8", "Rank": 9, "CustomerId": 1, "ApplyToSupplements": true, "RRDiscount": 11.0, "BBDiscount": 12.0, "HBDiscount": 13.0, "FBDiscount": 14.0, "AIDiscount": 15.0, "UIDiscount": 16.0, "PayDate": "sample string 17", "PayValue": 18.0, "Stay": 19, "Pay": 20 } ], "Contributions": [ { "Description": "sample string 1", "TypeId": 2, "SubTypeId": 3, "Percent": 1.0, "MinAmount": 1.0, "Amount": 1.0 }, { "Description": "sample string 1", "TypeId": 2, "SubTypeId": 3, "Percent": 1.0, "MinAmount": 1.0, "Amount": 1.0 } ] } ], "CancellationPolicies": [ { "TypeId": 1, "DateFrom": "sample string 2", "DateTo": "sample string 3", "CriterionId": 4, "LengthOfStayFrom": 5, "LengthOfStayTo": 6, "DaysBeforeArrivalFrom": 7, "DaysBeforeArrivalTo": 8, "AmountTypeId": 9, "Amount": 10.0, "RoomId": 11 }, { "TypeId": 1, "DateFrom": "sample string 2", "DateTo": "sample string 3", "CriterionId": 4, "LengthOfStayFrom": 5, "LengthOfStayTo": 6, "DaysBeforeArrivalFrom": 7, "DaysBeforeArrivalTo": 8, "AmountTypeId": 9, "Amount": 10.0, "RoomId": 11 } ], "ParentId": 16, "Rooms": [ { "Id": 1, "SpecificityId": 2, "MinCapacity": 3, "MaxCapacity": 4, "Facilities": [ { "Id": 1, "Charged": true }, { "Id": 1, "Charged": true } ], "NewId": 5 }, { "Id": 1, "SpecificityId": 2, "MinCapacity": 3, "MaxCapacity": 4, "Facilities": [ { "Id": 1, "Charged": true }, { "Id": 1, "Charged": true } ], "NewId": 5 } ] }
text/html
Sample:
{"Title":"sample string 1","TypeId":2,"ActiveDateFrom":"sample string 3","ActiveDateTo":"sample string 4","BookingDateFrom":"sample string 5","BookingDateTo":"sample string 6","SignedDate":"sample string 7","HotelId":8,"SupplierId":9,"CompanyId":10,"Customers":[{"CustomerId":1,"TypeId":2},{"CustomerId":1,"TypeId":2}],"Quoter":"sample string 11","Recipient":"sample string 12","ContractNotes":"sample string 13","TariffNotes":"sample string 14","UserId":15,"GuestTypes":[{"AgeFrom":1,"AgeTo":2},{"AgeFrom":1,"AgeTo":2}],"Sales":[{"Description":"sample string 1","RoomId":2,"ChargeBasisId":3,"MinAdults":4,"MaxAdults":5,"MinChildren":6,"MaxChildren":7,"MinPax":8,"MaxPax":9,"BasePax":10,"NonRefundable":true,"SelfCatering":true,"Allocations":[{"CustomerId":1,"Allocation":[{"DateFrom":"sample string 1","DateTo":"sample string 2","Allocation":3},{"DateFrom":"sample string 1","DateTo":"sample string 2","Allocation":3}]},{"CustomerId":1,"Allocation":[{"DateFrom":"sample string 1","DateTo":"sample string 2","Allocation":3},{"DateFrom":"sample string 1","DateTo":"sample string 2","Allocation":3}]}],"MinStay":[{"DateFrom":"sample string 1","DateTo":"sample string 2","MinStay":3},{"DateFrom":"sample string 1","DateTo":"sample string 2","MinStay":3}],"Release":[{"DateFrom":"sample string 1","DateTo":"sample string 2","Release":3},{"DateFrom":"sample string 1","DateTo":"sample string 2","Release":3}]},{"Description":"sample string 1","RoomId":2,"ChargeBasisId":3,"MinAdults":4,"MaxAdults":5,"MinChildren":6,"MaxChildren":7,"MinPax":8,"MaxPax":9,"BasePax":10,"NonRefundable":true,"SelfCatering":true,"Allocations":[{"CustomerId":1,"Allocation":[{"DateFrom":"sample string 1","DateTo":"sample string 2","Allocation":3},{"DateFrom":"sample string 1","DateTo":"sample string 2","Allocation":3}]},{"CustomerId":1,"Allocation":[{"DateFrom":"sample string 1","DateTo":"sample string 2","Allocation":3},{"DateFrom":"sample string 1","DateTo":"sample string 2","Allocation":3}]}],"MinStay":[{"DateFrom":"sample string 1","DateTo":"sample string 2","MinStay":3},{"DateFrom":"sample string 1","DateTo":"sample string 2","MinStay":3}],"Release":[{"DateFrom":"sample string 1","DateTo":"sample string 2","Release":3},{"DateFrom":"sample string 1","DateTo":"sample string 2","Release":3}]}],"RatePlans":[{"Title":"sample string 1","MarketId":2,"TariffId":3,"BoardingId":4,"Seasons":[{"Name":"sample string 1","Periods":[{"DateFrom":"sample string 1","DateTo":"sample string 2"},{"DateFrom":"sample string 1","DateTo":"sample string 2"}]},{"Name":"sample string 1","Periods":[{"DateFrom":"sample string 1","DateTo":"sample string 2"},{"DateFrom":"sample string 1","DateTo":"sample string 2"}]}],"Rates":{"BasicRates":[{"BoardingId":1,"RateTypeId":2,"RoomId":1,"SeasonRates":[{"SeasonName":"sample string 1","Rate":2.0},{"SeasonName":"sample string 1","Rate":2.0}]},{"BoardingId":1,"RateTypeId":2,"RoomId":1,"SeasonRates":[{"SeasonName":"sample string 1","Rate":2.0},{"SeasonName":"sample string 1","Rate":2.0}]}],"Discounts":[{"BoardingId":1,"PaxType":"sample string 2","RateTypeId":3,"RoomId":4,"SeasonRates":[{"SeasonName":"sample string 1","Rate":2.0},{"SeasonName":"sample string 1","Rate":2.0}]},{"BoardingId":1,"PaxType":"sample string 2","RateTypeId":3,"RoomId":4,"SeasonRates":[{"SeasonName":"sample string 1","Rate":2.0},{"SeasonName":"sample string 1","Rate":2.0}]}],"Supplements":[{"BoardingId":1,"PaxType":"sample string 2","RateTypeId":3,"SeasonRates":[{"SeasonName":"sample string 1","Rate":2.0},{"SeasonName":"sample string 1","Rate":2.0}]},{"BoardingId":1,"PaxType":"sample string 2","RateTypeId":3,"SeasonRates":[{"SeasonName":"sample string 1","Rate":2.0},{"SeasonName":"sample string 1","Rate":2.0}]}]},"Offers":[{"TypeCode":"sample string 1","CriterionId":2,"RoomId":1,"ActiveDateFrom":"sample string 3","ActiveDateTo":"sample string 4","BookingDateFrom":"sample string 5","BookingDateTo":"sample string 6","MinStay":1,"MaxStay":1,"DaysPrior":1,"SalesDescription":"sample string 7","Remarks":"sample string 8","Rank":9,"CustomerId":1,"ApplyToSupplements":true,"RRDiscount":11.0,"BBDiscount":12.0,"HBDiscount":13.0,"FBDiscount":14.0,"AIDiscount":15.0,"UIDiscount":16.0,"PayDate":"sample string 17","PayValue":18.0,"Stay":19,"Pay":20},{"TypeCode":"sample string 1","CriterionId":2,"RoomId":1,"ActiveDateFrom":"sample string 3","ActiveDateTo":"sample string 4","BookingDateFrom":"sample string 5","BookingDateTo":"sample string 6","MinStay":1,"MaxStay":1,"DaysPrior":1,"SalesDescription":"sample string 7","Remarks":"sample string 8","Rank":9,"CustomerId":1,"ApplyToSupplements":true,"RRDiscount":11.0,"BBDiscount":12.0,"HBDiscount":13.0,"FBDiscount":14.0,"AIDiscount":15.0,"UIDiscount":16.0,"PayDate":"sample string 17","PayValue":18.0,"Stay":19,"Pay":20}],"Contributions":[{"Description":"sample string 1","TypeId":2,"SubTypeId":3,"Percent":1.0,"MinAmount":1.0,"Amount":1.0},{"Description":"sample string 1","TypeId":2,"SubTypeId":3,"Percent":1.0,"MinAmount":1.0,"Amount":1.0}]},{"Title":"sample string 1","MarketId":2,"TariffId":3,"BoardingId":4,"Seasons":[{"Name":"sample string 1","Periods":[{"DateFrom":"sample string 1","DateTo":"sample string 2"},{"DateFrom":"sample string 1","DateTo":"sample string 2"}]},{"Name":"sample string 1","Periods":[{"DateFrom":"sample string 1","DateTo":"sample string 2"},{"DateFrom":"sample string 1","DateTo":"sample string 2"}]}],"Rates":{"BasicRates":[{"BoardingId":1,"RateTypeId":2,"RoomId":1,"SeasonRates":[{"SeasonName":"sample string 1","Rate":2.0},{"SeasonName":"sample string 1","Rate":2.0}]},{"BoardingId":1,"RateTypeId":2,"RoomId":1,"SeasonRates":[{"SeasonName":"sample string 1","Rate":2.0},{"SeasonName":"sample string 1","Rate":2.0}]}],"Discounts":[{"BoardingId":1,"PaxType":"sample string 2","RateTypeId":3,"RoomId":4,"SeasonRates":[{"SeasonName":"sample string 1","Rate":2.0},{"SeasonName":"sample string 1","Rate":2.0}]},{"BoardingId":1,"PaxType":"sample string 2","RateTypeId":3,"RoomId":4,"SeasonRates":[{"SeasonName":"sample string 1","Rate":2.0},{"SeasonName":"sample string 1","Rate":2.0}]}],"Supplements":[{"BoardingId":1,"PaxType":"sample string 2","RateTypeId":3,"SeasonRates":[{"SeasonName":"sample string 1","Rate":2.0},{"SeasonName":"sample string 1","Rate":2.0}]},{"BoardingId":1,"PaxType":"sample string 2","RateTypeId":3,"SeasonRates":[{"SeasonName":"sample string 1","Rate":2.0},{"SeasonName":"sample string 1","Rate":2.0}]}]},"Offers":[{"TypeCode":"sample string 1","CriterionId":2,"RoomId":1,"ActiveDateFrom":"sample string 3","ActiveDateTo":"sample string 4","BookingDateFrom":"sample string 5","BookingDateTo":"sample string 6","MinStay":1,"MaxStay":1,"DaysPrior":1,"SalesDescription":"sample string 7","Remarks":"sample string 8","Rank":9,"CustomerId":1,"ApplyToSupplements":true,"RRDiscount":11.0,"BBDiscount":12.0,"HBDiscount":13.0,"FBDiscount":14.0,"AIDiscount":15.0,"UIDiscount":16.0,"PayDate":"sample string 17","PayValue":18.0,"Stay":19,"Pay":20},{"TypeCode":"sample string 1","CriterionId":2,"RoomId":1,"ActiveDateFrom":"sample string 3","ActiveDateTo":"sample string 4","BookingDateFrom":"sample string 5","BookingDateTo":"sample string 6","MinStay":1,"MaxStay":1,"DaysPrior":1,"SalesDescription":"sample string 7","Remarks":"sample string 8","Rank":9,"CustomerId":1,"ApplyToSupplements":true,"RRDiscount":11.0,"BBDiscount":12.0,"HBDiscount":13.0,"FBDiscount":14.0,"AIDiscount":15.0,"UIDiscount":16.0,"PayDate":"sample string 17","PayValue":18.0,"Stay":19,"Pay":20}],"Contributions":[{"Description":"sample string 1","TypeId":2,"SubTypeId":3,"Percent":1.0,"MinAmount":1.0,"Amount":1.0},{"Description":"sample string 1","TypeId":2,"SubTypeId":3,"Percent":1.0,"MinAmount":1.0,"Amount":1.0}]}],"CancellationPolicies":[{"TypeId":1,"DateFrom":"sample string 2","DateTo":"sample string 3","CriterionId":4,"LengthOfStayFrom":5,"LengthOfStayTo":6,"DaysBeforeArrivalFrom":7,"DaysBeforeArrivalTo":8,"AmountTypeId":9,"Amount":10.0,"RoomId":11},{"TypeId":1,"DateFrom":"sample string 2","DateTo":"sample string 3","CriterionId":4,"LengthOfStayFrom":5,"LengthOfStayTo":6,"DaysBeforeArrivalFrom":7,"DaysBeforeArrivalTo":8,"AmountTypeId":9,"Amount":10.0,"RoomId":11}],"ParentId":16,"Rooms":[{"Id":1,"SpecificityId":2,"MinCapacity":3,"MaxCapacity":4,"Facilities":[{"Id":1,"Charged":true},{"Id":1,"Charged":true}],"NewId":5},{"Id":1,"SpecificityId":2,"MinCapacity":3,"MaxCapacity":4,"Facilities":[{"Id":1,"Charged":true},{"Id":1,"Charged":true}],"NewId":5}]}
application/xml, text/xml
Sample:
<MultipleContractDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Mappings.Operations.Dto.Contracts.Hotels"> <ActiveDateFrom>sample string 3</ActiveDateFrom> <ActiveDateTo>sample string 4</ActiveDateTo> <BookingDateFrom>sample string 5</BookingDateFrom> <BookingDateTo>sample string 6</BookingDateTo> <CancellationPolicies> <CancellationPolicyRequestDTO.CancellationPolicyDTO> <Amount>10</Amount> <AmountTypeId>9</AmountTypeId> <CriterionId>4</CriterionId> <DateFrom>sample string 2</DateFrom> <DateTo>sample string 3</DateTo> <DaysBeforeArrivalFrom>7</DaysBeforeArrivalFrom> <DaysBeforeArrivalTo>8</DaysBeforeArrivalTo> <LengthOfStayFrom>5</LengthOfStayFrom> <LengthOfStayTo>6</LengthOfStayTo> <RoomId>11</RoomId> <TypeId>1</TypeId> </CancellationPolicyRequestDTO.CancellationPolicyDTO> <CancellationPolicyRequestDTO.CancellationPolicyDTO> <Amount>10</Amount> <AmountTypeId>9</AmountTypeId> <CriterionId>4</CriterionId> <DateFrom>sample string 2</DateFrom> <DateTo>sample string 3</DateTo> <DaysBeforeArrivalFrom>7</DaysBeforeArrivalFrom> <DaysBeforeArrivalTo>8</DaysBeforeArrivalTo> <LengthOfStayFrom>5</LengthOfStayFrom> <LengthOfStayTo>6</LengthOfStayTo> <RoomId>11</RoomId> <TypeId>1</TypeId> </CancellationPolicyRequestDTO.CancellationPolicyDTO> </CancellationPolicies> <CompanyId>10</CompanyId> <ContractNotes>sample string 13</ContractNotes> <Customers> <MultipleContractDTO.TypedCustomerDTO> <CustomerId>1</CustomerId> <TypeId>2</TypeId> </MultipleContractDTO.TypedCustomerDTO> <MultipleContractDTO.TypedCustomerDTO> <CustomerId>1</CustomerId> <TypeId>2</TypeId> </MultipleContractDTO.TypedCustomerDTO> </Customers> <GuestTypes> <GuestTypeDTO> <AgeFrom>1</AgeFrom> <AgeTo>2</AgeTo> </GuestTypeDTO> <GuestTypeDTO> <AgeFrom>1</AgeFrom> <AgeTo>2</AgeTo> </GuestTypeDTO> </GuestTypes> <HotelId>8</HotelId> <ParentId>16</ParentId> <Quoter>sample string 11</Quoter> <RatePlans xmlns:d2p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Contracts.Hotels.RatePlans"> <d2p1:RatePlanDTO> <d2p1:BoardingId>4</d2p1:BoardingId> <d2p1:Contributions xmlns:d4p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Mappings.Operations.Dto.Contracts.Hotels.RatePlans.Contributions"> <d4p1:ContributionDTO> <d4p1:Amount>1</d4p1:Amount> <d4p1:Description>sample string 1</d4p1:Description> <d4p1:MinAmount>1</d4p1:MinAmount> <d4p1:Percent>1</d4p1:Percent> <d4p1:SubTypeId>3</d4p1:SubTypeId> <d4p1:TypeId>2</d4p1:TypeId> </d4p1:ContributionDTO> <d4p1:ContributionDTO> <d4p1:Amount>1</d4p1:Amount> <d4p1:Description>sample string 1</d4p1:Description> <d4p1:MinAmount>1</d4p1:MinAmount> <d4p1:Percent>1</d4p1:Percent> <d4p1:SubTypeId>3</d4p1:SubTypeId> <d4p1:TypeId>2</d4p1:TypeId> </d4p1:ContributionDTO> </d2p1:Contributions> <d2p1:MarketId>2</d2p1:MarketId> <d2p1:Offers xmlns:d4p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Mappings.Operations.Dto.Contracts.Hotels.RatePlans.Offers"> <d4p1:OfferDTO> <d4p1:AIDiscount>15</d4p1:AIDiscount> <d4p1:ActiveDateFrom>sample string 3</d4p1:ActiveDateFrom> <d4p1:ActiveDateTo>sample string 4</d4p1:ActiveDateTo> <d4p1:ApplyToSupplements>true</d4p1:ApplyToSupplements> <d4p1:BBDiscount>12</d4p1:BBDiscount> <d4p1:BookingDateFrom>sample string 5</d4p1:BookingDateFrom> <d4p1:BookingDateTo>sample string 6</d4p1:BookingDateTo> <d4p1:CriterionId>2</d4p1:CriterionId> <d4p1:CustomerId>1</d4p1:CustomerId> <d4p1:DaysPrior>1</d4p1:DaysPrior> <d4p1:FBDiscount>14</d4p1:FBDiscount> <d4p1:HBDiscount>13</d4p1:HBDiscount> <d4p1:MaxStay>1</d4p1:MaxStay> <d4p1:MinStay>1</d4p1:MinStay> <d4p1:Pay>20</d4p1:Pay> <d4p1:PayDate>sample string 17</d4p1:PayDate> <d4p1:PayValue>18</d4p1:PayValue> <d4p1:RRDiscount>11</d4p1:RRDiscount> <d4p1:Rank>9</d4p1:Rank> <d4p1:Remarks>sample string 8</d4p1:Remarks> <d4p1:RoomId>1</d4p1:RoomId> <d4p1:SalesDescription>sample string 7</d4p1:SalesDescription> <d4p1:Stay>19</d4p1:Stay> <d4p1:TypeCode>sample string 1</d4p1:TypeCode> <d4p1:UIDiscount>16</d4p1:UIDiscount> </d4p1:OfferDTO> <d4p1:OfferDTO> <d4p1:AIDiscount>15</d4p1:AIDiscount> <d4p1:ActiveDateFrom>sample string 3</d4p1:ActiveDateFrom> <d4p1:ActiveDateTo>sample string 4</d4p1:ActiveDateTo> <d4p1:ApplyToSupplements>true</d4p1:ApplyToSupplements> <d4p1:BBDiscount>12</d4p1:BBDiscount> <d4p1:BookingDateFrom>sample string 5</d4p1:BookingDateFrom> <d4p1:BookingDateTo>sample string 6</d4p1:BookingDateTo> <d4p1:CriterionId>2</d4p1:CriterionId> <d4p1:CustomerId>1</d4p1:CustomerId> <d4p1:DaysPrior>1</d4p1:DaysPrior> <d4p1:FBDiscount>14</d4p1:FBDiscount> <d4p1:HBDiscount>13</d4p1:HBDiscount> <d4p1:MaxStay>1</d4p1:MaxStay> <d4p1:MinStay>1</d4p1:MinStay> <d4p1:Pay>20</d4p1:Pay> <d4p1:PayDate>sample string 17</d4p1:PayDate> <d4p1:PayValue>18</d4p1:PayValue> <d4p1:RRDiscount>11</d4p1:RRDiscount> <d4p1:Rank>9</d4p1:Rank> <d4p1:Remarks>sample string 8</d4p1:Remarks> <d4p1:RoomId>1</d4p1:RoomId> <d4p1:SalesDescription>sample string 7</d4p1:SalesDescription> <d4p1:Stay>19</d4p1:Stay> <d4p1:TypeCode>sample string 1</d4p1:TypeCode> <d4p1:UIDiscount>16</d4p1:UIDiscount> </d4p1:OfferDTO> </d2p1:Offers> <d2p1:Rates xmlns:d4p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Mappings.Operations.Dto.Contracts.Hotels.RatePlans.Rates"> <d4p1:BasicRates> <d4p1:RatesLineBasicRatesDTO> <d4p1:BoardingId>1</d4p1:BoardingId> <d4p1:RateTypeId>2</d4p1:RateTypeId> <d4p1:RoomId>1</d4p1:RoomId> <d4p1:SeasonRates> <d4p1:SeasonRateDTO> <d4p1:Rate>2</d4p1:Rate> <d4p1:SeasonName>sample string 1</d4p1:SeasonName> </d4p1:SeasonRateDTO> <d4p1:SeasonRateDTO> <d4p1:Rate>2</d4p1:Rate> <d4p1:SeasonName>sample string 1</d4p1:SeasonName> </d4p1:SeasonRateDTO> </d4p1:SeasonRates> </d4p1:RatesLineBasicRatesDTO> <d4p1:RatesLineBasicRatesDTO> <d4p1:BoardingId>1</d4p1:BoardingId> <d4p1:RateTypeId>2</d4p1:RateTypeId> <d4p1:RoomId>1</d4p1:RoomId> <d4p1:SeasonRates> <d4p1:SeasonRateDTO> <d4p1:Rate>2</d4p1:Rate> <d4p1:SeasonName>sample string 1</d4p1:SeasonName> </d4p1:SeasonRateDTO> <d4p1:SeasonRateDTO> <d4p1:Rate>2</d4p1:Rate> <d4p1:SeasonName>sample string 1</d4p1:SeasonName> </d4p1:SeasonRateDTO> </d4p1:SeasonRates> </d4p1:RatesLineBasicRatesDTO> </d4p1:BasicRates> <d4p1:Discounts> <d4p1:RatesLineDiscountsDTO> <d4p1:BoardingId>1</d4p1:BoardingId> <d4p1:PaxType>sample string 2</d4p1:PaxType> <d4p1:RateTypeId>3</d4p1:RateTypeId> <d4p1:RoomId>4</d4p1:RoomId> <d4p1:SeasonRates> <d4p1:SeasonRateDTO> <d4p1:Rate>2</d4p1:Rate> <d4p1:SeasonName>sample string 1</d4p1:SeasonName> </d4p1:SeasonRateDTO> <d4p1:SeasonRateDTO> <d4p1:Rate>2</d4p1:Rate> <d4p1:SeasonName>sample string 1</d4p1:SeasonName> </d4p1:SeasonRateDTO> </d4p1:SeasonRates> </d4p1:RatesLineDiscountsDTO> <d4p1:RatesLineDiscountsDTO> <d4p1:BoardingId>1</d4p1:BoardingId> <d4p1:PaxType>sample string 2</d4p1:PaxType> <d4p1:RateTypeId>3</d4p1:RateTypeId> <d4p1:RoomId>4</d4p1:RoomId> <d4p1:SeasonRates> <d4p1:SeasonRateDTO> <d4p1:Rate>2</d4p1:Rate> <d4p1:SeasonName>sample string 1</d4p1:SeasonName> </d4p1:SeasonRateDTO> <d4p1:SeasonRateDTO> <d4p1:Rate>2</d4p1:Rate> <d4p1:SeasonName>sample string 1</d4p1:SeasonName> </d4p1:SeasonRateDTO> </d4p1:SeasonRates> </d4p1:RatesLineDiscountsDTO> </d4p1:Discounts> <d4p1:Supplements> <d4p1:RatesLineSupplementsDTO> <d4p1:BoardingId>1</d4p1:BoardingId> <d4p1:PaxType>sample string 2</d4p1:PaxType> <d4p1:RateTypeId>3</d4p1:RateTypeId> <d4p1:SeasonRates> <d4p1:SeasonRateDTO> <d4p1:Rate>2</d4p1:Rate> <d4p1:SeasonName>sample string 1</d4p1:SeasonName> </d4p1:SeasonRateDTO> <d4p1:SeasonRateDTO> <d4p1:Rate>2</d4p1:Rate> <d4p1:SeasonName>sample string 1</d4p1:SeasonName> </d4p1:SeasonRateDTO> </d4p1:SeasonRates> </d4p1:RatesLineSupplementsDTO> <d4p1:RatesLineSupplementsDTO> <d4p1:BoardingId>1</d4p1:BoardingId> <d4p1:PaxType>sample string 2</d4p1:PaxType> <d4p1:RateTypeId>3</d4p1:RateTypeId> <d4p1:SeasonRates> <d4p1:SeasonRateDTO> <d4p1:Rate>2</d4p1:Rate> <d4p1:SeasonName>sample string 1</d4p1:SeasonName> </d4p1:SeasonRateDTO> <d4p1:SeasonRateDTO> <d4p1:Rate>2</d4p1:Rate> <d4p1:SeasonName>sample string 1</d4p1:SeasonName> </d4p1:SeasonRateDTO> </d4p1:SeasonRates> </d4p1:RatesLineSupplementsDTO> </d4p1:Supplements> </d2p1:Rates> <d2p1:Seasons> <d2p1:SeasonDTO> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:Periods> <d2p1:PeriodDTO> <d2p1:DateFrom>sample string 1</d2p1:DateFrom> <d2p1:DateTo>sample string 2</d2p1:DateTo> </d2p1:PeriodDTO> <d2p1:PeriodDTO> <d2p1:DateFrom>sample string 1</d2p1:DateFrom> <d2p1:DateTo>sample string 2</d2p1:DateTo> </d2p1:PeriodDTO> </d2p1:Periods> </d2p1:SeasonDTO> <d2p1:SeasonDTO> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:Periods> <d2p1:PeriodDTO> <d2p1:DateFrom>sample string 1</d2p1:DateFrom> <d2p1:DateTo>sample string 2</d2p1:DateTo> </d2p1:PeriodDTO> <d2p1:PeriodDTO> <d2p1:DateFrom>sample string 1</d2p1:DateFrom> <d2p1:DateTo>sample string 2</d2p1:DateTo> </d2p1:PeriodDTO> </d2p1:Periods> </d2p1:SeasonDTO> </d2p1:Seasons> <d2p1:TariffId>3</d2p1:TariffId> <d2p1:Title>sample string 1</d2p1:Title> </d2p1:RatePlanDTO> <d2p1:RatePlanDTO> <d2p1:BoardingId>4</d2p1:BoardingId> <d2p1:Contributions xmlns:d4p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Mappings.Operations.Dto.Contracts.Hotels.RatePlans.Contributions"> <d4p1:ContributionDTO> <d4p1:Amount>1</d4p1:Amount> <d4p1:Description>sample string 1</d4p1:Description> <d4p1:MinAmount>1</d4p1:MinAmount> <d4p1:Percent>1</d4p1:Percent> <d4p1:SubTypeId>3</d4p1:SubTypeId> <d4p1:TypeId>2</d4p1:TypeId> </d4p1:ContributionDTO> <d4p1:ContributionDTO> <d4p1:Amount>1</d4p1:Amount> <d4p1:Description>sample string 1</d4p1:Description> <d4p1:MinAmount>1</d4p1:MinAmount> <d4p1:Percent>1</d4p1:Percent> <d4p1:SubTypeId>3</d4p1:SubTypeId> <d4p1:TypeId>2</d4p1:TypeId> </d4p1:ContributionDTO> </d2p1:Contributions> <d2p1:MarketId>2</d2p1:MarketId> <d2p1:Offers xmlns:d4p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Mappings.Operations.Dto.Contracts.Hotels.RatePlans.Offers"> <d4p1:OfferDTO> <d4p1:AIDiscount>15</d4p1:AIDiscount> <d4p1:ActiveDateFrom>sample string 3</d4p1:ActiveDateFrom> <d4p1:ActiveDateTo>sample string 4</d4p1:ActiveDateTo> <d4p1:ApplyToSupplements>true</d4p1:ApplyToSupplements> <d4p1:BBDiscount>12</d4p1:BBDiscount> <d4p1:BookingDateFrom>sample string 5</d4p1:BookingDateFrom> <d4p1:BookingDateTo>sample string 6</d4p1:BookingDateTo> <d4p1:CriterionId>2</d4p1:CriterionId> <d4p1:CustomerId>1</d4p1:CustomerId> <d4p1:DaysPrior>1</d4p1:DaysPrior> <d4p1:FBDiscount>14</d4p1:FBDiscount> <d4p1:HBDiscount>13</d4p1:HBDiscount> <d4p1:MaxStay>1</d4p1:MaxStay> <d4p1:MinStay>1</d4p1:MinStay> <d4p1:Pay>20</d4p1:Pay> <d4p1:PayDate>sample string 17</d4p1:PayDate> <d4p1:PayValue>18</d4p1:PayValue> <d4p1:RRDiscount>11</d4p1:RRDiscount> <d4p1:Rank>9</d4p1:Rank> <d4p1:Remarks>sample string 8</d4p1:Remarks> <d4p1:RoomId>1</d4p1:RoomId> <d4p1:SalesDescription>sample string 7</d4p1:SalesDescription> <d4p1:Stay>19</d4p1:Stay> <d4p1:TypeCode>sample string 1</d4p1:TypeCode> <d4p1:UIDiscount>16</d4p1:UIDiscount> </d4p1:OfferDTO> <d4p1:OfferDTO> <d4p1:AIDiscount>15</d4p1:AIDiscount> <d4p1:ActiveDateFrom>sample string 3</d4p1:ActiveDateFrom> <d4p1:ActiveDateTo>sample string 4</d4p1:ActiveDateTo> <d4p1:ApplyToSupplements>true</d4p1:ApplyToSupplements> <d4p1:BBDiscount>12</d4p1:BBDiscount> <d4p1:BookingDateFrom>sample string 5</d4p1:BookingDateFrom> <d4p1:BookingDateTo>sample string 6</d4p1:BookingDateTo> <d4p1:CriterionId>2</d4p1:CriterionId> <d4p1:CustomerId>1</d4p1:CustomerId> <d4p1:DaysPrior>1</d4p1:DaysPrior> <d4p1:FBDiscount>14</d4p1:FBDiscount> <d4p1:HBDiscount>13</d4p1:HBDiscount> <d4p1:MaxStay>1</d4p1:MaxStay> <d4p1:MinStay>1</d4p1:MinStay> <d4p1:Pay>20</d4p1:Pay> <d4p1:PayDate>sample string 17</d4p1:PayDate> <d4p1:PayValue>18</d4p1:PayValue> <d4p1:RRDiscount>11</d4p1:RRDiscount> <d4p1:Rank>9</d4p1:Rank> <d4p1:Remarks>sample string 8</d4p1:Remarks> <d4p1:RoomId>1</d4p1:RoomId> <d4p1:SalesDescription>sample string 7</d4p1:SalesDescription> <d4p1:Stay>19</d4p1:Stay> <d4p1:TypeCode>sample string 1</d4p1:TypeCode> <d4p1:UIDiscount>16</d4p1:UIDiscount> </d4p1:OfferDTO> </d2p1:Offers> <d2p1:Rates xmlns:d4p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Mappings.Operations.Dto.Contracts.Hotels.RatePlans.Rates"> <d4p1:BasicRates> <d4p1:RatesLineBasicRatesDTO> <d4p1:BoardingId>1</d4p1:BoardingId> <d4p1:RateTypeId>2</d4p1:RateTypeId> <d4p1:RoomId>1</d4p1:RoomId> <d4p1:SeasonRates> <d4p1:SeasonRateDTO> <d4p1:Rate>2</d4p1:Rate> <d4p1:SeasonName>sample string 1</d4p1:SeasonName> </d4p1:SeasonRateDTO> <d4p1:SeasonRateDTO> <d4p1:Rate>2</d4p1:Rate> <d4p1:SeasonName>sample string 1</d4p1:SeasonName> </d4p1:SeasonRateDTO> </d4p1:SeasonRates> </d4p1:RatesLineBasicRatesDTO> <d4p1:RatesLineBasicRatesDTO> <d4p1:BoardingId>1</d4p1:BoardingId> <d4p1:RateTypeId>2</d4p1:RateTypeId> <d4p1:RoomId>1</d4p1:RoomId> <d4p1:SeasonRates> <d4p1:SeasonRateDTO> <d4p1:Rate>2</d4p1:Rate> <d4p1:SeasonName>sample string 1</d4p1:SeasonName> </d4p1:SeasonRateDTO> <d4p1:SeasonRateDTO> <d4p1:Rate>2</d4p1:Rate> <d4p1:SeasonName>sample string 1</d4p1:SeasonName> </d4p1:SeasonRateDTO> </d4p1:SeasonRates> </d4p1:RatesLineBasicRatesDTO> </d4p1:BasicRates> <d4p1:Discounts> <d4p1:RatesLineDiscountsDTO> <d4p1:BoardingId>1</d4p1:BoardingId> <d4p1:PaxType>sample string 2</d4p1:PaxType> <d4p1:RateTypeId>3</d4p1:RateTypeId> <d4p1:RoomId>4</d4p1:RoomId> <d4p1:SeasonRates> <d4p1:SeasonRateDTO> <d4p1:Rate>2</d4p1:Rate> <d4p1:SeasonName>sample string 1</d4p1:SeasonName> </d4p1:SeasonRateDTO> <d4p1:SeasonRateDTO> <d4p1:Rate>2</d4p1:Rate> <d4p1:SeasonName>sample string 1</d4p1:SeasonName> </d4p1:SeasonRateDTO> </d4p1:SeasonRates> </d4p1:RatesLineDiscountsDTO> <d4p1:RatesLineDiscountsDTO> <d4p1:BoardingId>1</d4p1:BoardingId> <d4p1:PaxType>sample string 2</d4p1:PaxType> <d4p1:RateTypeId>3</d4p1:RateTypeId> <d4p1:RoomId>4</d4p1:RoomId> <d4p1:SeasonRates> <d4p1:SeasonRateDTO> <d4p1:Rate>2</d4p1:Rate> <d4p1:SeasonName>sample string 1</d4p1:SeasonName> </d4p1:SeasonRateDTO> <d4p1:SeasonRateDTO> <d4p1:Rate>2</d4p1:Rate> <d4p1:SeasonName>sample string 1</d4p1:SeasonName> </d4p1:SeasonRateDTO> </d4p1:SeasonRates> </d4p1:RatesLineDiscountsDTO> </d4p1:Discounts> <d4p1:Supplements> <d4p1:RatesLineSupplementsDTO> <d4p1:BoardingId>1</d4p1:BoardingId> <d4p1:PaxType>sample string 2</d4p1:PaxType> <d4p1:RateTypeId>3</d4p1:RateTypeId> <d4p1:SeasonRates> <d4p1:SeasonRateDTO> <d4p1:Rate>2</d4p1:Rate> <d4p1:SeasonName>sample string 1</d4p1:SeasonName> </d4p1:SeasonRateDTO> <d4p1:SeasonRateDTO> <d4p1:Rate>2</d4p1:Rate> <d4p1:SeasonName>sample string 1</d4p1:SeasonName> </d4p1:SeasonRateDTO> </d4p1:SeasonRates> </d4p1:RatesLineSupplementsDTO> <d4p1:RatesLineSupplementsDTO> <d4p1:BoardingId>1</d4p1:BoardingId> <d4p1:PaxType>sample string 2</d4p1:PaxType> <d4p1:RateTypeId>3</d4p1:RateTypeId> <d4p1:SeasonRates> <d4p1:SeasonRateDTO> <d4p1:Rate>2</d4p1:Rate> <d4p1:SeasonName>sample string 1</d4p1:SeasonName> </d4p1:SeasonRateDTO> <d4p1:SeasonRateDTO> <d4p1:Rate>2</d4p1:Rate> <d4p1:SeasonName>sample string 1</d4p1:SeasonName> </d4p1:SeasonRateDTO> </d4p1:SeasonRates> </d4p1:RatesLineSupplementsDTO> </d4p1:Supplements> </d2p1:Rates> <d2p1:Seasons> <d2p1:SeasonDTO> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:Periods> <d2p1:PeriodDTO> <d2p1:DateFrom>sample string 1</d2p1:DateFrom> <d2p1:DateTo>sample string 2</d2p1:DateTo> </d2p1:PeriodDTO> <d2p1:PeriodDTO> <d2p1:DateFrom>sample string 1</d2p1:DateFrom> <d2p1:DateTo>sample string 2</d2p1:DateTo> </d2p1:PeriodDTO> </d2p1:Periods> </d2p1:SeasonDTO> <d2p1:SeasonDTO> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:Periods> <d2p1:PeriodDTO> <d2p1:DateFrom>sample string 1</d2p1:DateFrom> <d2p1:DateTo>sample string 2</d2p1:DateTo> </d2p1:PeriodDTO> <d2p1:PeriodDTO> <d2p1:DateFrom>sample string 1</d2p1:DateFrom> <d2p1:DateTo>sample string 2</d2p1:DateTo> </d2p1:PeriodDTO> </d2p1:Periods> </d2p1:SeasonDTO> </d2p1:Seasons> <d2p1:TariffId>3</d2p1:TariffId> <d2p1:Title>sample string 1</d2p1:Title> </d2p1:RatePlanDTO> </RatePlans> <Recipient>sample string 12</Recipient> <Rooms> <MultipleContractDTO.RoomDTO> <Facilities> <MultipleContractDTO.RoomFacilityDTO> <Charged>true</Charged> <Id>1</Id> </MultipleContractDTO.RoomFacilityDTO> <MultipleContractDTO.RoomFacilityDTO> <Charged>true</Charged> <Id>1</Id> </MultipleContractDTO.RoomFacilityDTO> </Facilities> <Id>1</Id> <MaxCapacity>4</MaxCapacity> <MinCapacity>3</MinCapacity> <NewId>5</NewId> <SpecificityId>2</SpecificityId> </MultipleContractDTO.RoomDTO> <MultipleContractDTO.RoomDTO> <Facilities> <MultipleContractDTO.RoomFacilityDTO> <Charged>true</Charged> <Id>1</Id> </MultipleContractDTO.RoomFacilityDTO> <MultipleContractDTO.RoomFacilityDTO> <Charged>true</Charged> <Id>1</Id> </MultipleContractDTO.RoomFacilityDTO> </Facilities> <Id>1</Id> <MaxCapacity>4</MaxCapacity> <MinCapacity>3</MinCapacity> <NewId>5</NewId> <SpecificityId>2</SpecificityId> </MultipleContractDTO.RoomDTO> </Rooms> <Sales> <MultipleContractDTO.MultipleCustomerSaleDTO> <Allocations> <MultipleContractDTO.MultipleCustomerSaleDTO.MultipleCustomerAllocationDTO> <Allocation xmlns:d6p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Mappings.Operations.Dto.Contracts.Hotels.Sales"> <d6p1:AllocationDTO> <d6p1:Allocation>3</d6p1:Allocation> <d6p1:DateFrom>sample string 1</d6p1:DateFrom> <d6p1:DateTo>sample string 2</d6p1:DateTo> </d6p1:AllocationDTO> <d6p1:AllocationDTO> <d6p1:Allocation>3</d6p1:Allocation> <d6p1:DateFrom>sample string 1</d6p1:DateFrom> <d6p1:DateTo>sample string 2</d6p1:DateTo> </d6p1:AllocationDTO> </Allocation> <CustomerId>1</CustomerId> </MultipleContractDTO.MultipleCustomerSaleDTO.MultipleCustomerAllocationDTO> <MultipleContractDTO.MultipleCustomerSaleDTO.MultipleCustomerAllocationDTO> <Allocation xmlns:d6p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Mappings.Operations.Dto.Contracts.Hotels.Sales"> <d6p1:AllocationDTO> <d6p1:Allocation>3</d6p1:Allocation> <d6p1:DateFrom>sample string 1</d6p1:DateFrom> <d6p1:DateTo>sample string 2</d6p1:DateTo> </d6p1:AllocationDTO> <d6p1:AllocationDTO> <d6p1:Allocation>3</d6p1:Allocation> <d6p1:DateFrom>sample string 1</d6p1:DateFrom> <d6p1:DateTo>sample string 2</d6p1:DateTo> </d6p1:AllocationDTO> </Allocation> <CustomerId>1</CustomerId> </MultipleContractDTO.MultipleCustomerSaleDTO.MultipleCustomerAllocationDTO> </Allocations> <BasePax>10</BasePax> <ChargeBasisId>3</ChargeBasisId> <Description>sample string 1</Description> <MaxAdults>5</MaxAdults> <MaxChildren>7</MaxChildren> <MaxPax>9</MaxPax> <MinAdults>4</MinAdults> <MinChildren>6</MinChildren> <MinPax>8</MinPax> <MinStay xmlns:d4p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Mappings.Operations.Dto.Contracts.Hotels.Sales"> <d4p1:MinStayDTO> <d4p1:DateFrom>sample string 1</d4p1:DateFrom> <d4p1:DateTo>sample string 2</d4p1:DateTo> <d4p1:MinStay>3</d4p1:MinStay> </d4p1:MinStayDTO> <d4p1:MinStayDTO> <d4p1:DateFrom>sample string 1</d4p1:DateFrom> <d4p1:DateTo>sample string 2</d4p1:DateTo> <d4p1:MinStay>3</d4p1:MinStay> </d4p1:MinStayDTO> </MinStay> <NonRefundable>true</NonRefundable> <Release xmlns:d4p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Mappings.Operations.Dto.Contracts.Hotels.Sales"> <d4p1:ReleaseDTO> <d4p1:DateFrom>sample string 1</d4p1:DateFrom> <d4p1:DateTo>sample string 2</d4p1:DateTo> <d4p1:Release>3</d4p1:Release> </d4p1:ReleaseDTO> <d4p1:ReleaseDTO> <d4p1:DateFrom>sample string 1</d4p1:DateFrom> <d4p1:DateTo>sample string 2</d4p1:DateTo> <d4p1:Release>3</d4p1:Release> </d4p1:ReleaseDTO> </Release> <RoomId>2</RoomId> <SelfCatering>true</SelfCatering> </MultipleContractDTO.MultipleCustomerSaleDTO> <MultipleContractDTO.MultipleCustomerSaleDTO> <Allocations> <MultipleContractDTO.MultipleCustomerSaleDTO.MultipleCustomerAllocationDTO> <Allocation xmlns:d6p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Mappings.Operations.Dto.Contracts.Hotels.Sales"> <d6p1:AllocationDTO> <d6p1:Allocation>3</d6p1:Allocation> <d6p1:DateFrom>sample string 1</d6p1:DateFrom> <d6p1:DateTo>sample string 2</d6p1:DateTo> </d6p1:AllocationDTO> <d6p1:AllocationDTO> <d6p1:Allocation>3</d6p1:Allocation> <d6p1:DateFrom>sample string 1</d6p1:DateFrom> <d6p1:DateTo>sample string 2</d6p1:DateTo> </d6p1:AllocationDTO> </Allocation> <CustomerId>1</CustomerId> </MultipleContractDTO.MultipleCustomerSaleDTO.MultipleCustomerAllocationDTO> <MultipleContractDTO.MultipleCustomerSaleDTO.MultipleCustomerAllocationDTO> <Allocation xmlns:d6p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Mappings.Operations.Dto.Contracts.Hotels.Sales"> <d6p1:AllocationDTO> <d6p1:Allocation>3</d6p1:Allocation> <d6p1:DateFrom>sample string 1</d6p1:DateFrom> <d6p1:DateTo>sample string 2</d6p1:DateTo> </d6p1:AllocationDTO> <d6p1:AllocationDTO> <d6p1:Allocation>3</d6p1:Allocation> <d6p1:DateFrom>sample string 1</d6p1:DateFrom> <d6p1:DateTo>sample string 2</d6p1:DateTo> </d6p1:AllocationDTO> </Allocation> <CustomerId>1</CustomerId> </MultipleContractDTO.MultipleCustomerSaleDTO.MultipleCustomerAllocationDTO> </Allocations> <BasePax>10</BasePax> <ChargeBasisId>3</ChargeBasisId> <Description>sample string 1</Description> <MaxAdults>5</MaxAdults> <MaxChildren>7</MaxChildren> <MaxPax>9</MaxPax> <MinAdults>4</MinAdults> <MinChildren>6</MinChildren> <MinPax>8</MinPax> <MinStay xmlns:d4p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Mappings.Operations.Dto.Contracts.Hotels.Sales"> <d4p1:MinStayDTO> <d4p1:DateFrom>sample string 1</d4p1:DateFrom> <d4p1:DateTo>sample string 2</d4p1:DateTo> <d4p1:MinStay>3</d4p1:MinStay> </d4p1:MinStayDTO> <d4p1:MinStayDTO> <d4p1:DateFrom>sample string 1</d4p1:DateFrom> <d4p1:DateTo>sample string 2</d4p1:DateTo> <d4p1:MinStay>3</d4p1:MinStay> </d4p1:MinStayDTO> </MinStay> <NonRefundable>true</NonRefundable> <Release xmlns:d4p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Mappings.Operations.Dto.Contracts.Hotels.Sales"> <d4p1:ReleaseDTO> <d4p1:DateFrom>sample string 1</d4p1:DateFrom> <d4p1:DateTo>sample string 2</d4p1:DateTo> <d4p1:Release>3</d4p1:Release> </d4p1:ReleaseDTO> <d4p1:ReleaseDTO> <d4p1:DateFrom>sample string 1</d4p1:DateFrom> <d4p1:DateTo>sample string 2</d4p1:DateTo> <d4p1:Release>3</d4p1:Release> </d4p1:ReleaseDTO> </Release> <RoomId>2</RoomId> <SelfCatering>true</SelfCatering> </MultipleContractDTO.MultipleCustomerSaleDTO> </Sales> <SignedDate>sample string 7</SignedDate> <SupplierId>9</SupplierId> <TariffNotes>sample string 14</TariffNotes> <Title>sample string 1</Title> <TypeId>2</TypeId> <UserId>15</UserId> </MultipleContractDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
An object of type MultipleContractResponseDTO.
Cyberlogic.eTourism.Mappings.Operations.Dto.Contracts.Hotels.MultipleContractResponseDTOName | Description | Type | Additional information |
---|---|---|---|
Valid | boolean |
None. |
|
ErrorMessage | string |
None. |
|
ErrorStackTrace | string |
None. |
|
Contracts | Collection of Cyberlogic.eTourism.Mappings.Operations.Dto.Contracts.Hotels.ContractResponseDTO |
None. |
Response Formats
application/json, text/json
Sample:
{ "Valid": true, "ErrorMessage": "sample string 2", "ErrorStackTrace": "sample string 3", "Contracts": [ { "ContractId": 1, "Valid": true, "ErrorMessage": "sample string 3", "ErrorStackTrace": "sample string 4" }, { "ContractId": 1, "Valid": true, "ErrorMessage": "sample string 3", "ErrorStackTrace": "sample string 4" } ] }
text/html
Sample:
{"Valid":true,"ErrorMessage":"sample string 2","ErrorStackTrace":"sample string 3","Contracts":[{"ContractId":1,"Valid":true,"ErrorMessage":"sample string 3","ErrorStackTrace":"sample string 4"},{"ContractId":1,"Valid":true,"ErrorMessage":"sample string 3","ErrorStackTrace":"sample string 4"}]}
application/xml, text/xml
Sample:
<MultipleContractResponseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Mappings.Operations.Dto.Contracts.Hotels"> <Contracts> <ContractResponseDTO> <ContractId>1</ContractId> <ErrorMessage>sample string 3</ErrorMessage> <ErrorStackTrace>sample string 4</ErrorStackTrace> <Valid>true</Valid> </ContractResponseDTO> <ContractResponseDTO> <ContractId>1</ContractId> <ErrorMessage>sample string 3</ErrorMessage> <ErrorStackTrace>sample string 4</ErrorStackTrace> <Valid>true</Valid> </ContractResponseDTO> </Contracts> <ErrorMessage>sample string 2</ErrorMessage> <ErrorStackTrace>sample string 3</ErrorStackTrace> <Valid>true</Valid> </MultipleContractResponseDTO>