apiSearch
Click here for a complete list of operations.
apiSearch
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /apiSearch.asmx HTTP/1.1 Host: api.ofacanalyzer.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://ofac_us/apiSearch" <?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> <apiSearch xmlns="http://ofac_us/"> <ofac_idF>int</ofac_idF> <name_word_1>string</name_word_1> <name_word_2>string</name_word_2> <name_word_3>string</name_word_3> <name_word_4>string</name_word_4> <name_word_5>string</name_word_5> <add_Street>string</add_Street> <add_city>string</add_city> <add_st_prov>string</add_st_prov> <add_zip>string</add_zip> <add_country>string</add_country> <searchLogic>string</searchLogic> <listsToSearch>string</listsToSearch> <search_comments>string</search_comments> </apiSearch> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 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> <apiSearchResponse xmlns="http://ofac_us/"> <apiSearchResult> <ofac_id>int</ofac_id> <search_key>int</search_key> <possible_matches>int</possible_matches> <search_date>string</search_date> </apiSearchResult> </apiSearchResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /apiSearch.asmx HTTP/1.1 Host: api.ofacanalyzer.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <apiSearch xmlns="http://ofac_us/"> <ofac_idF>int</ofac_idF> <name_word_1>string</name_word_1> <name_word_2>string</name_word_2> <name_word_3>string</name_word_3> <name_word_4>string</name_word_4> <name_word_5>string</name_word_5> <add_Street>string</add_Street> <add_city>string</add_city> <add_st_prov>string</add_st_prov> <add_zip>string</add_zip> <add_country>string</add_country> <searchLogic>string</searchLogic> <listsToSearch>string</listsToSearch> <search_comments>string</search_comments> </apiSearch> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <apiSearchResponse xmlns="http://ofac_us/"> <apiSearchResult> <ofac_id>int</ofac_id> <search_key>int</search_key> <possible_matches>int</possible_matches> <search_date>string</search_date> </apiSearchResult> </apiSearchResponse> </soap12:Body> </soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /apiSearch.asmx/apiSearch?ofac_idF=string&name_word_1=string&name_word_2=string&name_word_3=string&name_word_4=string&name_word_5=string&add_Street=string&add_city=string&add_st_prov=string&add_zip=string&add_country=string&searchLogic=string&listsToSearch=string&search_comments=string HTTP/1.1 Host: api.ofacanalyzer.com
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <searchResults xmlns="http://ofac_us/"> <ofac_id>int</ofac_id> <search_key>int</search_key> <possible_matches>int</possible_matches> <search_date>string</search_date> </searchResults>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /apiSearch.asmx/apiSearch HTTP/1.1 Host: api.ofacanalyzer.com Content-Type: application/x-www-form-urlencoded Content-Length: length ofac_idF=string&name_word_1=string&name_word_2=string&name_word_3=string&name_word_4=string&name_word_5=string&add_Street=string&add_city=string&add_st_prov=string&add_zip=string&add_country=string&searchLogic=string&listsToSearch=string&search_comments=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <searchResults xmlns="http://ofac_us/"> <ofac_id>int</ofac_id> <search_key>int</search_key> <possible_matches>int</possible_matches> <search_date>string</search_date> </searchResults>