ResLink

Get Marketing Fields


Request Profile Table

Element | @Attribute Description/Contents
GetMarketingFields_RQ Root element of message.
Type A string value for what type of marketing fields to return.
Empty = all marketing fields.
"Booking" = booking level fields.
"Pax" = Passenger level fields.
"BookPax" = Passenger booking level fields.

Scenario:
You want to retrieve marketing fields.

Example message:

<?xml version="1.0" encoding="utf-8"?>
<GetMarketingFields_RQ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Type xmlns="ResLink" / >
</GetMarketingFields_RQ>


Response Profile Table

Element | @Attribute Description/Contents
GetMarketingFields_RS Root element of message.
MarketingFields Element indicating a list of marketing fields.
  MarketingField Element indicating a marketing field.
  @Type Can be either "Booking", "Pax", or "BookPax".
  @Index Unique index for the field type.
  @Name Description of the field.
  @CategoryCode The category code to use if this field is a SysCode lookup.

Example message:

<?xml version="1.0" encoding="utf-8"?>
<GetMarketingFields_RS xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <MarketingFields xmlns="ResLink">
    <MarketingField Type="Booking" Index="1" Name="Where Did You Hear?" CategoryCode="WDH" />
    <MarketingField Type="Booking" Index="2" Name="Transport" CategoryCode="TRA" />
    <MarketingField Type="Booking" Index="3" Name="Accommodation" CategoryCode="ACC" />
    <MarketingField Type="Booking" Index="4" Name="Arrival Day" CategoryCode="DAY" />
    <MarketingField Type="Booking" Index="5" Name="Source" CategoryCode="INS" />
    <MarketingField Type="Pax" Index="1" Name="Diet" CategoryCode="DIE" />
    <MarketingField Type="Pax" Index="2" Name="Sex" CategoryCode="SEX" />
    <MarketingField Type="BookPax" Index="2" Name="Interested Dive?" CategoryCode="FU" />
    <MarketingField Type="Pax" Index="3" Name="Medical" CategoryCode="MED" />
    <MarketingField Type="BookPax" Index="3" Name="Dive Status" CategoryCode="DIV" />
    <MarketingField Type="Pax" Index="4" Name="Age" CategoryCode="AGE" />
    <MarketingField Type="BookPax" Index="4" Name="Nationality" CategoryCode="CNT" />
  </MarketingFields>
  <TimeStamp xmlns="ResLink">2007-12-12T08:44:51.1321783+10:00</TimeStamp>
  <Errors xmlns="ResLink" />
  <Warnings xmlns="ResLink" />
</GetMarketingFields_RS>