{"id":563,"date":"2024-02-06T11:52:32","date_gmt":"2024-02-06T11:52:32","guid":{"rendered":"https:\/\/inoxmecal.com\/?page_id=563"},"modified":"2025-02-11T10:47:50","modified_gmt":"2025-02-11T10:47:50","slug":"politica-de-cookies","status":"publish","type":"page","link":"https:\/\/inoxmecal.com\/index.php\/politica-de-cookies\/","title":{"rendered":"Pol\u00edtica de cookies"},"content":{"rendered":"\n<script type=\"text\/javascript\">\n\tjQuery( document ).ready(function() {\n\t\tvar textos;\n\t\tvar obj = { uiddocumento: '8d43c77c-dfd1-43cd-b367-7de9184effac' };\n\t\tjQuery.ajax({\n\t\t\ttype: \"POST\",\n\t\t\tcontentType: \"application\/json; charset=utf-8\",\n\t\t\turl: \"https:\/\/consentimientos.com\/webservice\/api.asmx\/getPlantilla\",\n\t\t\tdata: JSON.stringify(obj),\n\t\t\tdatatype: \"json\",\n\t\t\tsuccess: function (data) {\n\t\t\t\t\/\/alert(\"Successfully register\");\n\t\t\t\tconsole.log(data);\n\t\t\t\ttextos = data.d;\n\t\t\t},\n\t\t\terror: function (data) {\n\t\t\t\tconsole.log(data);\n\t\t\t}\n\t\t}).done(function(){\t\t\t\t\t\t\t\t\t\n\t\t\tvar obj = {par1: 'c2ef420b-3182-4dae-8206-24437814313f',  par2: '23c773ca-9a34-4d7e-95bc-a2b1150c8118'};\n\t\t\tjQuery.ajax({\n\t\t\t\ttype: \"POST\",\n\t\t\t\tcontentType: \"application\/json; charset=utf-8\",\n\t\t\t\turl: \"https:\/\/consentimientos.com\/webservice\/api.asmx\/getdatosempresa\",\n\t\t\t\tdata: JSON.stringify(obj),\n\t\t\t\tdatatype: \"json\",\n\t\t\t\tsuccess: function (response) {\n\t\t\t\t\t\/\/alert(\"Successfully register\");\n\t\t\t\t\tconsole.log(response);\n\t\t\t\t\tresponse_json = JSON.parse(response.d);\n\t\t\t\t\tjQuery.each(response_json, function (i, item) {\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\ttextos = textos.replace(\/razon_social\/g, item.razon);\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t});\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\tjQuery('#divplantilla').html(textos);\t\t\t\t\t\t\t\t\n\t\t\t\t},\n\t\t\t\terror: function (response) {\n\t\t\t\t\tconsole.log(response);\n\t\t\t\t}\n\t\t\t});\t\t\t\t\n\t\t});\n\t});\t\n<\/script>\n<div id=\"divplantilla\"><\/div>\t\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/inoxmecal.com\/index.php\/wp-json\/wp\/v2\/pages\/563"}],"collection":[{"href":"https:\/\/inoxmecal.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/inoxmecal.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/inoxmecal.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/inoxmecal.com\/index.php\/wp-json\/wp\/v2\/comments?post=563"}],"version-history":[{"count":4,"href":"https:\/\/inoxmecal.com\/index.php\/wp-json\/wp\/v2\/pages\/563\/revisions"}],"predecessor-version":[{"id":582,"href":"https:\/\/inoxmecal.com\/index.php\/wp-json\/wp\/v2\/pages\/563\/revisions\/582"}],"wp:attachment":[{"href":"https:\/\/inoxmecal.com\/index.php\/wp-json\/wp\/v2\/media?parent=563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}