{"id":59544,"date":"2024-10-24T10:42:21","date_gmt":"2024-10-24T13:42:21","guid":{"rendered":"https:\/\/suporte.quattrus.com\/?p=59544"},"modified":"2024-10-24T11:09:17","modified_gmt":"2024-10-24T14:09:17","slug":"gestiona-api-functions","status":"publish","type":"post","link":"https:\/\/suporte.quattrus.com\/en\/gestiona-api-functions\/","title":{"rendered":"Gestiona: API Functions"},"content":{"rendered":"\n<p>You will be able to create integrations with your system, or your company\u2019s systems, using the resources\u00a0 of API\u2019s available for the Gestiona.<\/p>\n<p>\u00a0<\/p>\n<p>In this article we will see:<\/p>\n<p>\u00a0<\/p>\n<ul>\n<li>What are APIs for?<\/li>\n<li>Autentication<\/li>\n<li>API for KPIs<\/li>\n<li>API for Measurements<\/li>\n<li>API for Plans<\/li>\n<li>API for Users<\/li>\n<li>API for Linking<\/li>\n<li>API for Totalization<\/li>\n<\/ul>\n<p>\u00a0<\/p>\n<h3>What are APIs for?<\/h3>\n<p>\u00a0<strong>API<\/strong>\u00a0is a set of routines and programming patterns for accessing a software application or a web-based platform. The acronym\u00a0<strong>API<\/strong>\u00a0refers to the English term\u00a0<em>Application Programming Interface<\/em>\u00a0which means\u00a0<em>Application Programming Interface.<\/em><\/p>\n<p>An\u00a0<strong>API<\/strong>\u00a0serves to create an integration of data from one software to another.<\/p>\n<p>The end-point is the domain plus the\u00a0<strong>GET, PUT, POST\u00a0<\/strong>or<strong>\u00a0DELETE<\/strong>\u00a0function as in the example below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-32517 alignnone size-full\" src=\"https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2021\/04\/image_2021_04_30T17_28_58_590Z-1.png\" sizes=\"auto, (max-width: 608px) 100vw, 608px\" srcset=\"https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2021\/04\/image_2021_04_30T17_28_58_590Z-1.png 910w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2021\/04\/image_2021_04_30T17_28_58_590Z-1-300x238.png 300w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2021\/04\/image_2021_04_30T17_28_58_590Z-1-768x609.png 768w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2021\/04\/image_2021_04_30T17_28_58_590Z-1-480x381.png 480w\" alt=\"\" width=\"608\" height=\"482\" \/><\/p>\n<p>\u00a0<\/p>\n<blockquote>\n<p><em><strong>IMPORTANT:<\/strong><\/em><\/p>\n<p><em>Before starting, you need to request the permission and token release for authentication on the Gestiona server. For this, just send an email to <a href=\"mailto:suporte@qualitin;com\">suporte@qualitin.com<\/a>\u00a0informing and the\u00a0<strong>Company<\/strong>\u00a0and\u00a0<strong>User<\/strong> used in the login of the Gestiona.<\/em><\/p>\n<\/blockquote>\n<p>\u00a0<\/p>\n<h3>Autentication<\/h3>\n<p>To authenticate server access through the API, select the\u00a0<strong>Authorization<\/strong>\u00a0tab, select the\u00a0<strong>Base Auth<\/strong>\u00a0type.<\/p>\n<p>The token must be entered in the\u00a0<strong>username<\/strong>\u00a0field.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-32511 alignnone size-full\" src=\"https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2021\/04\/953d1ed8-f869-465c-a751-e17e7488c665x.jpg\" sizes=\"auto, (max-width: 874px) 100vw, 874px\" srcset=\"https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2021\/04\/953d1ed8-f869-465c-a751-e17e7488c665x.jpg 874w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2021\/04\/953d1ed8-f869-465c-a751-e17e7488c665x-300x139.jpg 300w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2021\/04\/953d1ed8-f869-465c-a751-e17e7488c665x-768x357.jpg 768w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2021\/04\/953d1ed8-f869-465c-a751-e17e7488c665x-480x223.jpg 480w\" alt=\"\" width=\"874\" height=\"406\" \/><\/p>\n<p>\u00a0<\/p>\n<h3>API for KPI<\/h3>\n<p class=\"wysiwyg-text-align-left\">To view the content, click on the image or go to:<strong>\u00a0<a href=\"https:\/\/api.qualitin.com\/swagger\/ui\/index#\/User\">api.qualitin.com<\/a><\/strong>, you will be redirected to Qualitin\u2019s APIs page.<\/p>\n<ul>\n<li class=\"wysiwyg-text-align-left\">PUT \u2013 Edits KPI.<\/li>\n<li class=\"wysiwyg-text-align-left\">POST \u2013 Includes KPI.<\/li>\n<li class=\"wysiwyg-text-align-left\">Delete \u2013 Deletes KPI.<\/li>\n<\/ul>\n<p class=\"wysiwyg-text-align-left\"><a href=\"https:\/\/api.qualitin.com\/swagger\/ui\/index#\/User\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-27290 alignnone size-full\" src=\"https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/itens-de-controle-1.png\" sizes=\"auto, (max-width: 1461px) 100vw, 1461px\" srcset=\"https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/itens-de-controle-1.png 1461w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/itens-de-controle-1-300x49.png 300w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/itens-de-controle-1-1024x166.png 1024w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/itens-de-controle-1-768x125.png 768w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/itens-de-controle-1-1080x175.png 1080w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/itens-de-controle-1-1280x208.png 1280w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/itens-de-controle-1-980x159.png 980w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/itens-de-controle-1-480x78.png 480w\" alt=\"\" width=\"1461\" height=\"237\" \/><\/a><\/p>\n<p>\u00a0<\/p>\n<h3>API for Measurements<\/h3>\n<p>To view the content, click on the image or go to:<strong>\u00a0<a href=\"https:\/\/api.qualitin.com\/swagger\/ui\/index#\/User\">api.qualitin.com<\/a><\/strong>, you will be redirected to Qualitin\u2019s APIs page.<\/p>\n<ul>\n<li>PUT \u2013 Edits the KPI measurements<\/li>\n<\/ul>\n<p>Note: At the end of each name, there is which type of\u00a0<strong>KPI<\/strong>\u00a0the code was defined.<\/p>\n<p><a href=\"https:\/\/api.qualitin.com\/swagger\/ui\/index#\/User\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-27302 alignnone size-full\" src=\"https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/Medicoes-1.png\" sizes=\"auto, (max-width: 1305px) 100vw, 1305px\" srcset=\"https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/Medicoes-1.png 1305w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/Medicoes-1-300x47.png 300w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/Medicoes-1-1024x159.png 1024w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/Medicoes-1-768x119.png 768w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/Medicoes-1-1080x168.png 1080w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/Medicoes-1-1280x199.png 1280w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/Medicoes-1-980x152.png 980w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/Medicoes-1-480x75.png 480w\" alt=\"\" width=\"1305\" height=\"203\" \/><\/a><\/p>\n<p>\u00a0<\/p>\n<h3>API for Plans<\/h3>\n<p>To view the content, click on the image or go to:<strong>\u00a0<a href=\"https:\/\/api.qualitin.com\/swagger\/ui\/index#\/User\">api.qualitin.com<\/a><\/strong>, you will be redirected to Qualitin\u2019s APIs page.<\/p>\n<ul>\n<li class=\"wysiwyg-text-align-left\">PUT \u2013 Edits an Action Plan and\/or an Action.<\/li>\n<li class=\"wysiwyg-text-align-left\">GET \u2013 Search for a Plan.<\/li>\n<li class=\"wysiwyg-text-align-left\">POST \u2013 Includes an Action Plan and\/or an Action.<\/li>\n<li class=\"wysiwyg-text-align-left\">Delete \u2013 Deletes an Action Plan and\/or an Action.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/api.qualitin.com\/swagger\/ui\/index#\/User\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-27305 alignnone size-full\" src=\"https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/Plano-1.png\" sizes=\"auto, (max-width: 1300px) 100vw, 1300px\" srcset=\"https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/Plano-1.png 1300w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/Plano-1-300x110.png 300w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/Plano-1-1024x375.png 1024w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/Plano-1-768x281.png 768w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/Plano-1-1080x395.png 1080w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/Plano-1-1280x469.png 1280w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/Plano-1-980x359.png 980w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/Plano-1-480x176.png 480w\" alt=\"\" width=\"1300\" height=\"476\" \/><\/a><\/p>\n<p>\u00a0<\/p>\n<h3>API for Users<\/h3>\n<p>To view the content, click on the image or go to:<strong>\u00a0<a href=\"https:\/\/api.qualitin.com\/swagger\/ui\/index#\/User\">api.qualitin.com<\/a><\/strong>, you will be redirected to Qualitin\u2019s APIs page.<\/p>\n<ul>\n<li class=\"wysiwyg-text-align-left\">PUT \u2013 Edits a User.<\/li>\n<li class=\"wysiwyg-text-align-left\">POST \u2013 Adds a User.<\/li>\n<li class=\"wysiwyg-text-align-left\">Delete \u2013 Deletes a User.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/api.qualitin.com\/swagger\/ui\/index#\/User\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-27308 alignnone size-full\" src=\"https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/Usuarios-1.png\" sizes=\"auto, (max-width: 1301px) 100vw, 1301px\" srcset=\"https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/Usuarios-1.png 1301w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/Usuarios-1-300x48.png 300w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/Usuarios-1-1024x163.png 1024w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/Usuarios-1-768x122.png 768w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/Usuarios-1-1080x172.png 1080w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/Usuarios-1-1280x204.png 1280w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/Usuarios-1-980x156.png 980w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2020\/08\/Usuarios-1-480x76.png 480w\" alt=\"\" width=\"1301\" height=\"207\" \/><\/a><\/p>\n<p>\u00a0<\/p>\n<h3>API for Linking<\/h3>\n<p>To view the content, click on the image or go to:<strong>\u00a0<a href=\"https:\/\/api.qualitin.com\/swagger\/ui\/index#\/User\">api.qualitin.com<\/a><\/strong>, you will be redirected to Qualitin\u2019s APIs page.<\/p>\n<ul>\n<li class=\"wysiwyg-text-align-left\">GET \u2013 Search for a Link.<\/li>\n<li class=\"wysiwyg-text-align-left\">POST \u2013 Includes a Link.<\/li>\n<li class=\"wysiwyg-text-align-left\">Delete \u2013 Deletes a Link.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/api.qualitin.com\/swagger\/ui\/index#\/KPI_Linked\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-30624 alignnone size-large\" src=\"https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2021\/03\/Captura-de-tela-2021-03-03-182420-1024x173.png\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" srcset=\"https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2021\/03\/Captura-de-tela-2021-03-03-182420-1024x173.png 1024w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2021\/03\/Captura-de-tela-2021-03-03-182420-300x51.png 300w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2021\/03\/Captura-de-tela-2021-03-03-182420-768x130.png 768w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2021\/03\/Captura-de-tela-2021-03-03-182420-1080x182.png 1080w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2021\/03\/Captura-de-tela-2021-03-03-182420-1280x216.png 1280w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2021\/03\/Captura-de-tela-2021-03-03-182420-980x165.png 980w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2021\/03\/Captura-de-tela-2021-03-03-182420-480x81.png 480w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2021\/03\/Captura-de-tela-2021-03-03-182420.png 1434w\" alt=\"\" width=\"1024\" height=\"173\" \/><\/a><\/p>\n<p>\u00a0<\/p>\n<h3>API for Totalization<\/h3>\n<p>To view the content, click on the image or go to:<strong>\u00a0<a href=\"https:\/\/api.qualitin.com\/swagger\/ui\/index#\/User\">api.qualitin.com<\/a><\/strong>, you will be redirected to Qualitin\u2019s APIs page.<\/p>\n<ul>\n<li class=\"wysiwyg-text-align-left\">GET \u2013 Search for a Totalization.<\/li>\n<li class=\"wysiwyg-text-align-left\">PUT \u2013 Edit a Totalization.<\/li>\n<li class=\"wysiwyg-text-align-left\">POST \u2013 Includes a Totalization.<\/li>\n<li class=\"wysiwyg-text-align-left\">Delete \u2013 Deletes a Totalization.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/api.qualitin.com\/swagger\/ui\/index#\/KPI_Consolidate\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-30627 alignnone size-large\" src=\"https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2021\/03\/Captura-de-tela-2021-03-03-182731-1024x344.png\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" srcset=\"https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2021\/03\/Captura-de-tela-2021-03-03-182731-1024x344.png 1024w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2021\/03\/Captura-de-tela-2021-03-03-182731-300x101.png 300w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2021\/03\/Captura-de-tela-2021-03-03-182731-768x258.png 768w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2021\/03\/Captura-de-tela-2021-03-03-182731-1080x363.png 1080w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2021\/03\/Captura-de-tela-2021-03-03-182731-1280x430.png 1280w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2021\/03\/Captura-de-tela-2021-03-03-182731-980x329.png 980w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2021\/03\/Captura-de-tela-2021-03-03-182731-480x161.png 480w, https:\/\/suporte.quattrus.com\/wp-content\/uploads\/2021\/03\/Captura-de-tela-2021-03-03-182731.png 1433w\" alt=\"\" width=\"1024\" height=\"344\" \/><\/a><\/p>\n<p>\u00a0<\/p>\n<blockquote>\n<p><strong><em>REMINDER:<\/em><\/strong><br \/>Qualitin makes the APIs available for the integration to be performed by the interested party.<\/p>\n<\/blockquote>\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[2756,2708,2869],"tags":[],"class_list":["post-59544","post","type-post","status-publish","format-standard","hentry","category-administrador-quattrus-en","category-quattrus-en","category-recursos-do-administrador-quattrus-en"],"_links":{"self":[{"href":"https:\/\/suporte.quattrus.com\/en\/wp-json\/wp\/v2\/posts\/59544","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/suporte.quattrus.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/suporte.quattrus.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/suporte.quattrus.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/suporte.quattrus.com\/en\/wp-json\/wp\/v2\/comments?post=59544"}],"version-history":[{"count":4,"href":"https:\/\/suporte.quattrus.com\/en\/wp-json\/wp\/v2\/posts\/59544\/revisions"}],"predecessor-version":[{"id":59556,"href":"https:\/\/suporte.quattrus.com\/en\/wp-json\/wp\/v2\/posts\/59544\/revisions\/59556"}],"wp:attachment":[{"href":"https:\/\/suporte.quattrus.com\/en\/wp-json\/wp\/v2\/media?parent=59544"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/suporte.quattrus.com\/en\/wp-json\/wp\/v2\/categories?post=59544"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/suporte.quattrus.com\/en\/wp-json\/wp\/v2\/tags?post=59544"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}