{"id":2383,"date":"2023-12-22T21:18:12","date_gmt":"2023-12-22T21:18:12","guid":{"rendered":"https:\/\/developers.maplink.global\/status-codes-restriction-zones\/"},"modified":"2024-02-23T19:18:31","modified_gmt":"2024-02-23T19:18:31","slug":"status-codes-restriction-zones","status":"publish","type":"post","link":"https:\/\/developers.maplink.global\/es\/status-codes-restriction-zones\/","title":{"rendered":"Status Codes &#8211; Restriction Zones"},"content":{"rendered":"\n<p>A continuaci\u00f3n se muestra la tabla con los <em>status codes<\/em> para cada endpoint disponible en la Restriction Zone API:<\/p>\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>C\u00f3digo<\/strong><\/td><td><strong>M\u00e9todo<\/strong><\/td><td><strong>Endpoint<\/strong><\/td><td><strong>Descripci\u00f3n<\/strong><\/td><\/tr><tr><td>201<\/td><td>POST<\/td><td><a href=\"https:\/\/api.maplink.global\/restriction\/v1\/restrictionZones\/%7B%7BrestrictionZone%7D%7D\">https:\/\/api.maplink.global\/restriction\/v1\/restrictionZones\/<\/a><\/td><td><code>Restriction zone successfully created<\/code><\/td><\/tr><tr><td>400<\/td><td>POST<\/td><td><a href=\"https:\/\/api.maplink.global\/restriction\/v1\/restrictionZones\/%7B%7BrestrictionZone%7D%7D\">https:\/\/api.maplink.global\/restriction\/v1\/restrictionZones\/<\/a><\/td><td><code>Restricton zone with validation errors<\/code><\/td><\/tr><tr><td>409<\/td><td>POST<\/td><td><a href=\"https:\/\/api.maplink.global\/restriction\/v1\/restrictionZones\/%7B%7BrestrictionZone%7D%7D\">https:\/\/api.maplink.global\/restriction\/v1\/restrictionZones\/<\/a><\/td><td><code>Conflict<\/code>  (ya existe un \u00e1rea de restricci\u00f3n con el mismo nombre en el mismo clientId)<\/td><\/tr><tr><td>200<\/td><td>GET<\/td><td><a href=\"https:\/\/api.maplink.global\/restriction\/v1\/restrictionZones\/%7B%7BrestrictionZone%7D%7D\">https:\/\/api.maplink.global\/restriction\/v1\/restrictionZones\/<\/a><\/td><td><code>Restriction zone found<\/code><\/td><\/tr><tr><td>400<\/td><td>GET<\/td><td><a href=\"https:\/\/api.maplink.global\/restriction\/v1\/restrictionZones\/%7B%7BrestrictionZone%7D%7D\">https:\/\/api.maplink.global\/restriction\/v1\/restrictionZones\/<\/a><\/td><td><code>Restriction zone not found<\/code>  (No se ha encontrado el \u00e1rea de restricci\u00f3n. Compruebe que el nombre y clientId son correctos).<\/td><\/tr><tr><td>204<\/td><td>DELETE<\/td><td><a href=\"https:\/\/api.maplink.global\/restriction\/v1\/restrictionZones\/%7B%7BrestrictionZone%7D%7D\">https:\/\/api.maplink.global\/restriction\/v1\/restrictionZones\/<\/a><\/td><td><code>No Content<\/code>  (la zona restringida se ha eliminado correctamente)<\/td><\/tr><tr><td>400<\/td><td>DELETE<\/td><td><a href=\"https:\/\/api.maplink.global\/restriction\/v1\/restrictionZones\/%7B%7BrestrictionZone%7D%7D\">https:\/\/api.maplink.global\/restriction\/v1\/restrictionZones\/<\/a><\/td><td><code>Restriction zone not found<\/code>  (No se ha encontrado el \u00e1rea de restricci\u00f3n. Compruebe que el nombre y clientId son correctos).<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">Tabla con todos los posibles estados devueltos por cada endpoint<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>A continuaci\u00f3n se muestra la tabla con los status codes para cada endpoint disponible en la Restriction Zone API: C\u00f3digo M\u00e9todo Endpoint Descripci\u00f3n 201 POST https:\/\/api.maplink.global\/restriction\/v1\/restrictionZones\/ Restriction zone successfully created 400 POST https:\/\/api.maplink.global\/restriction\/v1\/restrictionZones\/ Restricton zone with validation errors 409 POST https:\/\/api.maplink.global\/restriction\/v1\/restrictionZones\/ Conflict (ya existe un \u00e1rea de restricci\u00f3n con el mismo nombre en el mismo [&hellip;]<\/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-2383","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\/2383","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=2383"}],"version-history":[{"count":1,"href":"https:\/\/developers.maplink.global\/es\/wp-json\/wp\/v2\/posts\/2383\/revisions"}],"predecessor-version":[{"id":2384,"href":"https:\/\/developers.maplink.global\/es\/wp-json\/wp\/v2\/posts\/2383\/revisions\/2384"}],"wp:attachment":[{"href":"https:\/\/developers.maplink.global\/es\/wp-json\/wp\/v2\/media?parent=2383"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developers.maplink.global\/es\/wp-json\/wp\/v2\/categories?post=2383"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developers.maplink.global\/es\/wp-json\/wp\/v2\/tags?post=2383"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}