Profile Create

This topic applies to all profiles other than traveler. For information about creating a traveler profile, refer to Profile Create Traveler.

Universal API uses profiles to apply stored data. Profiles can be used to:

Schema

Profile Create is within uProfile.xsd. See the following transactions for Profile Create:

How To

  1. A user can create a profile of either an Agency or Account hierarchy, with data associated to one or more custom fields or groups. The following rules apply to profile creation:
    • The parent of the new profile must be specified by either ID or provisioning code.  
    • Only one parent is allowed per profile.
    • Exception: Traveler profiles are allowed more than one immediate parent; however, only one parent can be added during profile creation. More parents can be added by modifying the traveler profile.

    • The parent profile must be a valid type for the new profile. See Profile Relationships for valid parent/child relationships.
    • The parent profile must be associated to a higher level of the hierarchy than the hierarchy level of the profile being created.  
    • The profile can be created with custom fields/groups. Format of the data must be valid:
      • Value must be valid given the data type.
      • The number of occurrences of child fields within a custom field group must be valid.
      • When creating an agency, the minimal fixed fields are Agency Name and Agency Code.
      • When creating an account, the minimal fixed field is Account Name.
  2. Depending on the type of profile that is being created, certain attributes and elements are required.

  3. When setting up a profile, additional data may be included in the request.

  4. The following rules are specific to the creation of agent profiles:
    • When an agent profile is created, one default branch can be specified. The branch ID must be in the same agency as the agent.
    • Phone number is required when creating an agent profile.
    • Email address is required when creating an agent profile.
  5. The response indicates if the request was successful, meaning that the profile was created. Each profile is assigned a unique ProfileID (ProfileCreateRsp/Profile@ProfileID) that can be used in subsequent requests to modify, retrieve, or delete the profile. Any errors or warnings are also in the response.

    If ReturnProfile=true in the request, Policy Reference data is returned in ProfileCreateRsp/Profile/ProfileData.