{"id":3475,"date":"2022-11-11T13:14:12","date_gmt":"2022-11-11T13:14:12","guid":{"rendered":"https:\/\/serviceobjects.wpaladdin.com\/?page_id=3475"},"modified":"2022-12-14T22:08:22","modified_gmt":"2022-12-14T22:08:22","slug":"ev3-rest","status":"publish","type":"page","link":"https:\/\/test.serviceobjects.com\/docs\/dots-email-validation-3\/ev3-code-snippets-and-sample-code\/ev3-rest\/","title":{"rendered":"EV3 &#8211; REST"},"content":{"rendered":"\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-create-block-tabs\"><ul class=\"tab-labels\" role=\"tablist\" aria-label=\"tabbed content\"><li class=\"tab-label active\" role=\"tab\">C#<\/li><li class=\"tab-label\" role=\"tab\">Java<\/li><li class=\"tab-label\" role=\"tab\">PHP<\/li><li class=\"tab-label\" role=\"tab\">RoR <\/li><li class=\"tab-label\" role=\"tab\">Python <\/li><li class=\"tab-label\" role=\"tab\">ColdFusion <\/li><li class=\"tab-label\" role=\"tab\">VB <\/li><li class=\"tab-label\" role=\"tab\">TSQL <\/li><\/ul><div class=\"tab-content\">\n<div class=\"wp-block-create-block-tab tab-panel\" role=\"tabpanel\">\n<p><strong>Email Validation C# Code Snippet<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"csharp\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"Email Validation C# Code Snippet\" data-enlighter-group=\"\">EV3Response result = null;\nstring mainURL = \"https:\/\/trial.serviceobjects.com\/ev3\/web.svc\/json\/ValidateEmailInfo?\" + \"EmailAddress=\" + email + \"&amp;AllowCorrections=\" + allowcorrections + \"&amp;Timeout=\" + timeout + \"&amp;LicenseKey=\" + licenseKey;\nstring backupURL = \"https:\/\/trial.serviceobjects.com\/ev3\/web.svc\/json\/ValidateEmailInfo?\" + \"EmailAddress=\" + email + \"&amp;AllowCorrections=\" + allowcorrections + \"&amp;Timeout=\" + timeout + \"&amp;LicenseKey=\" + licenseKey;\ntry\n{\n    HttpWebRequest request = WebRequest.Create(mainURL) as HttpWebRequest;\n    request.Timeout = 5000;\/\/timeout for get operation\n    using (HttpWebResponse response = request.GetResponse() as HttpWebResponse)\n    {\n        if (response.StatusCode != HttpStatusCode.OK)\n        {\n            throw new Exception(String.Format(\"Server error (HTTP {0}: {1}).\",response.StatusCode,response.StatusDescription));\n        }\n        \/\/parse response\n        DataContractJsonSerializer jsonSerializer = new DataContractJsonSerializer(typeof(EV3Response));\n        object objResponse = jsonSerializer.ReadObject(response.GetResponseStream());\n        result = objResponse as EV3Response;\n    }\n}\ncatch (Exception e)\n{   \/\/ERROR IN MAIN URL - USING BACKUP\n    HttpWebRequest request = WebRequest.Create(backupURL) as HttpWebRequest;\n    request.Timeout = 5000;\/\/timeout for get operation\n    using (HttpWebResponse response = request.GetResponse() as HttpWebResponse)\n    {\n        if (response.StatusCode != HttpStatusCode.OK)\n        {\n            throw new Exception(String.Format(\"Server error (HTTP {0}: {1}).\",response.StatusCode,response.StatusDescription));\n        }\n        \/\/parse response\n        DataContractJsonSerializer jsonSerializer = new DataContractJsonSerializer(typeof(EV3Response));\n        object objResponse = jsonSerializer.ReadObject(response.GetResponseStream());\n        result = objResponse as EV3Response;\n    }\n}<\/pre>\n<\/div>\n\n\n\n<div class=\"wp-block-create-block-tab tab-panel\" role=\"tabpanel\">\n<p><strong>Email Validation 3 Java Code Snippet<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"java\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ValidateEmailResponse.Error error = null;\nValidateEmailResponse.ValidateEmailInfo info = null;\ntry {\n  \n    String email = request.getParameter(\"iEmail\");\n    String allowcorrections = request.getParameter(\"iAllowCorrections\");\n    String timeout = request.getParameter(\"iTimeout\");\n    String licenseKey = request.getParameter(\"iKey\");\n  \n    EV3RestClient EV3Client = new EV3RestClient();\n    ValidateEmailResponse result = EV3Client.ValidateEmailResponse(email, allowcorrections, timeout, licenseKey);\n    if (result != null) {\n        error = result.error;\n        info = result.ValidateEmailInfo;\n    }<\/pre>\n<\/div>\n\n\n\n<div class=\"wp-block-create-block-tab tab-panel\" role=\"tabpanel\">\n<p><strong><strong>Email Validation 3 PHP Code Snippet<\/strong><\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"php\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">\/\/ variable cleanup before generating url\n$Email = trim($Email);\n$AllowCorrections = trim($AllowCorrections);\n$Timeout = trim($Timeout);\n$LicenseKey = trim($LicenseKey);\n  \n  \n$URL = \"https:\/\/trial.serviceobjects.com\/ev3\/web.svc\/json\/ValidateEmailInfo?EmailAddress=\".urlencode($Email).\"&amp;AllowCorrections=\".urlencode($AllowCorrections).\"&amp;Timeout=\".urlencode($Timeout).\"&amp;LicenseKey=\".urlencode($LicenseKey);\n  \n\/\/use backup url once given purchased license key\n$backupURL = \"https:\/\/trial.serviceobjects.com\/ev3\/web.svc\/json\/ValidateEmailInfo?EmailAddress=\".urlencode($Email).\"&amp;AllowCorrections=\".urlencode($AllowCorrections).\"&amp;Timeout=\".urlencode($Timeout).\"&amp;LicenseKey=\".urlencode($LicenseKey);\n  \n  \n    \/\/ Get cURL resource\n    $curl = curl_init();\n    curl_setopt_array($curl, array(CURLOPT_RETURNTRANSFER =&gt; 1, CURLOPT_URL =&gt; $URL, CURLOPT_USERAGENT =&gt; 'Service Objects Email Validation 3'));\n    curl_setopt($curl, CURLOPT_TIMEOUT, 50); \/\/timeout in seconds\n    \/\/ Send the request &amp; save response to $resp\n    $resp = curl_exec($curl);\n      \n    \/\/ Close request to clear up some resources\n    if($resp == false)\n    {\n        echo \"IN back up block\";\n        curl_setopt_array($curl, array(CURLOPT_RETURNTRANSFER =&gt; 1, CURLOPT_URL =&gt; $backupURL, CURLOPT_USERAGENT =&gt; 'Service Objects Email Validation 3'));\n        curl_setopt($curl, CURLOPT_TIMEOUT, 50); \/\/timeout in seconds\n        \/\/ Send the request &amp; save response to $resp\n        $resp = curl_exec($curl);\n        if($resp == false)\n        {\n            echo \"&lt;b&gt; Both rest calls failed &lt;\/b&gt;\";\n            curl_close($curl);\n            return;\n        }\n      \n      \n    }\ncurl_close($curl);<\/pre>\n<\/div>\n\n\n\n<div class=\"wp-block-create-block-tab tab-panel\" role=\"tabpanel\">\n<p><strong><strong><strong>Email Validation 3 RoR Code Snippet<\/strong><\/strong><\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"ruby\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">#This sets the default timeout for HTTParty get operation. This must be set in order to use the gem\n    default_timeout = 10\n  \n    licensekey = @request.licensekey\n    timeout = @request.timeout\n    allowcorrections = @request.allowcorrections\n    email = @request.email\n    #Checks the users input and sets values equal to an underscore if the user entered nil.\n    #These can be changed to whatever your application might need.\n    email = \"\" if @request.email == nil\n    timeout = \"\" if @request.timeout == nil\n    allowcorrections = \"\" if @request.allowcorrections == nil\n    licensekey = \"\" if @request.licensekey == nil\n  \n   #Set Primary and Backup URLs as needed\n    primaryURL = URI.encode(\"https:\/\/trial.serviceobjects.com\/ev3\/web.svc\/json\/ValidateEmailAddress?EmailAddress=\" + email + \"&amp;AllowCorrections=\" + allowcorrections + \"&amp;Timeout=\" + timeout + \"&amp;LicenseKey=\" + licensekey )\n    backupURL = URI.encode(\"https:\/\/trial.serviceobjects.com\/ev3\/web.svc\/json\/ValidateEmailAddress?EmailAddress=\" + email + \"&amp;AllowCorrections=\" + allowcorrections + \"&amp;Timeout=\" + timeout + \"&amp;LicenseKey=\" + licensekey )\n     \n   #These are set to access the hash that is returned\n    @validateemailresponse = \"ValidateEmailResponse\"\n    @validateemailinfo = \"ValidateEmailInfo\"\n    @error = \"Error\"\n  \n    #Begins the call the RESTful web service\n    begin\n      response = HTTParty.get(primaryURL, timeout: default_timeout)\n      #processes the response to display to the screen\n        \n      #Passes the response from HTTParty and the hash key values to this method\n      processresults(response)\n     rescue StandardError =&gt; e\n          begin\n          #uses the backupURl in the event that the service encountered an error\n          response = HTTParty.get(backupURL, timeout: default_timeout)\n          \n        #processes the response returned from using the backupURL\n         processresults(response)\n  \n        #If the backup url railed this will raise an error and display the\n        #error message returned from the HTTParty gem.\n          rescue StandardError =&gt; error\n          end\n    end\nend\n  private\n    def processresults(response) \n    #Processes Error Response from rest Client   \n    #Processes Valid response from rest client \n   end<\/pre>\n<\/div>\n\n\n\n<div class=\"wp-block-create-block-tab tab-panel\" role=\"tabpanel\">\n<p><strong><strong><strong><strong>Email Validation 3 Python Code Snippet<\/strong><\/strong><\/strong><\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">mEmailAddress =  EmailAddress.get()\nif mEmailAddress is None or  mEmailAddress == \"\":\n     mEmailAddress = \" \"\nmAllowCorrections =  AllowCorrections.get()\nif mAllowCorrections is None or  mAllowCorrections == \"\":\n     mAllowCorrections = \" \"\nmTimeout =  Timeout.get()\nif mTimeout is None or  mTimeout == \"\":\n     mTimeout = \" \"\nmLicenseKey = LicenseKey.get()\nif mLicenseKey is None or mLicenseKey == \"\":\n    mLicenseKey = \" \"\n#Set the primary and backup URL as needed.\nprimaryURL = 'https:\/\/trial.serviceobjects.com\/ev3\/web.svc\/xml\/ValidateEmailAddress?'\nbackupURL = 'https:\/\/trial.serviceobjects.com\/ev3\/web.svc\/xml\/ValidateEmailAddress?'\n#The\n Requests package allows the user to format the path parameters like so\ninstead of having to manually insert them into the URL\ninputs = {'EmailAddress': mEmailAddress, 'AllowCorrections': mAllowCorrections, 'Timeout': mTimeout, 'LicenseKey': mLicenseKey}\ntry:\n    result = requests.get(primaryURL, params=inputs)\n    #Parses the XML response from the service into a python dictionary type\n    outputs = xmltodict.parse(result.content)\n    #checks the output for Errors and displays the info accordingly\n    if 'Error' in outputs['ValidateEmailResponse']:\n        #loops through the response from the service and prints the values to the screen.\n        for key, value in outputs['ValidateEmailResponse']['Error'].iteritems():\n            Label(swin.window, text=str(key) + \" : \" + str(value)).pack()\n    else:\n        for key, value in outputs['ValidateEmailResponse']['ValidateEmailInfo'].iteritems():\n            Label(swin.window, text=str(key) + \" : \" + str(value)).pack()<\/pre>\n<\/div>\n\n\n\n<div class=\"wp-block-create-block-tab tab-panel\" role=\"tabpanel\">\n<p><strong><strong><strong><strong><strong>Email Validation 3 ColdFusion Code Snippet<\/strong><\/strong><\/strong><\/strong><\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"xml\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;!--Makes Request to web service ---&gt;\n&lt;cfIf isDefined(\"form.Action\") AND Action neq \"\"  &gt;\n    &lt;cftry&gt;\n        &lt;cfset primaryURL = \"https:\/\/trial.serviceobjects.com\/ev3\/web.svc\/xml\/ValidateEmailAddress?EmailAddress=#EmailAddress#&amp;AllowCorrections=#AllowCorrections#&amp;Timeout=#Timeout#&amp;LicenseKey=#LicenseKey#\"&gt;\n        &lt;cfhttp url=\"#primaryURL#\" method=\"get\" result=\"response\"&gt;\n        &lt;cfset outputs = XmlParse(response.FileContent)&gt;\n    &lt;cfcatch &gt;\n        &lt;cftry&gt;\n            &lt;cfset backupURL = \"https:\/\/trial.serviceobjects.com\/ev3\/web.svc\/xml\/ValidateEmailAddress?EmailAddress=#EmailAddress#&amp;AllowCorrections=#AllowCorrections#&amp;Timeout=#Timeout#&amp;LicenseKey=#LicenseKey#\"&gt;\n            &lt;cfhttp url=\"#backupURL#\" method=\"get\" result=\"response\"&gt;\n            &lt;cfset outputs = XmlParse(outputs.FileContent)&gt;              \n            &lt;cfcatch &gt;\n                &lt;cfoutput &gt;\n                    The Following Error Occured: #response.StatusCode#\n                &lt;\/cfoutput&gt;\n            &lt;\/cfcatch&gt;\n        &lt;\/cftry&gt;\n    &lt;\/cfcatch&gt;\n    &lt;\/cftry&gt;\n&lt;\/cfif&gt;<\/pre>\n<\/div>\n\n\n\n<div class=\"wp-block-create-block-tab tab-panel\" role=\"tabpanel\">\n<p><strong><strong><strong><strong><strong><strong>Email Validation 3 VB Code Snippet<\/strong><\/strong><\/strong><\/strong><\/strong><\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"visualbasic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">email = Me.EmailAddress.Text\nlicensekey = Me.LicenseKey.Text\nallowcorrections = Me.AllowCorrections.Text\ntimeout = Me.Timeout.Text\nTry\n    'encodes the URLs for the get Call. Set the primary and back urls as necessary\n    Dim primaryurl As String = \"https:\/\/trial.serviceobjects.com\/ev3\/web.svc\/xml\/ValidateEmailAddress?EmailAddress=\" &amp; email + \"&amp;AllowCorrections=\" + allowcorrections + \"&amp;Timeout=\" + timeout + \"&amp;LicenseKey=\" &amp; licensekey\n    Dim backupurl As String = \"https:\/\/trial.serviceobjects.com\/ev3\/web.svc\/xml\/ValidateEmailAddress?EmailAddress=\" &amp; email + \"&amp;AllowCorrections=\" + allowcorrections + \"&amp;Timeout=\" + timeout + \"&amp;LicenseKey=\" &amp; licensekey\n    Dim wsresponse As EV3Response.ValidateEmailResponse = httpGet(primaryurl)\n  \n    'checks if a response was returned from the service, uses the backup url if response is null or a fatal error occured.\n    If wsresponse Is Nothing OrElse (wsresponse.[Error] IsNot Nothing AndAlso wsresponse.[Error].TypeCode = \"3\") Then\n        wsresponse = httpGet(backupurl)\n    End If\n    If wsresponse.[Error] IsNot Nothing Then\n        ProcessErrorResponse(wsresponse.[Error])\n    Else\n        ProcessSuccessfulResponse(wsresponse)\n    End If\nCatch ex As Exception\n    'Displays the relevant error mesasge if both backup and primary urls failed.\n    resultsLabel.Text = ex.Message\n    resultsLabel.Visible = True\nEnd Try<\/pre>\n<\/div>\n\n\n\n<div class=\"wp-block-create-block-tab tab-panel\" role=\"tabpanel\">\n<p><strong><strong><strong><strong><strong><strong><strong>Email Validation 3 TSQL Code Snippet<\/strong><\/strong><\/strong><\/strong><\/strong><\/strong><\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">--If a production key is purchased, this will execute the failover\nIF @isLiveKey = 1\nBEGIN\n    SET @sUrl = 'https:\/\/trial.serviceobjects.com\/ev3\/web.svc\/xml\/ValidateEmailAddress?EmailAddress=' + @email + '&amp;AllowCorrections=' + @allowcorrections + '&amp;Timeout=' + @timeout + '&amp;LicenseKey=' + @key\n    EXEC sp_OACreate 'MSXML2.ServerXMLHttp', @obj OUT\n    EXEC sp_OAMethod @obj, 'Open', NULL, 'Get', @sUrl, false\n    EXEC sp_OAMethod @obj, 'send'\n    EXEC sp_OAGetProperty @obj, 'responseText', @response OUT\n              \n    --Checks the Response for a fatal error or if null.\n    IF @response IS NULL\n    BEGIN\n        SET @sBackupUrl = 'https:\/\/trial.serviceobjects.com\/ev3\/web.svc\/xml\/ValidateEmailAddress?EmailAddress=' + @email + '&amp;AllowCorrections=' + @allowcorrections + '&amp;Timeout=' + @timeout + '&amp;LicenseKey=' + @key\n        EXEC sp_OACreate 'MSXML2.ServerXMLHttp', @obj OUT\n        EXEC sp_OAMethod @obj, 'Open', NULL, 'Get', @sBackupUrl, false\n        EXEC sp_OAMethod @obj, 'send'\n        EXEC sp_OAGetProperty @obj, 'responseText', @response OUT\n    END\nEND<\/pre>\n<\/div>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"parent":3228,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3475","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>EV3 - REST<\/title>\n<meta name=\"description\" content=\"C#JavaPHPRoR Python ColdFusion VB TSQL Email Validation C# Code Snippet EV3Response result = null; string mainURL =\" \/>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"EV3 - REST\" \/>\n<meta property=\"og:description\" content=\"C#JavaPHPRoR Python ColdFusion VB TSQL Email Validation C# Code Snippet EV3Response result = null; string mainURL =\" \/>\n<meta property=\"og:url\" content=\"https:\/\/test.serviceobjects.com\/docs\/dots-email-validation-3\/ev3-code-snippets-and-sample-code\/ev3-rest\/\" \/>\n<meta property=\"og:site_name\" content=\"Service Objects | Contact, Phone, Email Verification | Data Quality Services\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-14T22:08:22+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/dots-email-validation-3\/ev3-code-snippets-and-sample-code\/ev3-rest\/\",\"url\":\"https:\/\/test.serviceobjects.com\/docs\/dots-email-validation-3\/ev3-code-snippets-and-sample-code\/ev3-rest\/\",\"name\":\"EV3 - REST\",\"isPartOf\":{\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/#website\"},\"datePublished\":\"2022-11-11T13:14:12+00:00\",\"dateModified\":\"2022-12-14T22:08:22+00:00\",\"description\":\"C#JavaPHPRoR Python ColdFusion VB TSQL Email Validation C# Code Snippet EV3Response result = null; string mainURL =\",\"breadcrumb\":{\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/dots-email-validation-3\/ev3-code-snippets-and-sample-code\/ev3-rest\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/test.serviceobjects.com\/docs\/dots-email-validation-3\/ev3-code-snippets-and-sample-code\/ev3-rest\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/dots-email-validation-3\/ev3-code-snippets-and-sample-code\/ev3-rest\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/test.serviceobjects.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DOTS Email Validation 3\",\"item\":\"https:\/\/test.serviceobjects.com\/docs\/dots-email-validation-3\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"EV3 &#8211; Code Snippets and Sample Code\",\"item\":\"https:\/\/test.serviceobjects.com\/docs\/dots-email-validation-3\/ev3-code-snippets-and-sample-code\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"EV3 &#8211; REST\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/#website\",\"url\":\"https:\/\/test.serviceobjects.com\/docs\/\",\"name\":\"Service Objects | Contact, Phone, Email Verification | Data Quality Services\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/test.serviceobjects.com\/docs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/#organization\",\"name\":\"Service Objects | Contact, Phone, Email Verification | Data Quality Services\",\"url\":\"https:\/\/test.serviceobjects.com\/docs\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/test.serviceobjects.com\/docs\/wp-content\/uploads\/2022\/08\/SO-logo-2560px-transparent.png\",\"contentUrl\":\"https:\/\/test.serviceobjects.com\/docs\/wp-content\/uploads\/2022\/08\/SO-logo-2560px-transparent.png\",\"width\":2560,\"height\":1440,\"caption\":\"Service Objects | Contact, Phone, Email Verification | Data Quality Services\"},\"image\":{\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"EV3 - REST","description":"C#JavaPHPRoR Python ColdFusion VB TSQL Email Validation C# Code Snippet EV3Response result = null; string mainURL =","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"EV3 - REST","og_description":"C#JavaPHPRoR Python ColdFusion VB TSQL Email Validation C# Code Snippet EV3Response result = null; string mainURL =","og_url":"https:\/\/test.serviceobjects.com\/docs\/dots-email-validation-3\/ev3-code-snippets-and-sample-code\/ev3-rest\/","og_site_name":"Service Objects | Contact, Phone, Email Verification | Data Quality Services","article_modified_time":"2022-12-14T22:08:22+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/test.serviceobjects.com\/docs\/dots-email-validation-3\/ev3-code-snippets-and-sample-code\/ev3-rest\/","url":"https:\/\/test.serviceobjects.com\/docs\/dots-email-validation-3\/ev3-code-snippets-and-sample-code\/ev3-rest\/","name":"EV3 - REST","isPartOf":{"@id":"https:\/\/test.serviceobjects.com\/docs\/#website"},"datePublished":"2022-11-11T13:14:12+00:00","dateModified":"2022-12-14T22:08:22+00:00","description":"C#JavaPHPRoR Python ColdFusion VB TSQL Email Validation C# Code Snippet EV3Response result = null; string mainURL =","breadcrumb":{"@id":"https:\/\/test.serviceobjects.com\/docs\/dots-email-validation-3\/ev3-code-snippets-and-sample-code\/ev3-rest\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/test.serviceobjects.com\/docs\/dots-email-validation-3\/ev3-code-snippets-and-sample-code\/ev3-rest\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/test.serviceobjects.com\/docs\/dots-email-validation-3\/ev3-code-snippets-and-sample-code\/ev3-rest\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/test.serviceobjects.com\/docs\/"},{"@type":"ListItem","position":2,"name":"DOTS Email Validation 3","item":"https:\/\/test.serviceobjects.com\/docs\/dots-email-validation-3\/"},{"@type":"ListItem","position":3,"name":"EV3 &#8211; Code Snippets and Sample Code","item":"https:\/\/test.serviceobjects.com\/docs\/dots-email-validation-3\/ev3-code-snippets-and-sample-code\/"},{"@type":"ListItem","position":4,"name":"EV3 &#8211; REST"}]},{"@type":"WebSite","@id":"https:\/\/test.serviceobjects.com\/docs\/#website","url":"https:\/\/test.serviceobjects.com\/docs\/","name":"Service Objects | Contact, Phone, Email Verification | Data Quality Services","description":"","publisher":{"@id":"https:\/\/test.serviceobjects.com\/docs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/test.serviceobjects.com\/docs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/test.serviceobjects.com\/docs\/#organization","name":"Service Objects | Contact, Phone, Email Verification | Data Quality Services","url":"https:\/\/test.serviceobjects.com\/docs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/test.serviceobjects.com\/docs\/#\/schema\/logo\/image\/","url":"https:\/\/test.serviceobjects.com\/docs\/wp-content\/uploads\/2022\/08\/SO-logo-2560px-transparent.png","contentUrl":"https:\/\/test.serviceobjects.com\/docs\/wp-content\/uploads\/2022\/08\/SO-logo-2560px-transparent.png","width":2560,"height":1440,"caption":"Service Objects | Contact, Phone, Email Verification | Data Quality Services"},"image":{"@id":"https:\/\/test.serviceobjects.com\/docs\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/3475","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/comments?post=3475"}],"version-history":[{"count":12,"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/3475\/revisions"}],"predecessor-version":[{"id":8676,"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/3475\/revisions\/8676"}],"up":[{"embeddable":true,"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/3228"}],"wp:attachment":[{"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/media?parent=3475"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}