Sanctions Search API: v1

<back to all web services

GetListSearches

Sanctions
The following routes are available for this service:
POST/searches/listGet all sanctions searches
GetListSearches Parameters:
NameParameterData TypeRequiredDescription
AuthenticationbodyAuthenticationNo
PagebodyintNo
SortOrderbodystringNo
NameSearchbodystringNo
Authentication Parameters:
NameParameterData TypeRequiredDescription
ApiUserIdformstringYesThe API User ID that will authenticate your request
ApiUserKeyformstringYesThe API User Key that will authenticate your request
GetListSearchesResponse Parameters:
NameParameterData TypeRequiredDescription
DataformGetListSearchesDataNo
GetListSearchesData Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
TotalSearchRecordsformintNo
CurrentPageNumformintNo
MaxPageNumformintNo
SearchRecordsformArrayOfSearchListItemNo
ResponseStatus Parameters:
NameParameterData TypeRequiredDescription
ErrorCodeformstringNo
MessageformstringNo
StackTraceformstringNo
ErrorsformArrayOfResponseErrorNo
ResponseError Parameters:
NameParameterData TypeRequiredDescription
ErrorCodeformstringNo
FieldNameformstringNo
MessageformstringNo
SearchListItem Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
SearchTypeformstringNo
DateSearchedformDateTimeNo
DateUpdatedformDateTimeNo
NumOfResultsformintNo
ClientInResultsformboolNo
ClientNotInResultsformboolNo
AffectedByUpdateformboolNo
SearchCriteriaformSearchCriteriaNo
SearchCriteria Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
DateOfBirthformstringNo
CountryOfBirthformstringNo
NationalityformstringNo
AddressformstringNo

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

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /searches/list HTTP/1.1 
Host: api.sanctionssearch.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"Authentication":{"ApiUserId":"String","ApiUserKey":"String"},"Page":0,"SortOrder":"String","NameSearch":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Data":{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String"}]},"TotalSearchRecords":0,"CurrentPageNum":0,"MaxPageNum":0,"SearchRecords":[{"Id":0,"SearchType":"String","DateSearched":"\/Date(-62135596800000-0000)\/","DateUpdated":"\/Date(-62135596800000-0000)\/","NumOfResults":0,"ClientInResults":false,"ClientNotInResults":false,"AffectedByUpdate":false,"SearchCriteria":{"Name":"String","DateOfBirth":"String","CountryOfBirth":"String","Nationality":"String","Address":"String"}}]}}