# Return Previous Identity Search Input This will return the input criteria used in a search for a specified id. Endpoint: GET /localSolutions/GB/identitysearch/history/{uniqueId}/input Version: 1.10.9 Security: bearerToken ## Path parameters: - `uniqueId` (string, required) ## Response 200 fields (application/json): - `correlationId` (string) A unique ID assigned to this request. - `uniqueId` (string) - `input` (object) The input data submitted for the AML search, detailing the information used to initiate the search. - `input.uniqueId` (string,null) A unique identifier for the result, distinct from the correlation ID, which may be used internally for further processing or reference. - `input.common` (object) General results from the search that are applicable across different types of identity checks. - `input.common.person` (object) Represents a person's identity, including current and historical names and addresses. - `input.common.person.currentName` (object) Contains the current name details of the person. - `input.common.person.currentName.title` (string,null) The title or honorific of the person (e.g., Mr., Mrs., Dr.). - `input.common.person.currentName.forename` (string,null, required) The person's first name. - `input.common.person.currentName.otherNames` (string,null) Any middle names or additional names the person may have. - `input.common.person.currentName.surname` (string,null, required) The person's family name or last name. - `input.common.person.currentName.suffix` (string,null) Suffixes following the surname (e.g., Jr., Sr., III). - `input.common.person.previousName` (object) Contains previous name details if the person has changed their name. - `input.common.person.previousName.title` (string,null) The previous title or honorific of the person, if applicable. - `input.common.person.previousName.forename` (string,null) The person's previous first name. - `input.common.person.previousName.otherNames` (string,null) Any previous middle names or additional names the person may have had. - `input.common.person.previousName.surname` (string,null) The person's previous family name or last name. - `input.common.person.dateOfBirth` (string,null) The birth date of the person, in YYYY-MM-DD format. - `input.common.person.gender` (string) Gender of the individual being searched Enum: "Unknown", "Male", "Female" - `input.common.person.addresses` (object) Lists current and historical addresses of the person. - `input.common.person.addresses.current` (object) Address details, including location identifiers and geographical information. - `input.common.person.addresses.current.abodeNo` (string) The specific abode number within a building complex or estate. - `input.common.person.addresses.current.buildingNo` (string,null) The number identifying the building within a street or area. - `input.common.person.addresses.current.buildingName` (string,null) The official name of the building, if applicable. - `input.common.person.addresses.current.street` (string,null) The street name where the building is located. - `input.common.person.addresses.current.subStreet` (string) Any additional street-level details, like a quadrant or alley. - `input.common.person.addresses.current.city` (string,null) The city or locality of the address. - `input.common.person.addresses.current.postCode` (string,null, required) The postal code for the address, aiding mail delivery and geographic identification. - `input.common.person.addresses.current.organisation` (string) The name of any organisation associated with the address. - `input.common.person.addresses.current.subBuilding` (string) Specific information about a part of a building, like a suite or apartment number. - `input.common.person.addresses.current.district` (string) A broader area or district encompassing the address, often used in urban address schemas. - `input.common.person.addresses.previous1` (object) Contains previous address details, including location identifiers and geographical information. - `input.common.person.addresses.previous2` (object) Contains previous address details, including location identifiers and geographical information. - `input.common.customerId` (integer) ID value of a customer account, typically passed in to allow users to retrieve past searches on a customer. - `input.common.userId` (integer) ID value of the user account, a customer account may have multiple user accounts, this is typically passed in to retrieve past searches by a user. - `input.common.reference` (string,null) A string value that a user can submit during their search. This reference value is stored alongside the search details/customer/user ID values. Is typically passed in to allow users to retrieve past searches based on the reference value supplied. - `input.idAml` (object) Contains information relevant for anti-money laundering (AML) identity verification, including contact details, banking information, and documentation status. - `input.idAml.landlineNumber` (integer) The person's landline telephone number. Useful for verification calls or as a contact method. - `input.idAml.ExDirectory` (boolean) Indicates whether the person's landline number is excluded from public directories, typically for privacy reasons. - `input.idAml.isAMLMultiBureau` (boolean) Indicates whether multiple bureaus were used for AML verification. True if data from multiple sources was consulted to enhance accuracy. - `input.products` (array,null) Below is a list of Definitions for the ENUM Example: ["AML"] - `consumer` (object) - `consumer.success` (boolean) - `consumer.supplierId` (string,null) - `consumer.supplierOriginalId` (string,null) - `consumer.creditsIncurred` (integer) - `id` (object) - `amlResult` (object) - `bankMatch` (object) - `picklist` (array,null) - `picklist.type` (string,null) - `picklist.applicantId` (integer,null) - `picklist.address` (string,null) - `picklist.name` (string,null) - `picklist.inputs` (object) - `picklist.options` (array,null) - `picklist.options.option` (string,null) - `picklist.options.value` (string,null) - `message` (string,null) - `errors` (object,null) ## Response 400 fields (application/json): - `correlationId` (string) A unique ID assigned to this request. - `message` (string) - `details` (string) Provides further information on why the request was rejected ## Response 401 fields (application/json): - `error` (string) ## Response 403 fields (application/json): - `message` (string) Example: "Access forbidden" ## Response 404 fields (application/json): - `correlationId` (string) A unique ID assigned to this request. - `message` (string) - `details` (string) Provides further information on why the request was rejected