Sanctions Search API: v1

<back to all web services

GetCompanySearch

Sanctions
The following routes are available for this service:
POST/sanctions/entity/getCreate a get a sanctions search for an entityThis will get a new sanctions search for an entity, such as a company, vessel, organisation, or group.
GetCompanySearch Parameters:
NameParameterData TypeRequiredDescription
AuthenticationbodyAuthenticationNo
IdbodylongNo
Authentication Parameters:
NameParameterData TypeRequiredDescription
ApiUserIdformstringYesThe API User ID that will authenticate your request
ApiUserKeyformstringYesThe API User Key that will authenticate your request
GetCompanySearchResponse Parameters:
NameParameterData TypeRequiredDescription
DataformGetCompanySearchDataNo
GetCompanySearchData Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
SearchRecordformSearchRecordNo
ResponseStatus Parameters:
NameParameterData TypeRequiredDescription
ErrorCodeformstringNo
MessageformstringNo
StackTraceformstringNo
ErrorsformArrayOfResponseErrorNo
ResponseError Parameters:
NameParameterData TypeRequiredDescription
ErrorCodeformstringNo
FieldNameformstringNo
MessageformstringNo
SearchRecord Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
SearchTypeformstringNo
DateSearchedformDateTimeNo
DateUpdatedformDateTimeNo
NumOfResultsformintNo
ClientInResultsformboolNo
ClientNotInResultsformboolNo
AffectedByUpdateformboolNo
SearchCriteriaformSearchCriteriaNo
SearchResultsformSearchResultsNo
SearchCriteria Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
DateOfBirthformstringNo
CountryOfBirthformstringNo
NationalityformstringNo
AddressformstringNo
SearchResults Parameters:
NameParameterData TypeRequiredDescription
HMTResultsformList<SearchResultHmTreasury>No
OfacResultsformList<SearchResultOfac>No
SearchResultHmTreasury Parameters:
NameParameterData TypeRequiredDescription
ResultStrengthformintNo
ResultSimilarityformdecimalNo
ResultResolvedformboolNo
ResultTypeformstringNo
DateListedformDateTimeNo
DateUpdatedformDateTimeNo
Name1formstringNo
Name2formstringNo
Name3formstringNo
Name4formstringNo
Name5formstringNo
Name6formstringNo
DateOfBirthformstringNo
CountryOfBirthformstringNo
NationalityformstringNo
Address1formstringNo
Address2formstringNo
Address3formstringNo
Address4formstringNo
Address5formstringNo
Address6formstringNo
PostCodeformstringNo
CountryformstringNo
SearchResultOfac Parameters:
NameParameterData TypeRequiredDescription
ResultStrengthformintNo
ResultSimilarityformdecimalNo
ResultResolvedformboolNo
ResultTypeformstringNo
DateUpdatedformDateTimeNo
FirstNameformstringNo
LastNameformstringNo
AddressesformList<SearchResultOfacAddress>No
AkasformList<SearchResultOfacAka>No
DateOfBirthsformList<SearchResultOfacDateOfBirth>No
NationalitiesformList<SearchResultOfacNationality>No
PlaceOfBirthsformList<SearchResultOfacPlaceOfBirth>No
SearchResultOfacAddress Parameters:
NameParameterData TypeRequiredDescription
Address1formstringNo
Address2formstringNo
Address3formstringNo
CityformstringNo
StateformstringNo
PostCodeformstringNo
CountryformstringNo
SearchResultOfacAka Parameters:
NameParameterData TypeRequiredDescription
FirstNameformstringNo
LastNameformstringNo
TypeformstringNo
StrengthformstringNo
SearchResultOfacDateOfBirth Parameters:
NameParameterData TypeRequiredDescription
DateOfBirthformstringNo
SearchResultOfacNationality Parameters:
NameParameterData TypeRequiredDescription
CountryformstringNo
SearchResultOfacPlaceOfBirth Parameters:
NameParameterData TypeRequiredDescription
PlaceOfBirthformstringNo

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 /sanctions/entity/get HTTP/1.1 
Host: api.sanctionssearch.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"Authentication":{"ApiUserId":"String","ApiUserKey":"String"},"Id":0}
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"}]},"SearchRecord":{"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"},"SearchResults":{"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"}],"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"}]}]}}}}