Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ServiceListRQ sample

Mixing valid and invalid ServiceFilter GroupCodes:

ServiceListRS sample

The invalid ServiceFilter returns the following warning:

Code Block
languagexml
<Parameters>
	<ServiceFilters>
		<ServiceFilter>
			<GroupCode>BG</GroupCode>
		</ServiceFilter>
		<ServiceFilter>
			<GroupCode>TS</GroupCode>
			<SubGroupCode>PX</SubGroupCode>
		</ServiceFilter>
	</ServiceFilters>
</Parameters>
Code Block
languagexml
<Warnings>
	<Warning ShortText="NDC_DIST_SL_1001" Code="486">Some Service Filter is not valid</Warning>
</Warnings>

While the Offers from the valid ServiceFilter are returned:

Code Block
languagexml
<...>
<ALaCarteOfferItem OfferItemID="ALACARTE_BAGGAGE_IB01ae986c86524700b68b81b4d9c1780e_02">
	<Eligibility>
		<PassengerRefs>ADULT_01</PassengerRefs>
		<SegmentRefs>IB044020231120</SegmentRefs>
	</Eligibility>
	<UnitPriceDetail>
		<TotalAmount>
			<SimpleCurrencyPrice Code="EUR">26.00</SimpleCurrencyPrice>
		</TotalAmount>
		<BaseAmount Code="EUR">26.00</BaseAmount>
		<Taxes>
			<Total Code="EUR">0.00</Total>
		</Taxes>
	</UnitPriceDetail>
	<Service ServiceID="BAG_SERVICE_361fa5a8-6fa1-4041-b600-da3f9395303a">
		<ServiceDefinitionRef>BAGSERVICE-15-2</ServiceDefinitionRef>
	</Service>
</ALaCarteOfferItem>
<...>

Scenario 2 - Pre-Sale Flow mix of Services

...

available and

...

not available

...

ServiceListRQ sample

Mixing available and not available Services:

ServiceListRS sample

A warning is returned for the Services that are not available The non available ServiceFilter returns the following warning:

Code Block
languagexml
<Parameters>
	<ServiceFilters>
		<ServiceFilter>
			<GroupCode>BG</GroupCode>
		</ServiceFilter>
		<ServiceFilter>
			<GroupCode>TS<<GroupCode>BG</GroupCode>
			<SubGroupCode>PR<<SubGroupCode>SP</SubGroupCode>
		</ServiceFilter>
	</ServiceFilters>
</Parameters>
Code Block
languagexml
<Warnings>
	<Warning ShortText="NDC_DIST_SL_22201001" Code="486">PRIORITY>Some BOARDING:Service Offers of optional servicesFilter is not available. Continue your purchase with the selected flights.<valid</Warning>
</Warnings>

While the Offers from the available ServiceFilter are returned:

Code Block
languagexml
<...>
<ALaCarteOfferItem OfferItemID="ALACARTE_BAGGAGE_IBcf5b7f0932a44b38aa088e159c500382_10">
	<Eligibility>
		<PassengerRefs>ADULT_01</PassengerRefs>
		<SegmentRefs>IB043820231008</SegmentRefs>
	</Eligibility>
	<UnitPriceDetail>
		<TotalAmount>
			<SimpleCurrencyPrice Code="EUR">56.00</SimpleCurrencyPrice>
		</TotalAmount>
		<BaseAmount Code="EUR">56.00</BaseAmount>
		<Taxes>
			<Total Code="EUR">0.00</Total>
		</Taxes>
	</UnitPriceDetail>
	<Service ServiceID="BAG_SERVICE_14d8d4f4-f85d-46ed-9241-50fb4f88d124">
		<ServiceDefinitionRef>BAGSERVICE-23-2</ServiceDefinitionRef>
	</Service>
</ALaCarteOfferItem>
<...>

...