POST | /peps/get | Get a PEP search |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
@DataContract
public static class GetPepSearch extends BaseRequest
{
@DataMember
public GetPepSearchRequest request = null;
public GetPepSearchRequest getRequest() { return request; }
public GetPepSearch setRequest(GetPepSearchRequest value) { this.request = value; return this; }
}
@DataContract
public static class BaseRequest implements IBaseRequest
{
/**
* The authentication credentials
*/
@DataMember
@ApiMember(Description="The authentication credentials", IsRequired=true, ParameterType="header, body")
public Authentication authentication = null;
public Authentication getAuthentication() { return authentication; }
public BaseRequest setAuthentication(Authentication value) { this.authentication = value; return this; }
}
@DataContract
public static class Authentication
{
/**
* The API User ID provided by us when you signed up to use our API
*/
@DataMember
@ApiMember(Description="The API User ID provided by us when you signed up to use our API", IsRequired=true, ParameterType="header, body")
public String apiUserId = null;
/**
* The API User Key provided by us when you signed up to use our API
*/
@DataMember
@ApiMember(Description="The API User Key provided by us when you signed up to use our API", IsRequired=true, ParameterType="header, body")
public String apiUserKey = null;
public String getApiUserId() { return apiUserId; }
public Authentication setApiUserId(String value) { this.apiUserId = value; return this; }
public String getApiUserKey() { return apiUserKey; }
public Authentication setApiUserKey(String value) { this.apiUserKey = value; return this; }
}
public static class GetPepSearchRequest
{
/**
* If the search was created against a single Sub User account, specify their username here
*/
@ApiMember(Description="If the search was created against a single Sub User account, specify their username here")
public String subUserName = null;
/**
* If set to true, the response will exclude resolved search results, it will only include unresolved results
*/
@ApiMember(Description="If set to true, the response will exclude resolved search results, it will only include unresolved results")
public Boolean onlyShowUnresolvedResults = null;
public Long id = null;
public String getSubUserName() { return subUserName; }
public GetPepSearchRequest setSubUserName(String value) { this.subUserName = value; return this; }
public Boolean isOnlyShowUnresolvedResults() { return onlyShowUnresolvedResults; }
public GetPepSearchRequest setOnlyShowUnresolvedResults(Boolean value) { this.onlyShowUnresolvedResults = value; return this; }
public Long getId() { return id; }
public GetPepSearchRequest setId(Long value) { this.id = value; return this; }
}
@DataContract
public static class GetPepSearchResponse
{
@DataMember
public GetPepSearchData data = null;
public GetPepSearchData getData() { return data; }
public GetPepSearchResponse setData(GetPepSearchData value) { this.data = value; return this; }
}
public static class GetPepSearchData extends BaseResponse implements IBaseSearchResponse
{
public ArrayOfLinkedTo linkedTo = null;
public PepSearchRecord searchRecord = null;
public ArrayOfLinkedTo getLinkedTo() { return linkedTo; }
public GetPepSearchData setLinkedTo(ArrayOfLinkedTo value) { this.linkedTo = value; return this; }
public PepSearchRecord getSearchRecord() { return searchRecord; }
public GetPepSearchData setSearchRecord(PepSearchRecord value) { this.searchRecord = value; return this; }
}
public static class BaseResponse implements IBaseDataResponse, IHasResponseStatus
{
/**
* The status of the response
*/
@ApiMember(Description="The status of the response")
public ResponseStatus responseStatus = null;
public ResponseStatus getResponseStatus() { return responseStatus; }
public BaseResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
}
public static class ArrayOfResponseError extends ArrayList<ResponseError>
{
}
public static class ArrayOfLinkedTo extends ArrayList<LinkedTo>
{
}
public static class LinkedTo
{
public Integer clientId = null;
public Long id = null;
public String type = null;
public String subtype = null;
public String status = null;
public String description = null;
public Boolean isArchived = null;
public String name = null;
public Date date = null;
public Integer getClientId() { return clientId; }
public LinkedTo setClientId(Integer value) { this.clientId = value; return this; }
public Long getId() { return id; }
public LinkedTo setId(Long value) { this.id = value; return this; }
public String getType() { return type; }
public LinkedTo setType(String value) { this.type = value; return this; }
public String getSubtype() { return subtype; }
public LinkedTo setSubtype(String value) { this.subtype = value; return this; }
public String getStatus() { return status; }
public LinkedTo setStatus(String value) { this.status = value; return this; }
public String getDescription() { return description; }
public LinkedTo setDescription(String value) { this.description = value; return this; }
public Boolean getIsArchived() { return isArchived; }
public LinkedTo setIsArchived(Boolean value) { this.isArchived = value; return this; }
public String getName() { return name; }
public LinkedTo setName(String value) { this.name = value; return this; }
public Date getDate() { return date; }
public LinkedTo setDate(Date value) { this.date = value; return this; }
}
public static class PepSearchRecord
{
public Long id = null;
public String searchType = null;
public Date dateSearched = null;
public Date dateUpdated = null;
public Date dateRenewal = null;
public Date dateArchived = null;
public Boolean isArchived = null;
public Integer numOfResults = null;
public Boolean clientInResults = null;
public Boolean clientNotInResults = null;
public Boolean affectedByUpdate = null;
public Boolean isDayOneSearch = null;
public SearchCriteria searchCriteria = null;
public PepSearchResults searchResults = null;
public Long getId() { return id; }
public PepSearchRecord setId(Long value) { this.id = value; return this; }
public String getSearchType() { return searchType; }
public PepSearchRecord setSearchType(String value) { this.searchType = value; return this; }
public Date getDateSearched() { return dateSearched; }
public PepSearchRecord setDateSearched(Date value) { this.dateSearched = value; return this; }
public Date getDateUpdated() { return dateUpdated; }
public PepSearchRecord setDateUpdated(Date value) { this.dateUpdated = value; return this; }
public Date getDateRenewal() { return dateRenewal; }
public PepSearchRecord setDateRenewal(Date value) { this.dateRenewal = value; return this; }
public Date getDateArchived() { return dateArchived; }
public PepSearchRecord setDateArchived(Date value) { this.dateArchived = value; return this; }
public Boolean getIsArchived() { return isArchived; }
public PepSearchRecord setIsArchived(Boolean value) { this.isArchived = value; return this; }
public Integer getNumOfResults() { return numOfResults; }
public PepSearchRecord setNumOfResults(Integer value) { this.numOfResults = value; return this; }
public Boolean isClientInResults() { return clientInResults; }
public PepSearchRecord setClientInResults(Boolean value) { this.clientInResults = value; return this; }
public Boolean isClientNotInResults() { return clientNotInResults; }
public PepSearchRecord setClientNotInResults(Boolean value) { this.clientNotInResults = value; return this; }
public Boolean isAffectedByUpdate() { return affectedByUpdate; }
public PepSearchRecord setAffectedByUpdate(Boolean value) { this.affectedByUpdate = value; return this; }
public Boolean getIsDayOneSearch() { return isDayOneSearch; }
public PepSearchRecord setIsDayOneSearch(Boolean value) { this.isDayOneSearch = value; return this; }
public SearchCriteria getSearchCriteria() { return searchCriteria; }
public PepSearchRecord setSearchCriteria(SearchCriteria value) { this.searchCriteria = value; return this; }
public PepSearchResults getSearchResults() { return searchResults; }
public PepSearchRecord setSearchResults(PepSearchResults value) { this.searchResults = value; return this; }
}
public static class SearchCriteria
{
public String name = null;
public String address = null;
public String country = null;
public String dateOfBirth = null;
public String nationality = null;
public String reference = null;
public String getName() { return name; }
public SearchCriteria setName(String value) { this.name = value; return this; }
public String getAddress() { return address; }
public SearchCriteria setAddress(String value) { this.address = value; return this; }
public String getCountry() { return country; }
public SearchCriteria setCountry(String value) { this.country = value; return this; }
public String getDateOfBirth() { return dateOfBirth; }
public SearchCriteria setDateOfBirth(String value) { this.dateOfBirth = value; return this; }
public String getNationality() { return nationality; }
public SearchCriteria setNationality(String value) { this.nationality = value; return this; }
public String getReference() { return reference; }
public SearchCriteria setReference(String value) { this.reference = value; return this; }
}
public static class PepSearchResults
{
public ArrayList<PepSearchResult> results = null;
public ArrayList<PepSearchResult> getResults() { return results; }
public PepSearchResults setResults(ArrayList<PepSearchResult> value) { this.results = value; return this; }
}
public static class PepSearchResult
{
public BigDecimal resultSimilarity = null;
public Boolean resultResolved = null;
public Date dateLastUpdated = null;
public Boolean resultIsClient = null;
public Long id = null;
public String type = null;
public String title = null;
public String forename = null;
public String middlename = null;
public String surname = null;
public Boolean softDelete = null;
public Date dateOfSoftDelete = null;
public Date dateOfCapture = null;
public Date dateOfBirth = null;
public Date dateOfDeath = null;
public Integer yearOfBirth = null;
public Integer yearOfDeath = null;
public String gender = null;
public String homeTelephone = null;
public String businessTelephone = null;
public String mobileTelephone = null;
public String fax = null;
public String email = null;
public String nationality = null;
public String source = null;
public String category = null;
public String picture = null;
public String alternateTitle = null;
public String businessName = null;
public String description = null;
public String telephone = null;
public String website = null;
public Integer pepTier = null;
public ArrayList<PepSearchResultAddress> addresses = null;
public ArrayList<PepSearchResultAlias> aliases = null;
public ArrayList<PepSearchResultArticle> articles = null;
public ArrayList<PepSearchResultIndividualAssociation> associations = null;
public ArrayList<PepSearchResultBusinessAssociation> businessAssociations = null;
public ArrayList<PepSearchResultNote> notes = null;
public ArrayList<PepSearchResultPoliticalPosition> politicalPositions = null;
public BigDecimal getResultSimilarity() { return resultSimilarity; }
public PepSearchResult setResultSimilarity(BigDecimal value) { this.resultSimilarity = value; return this; }
public Boolean isResultResolved() { return resultResolved; }
public PepSearchResult setResultResolved(Boolean value) { this.resultResolved = value; return this; }
public Date getDateLastUpdated() { return dateLastUpdated; }
public PepSearchResult setDateLastUpdated(Date value) { this.dateLastUpdated = value; return this; }
public Boolean isResultIsClient() { return resultIsClient; }
public PepSearchResult setResultIsClient(Boolean value) { this.resultIsClient = value; return this; }
public Long getId() { return id; }
public PepSearchResult setId(Long value) { this.id = value; return this; }
public String getType() { return type; }
public PepSearchResult setType(String value) { this.type = value; return this; }
public String getTitle() { return title; }
public PepSearchResult setTitle(String value) { this.title = value; return this; }
public String getForename() { return forename; }
public PepSearchResult setForename(String value) { this.forename = value; return this; }
public String getMiddlename() { return middlename; }
public PepSearchResult setMiddlename(String value) { this.middlename = value; return this; }
public String getSurname() { return surname; }
public PepSearchResult setSurname(String value) { this.surname = value; return this; }
public Boolean isSoftDelete() { return softDelete; }
public PepSearchResult setSoftDelete(Boolean value) { this.softDelete = value; return this; }
public Date getDateOfSoftDelete() { return dateOfSoftDelete; }
public PepSearchResult setDateOfSoftDelete(Date value) { this.dateOfSoftDelete = value; return this; }
public Date getDateOfCapture() { return dateOfCapture; }
public PepSearchResult setDateOfCapture(Date value) { this.dateOfCapture = value; return this; }
public Date getDateOfBirth() { return dateOfBirth; }
public PepSearchResult setDateOfBirth(Date value) { this.dateOfBirth = value; return this; }
public Date getDateOfDeath() { return dateOfDeath; }
public PepSearchResult setDateOfDeath(Date value) { this.dateOfDeath = value; return this; }
public Integer getYearOfBirth() { return yearOfBirth; }
public PepSearchResult setYearOfBirth(Integer value) { this.yearOfBirth = value; return this; }
public Integer getYearOfDeath() { return yearOfDeath; }
public PepSearchResult setYearOfDeath(Integer value) { this.yearOfDeath = value; return this; }
public String getGender() { return gender; }
public PepSearchResult setGender(String value) { this.gender = value; return this; }
public String getHomeTelephone() { return homeTelephone; }
public PepSearchResult setHomeTelephone(String value) { this.homeTelephone = value; return this; }
public String getBusinessTelephone() { return businessTelephone; }
public PepSearchResult setBusinessTelephone(String value) { this.businessTelephone = value; return this; }
public String getMobileTelephone() { return mobileTelephone; }
public PepSearchResult setMobileTelephone(String value) { this.mobileTelephone = value; return this; }
public String getFax() { return fax; }
public PepSearchResult setFax(String value) { this.fax = value; return this; }
public String getEmail() { return email; }
public PepSearchResult setEmail(String value) { this.email = value; return this; }
public String getNationality() { return nationality; }
public PepSearchResult setNationality(String value) { this.nationality = value; return this; }
public String getSource() { return source; }
public PepSearchResult setSource(String value) { this.source = value; return this; }
public String getCategory() { return category; }
public PepSearchResult setCategory(String value) { this.category = value; return this; }
public String getPicture() { return picture; }
public PepSearchResult setPicture(String value) { this.picture = value; return this; }
public String getAlternateTitle() { return alternateTitle; }
public PepSearchResult setAlternateTitle(String value) { this.alternateTitle = value; return this; }
public String getBusinessName() { return businessName; }
public PepSearchResult setBusinessName(String value) { this.businessName = value; return this; }
public String getDescription() { return description; }
public PepSearchResult setDescription(String value) { this.description = value; return this; }
public String getTelephone() { return telephone; }
public PepSearchResult setTelephone(String value) { this.telephone = value; return this; }
public String getWebsite() { return website; }
public PepSearchResult setWebsite(String value) { this.website = value; return this; }
public Integer getPepTier() { return pepTier; }
public PepSearchResult setPepTier(Integer value) { this.pepTier = value; return this; }
public ArrayList<PepSearchResultAddress> getAddresses() { return addresses; }
public PepSearchResult setAddresses(ArrayList<PepSearchResultAddress> value) { this.addresses = value; return this; }
public ArrayList<PepSearchResultAlias> getAliases() { return aliases; }
public PepSearchResult setAliases(ArrayList<PepSearchResultAlias> value) { this.aliases = value; return this; }
public ArrayList<PepSearchResultArticle> getArticles() { return articles; }
public PepSearchResult setArticles(ArrayList<PepSearchResultArticle> value) { this.articles = value; return this; }
public ArrayList<PepSearchResultIndividualAssociation> getAssociations() { return associations; }
public PepSearchResult setAssociations(ArrayList<PepSearchResultIndividualAssociation> value) { this.associations = value; return this; }
public ArrayList<PepSearchResultBusinessAssociation> getBusinessAssociations() { return businessAssociations; }
public PepSearchResult setBusinessAssociations(ArrayList<PepSearchResultBusinessAssociation> value) { this.businessAssociations = value; return this; }
public ArrayList<PepSearchResultNote> getNotes() { return notes; }
public PepSearchResult setNotes(ArrayList<PepSearchResultNote> value) { this.notes = value; return this; }
public ArrayList<PepSearchResultPoliticalPosition> getPoliticalPositions() { return politicalPositions; }
public PepSearchResult setPoliticalPositions(ArrayList<PepSearchResultPoliticalPosition> value) { this.politicalPositions = value; return this; }
}
public static class PepSearchResultAddress
{
public String addressLine1 = null;
public String addressLine2 = null;
public String addressLine3 = null;
public String addressLine4 = null;
public String town = null;
public String county = null;
public String postCode = null;
public String country = null;
public String isoCountry = null;
public Boolean softDelete = null;
public Date dateLastUpdated = null;
public String getAddressLine1() { return addressLine1; }
public PepSearchResultAddress setAddressLine1(String value) { this.addressLine1 = value; return this; }
public String getAddressLine2() { return addressLine2; }
public PepSearchResultAddress setAddressLine2(String value) { this.addressLine2 = value; return this; }
public String getAddressLine3() { return addressLine3; }
public PepSearchResultAddress setAddressLine3(String value) { this.addressLine3 = value; return this; }
public String getAddressLine4() { return addressLine4; }
public PepSearchResultAddress setAddressLine4(String value) { this.addressLine4 = value; return this; }
public String getTown() { return town; }
public PepSearchResultAddress setTown(String value) { this.town = value; return this; }
public String getCounty() { return county; }
public PepSearchResultAddress setCounty(String value) { this.county = value; return this; }
public String getPostCode() { return postCode; }
public PepSearchResultAddress setPostCode(String value) { this.postCode = value; return this; }
public String getCountry() { return country; }
public PepSearchResultAddress setCountry(String value) { this.country = value; return this; }
public String getIsoCountry() { return isoCountry; }
public PepSearchResultAddress setIsoCountry(String value) { this.isoCountry = value; return this; }
public Boolean isSoftDelete() { return softDelete; }
public PepSearchResultAddress setSoftDelete(Boolean value) { this.softDelete = value; return this; }
public Date getDateLastUpdated() { return dateLastUpdated; }
public PepSearchResultAddress setDateLastUpdated(Date value) { this.dateLastUpdated = value; return this; }
}
public static class PepSearchResultAlias
{
public String forename = null;
public String middleName = null;
public String surname = null;
public Boolean softDelete = null;
public Date dateOfSoftDelete = null;
public Date dateLastUpdated = null;
public String title = null;
public String alternateTitle = null;
public String businessName = null;
public String getForename() { return forename; }
public PepSearchResultAlias setForename(String value) { this.forename = value; return this; }
public String getMiddleName() { return middleName; }
public PepSearchResultAlias setMiddleName(String value) { this.middleName = value; return this; }
public String getSurname() { return surname; }
public PepSearchResultAlias setSurname(String value) { this.surname = value; return this; }
public Boolean isSoftDelete() { return softDelete; }
public PepSearchResultAlias setSoftDelete(Boolean value) { this.softDelete = value; return this; }
public Date getDateOfSoftDelete() { return dateOfSoftDelete; }
public PepSearchResultAlias setDateOfSoftDelete(Date value) { this.dateOfSoftDelete = value; return this; }
public Date getDateLastUpdated() { return dateLastUpdated; }
public PepSearchResultAlias setDateLastUpdated(Date value) { this.dateLastUpdated = value; return this; }
public String getTitle() { return title; }
public PepSearchResultAlias setTitle(String value) { this.title = value; return this; }
public String getAlternateTitle() { return alternateTitle; }
public PepSearchResultAlias setAlternateTitle(String value) { this.alternateTitle = value; return this; }
public String getBusinessName() { return businessName; }
public PepSearchResultAlias setBusinessName(String value) { this.businessName = value; return this; }
}
public static class PepSearchResultArticle
{
public String url = null;
public String originalUrl = null;
public String source = null;
public Date dateOfCapture = null;
public Date dateLastUpdated = null;
public ArrayList<PepSearchResultArticleSnippet> snippets = null;
public String getUrl() { return url; }
public PepSearchResultArticle setUrl(String value) { this.url = value; return this; }
public String getOriginalUrl() { return originalUrl; }
public PepSearchResultArticle setOriginalUrl(String value) { this.originalUrl = value; return this; }
public String getSource() { return source; }
public PepSearchResultArticle setSource(String value) { this.source = value; return this; }
public Date getDateOfCapture() { return dateOfCapture; }
public PepSearchResultArticle setDateOfCapture(Date value) { this.dateOfCapture = value; return this; }
public Date getDateLastUpdated() { return dateLastUpdated; }
public PepSearchResultArticle setDateLastUpdated(Date value) { this.dateLastUpdated = value; return this; }
public ArrayList<PepSearchResultArticleSnippet> getSnippets() { return snippets; }
public PepSearchResultArticle setSnippets(ArrayList<PepSearchResultArticleSnippet> value) { this.snippets = value; return this; }
}
public static class PepSearchResultArticleSnippet
{
public String title = null;
public String text = null;
public String adverseTerms = null;
public String getTitle() { return title; }
public PepSearchResultArticleSnippet setTitle(String value) { this.title = value; return this; }
public String getText() { return text; }
public PepSearchResultArticleSnippet setText(String value) { this.text = value; return this; }
public String getAdverseTerms() { return adverseTerms; }
public PepSearchResultArticleSnippet setAdverseTerms(String value) { this.adverseTerms = value; return this; }
}
public static class PepSearchResultIndividualAssociation
{
public String linkDescription = null;
public Boolean softDelete = null;
public Date dateLastUpdated = null;
public String fullName = null;
public String getLinkDescription() { return linkDescription; }
public PepSearchResultIndividualAssociation setLinkDescription(String value) { this.linkDescription = value; return this; }
public Boolean isSoftDelete() { return softDelete; }
public PepSearchResultIndividualAssociation setSoftDelete(Boolean value) { this.softDelete = value; return this; }
public Date getDateLastUpdated() { return dateLastUpdated; }
public PepSearchResultIndividualAssociation setDateLastUpdated(Date value) { this.dateLastUpdated = value; return this; }
public String getFullName() { return fullName; }
public PepSearchResultIndividualAssociation setFullName(String value) { this.fullName = value; return this; }
}
public static class PepSearchResultBusinessAssociation
{
public String linkDescription = null;
public Boolean softDelete = null;
public Date dateLastUpdated = null;
public String businessName = null;
public String getLinkDescription() { return linkDescription; }
public PepSearchResultBusinessAssociation setLinkDescription(String value) { this.linkDescription = value; return this; }
public Boolean isSoftDelete() { return softDelete; }
public PepSearchResultBusinessAssociation setSoftDelete(Boolean value) { this.softDelete = value; return this; }
public Date getDateLastUpdated() { return dateLastUpdated; }
public PepSearchResultBusinessAssociation setDateLastUpdated(Date value) { this.dateLastUpdated = value; return this; }
public String getBusinessName() { return businessName; }
public PepSearchResultBusinessAssociation setBusinessName(String value) { this.businessName = value; return this; }
}
public static class PepSearchResultNote
{
public String source = null;
public String notes = null;
public Boolean softDelete = null;
public Date dateLastUpdated = null;
public String getSource() { return source; }
public PepSearchResultNote setSource(String value) { this.source = value; return this; }
public String getNotes() { return notes; }
public PepSearchResultNote setNotes(String value) { this.notes = value; return this; }
public Boolean isSoftDelete() { return softDelete; }
public PepSearchResultNote setSoftDelete(Boolean value) { this.softDelete = value; return this; }
public Date getDateLastUpdated() { return dateLastUpdated; }
public PepSearchResultNote setDateLastUpdated(Date value) { this.dateLastUpdated = value; return this; }
}
public static class PepSearchResultPoliticalPosition
{
public String description = null;
public String from = null;
public String to = null;
public String country = null;
public Boolean softDelete = null;
public Date dateLastUpdated = null;
public String getDescription() { return description; }
public PepSearchResultPoliticalPosition setDescription(String value) { this.description = value; return this; }
public String getFrom() { return from; }
public PepSearchResultPoliticalPosition setFrom(String value) { this.from = value; return this; }
public String getTo() { return to; }
public PepSearchResultPoliticalPosition setTo(String value) { this.to = value; return this; }
public String getCountry() { return country; }
public PepSearchResultPoliticalPosition setCountry(String value) { this.country = value; return this; }
public Boolean isSoftDelete() { return softDelete; }
public PepSearchResultPoliticalPosition setSoftDelete(Boolean value) { this.softDelete = value; return this; }
public Date getDateLastUpdated() { return dateLastUpdated; }
public PepSearchResultPoliticalPosition setDateLastUpdated(Date value) { this.dateLastUpdated = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /peps/get HTTP/1.1
Host: api.sanctionssearch.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<GetPepSearch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
<Authentication>
<ApiUserId>String</ApiUserId>
<ApiUserKey>String</ApiUserKey>
</Authentication>
<Request>
<Id>0</Id>
<OnlyShowUnresolvedResults>false</OnlyShowUnresolvedResults>
<SubUserName>String</SubUserName>
</Request>
</GetPepSearch>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <GetPepSearchResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types"> <Data> <ResponseStatus> <ErrorCode>String</ErrorCode> <Message>String</Message> <StackTrace>String</StackTrace> <Errors> <ResponseError> <ErrorCode>String</ErrorCode> <FieldName>String</FieldName> <Message>String</Message> <Meta xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d6p1:KeyValueOfstringstring> <d6p1:Key>String</d6p1:Key> <d6p1:Value>String</d6p1:Value> </d6p1:KeyValueOfstringstring> </Meta> </ResponseError> </Errors> <Meta xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:KeyValueOfstringstring> <d4p1:Key>String</d4p1:Key> <d4p1:Value>String</d4p1:Value> </d4p1:KeyValueOfstringstring> </Meta> </ResponseStatus> <LinkedTo> <LinkedTo> <ClientId>0</ClientId> <Date>0001-01-01T00:00:00</Date> <Description>String</Description> <Id>0</Id> <IsArchived>false</IsArchived> <Name>String</Name> <Status>String</Status> <Subtype>String</Subtype> <Type>String</Type> </LinkedTo> </LinkedTo> <SearchRecord> <AffectedByUpdate>false</AffectedByUpdate> <ClientInResults>false</ClientInResults> <ClientNotInResults>false</ClientNotInResults> <DateArchived>0001-01-01T00:00:00</DateArchived> <DateRenewal>0001-01-01T00:00:00</DateRenewal> <DateSearched>0001-01-01T00:00:00</DateSearched> <DateUpdated>0001-01-01T00:00:00</DateUpdated> <Id>0</Id> <IsArchived>false</IsArchived> <IsDayOneSearch>false</IsDayOneSearch> <NumOfResults>0</NumOfResults> <SearchCriteria> <Address>String</Address> <Country>String</Country> <DateOfBirth>String</DateOfBirth> <Name>String</Name> <Nationality>String</Nationality> <Reference>String</Reference> </SearchCriteria> <SearchResults> <Results> <PepSearchResult> <Addresses> <PepSearchResultAddress> <AddressLine1>String</AddressLine1> <AddressLine2>String</AddressLine2> <AddressLine3>String</AddressLine3> <AddressLine4>String</AddressLine4> <Country>String</Country> <County>String</County> <DateLastUpdated>0001-01-01T00:00:00</DateLastUpdated> <ISOCountry>String</ISOCountry> <PostCode>String</PostCode> <SoftDelete>false</SoftDelete> <Town>String</Town> </PepSearchResultAddress> </Addresses> <Aliases> <PepSearchResultAlias> <AlternateTitle>String</AlternateTitle> <BusinessName>String</BusinessName> <DateLastUpdated>0001-01-01T00:00:00</DateLastUpdated> <DateOfSoftDelete>0001-01-01T00:00:00</DateOfSoftDelete> <Forename>String</Forename> <MiddleName>String</MiddleName> <SoftDelete>false</SoftDelete> <Surname>String</Surname> <Title>String</Title> </PepSearchResultAlias> </Aliases> <AlternateTitle>String</AlternateTitle> <Articles> <PepSearchResultArticle> <DateLastUpdated>0001-01-01T00:00:00</DateLastUpdated> <DateOfCapture>0001-01-01T00:00:00</DateOfCapture> <OriginalUrl>String</OriginalUrl> <Snippets> <PepSearchResultArticleSnippet> <AdverseTerms>String</AdverseTerms> <Text>String</Text> <Title>String</Title> </PepSearchResultArticleSnippet> </Snippets> <Source>String</Source> <Url>String</Url> </PepSearchResultArticle> </Articles> <Associations> <PepSearchResultIndividualAssociation> <DateLastUpdated>0001-01-01T00:00:00</DateLastUpdated> <FullName>String</FullName> <LinkDescription>String</LinkDescription> <SoftDelete>false</SoftDelete> </PepSearchResultIndividualAssociation> </Associations> <BusinessAssociations> <PepSearchResultBusinessAssociation> <BusinessName>String</BusinessName> <DateLastUpdated>0001-01-01T00:00:00</DateLastUpdated> <LinkDescription>String</LinkDescription> <SoftDelete>false</SoftDelete> </PepSearchResultBusinessAssociation> </BusinessAssociations> <BusinessName>String</BusinessName> <BusinessTelephone>String</BusinessTelephone> <Category>String</Category> <DateLastUpdated>0001-01-01T00:00:00</DateLastUpdated> <DateOfBirth>0001-01-01T00:00:00</DateOfBirth> <DateOfCapture>0001-01-01T00:00:00</DateOfCapture> <DateOfDeath>0001-01-01T00:00:00</DateOfDeath> <DateOfSoftDelete>0001-01-01T00:00:00</DateOfSoftDelete> <Description>String</Description> <Email>String</Email> <Fax>String</Fax> <Forename>String</Forename> <Gender>String</Gender> <HomeTelephone>String</HomeTelephone> <Id>0</Id> <Middlename>String</Middlename> <MobileTelephone>String</MobileTelephone> <Nationality>String</Nationality> <Notes> <PepSearchResultNote> <DateLastUpdated>0001-01-01T00:00:00</DateLastUpdated> <Notes>String</Notes> <SoftDelete>false</SoftDelete> <Source>String</Source> </PepSearchResultNote> </Notes> <PepTier>0</PepTier> <Picture>String</Picture> <PoliticalPositions> <PepSearchResultPoliticalPosition> <Country>String</Country> <DateLastUpdated>0001-01-01T00:00:00</DateLastUpdated> <Description>String</Description> <From>String</From> <SoftDelete>false</SoftDelete> <To>String</To> </PepSearchResultPoliticalPosition> </PoliticalPositions> <ResultIsClient>false</ResultIsClient> <ResultResolved>false</ResultResolved> <ResultSimilarity>0</ResultSimilarity> <SoftDelete>false</SoftDelete> <Source>String</Source> <Surname>String</Surname> <Telephone>String</Telephone> <Title>String</Title> <Type>String</Type> <Website>String</Website> <YearOfBirth>0</YearOfBirth> <YearOfDeath>0</YearOfDeath> </PepSearchResult> </Results> </SearchResults> <SearchType>String</SearchType> </SearchRecord> </Data> </GetPepSearchResponse>