{"id":2367,"date":"2023-12-22T21:02:16","date_gmt":"2023-12-22T21:02:16","guid":{"rendered":"https:\/\/developers.maplink.global\/creacion-de-solicitudes-para-la-restriction-zone-api\/"},"modified":"2024-02-23T19:04:05","modified_gmt":"2024-02-23T19:04:05","slug":"creacion-de-solicitudes-para-la-restriction-zone-api","status":"publish","type":"post","link":"https:\/\/developers.maplink.global\/es\/creacion-de-solicitudes-para-la-restriction-zone-api\/","title":{"rendered":"Creaci\u00f3n de solicitudes para la Restriction Zone API"},"content":{"rendered":"\n<p>Antes de comenzar a utilizar la API, deber\u00e1 <a href=\"https:\/\/developers.maplink.global\/es\/como-se-genera-el-token-para-la-autenticacion\/\" data-type=\"post\" data-id=\"999\">obtener el <em>token de autenticaci\u00f3n<\/em><\/a>. <\/p>\n\n<p>Se requerir\u00e1n las siguientes <em>headers<\/em>, donde la palabra <strong><em>token <\/em><\/strong>debe sustituirse por el token obtenido en el proceso de autenticaci\u00f3n:<\/p>\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">--header 'Content-Type: application\/json' \\\n--header 'Authorization: Bearer token'<\/pre>\n\n<p>El <em>body <\/em>enviar\u00e1 todos los par\u00e1metros para gestionar el \u00e1rea de restricci\u00f3n.<\/p>\n\n<p>La Restriction Zone API tiene los siguientes endpoints:<\/p>\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/api.maplink.global\/restriction\/v1\/restrictionZones\">https:\/\/api.maplink.global\/restriction\/v1\/restrictionZones<\/a> &#8211; <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-luminous-vivid-amber-color\">POST<\/mark><\/strong><br\/>Se utiliza para crear un \u00e1rea de restricci\u00f3n.  <br\/><\/li>\n\n\n\n<li><a href=\"https:\/\/api.maplink.global\/restriction\/v1\/restrictionZones\">https:\/\/api.maplink.global\/restriction\/v1\/restrictionZones<\/a> &#8211; <strong>\n  <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-green-cyan-color\">GET<\/mark>\n<\/strong><br\/>Permite consultar todas las zonas de restricci\u00f3n creadas.<br\/><\/li>\n\n\n\n<li><a href=\"https:\/\/api.maplink.global\/restriction\/v1\/restrictionZones\/%7B%7BrestrictionZone%7D%7D\">https:\/\/api.maplink.global\/restriction\/v1\/restrictionZones\/{{restrictionZone}}<\/a> &#8211; <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-green-cyan-color\">GET<\/mark><\/strong><br\/>Permite consultar un \u00e1rea de restricci\u00f3n espec\u00edfica. El t\u00e9rmino <code>{{restrictionZone}}<\/code> debe sustituirse por el nombre del \u00e1rea de restricci\u00f3n deseada.<br\/><\/li>\n\n\n\n<li><a href=\"https:\/\/api.maplink.global\/restriction\/v1\/restrictionZones\/%7B%7BrestrictionZone%7D%7D\">https:\/\/api.maplink.global\/restriction\/v1\/restrictionZones\/{{restrictionZone}}<\/a> &#8211; <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">DELETE<\/mark><\/strong><br\/>Se utiliza para excluir un \u00e1rea de restricci\u00f3n espec\u00edfica. El t\u00e9rmino <code>{{restrictionZone}}<\/code> debe sustituirse por el nombre del \u00e1rea de restricci\u00f3n deseada.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Antes de comenzar a utilizar la API, deber\u00e1 obtener el token de autenticaci\u00f3n. Se requerir\u00e1n las siguientes headers, donde la palabra token debe sustituirse por el token obtenido en el proceso de autenticaci\u00f3n: El body enviar\u00e1 todos los par\u00e1metros para gestionar el \u00e1rea de restricci\u00f3n. La Restriction Zone API tiene los siguientes endpoints:<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[156],"tags":[],"class_list":["post-2367","post","type-post","status-publish","format-standard","hentry","category-restriction-zone-es"],"acf":[],"_links":{"self":[{"href":"https:\/\/developers.maplink.global\/es\/wp-json\/wp\/v2\/posts\/2367","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developers.maplink.global\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developers.maplink.global\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developers.maplink.global\/es\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/developers.maplink.global\/es\/wp-json\/wp\/v2\/comments?post=2367"}],"version-history":[{"count":3,"href":"https:\/\/developers.maplink.global\/es\/wp-json\/wp\/v2\/posts\/2367\/revisions"}],"predecessor-version":[{"id":2370,"href":"https:\/\/developers.maplink.global\/es\/wp-json\/wp\/v2\/posts\/2367\/revisions\/2370"}],"wp:attachment":[{"href":"https:\/\/developers.maplink.global\/es\/wp-json\/wp\/v2\/media?parent=2367"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developers.maplink.global\/es\/wp-json\/wp\/v2\/categories?post=2367"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developers.maplink.global\/es\/wp-json\/wp\/v2\/tags?post=2367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}