POST | /peps/add | Add a PEP search |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
@DataContract
public static class AddPepSearch extends BaseRequest
{
@DataMember
public AddPepSearchRequest request = null;
public AddPepSearchRequest getRequest() { return request; }
public AddPepSearch setRequest(AddPepSearchRequest 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 AddPepSearchRequest implements IAddSearchRequest
{
/**
* If the search should be saved against a single Sub User account, specify their username here
*/
@ApiMember(Description="If the search should be saved against a single Sub User account, specify their username here")
public String subUserName = null;
public String type = null;
public String name = null;
public String country = null;
public String address = null;
public String dateOfBirth = null;
public String nationality = null;
public String reference = null;
public Boolean excludeResults = null;
public Boolean performSanctionsSearch = null;
public Boolean dayOneSearch = null;
public ArrayOfLists selectedLists = null;
/**
* If the search should be linked to other searches, specify the them here
*/
@ApiMember(Description="If the search should be linked to other searches, specify the them here")
public ArrayOfLinkedTo linkedTo = null;
public String getSubUserName() { return subUserName; }
public AddPepSearchRequest setSubUserName(String value) { this.subUserName = value; return this; }
public String getType() { return type; }
public AddPepSearchRequest setType(String value) { this.type = value; return this; }
public String getName() { return name; }
public AddPepSearchRequest setName(String value) { this.name = value; return this; }
public String getCountry() { return country; }
public AddPepSearchRequest setCountry(String value) { this.country = value; return this; }
public String getAddress() { return address; }
public AddPepSearchRequest setAddress(String value) { this.address = value; return this; }
public String getDateOfBirth() { return dateOfBirth; }
public AddPepSearchRequest setDateOfBirth(String value) { this.dateOfBirth = value; return this; }
public String getNationality() { return nationality; }
public AddPepSearchRequest setNationality(String value) { this.nationality = value; return this; }
public String getReference() { return reference; }
public AddPepSearchRequest setReference(String value) { this.reference = value; return this; }
public Boolean isExcludeResults() { return excludeResults; }
public AddPepSearchRequest setExcludeResults(Boolean value) { this.excludeResults = value; return this; }
public Boolean isPerformSanctionsSearch() { return performSanctionsSearch; }
public AddPepSearchRequest setPerformSanctionsSearch(Boolean value) { this.performSanctionsSearch = value; return this; }
public Boolean isDayOneSearch() { return dayOneSearch; }
public AddPepSearchRequest setDayOneSearch(Boolean value) { this.dayOneSearch = value; return this; }
public ArrayOfLists getSelectedLists() { return selectedLists; }
public AddPepSearchRequest setSelectedLists(ArrayOfLists value) { this.selectedLists = value; return this; }
public ArrayOfLinkedTo getLinkedTo() { return linkedTo; }
public AddPepSearchRequest setLinkedTo(ArrayOfLinkedTo value) { this.linkedTo = value; return this; }
}
public static class ArrayOfLists extends ArrayList<String>
{
}
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; }
}
@DataContract
public static class AddPepSearchResponse
{
@DataMember
public AddPepSearchData data = null;
public AddPepSearchData getData() { return data; }
public AddPepSearchResponse setData(AddPepSearchData value) { this.data = value; return this; }
}
public static class AddPepSearchData extends BaseResponse implements IBaseSearchResponse
{
public ArrayOfLinkedTo linkedTo = null;
public PepSearchRecord searchRecord = null;
public Boolean includesSanctionsSearchRecord = null;
public SearchRecord sanctionsSearchRecord = null;
public ArrayOfLinkedTo getLinkedTo() { return linkedTo; }
public AddPepSearchData setLinkedTo(ArrayOfLinkedTo value) { this.linkedTo = value; return this; }
public PepSearchRecord getSearchRecord() { return searchRecord; }
public AddPepSearchData setSearchRecord(PepSearchRecord value) { this.searchRecord = value; return this; }
public Boolean isIncludesSanctionsSearchRecord() { return includesSanctionsSearchRecord; }
public AddPepSearchData setIncludesSanctionsSearchRecord(Boolean value) { this.includesSanctionsSearchRecord = value; return this; }
public SearchRecord getSanctionsSearchRecord() { return sanctionsSearchRecord; }
public AddPepSearchData setSanctionsSearchRecord(SearchRecord value) { this.sanctionsSearchRecord = 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 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; }
}
public static class SearchRecord
{
public Long id = null;
public String searchType = null;
public Date dateSearched = null;
public Date dateUpdated = 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 SearchCriteria searchCriteria = null;
public SearchResults searchResults = null;
public ArrayList<SearchSource> searchSources = null;
public ArrayOfSearchResultEntries listSearchResults = null;
public Long getId() { return id; }
public SearchRecord setId(Long value) { this.id = value; return this; }
public String getSearchType() { return searchType; }
public SearchRecord setSearchType(String value) { this.searchType = value; return this; }
public Date getDateSearched() { return dateSearched; }
public SearchRecord setDateSearched(Date value) { this.dateSearched = value; return this; }
public Date getDateUpdated() { return dateUpdated; }
public SearchRecord setDateUpdated(Date value) { this.dateUpdated = value; return this; }
public Date getDateArchived() { return dateArchived; }
public SearchRecord setDateArchived(Date value) { this.dateArchived = value; return this; }
public Boolean getIsArchived() { return isArchived; }
public SearchRecord setIsArchived(Boolean value) { this.isArchived = value; return this; }
public Integer getNumOfResults() { return numOfResults; }
public SearchRecord setNumOfResults(Integer value) { this.numOfResults = value; return this; }
public Boolean isClientInResults() { return clientInResults; }
public SearchRecord setClientInResults(Boolean value) { this.clientInResults = value; return this; }
public Boolean isClientNotInResults() { return clientNotInResults; }
public SearchRecord setClientNotInResults(Boolean value) { this.clientNotInResults = value; return this; }
public Boolean isAffectedByUpdate() { return affectedByUpdate; }
public SearchRecord setAffectedByUpdate(Boolean value) { this.affectedByUpdate = value; return this; }
public SearchCriteria getSearchCriteria() { return searchCriteria; }
public SearchRecord setSearchCriteria(SearchCriteria value) { this.searchCriteria = value; return this; }
public SearchResults getSearchResults() { return searchResults; }
public SearchRecord setSearchResults(SearchResults value) { this.searchResults = value; return this; }
public ArrayList<SearchSource> getSearchSources() { return searchSources; }
public SearchRecord setSearchSources(ArrayList<SearchSource> value) { this.searchSources = value; return this; }
public ArrayOfSearchResultEntries getListSearchResults() { return listSearchResults; }
public SearchRecord setListSearchResults(ArrayOfSearchResultEntries value) { this.listSearchResults = value; return this; }
}
public static class SearchResults
{
public ArrayList<SearchResultEu> euResults = null;
public ArrayList<SearchResultHmTreasury> hmtResults = null;
public ArrayList<SearchResultHmTreasury> hmtUkraineResults = null;
public ArrayList<SearchResultOfac> ofacResults = null;
public ArrayList<SearchResultOfac> ofacConsolidatedResults = null;
public ArrayList<SearchResultDfat> dfatResults = null;
public ArrayList<SearchResultOsfi> osfiResults = null;
public ArrayList<SearchResultCanadianJustice> canadianJusticeResults = null;
public ArrayList<SearchResultCanadianSema> canadianSemaResults = null;
public ArrayList<SearchResultEntry> swissSecoResults = null;
public ArrayList<SearchResultEu> getEuResults() { return euResults; }
public SearchResults setEuResults(ArrayList<SearchResultEu> value) { this.euResults = value; return this; }
public ArrayList<SearchResultHmTreasury> getHmtResults() { return hmtResults; }
public SearchResults setHmtResults(ArrayList<SearchResultHmTreasury> value) { this.hmtResults = value; return this; }
public ArrayList<SearchResultHmTreasury> getHmtUkraineResults() { return hmtUkraineResults; }
public SearchResults setHmtUkraineResults(ArrayList<SearchResultHmTreasury> value) { this.hmtUkraineResults = value; return this; }
public ArrayList<SearchResultOfac> getOfacResults() { return ofacResults; }
public SearchResults setOfacResults(ArrayList<SearchResultOfac> value) { this.ofacResults = value; return this; }
public ArrayList<SearchResultOfac> getOfacConsolidatedResults() { return ofacConsolidatedResults; }
public SearchResults setOfacConsolidatedResults(ArrayList<SearchResultOfac> value) { this.ofacConsolidatedResults = value; return this; }
public ArrayList<SearchResultDfat> getDfatResults() { return dfatResults; }
public SearchResults setDfatResults(ArrayList<SearchResultDfat> value) { this.dfatResults = value; return this; }
public ArrayList<SearchResultOsfi> getOsfiResults() { return osfiResults; }
public SearchResults setOsfiResults(ArrayList<SearchResultOsfi> value) { this.osfiResults = value; return this; }
public ArrayList<SearchResultCanadianJustice> getCanadianJusticeResults() { return canadianJusticeResults; }
public SearchResults setCanadianJusticeResults(ArrayList<SearchResultCanadianJustice> value) { this.canadianJusticeResults = value; return this; }
public ArrayList<SearchResultCanadianSema> getCanadianSemaResults() { return canadianSemaResults; }
public SearchResults setCanadianSemaResults(ArrayList<SearchResultCanadianSema> value) { this.canadianSemaResults = value; return this; }
public ArrayList<SearchResultEntry> getSwissSecoResults() { return swissSecoResults; }
public SearchResults setSwissSecoResults(ArrayList<SearchResultEntry> value) { this.swissSecoResults = value; return this; }
}
public static class SearchResultEu
{
public Integer resultStrength = null;
public BigDecimal resultSimilarity = null;
public Boolean resultResolved = null;
public String resultType = null;
public Date dateUpdated = null;
public ArrayList<SearchResultEuAddress> addresses = null;
public ArrayList<SearchResultEuBirth> births = null;
public ArrayList<SearchResultOfacEuCitizenship> citizenships = null;
public ArrayList<SearchResultEuName> names = null;
public ArrayList<SearchResultEuPassport> passports = null;
public Integer getResultStrength() { return resultStrength; }
public SearchResultEu setResultStrength(Integer value) { this.resultStrength = value; return this; }
public BigDecimal getResultSimilarity() { return resultSimilarity; }
public SearchResultEu setResultSimilarity(BigDecimal value) { this.resultSimilarity = value; return this; }
public Boolean isResultResolved() { return resultResolved; }
public SearchResultEu setResultResolved(Boolean value) { this.resultResolved = value; return this; }
public String getResultType() { return resultType; }
public SearchResultEu setResultType(String value) { this.resultType = value; return this; }
public Date getDateUpdated() { return dateUpdated; }
public SearchResultEu setDateUpdated(Date value) { this.dateUpdated = value; return this; }
public ArrayList<SearchResultEuAddress> getAddresses() { return addresses; }
public SearchResultEu setAddresses(ArrayList<SearchResultEuAddress> value) { this.addresses = value; return this; }
public ArrayList<SearchResultEuBirth> getBirths() { return births; }
public SearchResultEu setBirths(ArrayList<SearchResultEuBirth> value) { this.births = value; return this; }
public ArrayList<SearchResultOfacEuCitizenship> getCitizenships() { return citizenships; }
public SearchResultEu setCitizenships(ArrayList<SearchResultOfacEuCitizenship> value) { this.citizenships = value; return this; }
public ArrayList<SearchResultEuName> getNames() { return names; }
public SearchResultEu setNames(ArrayList<SearchResultEuName> value) { this.names = value; return this; }
public ArrayList<SearchResultEuPassport> getPassports() { return passports; }
public SearchResultEu setPassports(ArrayList<SearchResultEuPassport> value) { this.passports = value; return this; }
}
public static class SearchResultEuAddress
{
public String street = null;
public String city = null;
public String country = null;
public String postCode = null;
public String other = null;
public String getStreet() { return street; }
public SearchResultEuAddress setStreet(String value) { this.street = value; return this; }
public String getCity() { return city; }
public SearchResultEuAddress setCity(String value) { this.city = value; return this; }
public String getCountry() { return country; }
public SearchResultEuAddress setCountry(String value) { this.country = value; return this; }
public String getPostCode() { return postCode; }
public SearchResultEuAddress setPostCode(String value) { this.postCode = value; return this; }
public String getOther() { return other; }
public SearchResultEuAddress setOther(String value) { this.other = value; return this; }
}
public static class SearchResultEuBirth
{
public String date = null;
public String place = null;
public String country = null;
public String getDate() { return date; }
public SearchResultEuBirth setDate(String value) { this.date = value; return this; }
public String getPlace() { return place; }
public SearchResultEuBirth setPlace(String value) { this.place = value; return this; }
public String getCountry() { return country; }
public SearchResultEuBirth setCountry(String value) { this.country = value; return this; }
}
public static class SearchResultOfacEuCitizenship
{
public String country = null;
public String getCountry() { return country; }
public SearchResultOfacEuCitizenship setCountry(String value) { this.country = value; return this; }
}
public static class SearchResultEuName
{
public String fullName = null;
public String gender = null;
public String getFullName() { return fullName; }
public SearchResultEuName setFullName(String value) { this.fullName = value; return this; }
public String getGender() { return gender; }
public SearchResultEuName setGender(String value) { this.gender = value; return this; }
}
public static class SearchResultEuPassport
{
public String number = null;
public String country = null;
public String getNumber() { return number; }
public SearchResultEuPassport setNumber(String value) { this.number = value; return this; }
public String getCountry() { return country; }
public SearchResultEuPassport setCountry(String value) { this.country = value; return this; }
}
public static class SearchResultHmTreasury
{
public Integer resultStrength = null;
public BigDecimal resultSimilarity = null;
public Boolean resultResolved = null;
public String resultType = null;
public Date dateListed = null;
public Date dateUpdated = null;
public String name1 = null;
public String name2 = null;
public String name3 = null;
public String name4 = null;
public String name5 = null;
public String name6 = null;
public String dateOfBirth = null;
public String countryOfBirth = null;
public String nationality = null;
public String address1 = null;
public String address2 = null;
public String address3 = null;
public String address4 = null;
public String address5 = null;
public String address6 = null;
public String postCode = null;
public String country = null;
public Integer getResultStrength() { return resultStrength; }
public SearchResultHmTreasury setResultStrength(Integer value) { this.resultStrength = value; return this; }
public BigDecimal getResultSimilarity() { return resultSimilarity; }
public SearchResultHmTreasury setResultSimilarity(BigDecimal value) { this.resultSimilarity = value; return this; }
public Boolean isResultResolved() { return resultResolved; }
public SearchResultHmTreasury setResultResolved(Boolean value) { this.resultResolved = value; return this; }
public String getResultType() { return resultType; }
public SearchResultHmTreasury setResultType(String value) { this.resultType = value; return this; }
public Date getDateListed() { return dateListed; }
public SearchResultHmTreasury setDateListed(Date value) { this.dateListed = value; return this; }
public Date getDateUpdated() { return dateUpdated; }
public SearchResultHmTreasury setDateUpdated(Date value) { this.dateUpdated = value; return this; }
public String getName1() { return name1; }
public SearchResultHmTreasury setName1(String value) { this.name1 = value; return this; }
public String getName2() { return name2; }
public SearchResultHmTreasury setName2(String value) { this.name2 = value; return this; }
public String getName3() { return name3; }
public SearchResultHmTreasury setName3(String value) { this.name3 = value; return this; }
public String getName4() { return name4; }
public SearchResultHmTreasury setName4(String value) { this.name4 = value; return this; }
public String getName5() { return name5; }
public SearchResultHmTreasury setName5(String value) { this.name5 = value; return this; }
public String getName6() { return name6; }
public SearchResultHmTreasury setName6(String value) { this.name6 = value; return this; }
public String getDateOfBirth() { return dateOfBirth; }
public SearchResultHmTreasury setDateOfBirth(String value) { this.dateOfBirth = value; return this; }
public String getCountryOfBirth() { return countryOfBirth; }
public SearchResultHmTreasury setCountryOfBirth(String value) { this.countryOfBirth = value; return this; }
public String getNationality() { return nationality; }
public SearchResultHmTreasury setNationality(String value) { this.nationality = value; return this; }
public String getAddress1() { return address1; }
public SearchResultHmTreasury setAddress1(String value) { this.address1 = value; return this; }
public String getAddress2() { return address2; }
public SearchResultHmTreasury setAddress2(String value) { this.address2 = value; return this; }
public String getAddress3() { return address3; }
public SearchResultHmTreasury setAddress3(String value) { this.address3 = value; return this; }
public String getAddress4() { return address4; }
public SearchResultHmTreasury setAddress4(String value) { this.address4 = value; return this; }
public String getAddress5() { return address5; }
public SearchResultHmTreasury setAddress5(String value) { this.address5 = value; return this; }
public String getAddress6() { return address6; }
public SearchResultHmTreasury setAddress6(String value) { this.address6 = value; return this; }
public String getPostCode() { return postCode; }
public SearchResultHmTreasury setPostCode(String value) { this.postCode = value; return this; }
public String getCountry() { return country; }
public SearchResultHmTreasury setCountry(String value) { this.country = value; return this; }
}
public static class SearchResultOfac
{
public Integer resultStrength = null;
public BigDecimal resultSimilarity = null;
public Boolean resultResolved = null;
public String resultType = null;
public Date dateUpdated = null;
public String firstName = null;
public String lastName = null;
public ArrayList<SearchResultOfacAddress> addresses = null;
public ArrayList<SearchResultOfacAka> akas = null;
public ArrayList<SearchResultOfacDateOfBirth> dateOfBirths = null;
public ArrayList<SearchResultOfacNationality> nationalities = null;
public ArrayList<SearchResultOfacPlaceOfBirth> placeOfBirths = null;
public Integer getResultStrength() { return resultStrength; }
public SearchResultOfac setResultStrength(Integer value) { this.resultStrength = value; return this; }
public BigDecimal getResultSimilarity() { return resultSimilarity; }
public SearchResultOfac setResultSimilarity(BigDecimal value) { this.resultSimilarity = value; return this; }
public Boolean isResultResolved() { return resultResolved; }
public SearchResultOfac setResultResolved(Boolean value) { this.resultResolved = value; return this; }
public String getResultType() { return resultType; }
public SearchResultOfac setResultType(String value) { this.resultType = value; return this; }
public Date getDateUpdated() { return dateUpdated; }
public SearchResultOfac setDateUpdated(Date value) { this.dateUpdated = value; return this; }
public String getFirstName() { return firstName; }
public SearchResultOfac setFirstName(String value) { this.firstName = value; return this; }
public String getLastName() { return lastName; }
public SearchResultOfac setLastName(String value) { this.lastName = value; return this; }
public ArrayList<SearchResultOfacAddress> getAddresses() { return addresses; }
public SearchResultOfac setAddresses(ArrayList<SearchResultOfacAddress> value) { this.addresses = value; return this; }
public ArrayList<SearchResultOfacAka> getAkas() { return akas; }
public SearchResultOfac setAkas(ArrayList<SearchResultOfacAka> value) { this.akas = value; return this; }
public ArrayList<SearchResultOfacDateOfBirth> getDateOfBirths() { return dateOfBirths; }
public SearchResultOfac setDateOfBirths(ArrayList<SearchResultOfacDateOfBirth> value) { this.dateOfBirths = value; return this; }
public ArrayList<SearchResultOfacNationality> getNationalities() { return nationalities; }
public SearchResultOfac setNationalities(ArrayList<SearchResultOfacNationality> value) { this.nationalities = value; return this; }
public ArrayList<SearchResultOfacPlaceOfBirth> getPlaceOfBirths() { return placeOfBirths; }
public SearchResultOfac setPlaceOfBirths(ArrayList<SearchResultOfacPlaceOfBirth> value) { this.placeOfBirths = value; return this; }
}
public static class SearchResultOfacAddress
{
public String address1 = null;
public String address2 = null;
public String address3 = null;
public String city = null;
public String state = null;
public String postCode = null;
public String country = null;
public String getAddress1() { return address1; }
public SearchResultOfacAddress setAddress1(String value) { this.address1 = value; return this; }
public String getAddress2() { return address2; }
public SearchResultOfacAddress setAddress2(String value) { this.address2 = value; return this; }
public String getAddress3() { return address3; }
public SearchResultOfacAddress setAddress3(String value) { this.address3 = value; return this; }
public String getCity() { return city; }
public SearchResultOfacAddress setCity(String value) { this.city = value; return this; }
public String getState() { return state; }
public SearchResultOfacAddress setState(String value) { this.state = value; return this; }
public String getPostCode() { return postCode; }
public SearchResultOfacAddress setPostCode(String value) { this.postCode = value; return this; }
public String getCountry() { return country; }
public SearchResultOfacAddress setCountry(String value) { this.country = value; return this; }
}
public static class SearchResultOfacAka
{
public String firstName = null;
public String lastName = null;
public String type = null;
public String strength = null;
public String getFirstName() { return firstName; }
public SearchResultOfacAka setFirstName(String value) { this.firstName = value; return this; }
public String getLastName() { return lastName; }
public SearchResultOfacAka setLastName(String value) { this.lastName = value; return this; }
public String getType() { return type; }
public SearchResultOfacAka setType(String value) { this.type = value; return this; }
public String getStrength() { return strength; }
public SearchResultOfacAka setStrength(String value) { this.strength = value; return this; }
}
public static class SearchResultOfacDateOfBirth
{
public String dateOfBirth = null;
public String getDateOfBirth() { return dateOfBirth; }
public SearchResultOfacDateOfBirth setDateOfBirth(String value) { this.dateOfBirth = value; return this; }
}
public static class SearchResultOfacNationality
{
public String country = null;
public String getCountry() { return country; }
public SearchResultOfacNationality setCountry(String value) { this.country = value; return this; }
}
public static class SearchResultOfacPlaceOfBirth
{
public String placeOfBirth = null;
public String getPlaceOfBirth() { return placeOfBirth; }
public SearchResultOfacPlaceOfBirth setPlaceOfBirth(String value) { this.placeOfBirth = value; return this; }
}
public static class SearchResultDfat
{
public Integer resultStrength = null;
public BigDecimal resultSimilarity = null;
public Boolean resultResolved = null;
public String resultType = null;
public Date dateUpdated = null;
public String fullName = null;
public String address = null;
public String dateOfBirth = null;
public String placeOfBirth = null;
public String nationality = null;
public Integer getResultStrength() { return resultStrength; }
public SearchResultDfat setResultStrength(Integer value) { this.resultStrength = value; return this; }
public BigDecimal getResultSimilarity() { return resultSimilarity; }
public SearchResultDfat setResultSimilarity(BigDecimal value) { this.resultSimilarity = value; return this; }
public Boolean isResultResolved() { return resultResolved; }
public SearchResultDfat setResultResolved(Boolean value) { this.resultResolved = value; return this; }
public String getResultType() { return resultType; }
public SearchResultDfat setResultType(String value) { this.resultType = value; return this; }
public Date getDateUpdated() { return dateUpdated; }
public SearchResultDfat setDateUpdated(Date value) { this.dateUpdated = value; return this; }
public String getFullName() { return fullName; }
public SearchResultDfat setFullName(String value) { this.fullName = value; return this; }
public String getAddress() { return address; }
public SearchResultDfat setAddress(String value) { this.address = value; return this; }
public String getDateOfBirth() { return dateOfBirth; }
public SearchResultDfat setDateOfBirth(String value) { this.dateOfBirth = value; return this; }
public String getPlaceOfBirth() { return placeOfBirth; }
public SearchResultDfat setPlaceOfBirth(String value) { this.placeOfBirth = value; return this; }
public String getNationality() { return nationality; }
public SearchResultDfat setNationality(String value) { this.nationality = value; return this; }
}
public static class SearchResultOsfi
{
public Integer resultStrength = null;
public BigDecimal resultSimilarity = null;
public Boolean resultResolved = null;
public String resultType = null;
public Date dateUpdated = null;
public String fullName = null;
public String address = null;
public String dateOfBirth = null;
public String placeOfBirth = null;
public String nationality = null;
public Integer getResultStrength() { return resultStrength; }
public SearchResultOsfi setResultStrength(Integer value) { this.resultStrength = value; return this; }
public BigDecimal getResultSimilarity() { return resultSimilarity; }
public SearchResultOsfi setResultSimilarity(BigDecimal value) { this.resultSimilarity = value; return this; }
public Boolean isResultResolved() { return resultResolved; }
public SearchResultOsfi setResultResolved(Boolean value) { this.resultResolved = value; return this; }
public String getResultType() { return resultType; }
public SearchResultOsfi setResultType(String value) { this.resultType = value; return this; }
public Date getDateUpdated() { return dateUpdated; }
public SearchResultOsfi setDateUpdated(Date value) { this.dateUpdated = value; return this; }
public String getFullName() { return fullName; }
public SearchResultOsfi setFullName(String value) { this.fullName = value; return this; }
public String getAddress() { return address; }
public SearchResultOsfi setAddress(String value) { this.address = value; return this; }
public String getDateOfBirth() { return dateOfBirth; }
public SearchResultOsfi setDateOfBirth(String value) { this.dateOfBirth = value; return this; }
public String getPlaceOfBirth() { return placeOfBirth; }
public SearchResultOsfi setPlaceOfBirth(String value) { this.placeOfBirth = value; return this; }
public String getNationality() { return nationality; }
public SearchResultOsfi setNationality(String value) { this.nationality = value; return this; }
}
public static class SearchResultCanadianJustice
{
public Integer resultStrength = null;
public BigDecimal resultSimilarity = null;
public Boolean resultResolved = null;
public String resultType = null;
public Date dateUpdated = null;
public String name = null;
public String dateOfBirth = null;
public String country = null;
public Integer refId = null;
public Integer getResultStrength() { return resultStrength; }
public SearchResultCanadianJustice setResultStrength(Integer value) { this.resultStrength = value; return this; }
public BigDecimal getResultSimilarity() { return resultSimilarity; }
public SearchResultCanadianJustice setResultSimilarity(BigDecimal value) { this.resultSimilarity = value; return this; }
public Boolean isResultResolved() { return resultResolved; }
public SearchResultCanadianJustice setResultResolved(Boolean value) { this.resultResolved = value; return this; }
public String getResultType() { return resultType; }
public SearchResultCanadianJustice setResultType(String value) { this.resultType = value; return this; }
public Date getDateUpdated() { return dateUpdated; }
public SearchResultCanadianJustice setDateUpdated(Date value) { this.dateUpdated = value; return this; }
public String getName() { return name; }
public SearchResultCanadianJustice setName(String value) { this.name = value; return this; }
public String getDateOfBirth() { return dateOfBirth; }
public SearchResultCanadianJustice setDateOfBirth(String value) { this.dateOfBirth = value; return this; }
public String getCountry() { return country; }
public SearchResultCanadianJustice setCountry(String value) { this.country = value; return this; }
public Integer getRefId() { return refId; }
public SearchResultCanadianJustice setRefId(Integer value) { this.refId = value; return this; }
}
public static class SearchResultCanadianSema
{
public Integer resultStrength = null;
public BigDecimal resultSimilarity = null;
public Boolean resultResolved = null;
public String resultType = null;
public Date dateUpdated = null;
public String name = null;
public String dateOfBirth = null;
public String country = null;
public String schedule = null;
public String item = null;
public Integer getResultStrength() { return resultStrength; }
public SearchResultCanadianSema setResultStrength(Integer value) { this.resultStrength = value; return this; }
public BigDecimal getResultSimilarity() { return resultSimilarity; }
public SearchResultCanadianSema setResultSimilarity(BigDecimal value) { this.resultSimilarity = value; return this; }
public Boolean isResultResolved() { return resultResolved; }
public SearchResultCanadianSema setResultResolved(Boolean value) { this.resultResolved = value; return this; }
public String getResultType() { return resultType; }
public SearchResultCanadianSema setResultType(String value) { this.resultType = value; return this; }
public Date getDateUpdated() { return dateUpdated; }
public SearchResultCanadianSema setDateUpdated(Date value) { this.dateUpdated = value; return this; }
public String getName() { return name; }
public SearchResultCanadianSema setName(String value) { this.name = value; return this; }
public String getDateOfBirth() { return dateOfBirth; }
public SearchResultCanadianSema setDateOfBirth(String value) { this.dateOfBirth = value; return this; }
public String getCountry() { return country; }
public SearchResultCanadianSema setCountry(String value) { this.country = value; return this; }
public String getSchedule() { return schedule; }
public SearchResultCanadianSema setSchedule(String value) { this.schedule = value; return this; }
public String getItem() { return item; }
public SearchResultCanadianSema setItem(String value) { this.item = value; return this; }
}
public static class SearchResultEntry
{
public Long searchResultId = null;
public Integer resultStrength = null;
public BigDecimal resultSimilarity = null;
public Boolean resultResolved = null;
public String resultType = null;
public Date dateUpdated = null;
public String sanctionsListId = null;
public String sanctionsListName = null;
public ArrayList<SearchResultAddress> addresses = null;
public ArrayList<SearchResultDateOfBirth> datesOfBirth = null;
public ArrayList<SearchResultName> names = null;
public ArrayList<SearchResultNationality> nationalities = null;
public ArrayList<SearchResultPlaceOfBirth> placesOfBirth = null;
public ArrayList<SearchResultRemark> remarks = null;
public Long getSearchResultId() { return searchResultId; }
public SearchResultEntry setSearchResultId(Long value) { this.searchResultId = value; return this; }
public Integer getResultStrength() { return resultStrength; }
public SearchResultEntry setResultStrength(Integer value) { this.resultStrength = value; return this; }
public BigDecimal getResultSimilarity() { return resultSimilarity; }
public SearchResultEntry setResultSimilarity(BigDecimal value) { this.resultSimilarity = value; return this; }
public Boolean isResultResolved() { return resultResolved; }
public SearchResultEntry setResultResolved(Boolean value) { this.resultResolved = value; return this; }
public String getResultType() { return resultType; }
public SearchResultEntry setResultType(String value) { this.resultType = value; return this; }
public Date getDateUpdated() { return dateUpdated; }
public SearchResultEntry setDateUpdated(Date value) { this.dateUpdated = value; return this; }
public String getSanctionsListId() { return sanctionsListId; }
public SearchResultEntry setSanctionsListId(String value) { this.sanctionsListId = value; return this; }
public String getSanctionsListName() { return sanctionsListName; }
public SearchResultEntry setSanctionsListName(String value) { this.sanctionsListName = value; return this; }
public ArrayList<SearchResultAddress> getAddresses() { return addresses; }
public SearchResultEntry setAddresses(ArrayList<SearchResultAddress> value) { this.addresses = value; return this; }
public ArrayList<SearchResultDateOfBirth> getDatesOfBirth() { return datesOfBirth; }
public SearchResultEntry setDatesOfBirth(ArrayList<SearchResultDateOfBirth> value) { this.datesOfBirth = value; return this; }
public ArrayList<SearchResultName> getNames() { return names; }
public SearchResultEntry setNames(ArrayList<SearchResultName> value) { this.names = value; return this; }
public ArrayList<SearchResultNationality> getNationalities() { return nationalities; }
public SearchResultEntry setNationalities(ArrayList<SearchResultNationality> value) { this.nationalities = value; return this; }
public ArrayList<SearchResultPlaceOfBirth> getPlacesOfBirth() { return placesOfBirth; }
public SearchResultEntry setPlacesOfBirth(ArrayList<SearchResultPlaceOfBirth> value) { this.placesOfBirth = value; return this; }
public ArrayList<SearchResultRemark> getRemarks() { return remarks; }
public SearchResultEntry setRemarks(ArrayList<SearchResultRemark> value) { this.remarks = value; return this; }
}
public static class SearchResultAddress
{
public Long searchResultAddressId = null;
public String type = null;
public String address1 = null;
public String address2 = null;
public String address3 = null;
public String city = null;
public String county = null;
public String postCode = null;
public String country = null;
public Long getSearchResultAddressId() { return searchResultAddressId; }
public SearchResultAddress setSearchResultAddressId(Long value) { this.searchResultAddressId = value; return this; }
public String getType() { return type; }
public SearchResultAddress setType(String value) { this.type = value; return this; }
public String getAddress1() { return address1; }
public SearchResultAddress setAddress1(String value) { this.address1 = value; return this; }
public String getAddress2() { return address2; }
public SearchResultAddress setAddress2(String value) { this.address2 = value; return this; }
public String getAddress3() { return address3; }
public SearchResultAddress setAddress3(String value) { this.address3 = value; return this; }
public String getCity() { return city; }
public SearchResultAddress setCity(String value) { this.city = value; return this; }
public String getCounty() { return county; }
public SearchResultAddress setCounty(String value) { this.county = value; return this; }
public String getPostCode() { return postCode; }
public SearchResultAddress setPostCode(String value) { this.postCode = value; return this; }
public String getCountry() { return country; }
public SearchResultAddress setCountry(String value) { this.country = value; return this; }
}
public static class SearchResultDateOfBirth
{
public Long searchResultDateOfBirthId = null;
public String dateOfBirth = null;
public Short year = null;
public Short month = null;
public Short day = null;
public String type = null;
public Long getSearchResultDateOfBirthId() { return searchResultDateOfBirthId; }
public SearchResultDateOfBirth setSearchResultDateOfBirthId(Long value) { this.searchResultDateOfBirthId = value; return this; }
public String getDateOfBirth() { return dateOfBirth; }
public SearchResultDateOfBirth setDateOfBirth(String value) { this.dateOfBirth = value; return this; }
public Short getYear() { return year; }
public SearchResultDateOfBirth setYear(Short value) { this.year = value; return this; }
public Short getMonth() { return month; }
public SearchResultDateOfBirth setMonth(Short value) { this.month = value; return this; }
public Short getDay() { return day; }
public SearchResultDateOfBirth setDay(Short value) { this.day = value; return this; }
public String getType() { return type; }
public SearchResultDateOfBirth setType(String value) { this.type = value; return this; }
}
public static class SearchResultName
{
public Long searchResultNameId = null;
public String type = null;
public String title = null;
public String fullName = null;
public BigDecimal resultSimilarity = null;
public Long getSearchResultNameId() { return searchResultNameId; }
public SearchResultName setSearchResultNameId(Long value) { this.searchResultNameId = value; return this; }
public String getType() { return type; }
public SearchResultName setType(String value) { this.type = value; return this; }
public String getTitle() { return title; }
public SearchResultName setTitle(String value) { this.title = value; return this; }
public String getFullName() { return fullName; }
public SearchResultName setFullName(String value) { this.fullName = value; return this; }
public BigDecimal getResultSimilarity() { return resultSimilarity; }
public SearchResultName setResultSimilarity(BigDecimal value) { this.resultSimilarity = value; return this; }
}
public static class SearchResultNationality
{
public Long searchResultNationalityId = null;
public String nationality = null;
public Long getSearchResultNationalityId() { return searchResultNationalityId; }
public SearchResultNationality setSearchResultNationalityId(Long value) { this.searchResultNationalityId = value; return this; }
public String getNationality() { return nationality; }
public SearchResultNationality setNationality(String value) { this.nationality = value; return this; }
}
public static class SearchResultPlaceOfBirth
{
public Long searchResultPlaceOfBirthId = null;
public String placeOfBirth = null;
public String countryOfBirth = null;
public Long getSearchResultPlaceOfBirthId() { return searchResultPlaceOfBirthId; }
public SearchResultPlaceOfBirth setSearchResultPlaceOfBirthId(Long value) { this.searchResultPlaceOfBirthId = value; return this; }
public String getPlaceOfBirth() { return placeOfBirth; }
public SearchResultPlaceOfBirth setPlaceOfBirth(String value) { this.placeOfBirth = value; return this; }
public String getCountryOfBirth() { return countryOfBirth; }
public SearchResultPlaceOfBirth setCountryOfBirth(String value) { this.countryOfBirth = value; return this; }
}
public static class SearchResultRemark
{
public Long searchResultRemarkId = null;
public String name = null;
public String description = null;
public Long getSearchResultRemarkId() { return searchResultRemarkId; }
public SearchResultRemark setSearchResultRemarkId(Long value) { this.searchResultRemarkId = value; return this; }
public String getName() { return name; }
public SearchResultRemark setName(String value) { this.name = value; return this; }
public String getDescription() { return description; }
public SearchResultRemark setDescription(String value) { this.description = value; return this; }
}
public static class SearchSource
{
public String listId = null;
public String listName = null;
public String listShortName = null;
public Boolean isAffectedByListUpdate = null;
public String getListId() { return listId; }
public SearchSource setListId(String value) { this.listId = value; return this; }
public String getListName() { return listName; }
public SearchSource setListName(String value) { this.listName = value; return this; }
public String getListShortName() { return listShortName; }
public SearchSource setListShortName(String value) { this.listShortName = value; return this; }
public Boolean getIsAffectedByListUpdate() { return isAffectedByListUpdate; }
public SearchSource setIsAffectedByListUpdate(Boolean value) { this.isAffectedByListUpdate = value; return this; }
}
public static class ArrayOfSearchResultEntries extends ArrayList<SearchResultEntry>
{
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /peps/add HTTP/1.1
Host: api.sanctionssearch.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"request":{"subUserName":"String","type":"String","name":"String","country":"String","address":"String","dateOfBirth":"String","nationality":"String","reference":"String","excludeResults":false,"performSanctionsSearch":false,"dayOneSearch":false,"selectedLists":["String"],"linkedTo":[{"clientId":0,"id":0,"type":"String","subtype":"String","status":"String","description":"String","isArchived":false,"name":"String","date":"\/Date(-62135596800000-0000)\/"}]},"authentication":{"apiUserId":"String","apiUserKey":"String"}}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"data":{"linkedTo":[{"clientId":0,"id":0,"type":"String","subtype":"String","status":"String","description":"String","isArchived":false,"name":"String","date":"\/Date(-62135596800000-0000)\/"}],"searchRecord":{"id":0,"searchType":"String","dateSearched":"\/Date(-62135596800000-0000)\/","dateUpdated":"\/Date(-62135596800000-0000)\/","dateRenewal":"\/Date(-62135596800000-0000)\/","dateArchived":"\/Date(-62135596800000-0000)\/","isArchived":false,"numOfResults":0,"clientInResults":false,"clientNotInResults":false,"affectedByUpdate":false,"isDayOneSearch":false,"searchCriteria":{"name":"String","address":"String","country":"String","dateOfBirth":"String","nationality":"String","reference":"String"},"searchResults":{"results":[{"resultSimilarity":0,"resultResolved":false,"dateLastUpdated":"\/Date(-62135596800000-0000)\/","resultIsClient":false,"id":0,"type":"String","title":"String","forename":"String","middlename":"String","surname":"String","softDelete":false,"dateOfSoftDelete":"\/Date(-62135596800000-0000)\/","dateOfCapture":"\/Date(-62135596800000-0000)\/","dateOfBirth":"\/Date(-62135596800000-0000)\/","dateOfDeath":"\/Date(-62135596800000-0000)\/","yearOfBirth":0,"yearOfDeath":0,"gender":"String","homeTelephone":"String","businessTelephone":"String","mobileTelephone":"String","fax":"String","email":"String","nationality":"String","source":"String","category":"String","picture":"String","alternateTitle":"String","businessName":"String","description":"String","telephone":"String","website":"String","pepTier":0,"addresses":[{"addressLine1":"String","addressLine2":"String","addressLine3":"String","addressLine4":"String","town":"String","county":"String","postCode":"String","country":"String","isoCountry":"String","softDelete":false,"dateLastUpdated":"\/Date(-62135596800000-0000)\/"}],"aliases":[{"forename":"String","middleName":"String","surname":"String","softDelete":false,"dateOfSoftDelete":"\/Date(-62135596800000-0000)\/","dateLastUpdated":"\/Date(-62135596800000-0000)\/","title":"String","alternateTitle":"String","businessName":"String"}],"articles":[{"url":"String","originalUrl":"String","source":"String","dateOfCapture":"\/Date(-62135596800000-0000)\/","dateLastUpdated":"\/Date(-62135596800000-0000)\/","snippets":[{"title":"String","text":"String","adverseTerms":"String"}]}],"associations":[{"linkDescription":"String","softDelete":false,"dateLastUpdated":"\/Date(-62135596800000-0000)\/","fullName":"String"}],"businessAssociations":[{"linkDescription":"String","softDelete":false,"dateLastUpdated":"\/Date(-62135596800000-0000)\/","businessName":"String"}],"notes":[{"source":"String","notes":"String","softDelete":false,"dateLastUpdated":"\/Date(-62135596800000-0000)\/"}],"politicalPositions":[{"description":"String","from":"String","to":"String","country":"String","softDelete":false,"dateLastUpdated":"\/Date(-62135596800000-0000)\/"}]}]}},"includesSanctionsSearchRecord":false,"sanctionsSearchRecord":{"id":0,"searchType":"String","dateSearched":"\/Date(-62135596800000-0000)\/","dateUpdated":"\/Date(-62135596800000-0000)\/","dateArchived":"\/Date(-62135596800000-0000)\/","isArchived":false,"numOfResults":0,"clientInResults":false,"clientNotInResults":false,"affectedByUpdate":false,"searchCriteria":{"name":"String","address":"String","country":"String","dateOfBirth":"String","nationality":"String","reference":"String"},"searchResults":{"euResults":[{"resultStrength":0,"resultSimilarity":0,"resultResolved":false,"resultType":"String","dateUpdated":"\/Date(-62135596800000-0000)\/","addresses":[{"street":"String","city":"String","country":"String","postCode":"String","other":"String"}],"births":[{"date":"String","place":"String","country":"String"}],"citizenships":[{"country":"String"}],"names":[{"fullName":"String","gender":"String"}],"passports":[{"number":"String","country":"String"}]}],"hmtResults":[{"resultStrength":0,"resultSimilarity":0,"resultResolved":false,"resultType":"String","dateListed":"\/Date(-62135596800000-0000)\/","dateUpdated":"\/Date(-62135596800000-0000)\/","name1":"String","name2":"String","name3":"String","name4":"String","name5":"String","name6":"String","dateOfBirth":"String","countryOfBirth":"String","nationality":"String","address1":"String","address2":"String","address3":"String","address4":"String","address5":"String","address6":"String","postCode":"String","country":"String"}],"hmtUkraineResults":[{"resultStrength":0,"resultSimilarity":0,"resultResolved":false,"resultType":"String","dateListed":"\/Date(-62135596800000-0000)\/","dateUpdated":"\/Date(-62135596800000-0000)\/","name1":"String","name2":"String","name3":"String","name4":"String","name5":"String","name6":"String","dateOfBirth":"String","countryOfBirth":"String","nationality":"String","address1":"String","address2":"String","address3":"String","address4":"String","address5":"String","address6":"String","postCode":"String","country":"String"}],"ofacResults":[{"resultStrength":0,"resultSimilarity":0,"resultResolved":false,"resultType":"String","dateUpdated":"\/Date(-62135596800000-0000)\/","firstName":"String","lastName":"String","addresses":[{"address1":"String","address2":"String","address3":"String","city":"String","state":"String","postCode":"String","country":"String"}],"akas":[{"firstName":"String","lastName":"String","type":"String","strength":"String"}],"dateOfBirths":[{"dateOfBirth":"String"}],"nationalities":[{"country":"String"}],"placeOfBirths":[{"placeOfBirth":"String"}]}],"ofacConsolidatedResults":[{"resultStrength":0,"resultSimilarity":0,"resultResolved":false,"resultType":"String","dateUpdated":"\/Date(-62135596800000-0000)\/","firstName":"String","lastName":"String","addresses":[{"address1":"String","address2":"String","address3":"String","city":"String","state":"String","postCode":"String","country":"String"}],"akas":[{"firstName":"String","lastName":"String","type":"String","strength":"String"}],"dateOfBirths":[{"dateOfBirth":"String"}],"nationalities":[{"country":"String"}],"placeOfBirths":[{"placeOfBirth":"String"}]}],"dfatResults":[{"resultStrength":0,"resultSimilarity":0,"resultResolved":false,"resultType":"String","dateUpdated":"\/Date(-62135596800000-0000)\/","fullName":"String","address":"String","dateOfBirth":"String","placeOfBirth":"String","nationality":"String"}],"osfiResults":[{"resultStrength":0,"resultSimilarity":0,"resultResolved":false,"resultType":"String","dateUpdated":"\/Date(-62135596800000-0000)\/","fullName":"String","address":"String","dateOfBirth":"String","placeOfBirth":"String","nationality":"String"}],"canadianJusticeResults":[{"resultStrength":0,"resultSimilarity":0,"resultResolved":false,"resultType":"String","dateUpdated":"\/Date(-62135596800000-0000)\/","name":"String","dateOfBirth":"String","country":"String","refId":0}],"canadianSemaResults":[{"resultStrength":0,"resultSimilarity":0,"resultResolved":false,"resultType":"String","dateUpdated":"\/Date(-62135596800000-0000)\/","name":"String","dateOfBirth":"String","country":"String","schedule":"String","item":"String"}],"swissSecoResults":[{"searchResultId":0,"resultStrength":0,"resultSimilarity":0,"resultResolved":false,"resultType":"String","dateUpdated":"\/Date(-62135596800000-0000)\/","sanctionsListId":"String","sanctionsListName":"String","addresses":[{"searchResultAddressId":0,"type":"String","address1":"String","address2":"String","address3":"String","city":"String","county":"String","postCode":"String","country":"String"}],"datesOfBirth":[{"searchResultDateOfBirthId":0,"dateOfBirth":"String","year":0,"month":0,"day":0,"type":"String"}],"names":[{"searchResultNameId":0,"type":"String","title":"String","fullName":"String","resultSimilarity":0}],"nationalities":[{"searchResultNationalityId":0,"nationality":"String"}],"placesOfBirth":[{"searchResultPlaceOfBirthId":0,"placeOfBirth":"String","countryOfBirth":"String"}],"remarks":[{"searchResultRemarkId":0,"name":"String","description":"String"}]}]},"searchSources":[{"listId":"String","listName":"String","listShortName":"String","isAffectedByListUpdate":false}],"listSearchResults":[{"searchResultId":0,"resultStrength":0,"resultSimilarity":0,"resultResolved":false,"resultType":"String","dateUpdated":"\/Date(-62135596800000-0000)\/","sanctionsListId":"String","sanctionsListName":"String","addresses":[{"searchResultAddressId":0,"type":"String","address1":"String","address2":"String","address3":"String","city":"String","county":"String","postCode":"String","country":"String"}],"datesOfBirth":[{"searchResultDateOfBirthId":0,"dateOfBirth":"String","year":0,"month":0,"day":0,"type":"String"}],"names":[{"searchResultNameId":0,"type":"String","title":"String","fullName":"String","resultSimilarity":0}],"nationalities":[{"searchResultNationalityId":0,"nationality":"String"}],"placesOfBirth":[{"searchResultPlaceOfBirthId":0,"placeOfBirth":"String","countryOfBirth":"String"}],"remarks":[{"searchResultRemarkId":0,"name":"String","description":"String"}]}]},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}}