Sanctions Search API: v1

<back to all web services

AddCompanySearch

Create a new sanctions search for an entity

Create a new sanctions search for an entityThis will create a new sanctions search for an entity, such as a company, vessel, organisation, or group.
AddCompanySearch Parameters:
NameParameterData TypeRequiredDescription
AuthenticationbodyAuthenticationYesAuthentication object
RequestbodySearchCompanyRequestYesRequest object
Authentication Parameters:
NameParameterData TypeRequiredDescription
ApiUserIdformstringYesThe API User ID that will authenticate your request
ApiUserKeyformstringYesThe API User Key that will authenticate your request
SearchCompanyRequest Parameters:
NameParameterData TypeRequiredDescription
CompanyNameformstringYesThe name of the entity that is being searched.
CountryformstringNoThe country where the entity is registered.
AddressformstringNoThe address where the entity is registered.
SelectedSanctionsListsformArrayOfSanctionsListsYesArray of sanctions lists to be included in the search. At least one is required.
AddCompanySearchResponse Parameters:
NameParameterData TypeRequiredDescription
DataformAddCompanySearchDataYes
AddCompanySearchData 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 .soap11 suffix or ?format=soap11

HTTP + SOAP11

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

POST /soap11 HTTP/1.1 
Host: api.sanctionssearch.com 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: AddCompanySearch

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>

<AddCompanySearch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <Authentication>
    <ApiUserId>String</ApiUserId>
    <ApiUserKey>String</ApiUserKey>
  </Authentication>
  <Request>
    <Address>String</Address>
    <CompanyName>String</CompanyName>
    <Country>String</Country>
    <SelectedSanctionsLists>
      <SanctionsListId>String</SanctionsListId>
    </SelectedSanctionsLists>
  </Request>
</AddCompanySearch>

</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>

<AddCompanySearchResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
  <Data>
    <ResponseStatus>
      <ErrorCode>String</ErrorCode>
      <Message>String</Message>
      <StackTrace>String</StackTrace>
      <Errors>
        <ResponseError>
          <ErrorCode>String</ErrorCode>
          <FieldName>String</FieldName>
          <Message>String</Message>
        </ResponseError>
      </Errors>
    </ResponseStatus>
    <SearchRecord>
      <AffectedByUpdate>false</AffectedByUpdate>
      <ClientInResults>false</ClientInResults>
      <ClientNotInResults>false</ClientNotInResults>
      <DateSearched>0001-01-01T00:00:00</DateSearched>
      <DateUpdated>0001-01-01T00:00:00</DateUpdated>
      <Id>0</Id>
      <NumOfResults>0</NumOfResults>
      <SearchCriteria>
        <Address>String</Address>
        <CountryOfBirth>String</CountryOfBirth>
        <DateOfBirth>String</DateOfBirth>
        <Name>String</Name>
        <Nationality>String</Nationality>
      </SearchCriteria>
      <SearchResults>
        <HMTResults>
          <SearchResultHmTreasury>
            <Address1>String</Address1>
            <Address2>String</Address2>
            <Address3>String</Address3>
            <Address4>String</Address4>
            <Address5>String</Address5>
            <Address6>String</Address6>
            <Country>String</Country>
            <CountryOfBirth>String</CountryOfBirth>
            <DateListed>0001-01-01T00:00:00</DateListed>
            <DateOfBirth>String</DateOfBirth>
            <DateUpdated>0001-01-01T00:00:00</DateUpdated>
            <Name1>String</Name1>
            <Name2>String</Name2>
            <Name3>String</Name3>
            <Name4>String</Name4>
            <Name5>String</Name5>
            <Name6>String</Name6>
            <Nationality>String</Nationality>
            <PostCode>String</PostCode>
            <ResultResolved>false</ResultResolved>
            <ResultSimilarity>0</ResultSimilarity>
            <ResultStrength>0</ResultStrength>
            <ResultType>String</ResultType>
          </SearchResultHmTreasury>
        </HMTResults>
        <OfacResults>
          <SearchResultOfac>
            <Addresses>
              <SearchResultOfacAddress>
                <Address1>String</Address1>
                <Address2>String</Address2>
                <Address3>String</Address3>
                <City>String</City>
                <Country>String</Country>
                <PostCode>String</PostCode>
                <State>String</State>
              </SearchResultOfacAddress>
            </Addresses>
            <Akas>
              <SearchResultOfacAka>
                <FirstName>String</FirstName>
                <LastName>String</LastName>
                <Strength>String</Strength>
                <Type>String</Type>
              </SearchResultOfacAka>
            </Akas>
            <DateOfBirths>
              <SearchResultOfacDateOfBirth>
                <DateOfBirth>String</DateOfBirth>
              </SearchResultOfacDateOfBirth>
            </DateOfBirths>
            <DateUpdated>0001-01-01T00:00:00</DateUpdated>
            <FirstName>String</FirstName>
            <LastName>String</LastName>
            <Nationalities>
              <SearchResultOfacNationality>
                <Country>String</Country>
              </SearchResultOfacNationality>
            </Nationalities>
            <PlaceOfBirths>
              <SearchResultOfacPlaceOfBirth>
                <PlaceOfBirth>String</PlaceOfBirth>
              </SearchResultOfacPlaceOfBirth>
            </PlaceOfBirths>
            <ResultResolved>false</ResultResolved>
            <ResultSimilarity>0</ResultSimilarity>
            <ResultStrength>0</ResultStrength>
            <ResultType>String</ResultType>
          </SearchResultOfac>
        </OfacResults>
      </SearchResults>
      <SearchType>String</SearchType>
    </SearchRecord>
  </Data>
</AddCompanySearchResponse>

</soap:Body>
</soap:Envelope>