ofac_Search
Click here for a complete list of operations.
OFAC_Search
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 /serviceSearch.asmx HTTP/1.1 Host: ofac-analyzer.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://ofac_us/OFAC_Search" <?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> <OFAC_Search xmlns="http://ofac_us/"> <ofac_idF>int</ofac_idF> <name_word_1F>string</name_word_1F> <name_word_2F>string</name_word_2F> <name_word_3F>string</name_word_3F> <name_word_4F>string</name_word_4F> <name_word_5F>string</name_word_5F> <add_numF>string</add_numF> <add_streetF>string</add_streetF> <add_cityF>string</add_cityF> <add_st_provF>string</add_st_provF> <add_zipF>string</add_zipF> <add_countryF>string</add_countryF> <search_commentsF>string</search_commentsF> </OFAC_Search> </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> <OFAC_SearchResponse xmlns="http://ofac_us/"> <OFAC_SearchResult> <ofac_id>int</ofac_id> <search_key>int</search_key> <possible_matches>int</possible_matches> <search_date>string</search_date> </OFAC_SearchResult> </OFAC_SearchResponse> </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 /serviceSearch.asmx HTTP/1.1 Host: ofac-analyzer.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> <OFAC_Search xmlns="http://ofac_us/"> <ofac_idF>int</ofac_idF> <name_word_1F>string</name_word_1F> <name_word_2F>string</name_word_2F> <name_word_3F>string</name_word_3F> <name_word_4F>string</name_word_4F> <name_word_5F>string</name_word_5F> <add_numF>string</add_numF> <add_streetF>string</add_streetF> <add_cityF>string</add_cityF> <add_st_provF>string</add_st_provF> <add_zipF>string</add_zipF> <add_countryF>string</add_countryF> <search_commentsF>string</search_commentsF> </OFAC_Search> </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> <OFAC_SearchResponse xmlns="http://ofac_us/"> <OFAC_SearchResult> <ofac_id>int</ofac_id> <search_key>int</search_key> <possible_matches>int</possible_matches> <search_date>string</search_date> </OFAC_SearchResult> </OFAC_SearchResponse> </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 /serviceSearch.asmx/OFAC_Search?ofac_idF=string&name_word_1F=string&name_word_2F=string&name_word_3F=string&name_word_4F=string&name_word_5F=string&add_numF=string&add_streetF=string&add_cityF=string&add_st_provF=string&add_zipF=string&add_countryF=string&search_commentsF=string HTTP/1.1 Host: ofac-analyzer.com
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <ofac_resultsS xmlns="http://ofac_us/"> <ofac_id>int</ofac_id> <search_key>int</search_key> <possible_matches>int</possible_matches> <search_date>string</search_date> </ofac_resultsS>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /serviceSearch.asmx/OFAC_Search HTTP/1.1 Host: ofac-analyzer.com Content-Type: application/x-www-form-urlencoded Content-Length: length ofac_idF=string&name_word_1F=string&name_word_2F=string&name_word_3F=string&name_word_4F=string&name_word_5F=string&add_numF=string&add_streetF=string&add_cityF=string&add_st_provF=string&add_zipF=string&add_countryF=string&search_commentsF=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <ofac_resultsS xmlns="http://ofac_us/"> <ofac_id>int</ofac_id> <search_key>int</search_key> <possible_matches>int</possible_matches> <search_date>string</search_date> </ofac_resultsS>