POST | /peps/get | Get a PEP search |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Request | body | GetPepSearchRequest | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Authentication | header, body | Authentication | Yes | The authentication credentials |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ApiUserId | header, body | string | Yes | The API User ID provided by us when you signed up to use our API |
ApiUserKey | header, body | string | Yes | The API User Key provided by us when you signed up to use our API |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
SubUserName | form | string | No | If the search was created against a single Sub User account, specify their username here |
OnlyShowUnresolvedResults | form | bool | No | If set to true, the response will exclude resolved search results, it will only include unresolved results |
Id | form | long | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Data | form | GetPepSearchData | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
LinkedTo | form | ArrayOfLinkedTo | No | |
SearchRecord | form | PepSearchRecord | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | The status of the response |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ErrorCode | form | string | No | |
Message | form | string | No | |
StackTrace | form | string | No | |
Errors | form | ArrayOfResponseError | No | |
Meta | form | Dictionary<string, string> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ErrorCode | form | string | No | |
FieldName | form | string | No | |
Message | form | string | No | |
Meta | form | Dictionary<string, string> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ClientId | form | int? | No | |
Id | form | long? | No | |
Type | form | string | No | |
Subtype | form | string | No | |
Status | form | string | No | |
Description | form | string | No | |
IsArchived | form | bool? | No | |
Name | form | string | No | |
Date | form | DateTime? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | long | No | |
SearchType | form | string | No | |
DateSearched | form | DateTime | No | |
DateUpdated | form | DateTime | No | |
DateRenewal | form | DateTime? | No | |
DateArchived | form | DateTime? | No | |
IsArchived | form | bool | No | |
NumOfResults | form | int | No | |
ClientInResults | form | bool | No | |
ClientNotInResults | form | bool | No | |
AffectedByUpdate | form | bool | No | |
IsDayOneSearch | form | bool | No | |
SearchCriteria | form | SearchCriteria | No | |
SearchResults | form | PepSearchResults | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Name | form | string | No | |
Address | form | string | No | |
Country | form | string | No | |
DateOfBirth | form | string | No | |
Nationality | form | string | No | |
Reference | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Results | form | List<PepSearchResult> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResultSimilarity | form | decimal | No | |
ResultResolved | form | bool | No | |
DateLastUpdated | form | DateTime | No | |
ResultIsClient | form | bool | No | |
Id | form | long | No | |
Type | form | string | No | |
Title | form | string | No | |
Forename | form | string | No | |
Middlename | form | string | No | |
Surname | form | string | No | |
SoftDelete | form | bool? | No | |
DateOfSoftDelete | form | DateTime? | No | |
DateOfCapture | form | DateTime? | No | |
DateOfBirth | form | DateTime? | No | |
DateOfDeath | form | DateTime? | No | |
YearOfBirth | form | int? | No | |
YearOfDeath | form | int? | No | |
Gender | form | string | No | |
HomeTelephone | form | string | No | |
BusinessTelephone | form | string | No | |
MobileTelephone | form | string | No | |
Fax | form | string | No | |
form | string | No | ||
Nationality | form | string | No | |
Source | form | string | No | |
Category | form | string | No | |
Picture | form | string | No | |
AlternateTitle | form | string | No | |
BusinessName | form | string | No | |
Description | form | string | No | |
Telephone | form | string | No | |
Website | form | string | No | |
PepTier | form | int? | No | |
Addresses | form | List<PepSearchResultAddress> | No | |
Aliases | form | List<PepSearchResultAlias> | No | |
Articles | form | List<PepSearchResultArticle> | No | |
Associations | form | List<PepSearchResultIndividualAssociation> | No | |
BusinessAssociations | form | List<PepSearchResultBusinessAssociation> | No | |
Notes | form | List<PepSearchResultNote> | No | |
PoliticalPositions | form | List<PepSearchResultPoliticalPosition> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
AddressLine1 | form | string | No | |
AddressLine2 | form | string | No | |
AddressLine3 | form | string | No | |
AddressLine4 | form | string | No | |
Town | form | string | No | |
County | form | string | No | |
PostCode | form | string | No | |
Country | form | string | No | |
ISOCountry | form | string | No | |
SoftDelete | form | bool? | No | |
DateLastUpdated | form | DateTime | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Forename | form | string | No | |
MiddleName | form | string | No | |
Surname | form | string | No | |
SoftDelete | form | bool? | No | |
DateOfSoftDelete | form | DateTime? | No | |
DateLastUpdated | form | DateTime | No | |
Title | form | string | No | |
AlternateTitle | form | string | No | |
BusinessName | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Url | form | string | No | |
OriginalUrl | form | string | No | |
Source | form | string | No | |
DateOfCapture | form | DateTime? | No | |
DateLastUpdated | form | DateTime | No | |
Snippets | form | List<PepSearchResultArticleSnippet> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Title | form | string | No | |
Text | form | string | No | |
AdverseTerms | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
LinkDescription | form | string | No | |
SoftDelete | form | bool? | No | |
DateLastUpdated | form | DateTime | No | |
FullName | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
LinkDescription | form | string | No | |
SoftDelete | form | bool? | No | |
DateLastUpdated | form | DateTime | No | |
BusinessName | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Source | form | string | No | |
Notes | form | string | No | |
SoftDelete | form | bool? | No | |
DateLastUpdated | form | DateTime | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Description | form | string | No | |
From | form | string | No | |
To | form | string | No | |
Country | form | string | No | |
SoftDelete | form | bool? | No | |
DateLastUpdated | form | DateTime | No |
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/get HTTP/1.1
Host: api.sanctionssearch.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"request":{"subUserName":"String","onlyShowUnresolvedResults":false,"id":0},"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)\/"}]}]}},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}}