{"id":38543,"date":"2026-05-14T22:36:01","date_gmt":"2026-05-14T20:36:01","guid":{"rendered":"https:\/\/help.qualiware.it\/qw-help\/?p=38543"},"modified":"2026-05-14T22:36:01","modified_gmt":"2026-05-14T20:36:01","slug":"prompt-per-la-creazione-di-un-task-per-lacquisizione-di-dati-da-un-servizio-rest","status":"publish","type":"post","link":"https:\/\/help.qualiware.it\/qw-help\/prompt-per-la-creazione-di-un-task-per-lacquisizione-di-dati-da-un-servizio-rest\/","title":{"rendered":"Prompt per la creazione di un task per l&#8217;acquisizione di dati da un servizio REST"},"content":{"rendered":"<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">Esegui un task che chiama con un POST l'endpoint \"https:\/\/service.endpoint.com\/api\/anagrafiche\" che restituisce un json fatto cos\u00ec:\r\n\r\n[{\"CodiceArticolo\": ....,\r\n  \"Descrizione\":...,\r\n  \"UnitaDiMisura\":...,}...]\r\n\r\nche contiene l'anagrafica articoli, e inserisci o aggiorna la tabella ARTIC con gli elementi dell'array.\r\n<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Esegui un task che chiama con un POST l&#8217;endpoint &#8220;https:\/\/service.endpoint.com\/api\/anagrafiche&#8221; che restituisce un json fatto cos\u00ec: [{&#8220;CodiceArticolo&#8221;: &#8230;., &#8220;Descrizione&#8221;:&#8230;, &#8220;UnitaDiMisura&#8221;:&#8230;,}&#8230;] che contiene l&#8217;anagrafica articoli, e inserisci o aggiorna la tabella ARTIC con gli elementi dell&#8217;array. &nbsp;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"ngg_post_thumbnail":0,"footnotes":""},"categories":[86],"tags":[283],"acf":[],"_links":{"self":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts\/38543"}],"collection":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/comments?post=38543"}],"version-history":[{"count":1,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts\/38543\/revisions"}],"predecessor-version":[{"id":38544,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts\/38543\/revisions\/38544"}],"wp:attachment":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/media?parent=38543"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/categories?post=38543"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/tags?post=38543"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}