Profile History

The history feature is provided to allow a client user to see which changes have been made to a given profile’s data over time, and by whom. History records the difference between the old and new versions of a profile. History is a simple, flat log of changes made to each data of a given profile. It does not inherently provide any means for reverting to previous versions of or previous data in the profile. It is simply a method to record changes made to the profile data.  

The profile history feature does not include tracking changes made to the hierarchy, field groups, tags, or templates that could be associated to a profile. Profile history includes only changes made to profile data (e.g., name, status, preferences, contracts, contacts, accounting references, commissions) and field data.

Note: Fixed field data changes are captured for profiles of type agency to agent, plus traveler group and agency group. Custom field data changes are captured for all profile types.

There is no history service. Rather, the triggering and logging of history data is done automatically in the database upon creation and modification of profiles or field data. Profile history (both the old value and new value) is recorded and stored in the database in XML format only. History tables will store the data ID of each history entry when the change is to a fixed or custom field.

Schema

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

History Information

History is supported for all profiles. History captures the following information:

Note: The API does not store in history any information about the template at the time the history is captured. This means, for example, that the history will not store the masking pattern applied to a custom field at the time the associated profile data was captured in history. The API would therefore use the current masking pattern defined for the field to determine how to return the data in the retrieve response. Similarly, it means the API would not store the label of the template field at the time the associated profile data was captured in history. The client application would therefore use the current label of the template field to display the history data to the user.

Retrieve History

The API will provide a service to allow a client to retrieve all or part of the history of a given profile.

Optional Retrieve Parameters

The following parameters can be used to narrow the data returned in the history to only data matching the information requested. The history retrieve response always returns the entry for the profile’s creation, whether or not that entry meets the parameters specified in the request.  

Note: The Universal API returns history entries that match all parameters specified in the request (i.e., an "AND" search, not an "OR" search). For example, if the agent ID and a date range are specified, then only changes made by the specified agent during the specified date range are returned.

Note: Data that is masked is retrieved from history as masked, unless the user retrieving the history has permissions to view the masked data (i.e., ShowDataUnmasked=true).  

Response

OtherStateProvince may be included in the response in Address, AlternateContactAddress, PaymentAddress, or TravelDocumentAddress. Note the following: