Skip to main content

Example

<!--Optional-->

<!--Repeat Factor=0-1-->

<!--Diversity Parameters elements -->

<!--AdditionalNonStopsNumber (attribute), Defines how many additional non-stop options should be added to response. Overrides @Percentage.-->

<!--AdditionalNonStopsPercentage (attribute), Defines how many additional non-stop options should be added to response as a percentage of requested number of options.-->

<DiversityParameters AdditionalNonStopsNumber="9" AdditionalNonStopsPercentage="10">

<!--Optional-->

<!--Repeat Factor=0-1-->

<!--Defines how important various parameters of options are in the response. Sum of all weightings needs to equal 10.-->

<Weightings PriceWeight="7" TravelTimeWeight="3"/>

</DiversityParameters>