CSV Bulk Import

Profiles can be imported in bulk into the Universal Profile database using a comma-separated value (CSV) file. A CSV file can be used to bulk import Account and Traveler create, modify, and delete profile information and Traveler Group modify or delete profile information.

A web-based profile application is available to easily create profiles. Through this application, users can download Microsoft Excel templates for Account, Traveler Group, and Traveler profile data. These templates can then be converted to a CSV file, though you can choose a different software to generate a CSV file. The template files correlate to Universal Profile schema for ProfileCreateReq, ProfileModifyReq (including ProfileDataAdd, ProfileDataUpdate, ProfileDataDelete), and ProfileDelete.

Bulk Import Rules

Template and CSV Formats

The template format must be followed. The template is driven by line types and rows versus header columns. This type of design allows the end user to easily tailor the template to their needs. The end user may eliminate rows of data that will not be transmitted and they can add multiple instances of a data element, such as address, phone, and electronic address.

Header Information

All header information is required. If you are using the Excel templates, the header information is already completed for you and no modification is required.

Row Data Description

1

Profile type and action

  • The first value in row 1 must be ProfileType.
  • The second value indicates the type of profile (i.e., Account, Traveler, or TravelerGroup).
  • The third value indicates the action (i.e., Create, Modify, or Delete).
    Note: TravelerGroups cannot be created using bulk import.

Example CSV row 1:

ProfileType,Traveler,Delete,,,,,

2

KEY INFO

In the CSV file, the second row must contain KEY INFO.

Example CSV row 2 for a traveler delete action:

,,KEY INFO,,,,,

3

Column headers

The third row contains the column headers.

  • The first value is Line #.
  • The second value is Profile #.
  • If the profile action is Modify, the third value is ProfileAction.
  • The next value is Line Type.

Example CSV row 3 for a profile modify request:

Line #,Profile #,ProfileAction,Line Type,,,,,,,,,,,,,,,,,,,,,,,,,,

Profile Data

Warning: Failures will occur if the following two rules are not followed:

After the header rows, the remaining rows specify how profiles are created, modified, or deleted. These profile data rows are divided into the following columns:

Minimum Requirements

Minimum requirements vary depending upon the type of CSV file being transmitted and the action being taken. The Account and TravelerGroup Modify and Delete CSV file templates are identical. The only difference is type of profile being transmitted.

Within the templates,

The minimum requirements for each profile type and action are listed below.

Errors and Resources

Errors are logged by profile. If an error is encountered, the profile is not processed. Processing stops when the first error is encountered. The following is recommended for successfully transactions.