Profile Child Search

The Profile Child Search service returns the immediate children (count and profile summary) of the parent profile specified. Use the Profile Search service to search for a specific profile using various parameters.

The Child Search service only returns the immediate children. It never returns further descendants (children of children). Subsequent requests must be used to browse in steps down through the hierarchy. Deleted profiles are never returned in the response.

The API will provide pagination on the result set. The client service may therefore specify a maximum number of results to return per response (up to a Travelport-defined maximum), and “get more” if appropriate via follow-up requests.

Request

To request the immediate children of a given profile:

  1. Specify the ID or provisioning code of the parent.

  2. Use the HierarchyType attribute to limit which children are returned (i.e., either agency or account). If no HierarchyType is specified, children of all profile types are returned.

  3. Use the IncludeAgentsAndTravelers flag to specify whether travelers and agents that are children of the profile should be included in the response.

  4. Optionally, enter a name value to filter the results.

  5. A wildcard character is permitted for Name (it will work the same as wildcards in the Profile Search feature).

  6. For agent and traveler, you can search on Given Name and/or Surname. For other entities, Organization Name can be used to search.

  7. For agent and traveler, the GivenName and Surname on the request is mapped to the First and Last Name, respectively. Thus searching for an account’s child profiles by the Organization Name "Smith*" could return a traveler group profile with the name Smith Travel Inc, or searching with surnames "Smith*" could return travelers with last name Smith and Smithe, but not travelers with a given name of Smith. 

In ProfileChildSearchReq/ProfileSpecification, if a ProfileID or ProvisioningCode is from a Work Area Branch (WAB), then ProfileChildSearchRsp\ProfileChildSummary returns all of the Agents' Profiles who have the requested WAB as their default WAB.

Notes:

Response

The child search response includes the number of children found and child profile summary (i.e., a limited subset of data) of each child profile matching the search parameters. Results are sorted by profile type and then by name. The following information is returned in the response: