{"id":87057,"date":"2024-12-07T19:38:09","date_gmt":"2024-12-08T03:38:09","guid":{"rendered":"https:\/\/rightwave.com\/rwi\/?page_id=87057"},"modified":"2024-12-08T05:10:21","modified_gmt":"2024-12-08T13:10:21","slug":"get-clean-country-name","status":"publish","type":"page","link":"https:\/\/rightwave.com\/rwi\/rdn-help\/trending-services\/get-clean-country-name","title":{"rendered":"RDN Get Clean Country Name"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"87057\" class=\"elementor elementor-87057\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-0cfdca2 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0cfdca2\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;gradient&quot;}\">\n\t\t\t\t\t\t\t<div class=\"elementor-background-overlay\"><\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b45b270\" data-id=\"b45b270\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-8100547 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8100547\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-8446356\" data-id=\"8446356\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2b62785 elementor-widget__width-initial elementor-widget elementor-widget-heading\" data-id=\"2b62785\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<p class=\"elementor-heading-title elementor-size-default\">Get Clean Country Name\n<\/p>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-04a17b5 elementor-widget elementor-widget-heading\" data-id=\"04a17b5\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<p class=\"elementor-heading-title elementor-size-default\">This service streamlines data management by standardizing and cleaning country names in your database. It automatically corrects inconsistencies, removes formatting errors, and ensures all country names conform to a uniform standard. <\/p>\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-c4429d1 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"c4429d1\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7369be4\" data-id=\"7369be4\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-b571954 elementor-widget elementor-widget-heading\" data-id=\"b571954\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\"><b>Service Name: <\/b>Get Clean Country Name<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ad1ee0f elementor-widget elementor-widget-heading\" data-id=\"ad1ee0f\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\"><b>Service Type: <\/b>Basic Utility Services<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-406a1f4 elementor-widget elementor-widget-heading\" data-id=\"406a1f4\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Service Description<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-cf54f81 elementor-widget elementor-widget-text-editor\" data-id=\"cf54f81\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-weight: 400;\">\u00a0You can use this service to get <\/span><span style=\"font-weight: 400;\">a clean <\/span><span style=\"font-weight: 400;\">country from a raw country. For example<\/span><span style=\"font-weight: 400;\">,<\/span><\/p><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">You have<\/span><span style=\"font-weight: 400;\"> a <\/span><span style=\"font-weight: 400;\">String named rawCountry with the value &#8220;AF&#8221; The API will return <\/span><span style=\"font-weight: 400;\">the <\/span><span style=\"font-weight: 400;\">String with the value &#8220;Afghanistan&#8221;.<\/span><\/li><\/ul><p><i><span style=\"font-weight: 400;\">Please note that the request parameters values (in step 2) and Marketo Fields (in step 4) are just examples. You have to enter the values as per your service requirement.<\/span><\/i><\/p><p><b>Steps to configure service getCleanCountryName in Marketo<\/b><\/p><p><span style=\"font-weight: 400;\">1. Go to Admin and click Webhooks. Click New Webhook.<\/span><\/p><p><span style=\"font-weight: 400;\">2. Name and configure your webhook fo<\/span><span style=\"font-weight: 400;\">r service getCleanCountryName.<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8f84081 elementor-widget elementor-widget-image\" data-id=\"8f84081\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"476\" height=\"578\" src=\"https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image3-3.png\" class=\"attachment-full size-full wp-image-87059\" alt=\"\" srcset=\"https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image3-3.png 476w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image3-3-247x300.png 247w\" sizes=\"(max-width: 476px) 100vw, 476px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-71cf0f4 elementor-widget elementor-widget-text-editor\" data-id=\"71cf0f4\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p><b>Webhook Name<\/b><span style=\"font-weight: 400;\">: Name of the webhook. In the above example, the Webhook name is the same as the Service name. Webhook name can be provided as per requirement. <\/span><span style=\"font-weight: 400;\"><br \/><br \/><\/span><\/p><p><b>URL<\/b><span style=\"font-weight: 400;\">: The URL of th<\/span><span style=\"font-weight: 400;\">e serv<\/span><span style=\"font-weight: 400;\">ice getCleanCountryName. The URL has domain and query parameters that will remain the same. You just have to change the parameter values with Marketo Token. To insert a token, click Insert Token.<\/span><\/p><p><b>Template<\/b><span style=\"font-weight: 400;\">: It will remain blank.<\/span><\/p><p><b>Request Token Encoding<\/b><span style=\"font-weight: 400;\">: For the POST method it will remain None, and for GET this field will be disabled and the default value of the field will be Form\/URL.<\/span><\/p><p><b>Response type<\/b><span style=\"font-weight: 400;\">: Select the response format as JSON.<\/span><\/p><p><b>Request Type<\/b><span style=\"font-weight: 400;\">: The Request Type will remain the same<\/span><span style=\"font-weight: 400;\"> (i.e. GET)<\/span><span style=\"font-weight: 400;\"> as given in the example.\u00a0<\/span><\/p><p><span style=\"font-weight: 400;\">3. Add Authentication Header.<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5d7b7b0 elementor-widget elementor-widget-image\" data-id=\"5d7b7b0\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"797\" height=\"501\" src=\"https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image2-3.png\" class=\"attachment-full size-full wp-image-87060\" alt=\"\" srcset=\"https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image2-3.png 797w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image2-3-300x189.png 300w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image2-3-768x483.png 768w\" sizes=\"(max-width: 797px) 100vw, 797px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ab1295d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ab1295d\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1f310de\" data-id=\"1f310de\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d6658e5 elementor-widget elementor-widget-text-editor\" data-id=\"d6658e5\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p><i><span style=\"font-weight: 400;\">Please note that the auth-key shown above is the original auth-key. So, the same value of auth-key and Content-Type should be used while configuring Webhook as shown.<\/span><\/i><\/p><ol start=\"4\"><li><span style=\"font-weight: 400;\"> Response Mappings: Response Mappings are created via a pairing of a Response Attribute. The Response attribute depends on the output you are returning from the Custom service JavaScript function. It is recommended to return JSON from the custom service so that you can easily map it with the Marketo field.<\/span><\/li><\/ol>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-50f7bb3 elementor-widget elementor-widget-image\" data-id=\"50f7bb3\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"515\" height=\"327\" src=\"https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image1-4.png\" class=\"attachment-full size-full wp-image-87061\" alt=\"\" srcset=\"https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image1-4.png 515w, https:\/\/rightwave.com\/rwi\/wp-content\/uploads\/2024\/12\/image1-4-300x190.png 300w\" sizes=\"(max-width: 515px) 100vw, 515px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Get Clean Country Name This service streamlines data management by standardizing and cleaning country names in your database. It automatically corrects inconsistencies, removes formatting errors, and ensures all country names conform to a uniform standard. Service Name: Get Clean Country Name Service Type: Basic Utility Services Service Description \u00a0You can use this service to get&hellip;<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":87012,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"footnotes":""},"class_list":["post-87057","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/rightwave.com\/rwi\/wp-json\/wp\/v2\/pages\/87057","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rightwave.com\/rwi\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/rightwave.com\/rwi\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/rightwave.com\/rwi\/wp-json\/wp\/v2\/users\/47"}],"replies":[{"embeddable":true,"href":"https:\/\/rightwave.com\/rwi\/wp-json\/wp\/v2\/comments?post=87057"}],"version-history":[{"count":5,"href":"https:\/\/rightwave.com\/rwi\/wp-json\/wp\/v2\/pages\/87057\/revisions"}],"predecessor-version":[{"id":87190,"href":"https:\/\/rightwave.com\/rwi\/wp-json\/wp\/v2\/pages\/87057\/revisions\/87190"}],"up":[{"embeddable":true,"href":"https:\/\/rightwave.com\/rwi\/wp-json\/wp\/v2\/pages\/87012"}],"wp:attachment":[{"href":"https:\/\/rightwave.com\/rwi\/wp-json\/wp\/v2\/media?parent=87057"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}