Skip Navigation

ProgramCode

Grouped Itinerary Response

 

Attribute

@ProgramCode

Type

string

Properties

use

optional

Annotation

Brand program code that is returned from the branding service. This allows you to use this attribute returned in the shopping response in subsequent requests, for example, in a "GetMarketingText" request and correctly match brand programs.

Note  ProgramCode is located in two different places in the schema. The meaning of the element is the same for PricedItineries and for Soldouts.

 

Sample SOAP Value

ProgramCode for the priced itinerary included in the FareComponent:

<GroupedItineraryResponse>
  <FareComponentDesc>
    <Brand ProgramCode="A"/>
  </FareComponentDesc>
</GroupedItineraryResponse>

Xpath: GroupedItineraryResponse/FareComponentDesc/Brand/@ProgramCode

ProgramCode for SoldOut:

<GroupedItineraryResponse>
  <ItineraryGroup>
    <Itinerary>
      <PricingInformation>
        <SoldOut>
          <SoldOutLeg>
            <SoldOutSchedule ProgramCode="A"/>
          </SoldOutLeg>
        </SoldOut>
      </PricingInformation>
    </Itinerary>
  </ItineraryGroup>
</GroupedItineraryResponse>

Xpath: GroupedItineraryResponse/ItineraryGroup/Itinerary/PricingInformation/SoldOut/SoldOutLeg/SoldOutSchedule/@ProgramCode