{"id":9747,"date":"2023-08-09T13:20:40","date_gmt":"2023-08-09T20:20:40","guid":{"rendered":"https:\/\/www.serviceobjects.com\/docs\/?page_id=9747"},"modified":"2024-03-29T09:00:46","modified_gmt":"2024-03-29T16:00:46","slug":"tv-rest","status":"publish","type":"page","link":"https:\/\/test.serviceobjects.com\/docs\/dots-telephone-verification-tv\/tv-code-snippets-and-sample-code\/tv-rest\/","title":{"rendered":"TV \u2013 REST\u00a0"},"content":{"rendered":"\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\" aria-selected=\"true\" aria-controls=\"C#\" tabindex=\"0\">C#<\/li><li class=\"tab-label\" role=\"tab\" aria-selected=\"false\" aria-controls=\"Java\" tabindex=\"0\">Java<\/li><li class=\"tab-label\" role=\"tab\" aria-selected=\"false\" aria-controls=\"Php\" tabindex=\"0\">Php<\/li><li class=\"tab-label\" role=\"tab\" aria-selected=\"false\" aria-controls=\"RoR\" tabindex=\"0\">RoR<\/li><li class=\"tab-label\" role=\"tab\" aria-selected=\"false\" aria-controls=\"Python\" tabindex=\"0\">Python<\/li><li class=\"tab-label\" role=\"tab\" aria-selected=\"false\" aria-controls=\"ColdFusion\" tabindex=\"0\">ColdFusion<\/li><li class=\"tab-label\" role=\"tab\" aria-selected=\"false\" aria-controls=\"VB\" tabindex=\"0\">VB<\/li><li class=\"tab-label\" role=\"tab\" aria-selected=\"false\" aria-controls=\"TSQL\" tabindex=\"0\">TSQL<\/li><\/ul><div class=\"tab-content\">\n<div class=\"wp-block-create-block-tab tab-panel\" role=\"tabpanel\" tabindex=\"0\">\n<p><strong>Telephone Verification C# Rest 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=\"\" data-enlighter-group=\"\">'encodes the URLs for the get Call. Set the primary and back urls as \nnecessary\nDim primaryurl As String = \"https:\/\/trial.serviceobjects.com\/tv\n\/TelephoneVerification.asmx\/SendSMS?CountryCode=\" &amp; countrycode + \n\"&amp;PhoneNumber=\" &amp; phonenumber + \"&amp;Message=\" &amp; message + \"&amp;LicenseKey=\" &amp; \nlicensekey\nDim backupurl As String = \"https:\/\/trial.serviceobjects.com\/tv\n\/TelephoneVerification.asmx\/SendSMS?CountryCode=\" &amp; countrycode + \n\"&amp;PhoneNumber=\" &amp; phonenumber + \"&amp;Message=\" &amp; message + \"&amp;LicenseKey=\" &amp; \nlicensekey\nDim wsresponse As New TVResponse.TelephoneInfo()\nwsresponse = httpGet(primaryurl)\n'checks if a response was returned from the service, uses the backup url \nif response is null or a fatal error occured.\nIf wsresponse Is Nothing OrElse (wsresponse.[Error] IsNot Nothing AndAlso \nwsresponse.[Error].TypeCode = \"3\") Then\nEnd If\nIf True Then\n wsresponse = httpGet(backupurl)\nEnd If\nIf wsresponse.[Error] IsNot Nothing Then\n ProcessErrorResponse(wsresponse.[Error])\nElse\n ProcessSuccessfulResponse(wsresponse)\nEnd If<\/pre>\n<\/div>\n\n\n\n<div class=\"wp-block-create-block-tab tab-panel\" role=\"tabpanel\" tabindex=\"0\">\n<pre class=\"wp-block-code\"><code><strong>Telephone Verification Java Rest Code Snippet<\/strong><\/code><\/pre>\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=\"\">JSONObject results = RestClient(mainURL); \ntry {\n if (ErrorMessages != null || (results.getJSONObject\n(\"TelephoneInfo\").has(\"Error\") &amp;&amp; results.getJSONObject(\"TelephoneInfo\").\ngetJSONObject(\"Error\").get(\"DescCode\") == \"3\")) {\n \/\/ BACKUP\n results = RestClient(backupURL);\n }\n} catch (JSONException e) {\n \/\/ TODO Auto-generated catch block\n e.printStackTrace();\n}\nreturn results;<\/pre>\n<\/div>\n\n\n\n<div class=\"wp-block-create-block-tab tab-panel\" role=\"tabpanel\" tabindex=\"0\">\n<p><strong><strong>Telephone Verification<\/strong> PHP Rest Code Snippets<\/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=\"\">$URL = \"https:\/\/trial.serviceobjects.com\/tv\/TelephoneVerification.asmx\n\/SendSMS?CountryCode=\".urlencode($CountryCode).\"&amp;PhoneNumber=\".urlencode\n($PhoneNumber).\"&amp;Message=\".urlencode($Message).\"&amp;LicenseKey=\".urlencode\n($LicenseKey);\n\/\/use backup url once given purchased license key\n$backupURL = \"https:\/\/trial.serviceobjects.com\/tv\/TelephoneVerification.asmx\n\/SendSMS?CountryCode=\".urlencode($CountryCode).\"&amp;PhoneNumber=\".urlencode\n($PhoneNumber).\"&amp;Message=\".urlencode($Message).\"&amp;LicenseKey=\".urlencode\n($LicenseKey);\n\/\/ Get cURL resource\n$curl = curl_init();\ncurl_setopt_array($curl, array(CURLOPT_RETURNTRANSFER => 1, CURLOPT_URL => \n$URL, CURLOPT_USERAGENT => 'Service Objects Telephone Verification'));\ncurl_setopt($curl, CURLOPT_TIMEOUT, 50); \/\/timeout in seconds\n\/\/ Send the request &amp; save response to $resp\n$resp = curl_exec($curl);\n\/\/ Close request to clear up some resources\nif($resp == false)\n{\n echo \"IN back up block\";\n curl_setopt_array($curl, array(CURLOPT_RETURNTRANSFER => 1, \nCURLOPT_URL => $backupURL, CURLOPT_USERAGENT => 'Service Objects Telephone \nVerification'));\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> Both rest calls failed &lt;\/b>\";\n curl_close($curl);\n return;\n }<\/pre>\n<\/div>\n\n\n\n<div class=\"wp-block-create-block-tab tab-panel\" role=\"tabpanel\" tabindex=\"0\">\n<p><strong>Telephone Verification RoR Rest Code Snippets<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"r\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">#Set Primary and Backup URLs as needed. This method encodes and \nstandardizes the URI to pass to the REST service.\nprimaryURL = URI.encode(\"https:\/\/trial.serviceobjects.com\/tv\n\/TelephoneVerification.asmx\/SendSMS?CountryCode=\" + countrycode + \n\"&amp;PhoneNumber=\" + phonenumber + \"&amp;Message=\" + message + \"&amp;LicenseKey=\" + \nlicensekey)\nbackupURL = URI.encode(\"https:\/\/trial.serviceobjects.com\/tv\n\/TelephoneVerification.asmx\/SendSMS?CountryCode=\" + countrycode + \n\"&amp;PhoneNumber=\" + phonenumber + \"&amp;Message=\" + message + \"&amp;LicenseKey=\" + \nlicensekey)\n#These are set to access the hash that is returned\n@tvresponse =\"TelephoneInfo\"\n@tverror = \"Error\"\n#Begins the call the RESTful web service\nbegin\nresponse = HTTParty.get(primaryURL, timeout: default_timeout)\n#processes the response to display to the screen\n#Passes the response returned from HTTParty and processes them depending \non the results\nprocessresults(response)\nrescue StandardError => e\n begin\n #uses the backupURl in the event that the service \nencountered an error\n response = HTTParty.get(backupURL, timeout: \ndefault_timeout)\n \n #processes the response returned from using the backupURL\n processresults(response)\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 => error\n @status = error.message\n @displaydata = {\"Error\" => \"A Big Error Occured\"}\n end\nend\n  <\/pre>\n<\/div>\n\n\n\n<div class=\"wp-block-create-block-tab tab-panel\" role=\"tabpanel\" tabindex=\"0\">\n<p><strong><strong>Telephone Verification<\/strong> Python Code Snippet<\/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=\"\">#Set the primary and backup URL as needed.\nprimaryURL = 'https:\/\/trial.serviceobjects.com\/tv\/TelephoneVerification.asmx\n\/SendSMS?'\nbackupURL = 'https:\/\/trial.serviceobjects.com\/tv\/TelephoneVerification.asmx\n\/SendSMS?'\n#The Requests package allows the user to format the path parameters like \nso instead of having to manually insert them into the URL\ninputs = {'CountryCode':mCountryCode, 'PhoneNumber': mPhoneNumber, \n'Message':mMessage, '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['TelephoneInfo']:\n #loops through the response from the service and prints the values \nto the screen.\n for key, value in outputs['TelephoneInfo']['Error'].iteritems():\n Label(swin.window, text=str(key) + \" : \" + str(value)).pack()\n else:\n #Removes unnecessary text that was parsed in the xml response from \nthe service.\n outputs['TelephoneInfo'].pop(\"@xmlns:xsi\", None)\n outputs['TelephoneInfo'].pop(\"@xmlns:xsd\", None)\n outputs['TelephoneInfo'].pop(\"@xmlns\", None)\n #Loops through and displays the results from with service. Does \nnot display ported info.\n for key, value in outputs['TelephoneInfo'].iteritems():\n Label(swin.window, text=str(key) + \" : \" + str(value)).pack()\n#Attempts to use the backup URL if the call to the primary URL failed.\nexcept:\n try:\n result = requests.get(backupURL, params=inputs)\n #Parses the XML response from the service into a python dictionary \ntype\n outputs = xmltodict.parse(result.content)\n #checks the output for Errors and displays the info accordingly\n if 'Error' in outputs['TelephoneInfo']:\n #loops through the response from the service and prints the \nvalues to the screen.\n for key, value in outputs['TelephoneInfo']['Error'].\niteritems():\n Label(swin.window, text=str(key) + \" : \" + str(value)).\npack()\n else:\n #Removes unnecessary text that was parsed in the xml response \nfrom the service.\n outputs['TelephoneInfo'].pop(\"@xmlns:xsi\", None)\n outputs['TelephoneInfo'].pop(\"@xmlns:xsd\", None)\n outputs['TelephoneInfo'].pop(\"@xmlns\", None)\n #Loops through and displays the results from with service. \nDoes not display ported info.\n for key, value in outputs['TelephoneInfo'].iteritems():\n Label(swin.window, text=str(key) + \" : \" + str(value)).\npack()<\/pre>\n<\/div>\n\n\n\n<div class=\"wp-block-create-block-tab tab-panel\" role=\"tabpanel\" tabindex=\"0\">\n<p><strong>Telephone Verification ColdFusion Rest Snippet<\/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 --->\n&lt;cfIf isDefined(\"form.Action\") AND Action neq \"\" >\n &lt;cftry>\n &lt;cfset primaryURL = \"https:\/\/trial.serviceobjects.com\/tv\n\/TelephoneVerification.asmx\/SendSMS?\nCountryCode=#CountryCode#&amp;PhoneNumber=#PhoneNumber#&amp;Message=#Message#&amp;Licen\nseKey=#LicenseKey#\">\n &lt;cfhttp url=\"#primaryURL#\" method=\"get\" result=\"response\">\n &lt;cfset outputs = XmlParse(response.FileContent)>\n &lt;cfcatch >\n &lt;cftry>\n &lt;cfset backupURL = \"https:\/\/trial.serviceobjects.com\n\/tv\/TelephoneVerification.asmx\/SendSMS?\nCountryCode=#CountryCode#&amp;PhoneNumber=#PhoneNumber#&amp;Message=#Message#&amp;Licen\nseKey=#LicenseKey#\">\n &lt;cfhttp url=\"#backupURL#\" method=\"get\" result=\"\nresponse\">\n &lt;cfset outputs = XmlParse(outputs.FileContent)\n> \n &lt;cfcatch >\n &lt;cfoutput >\n The Following Error Occured: \n#cfcatch.message#\n &lt;\/cfoutput>\n &lt;\/cfcatch>\n &lt;\/cftry>\n &lt;\/cfcatch>\n &lt;\/cftry>\n&lt;\/cfif><\/pre>\n<\/div>\n\n\n\n<div class=\"wp-block-create-block-tab tab-panel\" role=\"tabpanel\" tabindex=\"0\">\n<p><strong><strong>Telephone Verification<\/strong> VB Rest Code Snippet<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"vhdl\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">'encodes the URLs for the get Call. Set the primary and back urls as \nnecessary\nDim primaryurl As String = \"https:\/\/trial.serviceobjects.com\/tv\n\/TelephoneVerification.asmx\/SendSMS?CountryCode=\" &amp; countrycode + \n\"&amp;PhoneNumber=\" &amp; phonenumber + \"&amp;Message=\" &amp; message + \"&amp;LicenseKey=\" &amp; \nlicensekey\nDim backupurl As String = \"https:\/\/trial.serviceobjects.com\/tv\n\/TelephoneVerification.asmx\/SendSMS?CountryCode=\" &amp; countrycode + \n\"&amp;PhoneNumber=\" &amp; phonenumber + \"&amp;Message=\" &amp; message + \"&amp;LicenseKey=\" &amp; \nlicensekey\nDim wsresponse As New TVResponse.TelephoneInfo()\nwsresponse = httpGet(primaryurl)\n'checks if a response was returned from the service, uses the backup url \nif response is null or a fatal error occured.\nIf wsresponse Is Nothing OrElse (wsresponse.[Error] IsNot Nothing AndAlso \nwsresponse.[Error].TypeCode = \"3\") Then\nEnd If\nIf True Then\n wsresponse = httpGet(backupurl)\nEnd If\nIf wsresponse.[Error] IsNot Nothing Then\n ProcessErrorResponse(wsresponse.[Error])\nElse\n ProcessSuccessfulResponse(wsresponse)\nEnd If<\/pre>\n<\/div>\n\n\n\n<div class=\"wp-block-create-block-tab tab-panel\" role=\"tabpanel\" tabindex=\"0\">\n<p><strong><strong>Telephone Verification<\/strong> TSQL Rest Code Snippet<\/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=\"\">BEGIN\n SET @sUrl = 'https:\/\/sws.serviceobjects.com\/tv\/TelephoneVerification.\nasmx\/SendSMS?CountryCode=' + @countrycode + '&amp;PhoneNumber=' + \n@phonenumber + '&amp;Message=' + @message + '&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:\/\/swsbackup.serviceobjects.com\/tv\n\/TelephoneVerification.asmx\/SendSMS?CountryCode=' + @countrycode + \n'&amp;PhoneNumber=' + @phonenumber + '&amp;Message=' + @message + '&amp;LicenseKey=' \n+ @key\n EXEC sp_OACreate 'MSXML2.ServerXMLHttp', @obj OUT\n EXEC sp_OAMethod @obj, 'Open', NULL, 'Get', @sBackupUrl, \nfalse\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":22,"featured_media":0,"parent":9745,"menu_order":1,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-9747","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>TV \u2013 REST\u00a0<\/title>\n<meta name=\"description\" content=\"C#JavaPhpRoRPythonColdFusionVBTSQL Telephone Verification C# Rest Code Snippet &#039;encodes the URLs for the get Call. Set the primary and back urls as\" \/>\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=\"TV \u2013 REST\u00a0\" \/>\n<meta property=\"og:description\" content=\"C#JavaPhpRoRPythonColdFusionVBTSQL Telephone Verification C# Rest Code Snippet &#039;encodes the URLs for the get Call. Set the primary and back urls as\" \/>\n<meta property=\"og:url\" content=\"https:\/\/test.serviceobjects.com\/docs\/dots-telephone-verification-tv\/tv-code-snippets-and-sample-code\/tv-rest\/\" \/>\n<meta property=\"og:site_name\" content=\"Service Objects | Contact, Phone, Email Verification | Data Quality Services\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-29T16:00:46+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=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/dots-telephone-verification-tv\/tv-code-snippets-and-sample-code\/tv-rest\/\",\"url\":\"https:\/\/test.serviceobjects.com\/docs\/dots-telephone-verification-tv\/tv-code-snippets-and-sample-code\/tv-rest\/\",\"name\":\"TV \u2013 REST\u00a0\",\"isPartOf\":{\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/#website\"},\"datePublished\":\"2023-08-09T20:20:40+00:00\",\"dateModified\":\"2024-03-29T16:00:46+00:00\",\"description\":\"C#JavaPhpRoRPythonColdFusionVBTSQL Telephone Verification C# Rest Code Snippet 'encodes the URLs for the get Call. Set the primary and back urls as\",\"breadcrumb\":{\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/dots-telephone-verification-tv\/tv-code-snippets-and-sample-code\/tv-rest\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/test.serviceobjects.com\/docs\/dots-telephone-verification-tv\/tv-code-snippets-and-sample-code\/tv-rest\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/test.serviceobjects.com\/docs\/dots-telephone-verification-tv\/tv-code-snippets-and-sample-code\/tv-rest\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/test.serviceobjects.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DOTS Telephone Verification\",\"item\":\"https:\/\/test.serviceobjects.com\/docs\/dots-telephone-verification-tv\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"TV &#8211; Code Snippets and Sample Code\",\"item\":\"https:\/\/test.serviceobjects.com\/docs\/dots-telephone-verification-tv\/tv-code-snippets-and-sample-code\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"TV \u2013 REST\u00a0\"}]},{\"@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":"TV \u2013 REST\u00a0","description":"C#JavaPhpRoRPythonColdFusionVBTSQL Telephone Verification C# Rest Code Snippet 'encodes the URLs for the get Call. Set the primary and back urls as","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":"TV \u2013 REST\u00a0","og_description":"C#JavaPhpRoRPythonColdFusionVBTSQL Telephone Verification C# Rest Code Snippet 'encodes the URLs for the get Call. Set the primary and back urls as","og_url":"https:\/\/test.serviceobjects.com\/docs\/dots-telephone-verification-tv\/tv-code-snippets-and-sample-code\/tv-rest\/","og_site_name":"Service Objects | Contact, Phone, Email Verification | Data Quality Services","article_modified_time":"2024-03-29T16:00:46+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/test.serviceobjects.com\/docs\/dots-telephone-verification-tv\/tv-code-snippets-and-sample-code\/tv-rest\/","url":"https:\/\/test.serviceobjects.com\/docs\/dots-telephone-verification-tv\/tv-code-snippets-and-sample-code\/tv-rest\/","name":"TV \u2013 REST\u00a0","isPartOf":{"@id":"https:\/\/test.serviceobjects.com\/docs\/#website"},"datePublished":"2023-08-09T20:20:40+00:00","dateModified":"2024-03-29T16:00:46+00:00","description":"C#JavaPhpRoRPythonColdFusionVBTSQL Telephone Verification C# Rest Code Snippet 'encodes the URLs for the get Call. Set the primary and back urls as","breadcrumb":{"@id":"https:\/\/test.serviceobjects.com\/docs\/dots-telephone-verification-tv\/tv-code-snippets-and-sample-code\/tv-rest\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/test.serviceobjects.com\/docs\/dots-telephone-verification-tv\/tv-code-snippets-and-sample-code\/tv-rest\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/test.serviceobjects.com\/docs\/dots-telephone-verification-tv\/tv-code-snippets-and-sample-code\/tv-rest\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/test.serviceobjects.com\/docs\/"},{"@type":"ListItem","position":2,"name":"DOTS Telephone Verification","item":"https:\/\/test.serviceobjects.com\/docs\/dots-telephone-verification-tv\/"},{"@type":"ListItem","position":3,"name":"TV &#8211; Code Snippets and Sample Code","item":"https:\/\/test.serviceobjects.com\/docs\/dots-telephone-verification-tv\/tv-code-snippets-and-sample-code\/"},{"@type":"ListItem","position":4,"name":"TV \u2013 REST\u00a0"}]},{"@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\/9747","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\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/comments?post=9747"}],"version-history":[{"count":3,"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/9747\/revisions"}],"predecessor-version":[{"id":10029,"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/9747\/revisions\/10029"}],"up":[{"embeddable":true,"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/pages\/9745"}],"wp:attachment":[{"href":"https:\/\/test.serviceobjects.com\/docs\/wp-json\/wp\/v2\/media?parent=9747"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}