{"info":{"_postman_id":"5257fa00-af6a-423b-8b2d-33e6ad789bb9","name":"API Goldylocks","description":"<html><head></head><body><h3 id=\"acesso-api\">Acesso API</h3>\n<p>Todos os pedidos à API do Goldylocks feitos de forma externa têm de utilizar uma <strong>chave API</strong> ou token <strong>JWT</strong>.</p>\n<h4 id=\"token-jwt-recomendado\">Token JWT (Recomendado)</h4>\n<p>De forma a obtermos um token <strong>JWT</strong> válido devemos primeiro obtê-lo utilizando o username a senha de um utilizador e fazendo uma chamada ao endpoint da API <code>obtertoken</code>,<br>passando os campos <code>username</code> e <code>password</code> por <code>POST</code>:</p>\n<p><code>https://app.goldylocks.pt/empresademonstrativa/api/obtertoken</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">{\n \"username\": \"admin\",\n \"password\": \"senhaSegura@2021\"\n}\n\n</code></pre>\n<p>Em seguida adicionamos o token obtido ao <strong>header</strong> dos pedidos a fazer à API como <code>Authorization: Bearer TOKEN_OBTIDO</code>.</p>\n<h4 id=\"chave-api\">Chave API</h4>\n<p>Exemplo <strong>chave API</strong>:<br><code>https://app.goldylocks.pt/empresademonstrativa/api/artigos/?api=112233445566ffaa</code></p>\n<p>De forma a ser possivel utilizar a <strong>chave API</strong> tem de ser adicionado ao URL o paramêtro <code>&amp;api=CHAVE_API_GOLDYLOCKS</code>.<br>A <strong>chave API</strong> do Goldylocks é gerada indo a <code>Gestão</code> -&gt; <code>Tabelas</code> -&gt; <code>Sistema</code> -&gt;<code>Agentes/Dispositivos</code> , separador <code>API</code>e clicar em <code>Criar nova chave API</code>.</p>\n<p><em>Goldylocks Portugal 2022</em></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"1164224","collectionId":"5257fa00-af6a-423b-8b2d-33e6ad789bb9","publishedId":"UVyytCxw","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-04-11T10:50:06.000Z"},"item":[{"name":"Agendamentos","item":[{"name":"Obter agendamentos","id":"187fcf7f-30ed-44ae-9f9f-ff66209c474b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"data_inicial","value":"","description":"<p>data inicial dos agendamentos</p>\n","type":"text","disabled":true},{"key":"data_final","value":"","description":"<p>data final dos agendamentos</p>\n","type":"text","disabled":true},{"key":"id_utilizador","value":"","description":"<p>filtro por id de utilizador</p>\n","type":"text","disabled":true},{"key":"id_cliente","value":"1","description":"<p>filtro por id de cliente</p>\n","type":"text"},{"key":"id_artigo","value":"","description":"<p>filtro por id de artigo</p>\n","type":"text","disabled":true},{"key":"id_especialidade","value":"","description":"<p>fitro por id da especialidade</p>\n","type":"text","disabled":true},{"key":"confirmado","value":"0","description":"<p>[OPCIONAL] 1 - confirmados, 0 - não confirmados</p>\n","type":"text","disabled":true},{"key":"terminado","value":"0","description":"<p>[OPCIONAL] 1 - terminados, 0 - nao terminados</p>\n","type":"text","disabled":true},{"key":"ordem","value":"DESC","type":"text"},{"key":"obter_especialidades_utilizador","value":"1","description":"<p>obter agendamentos com as especialidades do utilizador</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}agendamentos/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}agendamentos"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"187fcf7f-30ed-44ae-9f9f-ff66209c474b"},{"name":"Obter agendamento","id":"38764d81-308b-4e56-bfc8-3e4951f26dbe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_agendamento","value":"3","description":"<p>id do agendamento a obter</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}agendamento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}agendamento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"38764d81-308b-4e56-bfc8-3e4951f26dbe"},{"name":"Criar agendamento","id":"26809f30-50f0-4861-b793-80adfd1e0f1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"data_inicio","value":"2019-11-15 08:00:00","description":"<p>inicio do evento</p>\n","type":"text"},{"key":"data_fim","value":"2019-11-15 09:00:00","description":"<p>fim do evento</p>\n","type":"text"},{"key":"descricao","value":"Evento de teste","description":"<p>descrição do evento</p>\n","type":"text"},{"key":"observacoes","value":"Detalhes do evento","description":"<p>[Opcional] - detalhes do evento</p>\n","type":"text"},{"key":"id_especialidade","value":"","description":"<p>[Opcional] - id da especialidade dos utilizadores</p>\n","type":"text"},{"key":"id_utilizador","value":"","description":"<p>[Opcional] - id do utilizador do evento</p>\n","type":"text"},{"key":"id_cliente","value":"","description":"<p>[Opcional] - id do cliente do evento</p>\n","type":"text"},{"key":"id_artigo","value":"","description":"<p>[Opcional] - id do artigo do evento</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}criaragendamento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criaragendamento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"26809f30-50f0-4861-b793-80adfd1e0f1a"},{"name":"Alterar agendamento","id":"e021410a-0786-4eb6-8214-c9c13531e93b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_agendamento","value":"1","description":"<p>id do agendamento a alterar</p>\n","type":"text"},{"key":"data_inicio","value":"2019-11-15 08:00:00","description":"<p>inicio do evento</p>\n","type":"text"},{"key":"data_fim","value":"2019-11-15 09:00:00","description":"<p>fim do evento</p>\n","type":"text"},{"key":"descricao","value":"Evento de teste","description":"<p>descrição do evento</p>\n","type":"text"},{"key":"observacoes","value":"Detalhes do evento","description":"<p>[Opcional] - detalhes do evento</p>\n","type":"text"},{"key":"id_especialidade","value":"","description":"<p>[Opcional] - id da especialidade dos utilizadores</p>\n","type":"text"},{"key":"id_utilizador","value":"","description":"<p>[Opcional] - id do utilizador do evento</p>\n","type":"text"},{"key":"id_cliente","value":"","description":"<p>[Opcional] - id do cliente do evento</p>\n","type":"text"},{"key":"id_artigo","value":"","description":"<p>[Opcional] - id do artigo do evento</p>\n","type":"text"},{"key":"confirmado","value":"0","description":"<p>confirmacao do agendamento</p>\n","type":"text"},{"key":"terminado","value":"0","description":"<p>marcar o agendamento como efetuado</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}editaragendamento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}editaragendamento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"e021410a-0786-4eb6-8214-c9c13531e93b"},{"name":"Mover agendamento","id":"cc8434bc-c5ce-41e8-b271-66c3d18c113d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_agendamento","value":"4","description":"<p>id do agendamento a obter</p>\n","type":"text"},{"key":"delta_dias","value":"1","type":"text"},{"key":"delta_minutos","value":"60","type":"text"}]},"url":"{{goldylocks-api-url}}moveragendamento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}moveragendamento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"cc8434bc-c5ce-41e8-b271-66c3d18c113d"},{"name":"Processar agendamento para documento","id":"32ec1a7b-6c12-4fd8-9ee0-757021bd7dc6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_agendamento","value":"4","description":"<p>id do agendamento a obter</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}processaragendamento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}processaragendamento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"32ec1a7b-6c12-4fd8-9ee0-757021bd7dc6"},{"name":"Alterar duraçao agendamento","id":"f6e9e756-69cc-4822-aa7e-1ef2af7e2acb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_agendamento","value":"4","description":"<p>id do agendamento a obter</p>\n","type":"text"},{"key":"delta_minutos","value":"60","type":"text"}]},"url":"{{goldylocks-api-url}}alterarduracaoagendamento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterarduracaoagendamento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"f6e9e756-69cc-4822-aa7e-1ef2af7e2acb"},{"name":"Eliminar agendamento","id":"b2831a5a-aafc-44af-8829-e49872216345","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_agendamento","value":"1","description":"<p>id do agendamento a remover</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}removeragendamento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removeragendamento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"b2831a5a-aafc-44af-8829-e49872216345"},{"name":"Eliminar agendamentos recorrentes seguintes","id":"0fd11357-0191-435a-8cff-43783472012b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_agendamento","value":"1","description":"<p>id do agendamento base</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}removeragendamento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removeragendamento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"0fd11357-0191-435a-8cff-43783472012b"},{"name":"Confirmar agendamento","id":"28833bed-364a-4e2c-91c4-f192b016b2f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_agendamento","value":"1","description":"<p>id do agendamento a remover</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}removeragendamento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removeragendamento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"28833bed-364a-4e2c-91c4-f192b016b2f2"},{"name":"Anular confirmação agendamento","id":"ac7fba06-5a0e-4c19-845a-fb885403e898","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_agendamento","value":"1","description":"<p>id do agendamento a remover</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}anularconfirmacaoagendamento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}anularconfirmacaoagendamento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"ac7fba06-5a0e-4c19-845a-fb885403e898"},{"name":"Terminar agendamento","id":"b67fec06-3db1-4f53-b155-e85ec4dc586a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_agendamento","value":"1","description":"<p>id do agendamento a remover</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}terminaragendamento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}terminaragendamento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"b67fec06-3db1-4f53-b155-e85ec4dc586a"},{"name":"Anular termino documento","id":"8d1b6ddf-79bf-4434-9ab2-ac5196adc599","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_agendamento","value":"1","description":"<p>id do agendamento a remover</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}anularterminoagendamento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}anularterminoagendamento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"8d1b6ddf-79bf-4434-9ab2-ac5196adc599"},{"name":"Alterar registo de um agendamento","id":"692ad015-7e12-4596-a4f7-0635861ba7da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_agendamento","value":"3","description":"<p>id do agendamento a remover</p>\n","type":"text"},{"key":"texto_registo","value":"Registo do agendamento","description":"<p>texto a guardar como registo do agendamento</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}alterarregistoagendamento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterarregistoagendamento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"692ad015-7e12-4596-a4f7-0635861ba7da"},{"name":"Alterar observações de um agendamento","id":"a1a0a3df-ff96-4790-a9f1-bcabf0c9e42f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_agendamento","value":"1","description":"<p>id do agendamento a remover</p>\n","type":"text"},{"key":"texto_observacoes","value":"Observações do agendamento","description":"<p>texto a guardar como observações do agendamento</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}alterarobservacoesagendamento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterarobservacoesagendamento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"a1a0a3df-ff96-4790-a9f1-bcabf0c9e42f"},{"name":"Pesquisar um agendamento por texto","id":"42480982-4cec-40e6-983a-023fddb9aa11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"pesquisa","value":"oscilo","description":"<p>Texto a pesquisar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}pesquisaragendamentos/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}pesquisaragendamentos"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"42480982-4cec-40e6-983a-023fddb9aa11"},{"name":"Adicionar ficheiro a agendamento","id":"c2b865a0-f29f-4255-b036-12d1b652bd5a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_agendamento","value":"1","description":"<p>ID do agendamento</p>\n","type":"text"},{"key":"ficheiro","description":"<p>Ficheiro a adicionar</p>\n","type":"file","value":null}]},"url":"{{goldylocks-api-url}}criarficheiroagendamento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criarficheiroagendamento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"c2b865a0-f29f-4255-b036-12d1b652bd5a"},{"name":"Eliminar ficheiro a agendamento","id":"b813af18-9c8f-48e8-a8af-292537a5506e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_ficheiro_agendamento","value":"14","description":"<p>ID do ficheiro a eliminar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}eliminarficheiroagendamento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarficheiroagendamento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"b813af18-9c8f-48e8-a8af-292537a5506e"},{"name":"Obter ficheiros de um agendamento","id":"4a0e60be-2d86-4575-837d-88d79306335e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_agendamento","value":"1","description":"<p>ID do ficheiro a eliminar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}ficheirosagendamento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}ficheirosagendamento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"4a0e60be-2d86-4575-837d-88d79306335e"},{"name":"Obter ficheiros de agendamentos de um cliente","id":"88521908-ba2e-4ed2-b320-f4710f2188d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_cliente","value":"42","description":"<p>ID do ficheiro a eliminar</p>\n","type":"text"},{"key":"pesquisa","value":"","description":"<p>[OPCIONAL] - pesquisa pelo nome do ficheiro</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}ficheirosagendamentocliente/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}ficheirosagendamentocliente"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"88521908-ba2e-4ed2-b320-f4710f2188d7"},{"name":"Obter ficheiro de um agendamento","id":"409ad24e-4156-4051-845c-7ecdde2a409a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_agendamento","value":"1","description":"<p>ID do ficheiro a eliminar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}ficheiroagendamento/?api={{api-token}}&id=17&download=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}ficheiroagendamento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do ficheiro</p>\n","type":"text/plain"},"key":"id","value":"17"},{"description":{"content":"<p>[OPCIONAL] - descarregar ficheiro</p>\n","type":"text/plain"},"key":"download","value":"1"}],"variable":[]}},"response":[],"_postman_id":"409ad24e-4156-4051-845c-7ecdde2a409a"}],"id":"505b738e-667e-492b-972a-26c1da118be9","_postman_id":"505b738e-667e-492b-972a-26c1da118be9","description":""},{"name":"Agentes","item":[{"name":"Obter os agentes de impressão disponiveis","id":"fcbc04c2-5098-4412-98fd-93089ccd4c8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{goldylocks-api-url}}agentes/?api={{api-token}}&u=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}agentes"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>obter info de todos os agentes, senao obtem apenas os do utilizador ativo</p>\n","type":"text/plain"},"key":"u","value":"1"}],"variable":[]}},"response":[{"id":"adb4d326-a9fd-4ba3-b27d-41a9b667007f","name":"Obter os agentes de impressão disponiveis","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}agentes/?api={{api-token}}&u=1","host":["{{goldylocks-api-url}}agentes"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"},{"key":"u","value":"1","description":"obter info de todos os agentes, senao obtem apenas os do utilizador ativo"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Feb 2025 13:15:49 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"access-control-allow-headers","value":"*"},{"key":"vary","value":"Accept-Encoding,User-Agent"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=5OKqvAuyaxaHnsY%2BDLJGHGXXkecoqGFOYlthMyKi%2BKqdb51U66iQ65wgSejJD2o4P3%2F9N2Mw%2FQwA97CHBNVzBkKob4j9nEwpK2yym5Pjc8bCahXJozKmvSIyfjgbANnRCL5EBT0W0Q%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90db693f39953cda-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=38617&min_rtt=38395&rtt_var=6346&sent=32&recv=31&lost=0&retrans=0&sent_bytes=5993&recv_bytes=1641&delivery_rate=75657&cwnd=256&unsent_bytes=0&cid=51e82087d0babbb3&ts=22931&x=0\""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"3506758565756928\",\n        \"descricao\": \"agente_1_dev\",\n        \"impressoras\": \"[{\\\"nome\\\":\\\"taloes2\\\"},{\\\"nome\\\":\\\"OneNote (Desktop)\\\"},{\\\"nome\\\":\\\"Microsoft Print to PDF\\\"},{\\\"nome\\\":\\\"HP426493 (HP Officejet Pro 6830)\\\"},{\\\"nome\\\":\\\"HP Smart Printing\\\"},{\\\"nome\\\":\\\"Brother PC-FAX v.3.1\\\"},{\\\"nome\\\":\\\"Brother MFC-9340CDW Printer (cópia 1)\\\"},{\\\"nome\\\":\\\"Brother MFC-9340CDW Printer\\\"}]\",\n        \"caracteristicas\": \"Windows_NT ia32 10.0.26120\",\n        \"impressora_defeito\": null,\n        \"id_viatura\": \"0\",\n        \"descricao_viatura\": null,\n        \"matricula\": null\n    }\n]"}],"_postman_id":"fcbc04c2-5098-4412-98fd-93089ccd4c8c"},{"name":"Delivery - obter agentes disponiveis","id":"02240ced-696d-4885-8bff-dcc4e24cc428","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{goldylocks-api-url}}agentesdelivery/?api={{api-token}}&p=todos","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}agentesdelivery"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"p","value":"todos"}],"variable":[]}},"response":[],"_postman_id":"02240ced-696d-4885-8bff-dcc4e24cc428"},{"name":"Verificar se um agente se encontra ativo","id":"b2b0b98b-1599-48ca-b671-d8bbc4cf44ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{goldylocks-api-url}}checkagenteactivo/?api={{api-token}}&agente=852588708511","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}checkagenteactivo"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do agente a verificar, devolve 1 se ativo</p>\n","type":"text/plain"},"key":"agente","value":"852588708511"}],"variable":[]}},"response":[],"_postman_id":"b2b0b98b-1599-48ca-b671-d8bbc4cf44ac"},{"name":"Obter os agentes de impressão ativos","id":"21934034-269e-4d88-b8d4-a91676b0e125","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{goldylocks-api-url}}agentesactivos/?api={{api-token}}&p=852588708511&q","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}agentesactivos"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id de agente especifico a verificar se esta ativo</p>\n","type":"text/plain"},"key":"p","value":"852588708511"},{"description":{"content":"<p>id de agente especifico a verificar se esta ativo</p>\n","type":"text/plain"},"key":"q","value":""}],"variable":[]}},"response":[],"_postman_id":"21934034-269e-4d88-b8d4-a91676b0e125"},{"name":"Obter todos os agentes ativos online","id":"708ebccd-7983-422b-b605-2d76d38e751f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{goldylocks-api-url}}agentesonline/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}agentesonline"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"708ebccd-7983-422b-b605-2d76d38e751f"},{"name":"Ativar um agente","id":"b31fb98a-9482-426d-8919-62afe1bcf92c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{goldylocks-api-url}}activaragente/?api={{api-token}}&p=852588708511","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}activaragente"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do agente a ativar</p>\n","type":"text/plain"},"key":"p","value":"852588708511"}],"variable":[]}},"response":[{"id":"de1c60d0-4eeb-4a56-98a1-ed6e10b7aa09","name":"Ativar um agente","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}activaragente/?api={{api-token}}&p=852588708511","host":["{{goldylocks-api-url}}activaragente"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"},{"key":"p","value":"852588708511","description":"id do agente a ativar"}]}},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 09 Oct 2023 09:01:32 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding,User-Agent"}],"cookie":[],"responseTime":null,"body":"ok"}],"_postman_id":"b31fb98a-9482-426d-8919-62afe1bcf92c"},{"name":"Desativar um agente","id":"be681ad8-09d0-4af2-94ec-29202ba4f3d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{goldylocks-api-url}}desactivaragente/?api={{api-token}}&p=852588708511","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}desactivaragente"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id de desativação do agente</p>\n","type":"text/plain"},"key":"p","value":"852588708511"}],"variable":[]}},"response":[],"_postman_id":"be681ad8-09d0-4af2-94ec-29202ba4f3d3"},{"name":"Enviar um comando a um agente","id":"69688dac-ac60-456f-bf6d-0b45c0dc81ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"c","value":"docid=277&tipodoc=3&vias=[\"1\"]","description":"<p>complemento de URL a ser chamado pelo agente para obter informação necessária para executar o comando</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}agentecomando/?api={{api-token}}&p=852588708511&cmd=imprimir&i=HP1030B1 HP Officejet Pro 6830","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}agentecomando"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do agente a receber o comando</p>\n","type":"text/plain"},"key":"p","value":"852588708511"},{"description":{"content":"<p>comando a ser executado no agente</p>\n","type":"text/plain"},"key":"cmd","value":"imprimir"},{"description":{"content":"<p>nome da impressora de destino para impressão de documentos</p>\n","type":"text/plain"},"key":"i","value":"HP1030B1 HP Officejet Pro 6830"}],"variable":[]}},"response":[],"_postman_id":"69688dac-ac60-456f-bf6d-0b45c0dc81ab"},{"name":"Enviar impresão de um documento para um agente","id":"c463a7f6-4fa6-45ed-8173-78209919c285","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{goldylocks-api-url}}agenteimprimir/?api={{api-token}}&p=852588708511&d=102&td=2&i=HP1030B1 HP Officejet Pro 6830","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}agenteimprimir"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do agente a utilizar par a a impressão</p>\n","type":"text/plain"},"key":"p","value":"852588708511"},{"description":{"content":"<p>id do documento a imprimir</p>\n","type":"text/plain"},"key":"d","value":"102"},{"description":{"content":"<p>id do tipo de documento</p>\n","type":"text/plain"},"key":"td","value":"2"},{"description":{"content":"<p>impressora do agente a utilizar</p>\n","type":"text/plain"},"key":"i","value":"HP1030B1 HP Officejet Pro 6830"}],"variable":[]}},"response":[],"_postman_id":"c463a7f6-4fa6-45ed-8173-78209919c285"},{"name":"Keepalive","id":"8753cfbd-e919-46d5-a6ab-2f033079de5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{goldylocks-api-url}}keepalive/?api={{api-token}}&p=852588708511&d=Agentes 2 &i=[HP 1, HP 2]&c={info:linux}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}keepalive"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do agente a ativar</p>\n","type":"text/plain"},"key":"p","value":"852588708511"},{"description":{"content":"<p>descrição do agente</p>\n","type":"text/plain"},"key":"d","value":"Agentes 2 "},{"description":{"content":"<p>impressoras disponiveis no agente</p>\n","type":"text/plain"},"key":"i","value":"[HP 1, HP 2]"},{"description":{"content":"<p>sysinfo do agente</p>\n","type":"text/plain"},"key":"c","value":"{info:linux}"}],"variable":[]}},"response":[],"_postman_id":"8753cfbd-e919-46d5-a6ab-2f033079de5c"},{"name":"Adicionar viatura ao agente","id":"8f3cd662-05e8-449b-9768-1e8e70178a53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{goldylocks-api-url}}alterarviaturaagente/?api={{api-token}}&agente=10256491025453&viatura=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterarviaturaagente"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do agente</p>\n","type":"text/plain"},"key":"agente","value":"10256491025453"},{"description":{"content":"<p>id da viatura</p>\n","type":"text/plain"},"key":"viatura","value":"1"}],"variable":[]}},"response":[],"_postman_id":"8f3cd662-05e8-449b-9768-1e8e70178a53"},{"name":"Obter todas as impressoras configuradas","id":"6d3c287f-0ee9-4152-bc50-f82270418ac0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[{"key":"c","value":"docid=277&tipodoc=3&vias=[\"1\"]","description":"<p>complemento de URL a ser chamado pelo agente para obter informação necessária para executar o comando</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}impressoras/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}impressoras"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[{"id":"5ea4d173-a59f-4930-9212-be2d09195541","name":"Obter todas as impressoras configuradas","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[{"key":"c","value":"docid=277&tipodoc=3&vias=[\"1\"]","description":"complemento de URL a ser chamado pelo agente para obter informação necessária para executar o comando","type":"text"}]},"url":{"raw":"{{goldylocks-api-url}}impressoras/?api={{api-token}}","host":["{{goldylocks-api-url}}impressoras"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Feb 2025 13:30:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Encoding","value":"br"},{"key":"Cf-Ray","value":"90db7e534f0d3ce1-CDG"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"Cf-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=VNVk9FC876YS7US0FBDzdnaxKl7cI4T9sxFCKDsOFZaWu6ZswZy3WeBXidpylSkuEvvRDxIaByn0jTZO8ykSA%2BkTm20wtR1I8sTPQ4U9c%2BjCmPbIi1q6lMzjWV%2BDf3%2FYfoSaKNBHjQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"Nel","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=36466&min_rtt=36162&rtt_var=10653&sent=5&recv=6&lost=0&retrans=0&sent_bytes=2993&recv_bytes=1253&delivery_rate=76495&cwnd=252&unsent_bytes=0&cid=baceda544689d362&ts=251&x=0\""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id_posto\": \"3506758565756928\",\n        \"impressora\": \"Brother MFC-9340CDW Printer\",\n        \"tipo\": \"A4\",\n        \"hash_impressora\": \"d4aaee54e216cd359abc828a4b697dac88a6d6c9\",\n        \"descricao_posto\": \"agente_1_dev\",\n        \"ultimo_sync\": \"2025-02-06 13:30:08\"\n    },\n    {\n        \"id_posto\": \"3506758565756928\",\n        \"impressora\": \"HP426493 (HP Officejet Pro 6830)\",\n        \"tipo\": \"A4\",\n        \"hash_impressora\": \"e12f970c80a5d4048e751718ecdcdf1b17d5ea69\",\n        \"descricao_posto\": \"agente_1_dev\",\n        \"ultimo_sync\": \"2025-02-06 13:30:08\"\n    },\n    {\n        \"id_posto\": \"3506758565756928\",\n        \"impressora\": \"taloes2\",\n        \"tipo\": \"talao\",\n        \"hash_impressora\": \"78dfe4c909dae490b9550b4fa86eae9d923bbb75\",\n        \"descricao_posto\": \"agente_1_dev\",\n        \"ultimo_sync\": \"2025-02-06 13:30:08\"\n    }\n]"}],"_postman_id":"6d3c287f-0ee9-4152-bc50-f82270418ac0"},{"name":"Obter as impressoras disponiveis de um agente","id":"4108b4c1-cde2-42a2-ab50-878a3466ac44","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"c","value":"docid=277&tipodoc=3&vias=[\"1\"]","description":"<p>complemento de URL a ser chamado pelo agente para obter informação necessária para executar o comando</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}impressorasagente/?api={{api-token}}&p=3506758565756928","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}impressorasagente"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id de agente </p>\n","type":"text/plain"},"key":"p","value":"3506758565756928"}],"variable":[]}},"response":[{"id":"a7bb6a48-2ab8-4e75-acf0-e10926b78b48","name":"Obter as impressoras disponiveis de um agente","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"c","value":"docid=277&tipodoc=3&vias=[\"1\"]","description":"complemento de URL a ser chamado pelo agente para obter informação necessária para executar o comando","type":"text"}]},"url":{"raw":"{{goldylocks-api-url}}impressorasagente/?api={{api-token}}&p=3506758565756928","host":["{{goldylocks-api-url}}impressorasagente"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"},{"key":"p","value":"3506758565756928","description":"id de agente "}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Feb 2025 13:22:23 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"access-control-allow-headers","value":"*"},{"key":"vary","value":"Accept-Encoding,User-Agent"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=fAKDh0eHo6gv1cxVQ7IC3OxWceFl2YHwfptCqwhskBKPG1VHyNJ0NU9fvvGfM%2Fcc5wZmNyFGma%2FuClpg1p%2FZnwGykMWjCM03xqc9rP1u2ICX0UaRobNbUlcq3MkaeL28%2F9%2FsXI06rA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90db72de4b8e3cd5-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=37296&min_rtt=37107&rtt_var=8105&sent=17&recv=17&lost=0&retrans=0&sent_bytes=4163&recv_bytes=1948&delivery_rate=78074&cwnd=254&unsent_bytes=0&cid=03c47014fcc4d186&ts=10320&x=0\""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id_posto\": \"3506758565756928\",\n        \"impressora\": \"Brother MFC-9340CDW Printer\",\n        \"tipo\": \"A4\"\n    },\n    {\n        \"id_posto\": \"3506758565756928\",\n        \"impressora\": \"HP426493 (HP Officejet Pro 6830)\",\n        \"tipo\": \"A4\"\n    },\n    {\n        \"id_posto\": \"3506758565756928\",\n        \"impressora\": \"taloes2\",\n        \"tipo\": \"talao\"\n    }\n]"}],"_postman_id":"4108b4c1-cde2-42a2-ab50-878a3466ac44"},{"name":"Ativar impressora no agente para utilização","id":"e57cdae8-9823-4097-a8b4-8d77d9cb0ffb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"impressora","value":"HP 2456 XP","description":"<p>Nome da impressora a ativar</p>\n","type":"text"},{"key":"tipo","value":"A4","description":"<p>A4 ou talao</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}activarimpressoraagente/?api={{api-token}}&p=852588708511","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}activarimpressoraagente"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id de agente especifico a verificar se esta ativo</p>\n","type":"text/plain"},"key":"p","value":"852588708511"}],"variable":[]}},"response":[],"_postman_id":"e57cdae8-9823-4097-a8b4-8d77d9cb0ffb"},{"name":"Desativar impressora no agente","id":"1c876819-377c-48b0-a485-5deb5d5b6c85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"impressora","value":"HP 2456 XP","description":"<p>Nome da impressora a desativar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}desactivarimpressoraagente/?api={{api-token}}&p=852588708511","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}desactivarimpressoraagente"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id de agente especifico a verificar se esta desativo</p>\n","type":"text/plain"},"key":"p","value":"852588708511"}],"variable":[]}},"response":[],"_postman_id":"1c876819-377c-48b0-a485-5deb5d5b6c85"},{"name":"Criar chave API","id":"c4b76798-dc82-40c9-be36-60d8e9a14316","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{goldylocks-api-url}}criarchaveapi/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criarchaveapi"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"c4b76798-dc82-40c9-be36-60d8e9a14316"},{"name":"Obter todas as chaves API","id":"51aa1f39-b6bf-4649-8df1-b2098a4d3be4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{goldylocks-api-url}}chavesapi/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}chavesapi"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"51aa1f39-b6bf-4649-8df1-b2098a4d3be4"},{"name":"Obter perifericos de um agente","id":"db18a181-1dc9-4563-a890-ee632cfacf44","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}perifericosagente/?api={{api-token}}&p=123123123123","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}perifericosagente"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"p","value":"123123123123"}],"variable":[]}},"response":[],"_postman_id":"db18a181-1dc9-4563-a890-ee632cfacf44"},{"name":"Adicionar periferico agente","id":"8307c475-a918-40ed-8bad-45d98eed7542","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_agente","value":"123123123123123","description":"<p>id do agente</p>\n","type":"text"},{"key":"descricao","value":"Display","description":"<p>descrição do periferico</p>\n","type":"text"},{"key":"tipo","value":"vfd","description":"<p>tipo do periferico</p>\n","type":"text"},{"key":"porta","value":"COM3","description":"<p>caminho de acesso ao periferico no posto</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}adicionarperiferico/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}adicionarperiferico"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"8307c475-a918-40ed-8bad-45d98eed7542"},{"name":"Remover periferico agente","id":"8bdc03f7-66d2-4960-9d63-d71d31ac09e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_periferico","value":"1","description":"<p>id do periferico a remover</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}removerperiferico/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removerperiferico"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"8bdc03f7-66d2-4960-9d63-d71d31ac09e1"},{"name":"Abrir gaveta nas impressoras de taloes do posto","id":"c1c2e3f0-b292-47da-a5d5-785f2c1c5ce0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_agente","value":"3433557571665920","type":"text"}]},"url":"{{goldylocks-api-url}}abrirgaveta/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}abrirgaveta"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"c1c2e3f0-b292-47da-a5d5-785f2c1c5ce0"}],"id":"9799b055-0522-4fb3-9ba6-9638c0b1c92a","_postman_id":"9799b055-0522-4fb3-9ba6-9638c0b1c92a","description":""},{"name":"Aniversários Clientes","item":[{"name":"Obter aniversários dos clientes","id":"f9a404dd-91e7-44cf-b6d9-0a45f1d9f79b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{goldylocks-api-url}}aniversariosclientes/?api={{api-token}}&dia=11&mes=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}aniversariosclientes"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>Opcional - dia do aniversario</p>\n","type":"text/plain"},"key":"dia","value":"11"},{"description":{"content":"<p>Opcional - mes do aniversario</p>\n","type":"text/plain"},"key":"mes","value":"1"}],"variable":[]}},"response":[],"_postman_id":"f9a404dd-91e7-44cf-b6d9-0a45f1d9f79b"}],"id":"37b4ad5c-827e-43b7-aeee-211d53f8faa3","_postman_id":"37b4ad5c-827e-43b7-aeee-211d53f8faa3","description":""},{"name":"Armazens","item":[{"name":"Obter todos os armazens","id":"2ba8f568-1e4d-4b9e-996a-2ea21deb4e8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{goldylocks-api-url}}armazens/?api={{api-token}}&p=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}armazens"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id de armazem especifico</p>\n","type":"text/plain"},"key":"p","value":"1"}],"variable":[]}},"response":[],"_postman_id":"2ba8f568-1e4d-4b9e-996a-2ea21deb4e8a"},{"name":"Criar um novo armazem","id":"91363461-d4a9-4362-b032-a3d3a37a7bf2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"nomearmazem","value":"Armazem de Teste","description":"<p>descrição do armazem</p>\n","type":"text"},{"key":"moradaarmazem","value":"Rua do Armazem, Nº1","description":"<p>morada do armazem</p>\n","type":"text"},{"key":"cparmazem","value":"4000-123","description":"<p>código postal do armazem</p>\n","type":"text"},{"key":"localidadearmazem","value":"Porto","description":"<p>localidade do armazem</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}criararmazem/?api={{api-token}}&getid=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criararmazem"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>Obter id do armazem criado</p>\n","type":"text/plain"},"key":"getid","value":"1"}],"variable":[]}},"response":[],"_postman_id":"91363461-d4a9-4362-b032-a3d3a37a7bf2"},{"name":"Eliminar um armazem","id":"f74f63fa-dc9d-43a3-94aa-f4da6f38d2e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_armazem","value":"1","description":"<p>ID do armazem a eliminar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}eliminararmazem/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminararmazem"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"f74f63fa-dc9d-43a3-94aa-f4da6f38d2e6"}],"id":"2674e0b9-ba06-4fc0-9c36-a23bbff2d898","_postman_id":"2674e0b9-ba06-4fc0-9c36-a23bbff2d898","description":""},{"name":"Artigos","item":[{"name":"Obter todos os artigos","id":"4f4a0655-9fa5-49be-9150-7199a0cc6b09","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{goldylocks-api-url}}artigos/?p=exemplo","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}artigos"],"query":[{"description":{"content":"<p>Texto a pesquisar</p>\n","type":"text/plain"},"key":"p","value":"exemplo"},{"disabled":true,"description":{"content":"<p>Limite de artigos a obter</p>\n","type":"text/plain"},"key":"l","value":"10"},{"disabled":true,"description":{"content":"<p>Estado dos artigos</p>\n","type":"text/plain"},"key":"activos","value":"1"},{"disabled":true,"description":{"content":"<p>Obter preço de custo final</p>\n","type":"text/plain"},"key":"custo","value":"1"},{"disabled":true,"description":{"content":"<p>Obter apenas artigos com imagem</p>\n","type":"text/plain"},"key":"comimagem","value":"0"},{"disabled":true,"description":{"content":"<p>Linha de preço a obter</p>\n","type":"text/plain"},"key":"linha","value":"1"},{"disabled":true,"description":{"content":"<p>Familia dos artigos</p>\n","type":"text/plain"},"key":"f","value":"5"},{"disabled":true,"description":{"content":"<p>Pesquisar na descrição técnica</p>\n","type":"text/plain"},"key":"dt","value":"pesquisa"},{"disabled":true,"description":{"content":"<p>Codigo de barras</p>\n","type":"text/plain"},"key":"id","value":"123"},{"disabled":true,"description":{"content":"<p>id de campanha promocional</p>\n","type":"text/plain"},"key":"campanha","value":"1"},{"disabled":true,"description":{"content":"<p>pesquisar por id de caracteristica</p>\n","type":"text/plain"},"key":"caracteristica","value":"7"},{"disabled":true,"description":{"content":"<p>Offset dos resultados para paginação</p>\n","type":"text/plain"},"key":"offset","value":"10"},{"disabled":true,"description":{"content":"<p>Obter valor numero_imagens do artigo</p>\n","type":"text/plain"},"key":"temimagem","value":"1"},{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"847a22b1-b791-4300-a011-4b2bf9b9a96b","name":"Obter todos os artigos","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}artigos/?p=exemplo","host":["{{goldylocks-api-url}}artigos"],"path":[""],"query":[{"key":"p","value":"exemplo","description":"Texto a pesquisar"},{"key":"l","value":"10","description":"Limite de artigos a obter","disabled":true},{"key":"activos","value":"1","description":"Estado dos artigos","disabled":true},{"key":"custo","value":"1","description":"Obter preço de custo final","disabled":true},{"key":"comimagem","value":"0","description":"Obter apenas artigos com imagem","disabled":true},{"key":"linha","value":"1","description":"Linha de preço a obter","disabled":true},{"key":"f","value":"5","description":"Familia dos artigos","disabled":true},{"key":"dt","value":"pesquisa","description":"Pesquisar na descrição técnica","disabled":true},{"key":"id","value":"123","description":"Codigo de barras","disabled":true},{"key":"campanha","value":"1","description":"id de campanha promocional","disabled":true},{"key":"caracteristica","value":"7","description":"pesquisar por id de caracteristica","disabled":true},{"key":"offset","value":"10","description":"Offset dos resultados para paginação","disabled":true},{"key":"temimagem","value":"1","description":"Obter valor numero_imagens do artigo","disabled":true},{"key":"","value":"","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 03 May 2024 11:02:43 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Authorization,Accept-Encoding,User-Agent"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"nchars_codbarras\": \"1\",\n        \"nchars_descricao\": \"10\",\n        \"resumo\": \"1-Artigo de Exemplo\",\n        \"tipo_artigo_composto\": \"normal\",\n        \"imposto\": \"IVA 23%\",\n        \"taxa\": \"23.00000\",\n        \"pede_quantidade\": \"0\",\n        \"cod_barras\": \"1\",\n        \"hash_cod_barras\": \"c4ca4238a0b923820dcc509a6f75849b\",\n        \"posicao\": \"\",\n        \"nome\": \"Artigo de Exemplo\",\n        \"descricao_tecnica\": \"\",\n        \"linha\": \"1\",\n        \"pvp\": \"10.00000\",\n        \"pvpimposto\": \"12.30000\",\n        \"pvpfinal\": \"12.30\",\n        \"hashPrecoImposto\": \"2a941186\",\n        \"desactivado\": \"0\",\n        \"lembrete\": \"\",\n        \"observacao_documentos\": \"\",\n        \"bloquear_descontos\": \"0\",\n        \"disponivel_webstore\": \"0\",\n        \"autorizacao_venda\": \"\",\n        \"movimenta_stock\": \"0\",\n        \"unidade\": \"uni\",\n        \"familia\": \"Subfamilia 1\",\n        \"id_familia\": \"2590\",\n        \"stock_minimo\": \"0\",\n        \"desconto_campanha\": null,\n        \"preco_campanha\": null,\n        \"id_campanha_artigo\": null,\n        \"campanha\": null,\n        \"id_campanha_familia\": null,\n        \"campanha_familia\": null,\n        \"desconto_campanha_familia\": null,\n        \"preco_campanha_familia\": null,\n        \"codigos_barras_adicionais\": null,\n        \"stock_atual\": \"0.00000\"\n    }\n]"}],"_postman_id":"4f4a0655-9fa5-49be-9150-7199a0cc6b09"},{"name":"Obter dados de um artigo","id":"73e9c2c0-9266-46ec-bfdc-4ab93a371861","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}artigo/?api={{api-token}}&p=1&linha=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}artigo"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>Código do artigo</p>\n","type":"text/plain"},"key":"p","value":"1"},{"description":{"content":"<p>linha de preço</p>\n","type":"text/plain"},"key":"linha","value":"1"}],"variable":[]}},"response":[{"id":"a64773fd-0c7f-4202-bc45-2aec81a2fb57","name":"Obter dados de um artigo","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}artigo/?api={{api-token}}&p=1&linha=1","host":["{{goldylocks-api-url}}artigo"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"},{"key":"p","value":"1","description":"Código do artigo"},{"key":"linha","value":"1","description":"linha de preço"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 03 May 2024 11:01:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding,User-Agent"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"cod_barras\": \"1\",\n        \"posicao\": \"\",\n        \"nome\": \"Artigo de Exemplo\",\n        \"id_familia\": \"2590\",\n        \"descricao_tecnica\": \"\",\n        \"desactivado\": \"0\",\n        \"tipo\": \"P\",\n        \"imposto\": \"IVA 23%\",\n        \"linha\": \"1\",\n        \"pede_quantidade\": \"0\",\n        \"bloquear_descontos\": \"0\",\n        \"preseleccao\": null,\n        \"peso\": \"0.00\",\n        \"utiliza_lotes\": \"0\",\n        \"utiliza_validade_lotes\": \"0\",\n        \"nome_cientifico\": \"\",\n        \"zona_origem\": \"\",\n        \"quantidade_caixa\": \"0.00000\",\n        \"anotacoes\": null,\n        \"preco_custo\": \"5.00000\",\n        \"desconto_fornecedor\": \"0.00000\",\n        \"custo_final\": \"5.00000\",\n        \"numero_artigos_associados\": \"0\",\n        \"comprimento\": \"0.00\",\n        \"largura\": \"0.00\",\n        \"altura\": \"0.00\",\n        \"unidade\": \"uni\",\n        \"lembrete\": \"\",\n        \"observacao_documentos\": \"\",\n        \"racio_segunda_unidade\": \"0.00000\",\n        \"segunda_unidade\": \"uni\",\n        \"disponivel_webstore\": \"0\",\n        \"autorizacao_venda\": \"\",\n        \"movimenta_stock\": \"0\",\n        \"webstore_tempo_entrega\": \"\",\n        \"tipo_artigo_composto\": \"normal\",\n        \"quantidade_automatica_stubs\": \"1\",\n        \"stock_minimo\": \"0\",\n        \"id_plano_producao\": \"0\",\n        \"cotacao_atual\": \"0.00000\",\n        \"data_alteracao_cotacao\": \"2024-04-20 10:24:04\",\n        \"desconto_campanha\": null,\n        \"preco_campanha\": null,\n        \"campanha\": null,\n        \"preco_campanha_familia\": null,\n        \"desconto_campanha_familia\": null,\n        \"campanha_familia\": null,\n        \"linha_precos\": \"1\",\n        \"pvp\": \"10.00000\",\n        \"pvpimposto\": \"12.30000\"\n    }\n]"}],"_postman_id":"73e9c2c0-9266-46ec-bfdc-4ab93a371861"},{"name":"Obter todos os preços de um artigo","id":"bfcd58c7-1304-43f3-8d6b-3a436ea3af81","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}precos/?api={{api-token}}&p=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}precos"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>Código do artigo</p>\n","type":"text/plain"},"key":"p","value":"1"}],"variable":[]}},"response":[{"id":"f6ba16c0-fc93-4967-84a7-a1ee919a50c2","name":"Obter todos os preços de um artigo","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}precos/?api={{api-token}}&p=1","host":["{{goldylocks-api-url}}precos"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"},{"key":"p","value":"1","description":"Código do artigo"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 03 May 2024 11:02:58 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding,User-Agent"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"referencia\": \"1\",\n        \"linha\": \"1\",\n        \"margem\": \"100.00\",\n        \"pvp\": \"10.00000\",\n        \"pvpimposto\": \"12.30000\"\n    },\n    {\n        \"referencia\": \"1\",\n        \"linha\": \"2\",\n        \"margem\": \"100.00\",\n        \"pvp\": \"10.00000\",\n        \"pvpimposto\": \"12.30000\"\n    },\n    {\n        \"referencia\": \"1\",\n        \"linha\": \"3\",\n        \"margem\": \"100.00\",\n        \"pvp\": \"10.00000\",\n        \"pvpimposto\": \"12.30000\"\n    }\n]"}],"_postman_id":"bfcd58c7-1304-43f3-8d6b-3a436ea3af81"},{"name":"Preços artigo de um cliente","id":"aed3c82d-d341-45ea-a018-9942525e8fe8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}artigocliente/?api={{api-token}}&p=123&c=15","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}artigocliente"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do artigo</p>\n","type":"text/plain"},"key":"p","value":"123"},{"description":{"content":"<p>ID do cliente</p>\n","type":"text/plain"},"key":"c","value":"15"}],"variable":[]}},"response":[],"_postman_id":"aed3c82d-d341-45ea-a018-9942525e8fe8"},{"name":"Criar um artigos a partir de um array em JSON","id":"f3e5e7a8-7fb6-4a0d-9d45-4e5e0723bdf7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"p","value":"[{\"cod_artigo\":\"json1\",\"nome\": \"Artigo criado por JSON\",\"preco_custo\": 23.24,\"imposto\": \"IVA 23%\",\"preco_1\": 30.00,\"preco_2\": 35.00,\"preco_3\": 40.00,\"preco_1iva\": 36.90,\"preco_2iva\": 45.25,\"preco_3iva\": 50,\"posicao\": \"AA-23-P2\"}]","type":"text"}]},"url":"{{goldylocks-api-url}}criarartigos/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criarartigos"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"f3e5e7a8-7fb6-4a0d-9d45-4e5e0723bdf7"},{"name":"Criar ou editar um artigo","id":"145dd95c-e1c5-4c16-aaa5-e7f33126af1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"cod_barras","value":"123456789","description":"<p>Código do artigo</p>\n","type":"text"},{"key":"nome","value":"Artigo Novo 1","description":"<p>Descrição do artigo</p>\n","type":"text"},{"key":"familia_pai","value":"0","description":"<p>ID da familia anterior</p>\n","type":"text"},{"key":"familia","value":"1","description":"<p>ID da familia do artigo</p>\n","type":"text"},{"key":"preco_custo","value":"1","description":"<p>Preço de custo do artigo</p>\n","type":"text"},{"key":"desconto_fornecedor","value":"0","description":"<p>Desconto no preço de custo</p>\n","type":"text"},{"key":"custo_final","value":"1","description":"<p>Custo após descontos do fornecedor</p>\n","type":"text"},{"key":"imposto","value":"IVA 23%","description":"<p>Imposto a aplicar no artigo</p>\n","type":"text"},{"key":"tipo","value":"P","description":"<p>Tipo de artigo, P - Produto, S - Serviço, O - Outros</p>\n","type":"text"},{"key":"margem1","value":"100","description":"<p>Margem de venda do preço 1</p>\n","type":"text"},{"key":"margem2","value":"100","description":"<p>Margem de venda do preço 2</p>\n","type":"text"},{"key":"margem3","value":"100","description":"<p>Margem de venda do preço 3</p>\n","type":"text"},{"key":"psi1","value":"1","description":"<p>Preço da linha 1 sem impostos</p>\n","type":"text"},{"key":"psi2","value":"1","description":"<p>Preço da linha 2 sem impostos</p>\n","type":"text"},{"key":"psi3","value":"1","description":"<p>Preço da linha 3 sem impostos</p>\n","type":"text"},{"key":"pci1","value":"1","description":"<p>Preço da linha 1 com impostos</p>\n","type":"text"},{"key":"pci2","value":"1","description":"<p>Preço da linha 2 com impostos</p>\n","type":"text"},{"key":"pci3","value":"1","description":"<p>Preço da linha 3 com impostos</p>\n","type":"text"},{"key":"descricao_tecnica","value":"Aparelho bom.","description":"<p>Descrição técnica extensa do artigo, Suporta HTML.</p>\n","type":"text"},{"key":"estado","value":"0","description":"<p>0 - Inativo\n1 - Ativo</p>\n","type":"text"},{"key":"bloquear_descontos","value":"0","description":"<p>Não permitir utilização de descontos com este artigo.</p>\n","type":"text"},{"key":"disponivel_webstore","value":"1","description":"<p>1- Disponivel\n0 - Indisponivel</p>\n","type":"text"},{"key":"movimenta_stock","value":"1","description":"<p>1- Movimenta Stock\n0 - Não movimenta stock</p>\n","type":"text"},{"key":"posicao","value":"P1-P3-R4","description":"<p>Posição fisica do artigo no armazem, p.e.</p>\n","type":"text"},{"key":"peso","value":"1.45","description":"<p>Peso do artigo em Kg</p>\n","type":"text"},{"key":"comprimento","value":"1.67","description":"<p>Comprimento do artigo em metros</p>\n","type":"text"},{"key":"largura","value":"2.00","description":"<p>Largura do artigo em metros</p>\n","type":"text"},{"key":"altura","value":"1.32","description":"<p>Altura do artigo em metros</p>\n","type":"text"},{"key":"unidade","value":"UNI","description":"<p>Unidade de medida do artigo</p>\n","type":"text"},{"key":"lembrete","value":"Deve ser vendido com caixa","description":"<p>Alerta a mostrar quando o artigo for movimentado.</p>\n","type":"text"},{"key":"segunda_unidade","value":"Mts","description":"<p>Segunda unidade de medida do artigo</p>\n","type":"text"},{"key":"racio_segunda_unidade","value":"1.54","description":"<p>Racio da segunda unidade de medida em relação á primeira.</p>\n","type":"text"},{"key":"autorizacao_venda","value":"12312321","description":"<p>Código DGAV de fito-farmacos</p>\n","type":"text"},{"key":"stock_minimo","value":"0","description":"<p>Stock minimo do artigo</p>\n","type":"text"},{"key":"quantidade_automatica_stubs","value":"1","description":"<p>Gerar quantidade automática de stubs</p>\n","type":"text"},{"key":"tipo_artigo_composto","value":"normal","description":"<p>normal, associados, fabricado</p>\n","type":"text"},{"key":"plano_producao","value":"25","description":"<p>ID do plano de produção do artigo</p>\n","type":"text"},{"key":"nome_cientifico","value":"Gadus morhua","description":"<p>Nome cientifico do animal</p>\n","type":"text"},{"key":"zona_origem","value":"Lisboa","description":"<p>Zona de origem do animal</p>\n","type":"text"},{"key":"anotacoes","value":"Anotações do artigo","description":"<p>Anotações adicionais do artigo</p>\n","type":"text"},{"key":"quantidade_balanca","value":"0","description":"<p>1 - Obtem quantidade da balança no POS</p>\n","type":"text","uuid":"d681b538-f973-4540-ad41-41031a2029d8"}]},"url":"{{goldylocks-api-url}}guardarartigo/?api={{api-token}}&p=123456789","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}guardarartigo"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>se definido altera o artigo com o código passado, senão cria um novo</p>\n","type":"text/plain"},"key":"p","value":"123456789"}],"variable":[]}},"response":[],"_postman_id":"145dd95c-e1c5-4c16-aaa5-e7f33126af1c"},{"name":"Alterar preço de um artigo","id":"97c1a095-e579-4de2-8a60-14d84b9dd660","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_artigo","value":"AA12345678","description":"<p>Código do artigo</p>\n","type":"text"},{"key":"preco","value":"10.25","description":"<p>Novo preço a aplicar no artigo</p>\n","type":"text"},{"key":"linha_preco","value":"1","description":"<p>Linha de preço a alterar</p>\n","type":"text"},{"key":"imposto_incluido","value":"0","description":"<p>Preço tem imposto incluido [0-não,1-sim]</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}definirprecoartigo/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}definirprecoartigo"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"97c1a095-e579-4de2-8a60-14d84b9dd660"},{"name":"Eliminar um artigo","id":"ba9c2834-1711-4b90-b039-5b6bbd296ee3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}eliminarartigo/?api={{api-token}}&p=123456789","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarartigo"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do artigo a eliminar. Se o artigo for referido em movimentos apenas o desativa.</p>\n","type":"text/plain"},"key":"p","value":"123456789"}],"variable":[]}},"response":[],"_postman_id":"ba9c2834-1711-4b90-b039-5b6bbd296ee3"},{"name":"Visualizar uma imagem de um artigo","id":"d829d9ac-82b8-4f71-905e-b5e3d66e2097","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}imagemartigo/?api={{api-token}}&p=456","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}imagemartigo"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da imagem a visualizar</p>\n","type":"text/plain"},"key":"p","value":"456"}],"variable":[]}},"response":[],"_postman_id":"d829d9ac-82b8-4f71-905e-b5e3d66e2097"},{"name":"Visualizar uma thumbnail de um artigo","id":"f5770a74-e31e-4858-bf92-aa44046bef2e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}thumbnailartigo/?api={{api-token}}&p=456","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}thumbnailartigo"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da imagem a visualizar em thumbnail</p>\n","type":"text/plain"},"key":"p","value":"456"}],"variable":[]}},"response":[],"_postman_id":"f5770a74-e31e-4858-bf92-aa44046bef2e"},{"name":"Adicionar imagem a um artigo","id":"a4759d3b-2f8d-43f5-8c76-4c9c5678e090","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"cod_barras_artigo","value":"123456789","description":"<p>ID do artigo a adicionar a imagem</p>\n","type":"text"},{"key":"imagem","description":"<p>BLOB da imagem</p>\n","type":"file","value":null}]},"url":"{{goldylocks-api-url}}guardarimagemartigo/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}guardarimagemartigo"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"a4759d3b-2f8d-43f5-8c76-4c9c5678e090"},{"name":"Gerar thumbnails a partir de imagens de artigos","id":"5ae3c443-072c-46dc-b1cd-b99463ab315b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}gerarthumbnails/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}gerarthumbnails"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"5ae3c443-072c-46dc-b1cd-b99463ab315b"},{"name":"Obter imagens de um artigo","id":"212a3368-446d-4e69-bea9-92ab061d4fcb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}imagensartigo/?api={{api-token}}&p=123456789","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}imagensartigo"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do artigo</p>\n","type":"text/plain"},"key":"p","value":"123456789"}],"variable":[]}},"response":[],"_postman_id":"212a3368-446d-4e69-bea9-92ab061d4fcb"},{"name":"Eliminar uma imagem do artigo","id":"14c625ba-f5fa-470a-92f9-7a36d1dd431d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}eliminarimagemartigo/?api={{api-token}}&p=458","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarimagemartigo"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da imagem a eliminar</p>\n","type":"text/plain"},"key":"p","value":"458"}],"variable":[]}},"response":[],"_postman_id":"14c625ba-f5fa-470a-92f9-7a36d1dd431d"},{"name":"Obter descontos especificos de um cliente","id":"fa14862a-2b2f-49a8-9652-7192b3cafeef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}descontosartigo/?api={{api-token}}&p=15","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}descontosartigo"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do cliente</p>\n","type":"text/plain"},"key":"p","value":"15"}],"variable":[]}},"response":[],"_postman_id":"fa14862a-2b2f-49a8-9652-7192b3cafeef"},{"name":"Criar novo desconto especifico para cliente","id":"4aabbcdd-8263-456b-a899-91111208c3c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_artigo_inicial","value":"AAAAAAAAAAAA","description":"<p>Inicio do filtro de código de artigos a utilizar</p>\n","type":"text"},{"key":"id_artigo_final","value":"ZZZZZZZZZZZZZ","description":"<p>Fim do filtro de códigos de artigos </p>\n","type":"text"},{"key":"data_inicial","value":"2018-01-01","description":"<p>Data de inicio dos descontos</p>\n","type":"text"},{"key":"data_final","value":"2018-12-31","description":"<p>Data de fim dos descontos</p>\n","type":"text"},{"key":"preco","value":"5","description":"<p>Preço fixo do artigo, opcional</p>\n","type":"text"},{"key":"desconto","value":"2","description":"<p>Desconto a aplicar, opcional</p>\n","type":"text"},{"key":"margem_minima","value":"25","description":"<p>Margem minima a garantir ao movimentar o artigo.</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}inserirdescontoartigo/?api={{api-token}}&p=15","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}inserirdescontoartigo"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do cliente</p>\n","type":"text/plain"},"key":"p","value":"15"}],"variable":[]}},"response":[],"_postman_id":"4aabbcdd-8263-456b-a899-91111208c3c0"},{"name":"Eliminar desconto especifico de cliente","id":"7bf4f5cd-b929-4991-b8e9-955c26358c3d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}eliminardescontoartigo/?api={{api-token}}&p=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminardescontoartigo"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do desconto a eliminar</p>\n","type":"text/plain"},"key":"p","value":"1"}],"variable":[]}},"response":[],"_postman_id":"7bf4f5cd-b929-4991-b8e9-955c26358c3d"},{"name":"Obter o stock atual de um artigo","id":"a3717649-bc81-4422-a40e-2e50afc54bf1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}stock/?api={{api-token}}&p=123","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}stock"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do artigo</p>\n","type":"text/plain"},"key":"p","value":"123"}],"variable":[]}},"response":[],"_postman_id":"a3717649-bc81-4422-a40e-2e50afc54bf1"},{"name":"Obter códigos por fornecedor do artigo","id":"11a4936f-6416-4562-a9e3-dd905c0676c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}fornecedoresartigo/?api={{api-token}}&p=123","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}fornecedoresartigo"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do artigo</p>\n","type":"text/plain"},"key":"p","value":"123"}],"variable":[]}},"response":[],"_postman_id":"11a4936f-6416-4562-a9e3-dd905c0676c5"},{"name":"Adicionar código de fornecedor ao artigo","id":"d6744610-eee5-4414-82ac-9251fcc21c2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_fornecedor","value":"1","description":"<p>ID do fornecedor</p>\n","type":"text"},{"key":"referencia","value":"123_fornecedor","description":"<p>Código do artigo no fornecedor</p>\n","type":"text"},{"key":"descricao_fornecedor","value":"123_descricao_fornecedor","description":"<p>Descrição do artigo no fornecedor</p>\n","type":"text"},{"key":"preco_custo","value":"12.52","description":"<p>Preço de custo do artigo no fornecedor especificado</p>\n","type":"text"},{"key":"desconto_fornecedor","value":"25","description":"<p>Percentagem de desconto deste artigo no fornecedor</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}adicionarfornecedorartigo/?api={{api-token}}&p=123","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}adicionarfornecedorartigo"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do artigo</p>\n","type":"text/plain"},"key":"p","value":"123"}],"variable":[]}},"response":[],"_postman_id":"d6744610-eee5-4414-82ac-9251fcc21c2f"},{"name":"Eliminar código do artigo no fornecedor","id":"d2b96850-8a7d-495a-9778-bcfe7f27e541","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_fornecedor","value":"1","description":"<p>ID do fornecedor</p>\n","type":"text"},{"key":"referencia","value":"123_fornecedor","description":"<p>Código do artigo no fornecedor</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}eliminarfornecedorartigo/?api={{api-token}}&p=123","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarfornecedorartigo"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"p","value":"123"}],"variable":[]}},"response":[],"_postman_id":"d2b96850-8a7d-495a-9778-bcfe7f27e541"},{"name":"Obter códigos de barra extra do artigo","id":"dc398d60-59f5-4726-9762-458d76b71464","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}artigoscb/?api={{api-token}}&p=G","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}artigoscb"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do artigo</p>\n","type":"text/plain"},"key":"p","value":"G"}],"variable":[]}},"response":[],"_postman_id":"dc398d60-59f5-4726-9762-458d76b71464"},{"name":"Criar código de barras extra","id":"23dba176-0a41-4e8d-985e-5641fd6ff7e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_artigo","value":"123","description":"<p>ID do artigo</p>\n","type":"text"},{"key":"quantidade","value":"1","description":"<p>quantidade a vender quanto o código for seleccionado</p>\n","type":"text"},{"key":"cbartigo","value":"123123123123","description":"<p>código de barras extra</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}criarcbartigo/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criarcbartigo"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"23dba176-0a41-4e8d-985e-5641fd6ff7e7"},{"name":"Obter unidades utilizadas por um artigo","id":"10cbbcd9-c6c8-4287-b967-74cd3e0d4ca0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}unidadeartigo/?api={{api-token}}&p=123","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}unidadeartigo"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>artigos.cod_barras</p>\n","type":"text/plain"},"key":"p","value":"123"}],"variable":[]}},"response":[],"_postman_id":"10cbbcd9-c6c8-4287-b967-74cd3e0d4ca0"},{"name":"Eliminar código de barras extra de um artigo","id":"ae919fbe-3522-4cf8-9a82-0f564b0a5903","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}eliminarcbartigo/?api={{api-token}}&p=123&c=123123123123","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarcbartigo"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do artigo</p>\n","type":"text/plain"},"key":"p","value":"123"},{"description":{"content":"<p>Código de barras extra a eliminar</p>\n","type":"text/plain"},"key":"c","value":"123123123123"}],"variable":[]}},"response":[],"_postman_id":"ae919fbe-3522-4cf8-9a82-0f564b0a5903"},{"name":"Gerar ficheiro KuantoKusta","id":"b12a683c-bf16-4697-a8ec-1e69c648b12f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}kuantokusta/?api={{api-token}}&linha=1&portes=10&webstore=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}kuantokusta"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>Linha de preço a utilizar</p>\n","type":"text/plain"},"key":"linha","value":"1"},{"description":{"content":"<p>Valor dos portes</p>\n","type":"text/plain"},"key":"portes","value":"10"},{"description":{"content":"<p>ID da webstore Goldylocks a utilizar</p>\n","type":"text/plain"},"key":"webstore","value":"1"}],"variable":[]}},"response":[],"_postman_id":"b12a683c-bf16-4697-a8ec-1e69c648b12f"},{"name":"Gerar catálogo de artigos em PDF","id":"9880bdd0-0722-4707-91bd-a3d0868bc41f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}catalogoartigos/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}catalogoartigos"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"9880bdd0-0722-4707-91bd-a3d0868bc41f"},{"name":"Obter código para autorização fitofarmacos","id":"fd63c996-04e3-4d19-bbf9-b26cc70ffc49","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}autorizacaovenda/?api={{api-token}}&p=123","description":"<p>Código da DGAV</p>\n","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}autorizacaovenda"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do artigo</p>\n","type":"text/plain"},"key":"p","value":"123"}],"variable":[]}},"response":[],"_postman_id":"fd63c996-04e3-4d19-bbf9-b26cc70ffc49"},{"name":"Clonar imagem de um artigo por familia","id":"17b46ce8-d9aa-422e-8ec1-79e0f512b4c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}duplicarimagemfamilia/?api={{api-token}}&p=123&f=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}duplicarimagemfamilia"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do artigo com a imagem de origem</p>\n","type":"text/plain"},"key":"p","value":"123"},{"description":{"content":"<p>ID da familia de destino</p>\n","type":"text/plain"},"key":"f","value":"1"}],"variable":[]}},"response":[],"_postman_id":"17b46ce8-d9aa-422e-8ec1-79e0f512b4c4"},{"name":"Gerar imagens artigos na pasta do servidor","id":"4d853c5a-caaf-4d5a-97b0-c8a0ce5daf8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}gerarimagensartigospasta/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}gerarimagensartigospasta"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"4d853c5a-caaf-4d5a-97b0-c8a0ce5daf8d"},{"name":"Comprimir todas as imagens dos artigos","id":"1b261858-4184-4ce1-bd08-edd856a37d6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}comprimirimagensartigos/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}comprimirimagensartigos"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"1b261858-4184-4ce1-bd08-edd856a37d6d"},{"name":"Alterar impostos dos artigos em massa","id":"03b33eff-5a67-4238-931a-a8fe95f3e557","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"imposto_antigo","value":"IVA 23%","description":"<p>nome do imposto antigo</p>\n","type":"text"},{"key":"imposto_novo","value":"IVA 25%","description":"<p>nome do novo imposto</p>\n","type":"text"},{"key":"manter_preco_imposto","value":"0","description":"<p>manter precos com impostos</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}alterarimpostoartigos/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterarimpostoartigos"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"03b33eff-5a67-4238-931a-a8fe95f3e557"},{"name":"Alterar preços dos artigos em massa","id":"52c7aa33-d752-425c-a982-0b726e49781d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"variacao","value":"10","description":"<p>Percentagem a alterar no preços</p>\n","type":"text"},{"key":"familias","value":"[]","description":"<p>IDs das familias a alterar</p>\n","type":"text"},{"key":"inicio_codigo","value":"CPU","description":"<p>Inicio do código a pesquisar para efetuar a alteração dos preços</p>\n","type":"text"},{"key":"atualizar_custo","value":"1","description":"<p>0 - Não atualizar, 1 - Atualizar custos</p>\n","type":"text"},{"key":"atualizar_venda","value":"1","description":"<p>0 - Não atualizar, 1 - Atualizar venda</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}atualizacaoprecosemserie/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}atualizacaoprecosemserie"],"query":[{"key":"api","value":"{{api-token}}"},{"disabled":true,"key":"debug","value":"1"}],"variable":[]}},"response":[],"_postman_id":"52c7aa33-d752-425c-a982-0b726e49781d"},{"name":"Obter número de artigos","id":"637af876-0f1b-4cde-bece-da0cc9094c3d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}numeroartigos/?api={{api-token}}&ativos","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}numeroartigos"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>[OPCIONAL]  0 - apenas desativados, 1 - apenas ativos</p>\n","type":"text/plain"},"key":"ativos","value":null}],"variable":[]}},"response":[],"_postman_id":"637af876-0f1b-4cde-bece-da0cc9094c3d"},{"name":"Dados da ultima compra de um artigo","id":"197ed9ff-e9ab-4dc9-86d2-e211a4c5f7ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}dadosultimacompra/?api={{api-token}}&id_artigo=artigo","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}dadosultimacompra"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"id_artigo","value":"artigo"}],"variable":[]}},"response":[{"id":"910500a7-09c5-4d5c-842c-f69f8792df9b","name":"Dados da ultima compra","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}dadosultimacompra/?api={{api-token}}&id_artigo=artigo","host":["{{goldylocks-api-url}}dadosultimacompra"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"},{"key":"id_artigo","value":"artigo"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 03 Jan 2025 15:31:11 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"access-control-allow-headers","value":"*"},{"key":"vary","value":"Accept-Encoding,User-Agent"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=o056tt8cxi6RqVObwePijm1v1cuo66aNX9eN%2FXgj%2Fkovp7zZWc%2Be4cqgOjbs2H%2B5d908NWHfKOe2DjycoMCIIwhZ78uONT9OkZ2XXK5IJMa0KNr0nXYVQAu0UqHyAWNSfLoKRMusbA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8fc408ca5e8377a2-LHR"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=37267&min_rtt=36990&rtt_var=1574&sent=138&recv=132&lost=0&retrans=0&sent_bytes=12344&recv_bytes=3442&delivery_rate=78818&cwnd=257&unsent_bytes=0&cid=cdceea08e0b1806d&ts=122187&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"data_compra\": \"2025-01-03\",\n    \"data_criacao\": \"2025-01-03 14:28:10\",\n    \"vreferencia\": \"\",\n    \"id_encomenda\": 128,\n    \"tipo\": \"compra\",\n    \"tipo_documento\": \"Fatura Fornecedor\",\n    \"serie\": \"GLA\",\n    \"numero_documento\": 2,\n    \"id_artigo\": \"artigo\",\n    \"quantidade\": \"1.00000\",\n    \"preco\": 5,\n    \"desconto\": 0,\n    \"observacao\": \"\"\n}"}],"_postman_id":"197ed9ff-e9ab-4dc9-86d2-e211a4c5f7ec"}],"id":"94ef6385-4dfd-46f7-8704-414d5ebd7cc9","_postman_id":"94ef6385-4dfd-46f7-8704-414d5ebd7cc9","description":""},{"name":"Artigos associados","item":[{"name":"Obter artigos associados","id":"faa403a8-0f7b-45e1-ba4f-fd4d9e8c34db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_artigo","value":"2","description":"<p>ID do artigo pai</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}artigosassociados/?api={{api-token}}&id_artigo=2","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}artigosassociados"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"id_artigo","value":"2"}],"variable":[]}},"response":[],"_postman_id":"faa403a8-0f7b-45e1-ba4f-fd4d9e8c34db"},{"name":"Adicionar artigo associado","id":"7cf9fa74-8afb-48d5-a65a-c4a51f8717cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_artigo_pai","value":"2","description":"<p>ID do artigo pai</p>\n","type":"text"},{"key":"id_artigo_associado","value":"5","description":"<p>ID do artigo a associar</p>\n","type":"text"},{"key":"quantidade","value":"1","description":"<p>Quantidade a utilizar do artigo associado</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}adicionarartigoassociado/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}adicionarartigoassociado"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"7cf9fa74-8afb-48d5-a65a-c4a51f8717cb"},{"name":"Alterar quantidade artigo associado","id":"730c4a39-7fc1-4c13-90ed-61dfe995044e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_artigo_pai","value":"2","description":"<p>ID do artigo pai</p>\n","type":"text"},{"key":"id_artigo_associado","value":"5","description":"<p>ID do artigo a associar</p>\n","type":"text"},{"key":"quantidade","value":"2","description":"<p>Quantidade a utilizar do artigo associado</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}alterarquantidadeartigoassociado/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterarquantidadeartigoassociado"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"730c4a39-7fc1-4c13-90ed-61dfe995044e"},{"name":"Remover artigo associado","id":"d0902cc1-dfba-4329-a09f-0845011296e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_artigo_pai","value":"2","description":"<p>ID do artigo pai</p>\n","type":"text"},{"key":"id_artigo_associado","value":"5","description":"<p>ID do artigo a associar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}removerartigoassociado/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removerartigoassociado"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"d0902cc1-dfba-4329-a09f-0845011296e2"},{"name":"Remover todos os artigos associados","id":"2a4fd831-0ba8-44f5-a2b3-6d104ef0cc02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_artigo","value":"2","description":"<p>ID do artigo pai</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}removerartigosassociados/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removerartigosassociados"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"2a4fd831-0ba8-44f5-a2b3-6d104ef0cc02"}],"id":"4e004980-7538-43d4-b437-dbb52ece4bc6","_postman_id":"4e004980-7538-43d4-b437-dbb52ece4bc6","description":""},{"name":"Avenças","item":[{"name":"Criar uma avença","id":"7b540e06-493b-4710-90dd-32dedc7b7f27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_documento","value":"324","description":"<p>ID do documento de origem da avença</p>\n","type":"text"},{"key":"id_tipo_documento","value":"2","description":"<p>ID do tipo de documento de destino  da avença</p>\n","type":"text"},{"key":"serie","value":"S2018","description":"<p>Série de destino da avença</p>\n","type":"text"},{"key":"dia_mes","value":"15","description":"<p>Dia do mês a processar a avença</p>\n","type":"text"},{"key":"periodo_dias","value":"30","description":"<p>Periodo para processamento da avença</p>\n","type":"text"},{"key":"data_inicio","value":"2018-01-01","description":"<p>Data de inicio da avença</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}criaravenca/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criaravenca"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"7b540e06-493b-4710-90dd-32dedc7b7f27"},{"name":"Eliminar avença","id":"8cba56d5-601a-419a-b4d9-edbaadc67bd8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}removeravenca/?api={{api-token}}&p=12","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removeravenca"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da avença a remover</p>\n","type":"text/plain"},"key":"p","value":"12"}],"variable":[]}},"response":[],"_postman_id":"8cba56d5-601a-419a-b4d9-edbaadc67bd8"},{"name":"Obter avenças existentes","id":"12a52b5e-d229-44a9-9335-18e68fa443dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}avencas/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}avencas"],"query":[{"key":"api","value":"{{api-token}}"},{"disabled":true,"description":{"content":"<p>ID do documento a verificar avenças</p>\n","type":"text/plain"},"key":"p","value":"324"}],"variable":[]}},"response":[],"_postman_id":"12a52b5e-d229-44a9-9335-18e68fa443dd"},{"name":"Obter avenças pendentes de processamento","id":"68b5fb56-da37-4b3d-b776-1e74c2548922","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"todas","value":"0","type":"text"}]},"url":"{{goldylocks-api-url}}avencasporprocessar/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}avencasporprocessar"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"68b5fb56-da37-4b3d-b776-1e74c2548922"}],"id":"d97fee1a-47fc-4bd6-a69a-02161a9cbec1","_postman_id":"d97fee1a-47fc-4bd6-a69a-02161a9cbec1","description":""},{"name":"Bancos","item":[{"name":"Obter bancos","id":"f13bf5c8-047b-49cf-a712-7d4333cd51c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}bancos/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}bancos"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"f13bf5c8-047b-49cf-a712-7d4333cd51c9"},{"name":"Criar ou editar banco","id":"3c03c732-84d4-4828-80ee-dc42e8fa0a51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"descricao","value":"Banco Novo","description":"<p>Descrição do banco</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}gerirbanco/?api={{api-token}}&p=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}gerirbanco"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID de banco se for para alterar</p>\n","type":"text/plain"},"key":"p","value":"1"}],"variable":[]}},"response":[],"_postman_id":"3c03c732-84d4-4828-80ee-dc42e8fa0a51"},{"name":"Eliminar banco","id":"fab42c7f-f93a-4811-b4c7-1f5bf3fd7bdb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}eliminarbanco/?api={{api-token}}&p=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarbanco"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do banco a eliminar</p>\n","type":"text/plain"},"key":"p","value":"1"}],"variable":[]}},"response":[],"_postman_id":"fab42c7f-f93a-4811-b4c7-1f5bf3fd7bdb"}],"id":"bdb6c621-f9bc-4506-93e5-195e526030e1","_postman_id":"bdb6c621-f9bc-4506-93e5-195e526030e1","description":""},{"name":"Caixas","item":[{"name":"Obter caixas","id":"3d34218f-95f8-403a-9a95-e06ed6ceb6cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}obtercaixas/?api={{api-token}}&ativas=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}obtercaixas"],"query":[{"key":"api","value":"{{api-token}}"},{"disabled":true,"description":{"content":"<p>ID de caixa especifica a obter informação</p>\n","type":"text/plain"},"key":"p","value":"8"},{"description":{"content":"<p>estado das caixas a obter</p>\n","type":"text/plain"},"key":"ativas","value":"1"}],"variable":[]}},"response":[{"id":"3a7188ea-5d38-4594-b8af-db28719d96d3","name":"Obter caixas","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}obtercaixas/?api={{api-token}}&ativas=1","host":["{{goldylocks-api-url}}obtercaixas"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"},{"key":"p","value":"8","description":"ID de caixa especifica a obter informação","disabled":true},{"key":"ativas","value":"1","description":"estado das caixas a obter"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Feb 2025 12:12:13 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"access-control-allow-headers","value":"*"},{"key":"Set-Cookie","value":"goldylocks_gl_development=aa6d6e1de21efb029e39add7b0189f3e; path=/"},{"key":"vary","value":"Accept-Encoding,User-Agent"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=jLMmZdTYHwBk%2BnkIZo9gbR5L75H5TQ7BtqocxMffFDiZoMSLH8tBgoUvJVs9g5JuZXTQx7MQkUduxUvUUUVaV6No%2F4oChDqlcXZMWouQvEmFogsWgkGcitmoQRsEM8hNjFbPOhbZjQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90db0c151b183ccf-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=39011&min_rtt=38909&rtt_var=11143&sent=5&recv=6&lost=0&retrans=0&sent_bytes=2994&recv_bytes=891&delivery_rate=74883&cwnd=252&unsent_bytes=0&cid=31d5f0ddfd9fbae5&ts=202&x=0\""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id_caixa\": \"1\",\n        \"descricao_caixa\": \"caixa1\",\n        \"descricao_empresa\": \"\",\n        \"morada_empresa\": \"\",\n        \"telefone_empresa\": \"\",\n        \"cp_empresa\": \"\",\n        \"localidade_empresa\": \"\",\n        \"serie_defeito\": \"GLA\",\n        \"posto_defeito\": \"\",\n        \"descricao\": null,\n        \"armazem_defeito\": \"30\",\n        \"ativa\": \"1\",\n        \"fundo_maneio\": \"0.00\",\n        \"email_fecho_automatico\": \"\",\n        \"fecho_automatico\": \"22:00:00\",\n        \"hash_bloqueio\": null,\n        \"bloqueada\": \"0\"\n    }\n]"}],"_postman_id":"3d34218f-95f8-403a-9a95-e06ed6ceb6cd"},{"name":"Criar caixa","id":"58991b18-47b4-49f0-b4bf-b87de0c3e54e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"nome_caixa","value":"Caixa 1","description":"<p>Nome da caixa</p>\n","type":"text"},{"key":"descricao_empresa","value":"Loja 2","description":"<p>Descrição do espaço fisico</p>\n","type":"text"},{"key":"morada_empresa","value":"Rua da Loja  2","type":"text"},{"key":"cp_empresa","value":"4000-456","type":"text"},{"key":"localidade_empresa","value":"Porto","type":"text"},{"key":"telefone_empresa","value":"222222222","type":"text"},{"key":"posto_defeito","value":"90831407934890","description":"<p>ID do agente para impressão por defeito</p>\n","type":"text"},{"key":"serie_defeito","value":"2018","description":"<p>Série por defeito para os documentos de venda</p>\n","type":"text"},{"key":"talao_fecho","value":"23","description":"<p>ID do modelo do talão de fecho</p>\n","type":"text"},{"key":"armazem_defeito","value":"1","type":"text"}]},"url":"{{goldylocks-api-url}}criarcaixa/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criarcaixa"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"58991b18-47b4-49f0-b4bf-b87de0c3e54e"},{"name":"Editar caixa","id":"66487823-ae0c-4011-ad09-b5009a033d2d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_caixa","value":"1","description":"<p>ID da caixa a alterar</p>\n","type":"text"},{"key":"nome_caixa","value":"Caixa 3","type":"text"},{"key":"descricao_empresa","value":"Loja 3","type":"text"},{"key":"morada_empresa","value":"Rua da Loja 3","type":"text"},{"key":"cp_empresa","value":"4000-789","type":"text"},{"key":"localidade_empresa","value":"Porto","type":"text"},{"key":"telefone_empresa","value":"222456222","type":"text"},{"key":"posto_defeito","value":"3482494223094","description":"<p>ID do agente de impressão por defeito</p>\n","type":"text"},{"key":"serie_defeito","value":"S2019","description":"<p>Série para documentos por defeito</p>\n","type":"text"},{"key":"talao_fecho","value":"13","description":"<p>ID do modelo do talão de fecho a utilizar</p>\n","type":"text"},{"key":"armazem_defeito","value":"2","description":"<p>ID do armazem por defeito a utilizar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}updatecaixa/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}updatecaixa"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"66487823-ae0c-4011-ad09-b5009a033d2d"},{"name":"Obter logotipo","id":"fbcea7fb-7f76-434a-a663-76e00265cddb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}logotipocaixa/?api={{api-token}}&caixa=2","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}logotipocaixa"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da caixa</p>\n","type":"text/plain"},"key":"caixa","value":"2"}],"variable":[]}},"response":[],"_postman_id":"fbcea7fb-7f76-434a-a663-76e00265cddb"},{"name":"Alterar logotipo da caixa","id":"c82a7e14-88bd-4c29-b1a6-93e1f53af50f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"imagemCaixa","value":"0x00000","description":"<p>BLOB da imagem a colocar na caixa</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}alterarlogotipocaixa/?api={{api-token}}&caixa=2","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterarlogotipocaixa"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id da caixa</p>\n","type":"text/plain"},"key":"caixa","value":"2"}],"variable":[]}},"response":[],"_postman_id":"c82a7e14-88bd-4c29-b1a6-93e1f53af50f"},{"name":"Remover logotipo da caixa","id":"a8278359-8f23-487c-bf5f-24c5eab8609e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}removerlogotipocaixa/?api={{api-token}}&caixa=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removerlogotipocaixa"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da caixa</p>\n","type":"text/plain"},"key":"caixa","value":"1"}],"variable":[]}},"response":[],"_postman_id":"a8278359-8f23-487c-bf5f-24c5eab8609e"},{"name":"Alterar estado da caixa","id":"8efe0068-6306-4843-b712-07a00ece3cc0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_caixa","value":"1","description":"<p>id da caixa</p>\n","type":"text"},{"key":"estado_caixa","value":"1","description":"<p>0 - inativa, 1 - ativa</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}alterarestadocaixa/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterarestadocaixa"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"8efe0068-6306-4843-b712-07a00ece3cc0"},{"name":"Eliminar caixa","id":"7fa3cf1b-bc8a-4ade-8d0e-f52f43a3bd74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_caixa","value":"2","description":"<p>ID da caixa a eliminar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}eliminarcaixa/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarcaixa"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"7fa3cf1b-bc8a-4ade-8d0e-f52f43a3bd74"},{"name":"Obter fechos","id":"65bf0f3a-86e4-480d-be7c-dfd4b0f2575f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_utilizador","value":"23","description":"<p>ID do utilizador da sessão de caixa</p>\n","type":"text"},{"key":"data_inicial","value":"2019-01-01","description":"<p>data inicial da pesquisa</p>\n","type":"text"},{"key":"data_final","value":"2029-12-31","description":"<p>data final da pesquisa</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}sessoesutilizador/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}sessoesutilizador"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"65bf0f3a-86e4-480d-be7c-dfd4b0f2575f"},{"name":"Obter estado bloqueio caixa","id":"bea519e4-e19c-45d0-857a-b5be5bf3ba39","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}estadocaixa/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}estadocaixa"],"query":[{"key":"api","value":"{{api-token}}"},{"disabled":true,"description":{"content":"<p>ID de caixa especifica a obter informação</p>\n","type":"text/plain"},"key":"p","value":"8"}],"variable":[]}},"response":[],"_postman_id":"bea519e4-e19c-45d0-857a-b5be5bf3ba39"},{"name":"Desbloquear caixa","id":"d4958969-f7b9-46a1-83a7-cf753b9bcd8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}estadocaixa/?api={{api-token}}&hash=hash_desbloqueio","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}estadocaixa"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>hash de desbloqueio, obtida na informação da caixa ou caixas</p>\n","type":"text/plain"},"key":"hash","value":"hash_desbloqueio"}],"variable":[]}},"response":[],"_postman_id":"d4958969-f7b9-46a1-83a7-cf753b9bcd8e"}],"id":"6eed558a-ffec-4d27-a1a5-031a573367cd","_postman_id":"6eed558a-ffec-4d27-a1a5-031a573367cd","description":""},{"name":"Campanhas","item":[{"name":"Obter todas as campanhas existentes","id":"fe77e22f-5926-4be8-b2a6-c797138c8a90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}campanhas/?api={{api-token}}&p=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}campanhas"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da campanha</p>\n","type":"text/plain"},"key":"p","value":"1"}],"variable":[]}},"response":[],"_postman_id":"fe77e22f-5926-4be8-b2a6-c797138c8a90"},{"name":"Criar ou editar campanha","id":"90d42757-d9f4-425e-a2e8-5549d02001bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"d","value":"Campanha 2","description":"<p>Descrição da campanha</p>\n","type":"text"},{"key":"di","value":"2018-01-01","type":"text"},{"key":"df","value":"2018-12-31","type":"text"},{"key":"pos","value":"grande_1","description":"<p>Posição na webstore (grande_1, pequeno_1, pequeno_2, seccao_1)</p>\n","type":"text"},{"key":"webstores","value":"[1]","description":"<p>ID da webstore a utilizar a campanha</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}gerircampanha/?api={{api-token}}&p=4","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}gerircampanha"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da campanha a alterar, opcional</p>\n","type":"text/plain"},"key":"p","value":"4"}],"variable":[]}},"response":[],"_postman_id":"90d42757-d9f4-425e-a2e8-5549d02001bd"},{"name":"Obter webstores da campanha","id":"9992c4e7-5956-4652-848e-a9397a86e063","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}webstorecampanha/?api={{api-token}}&p=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}webstorecampanha"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da campanha</p>\n","type":"text/plain"},"key":"p","value":"1"}],"variable":[]}},"response":[],"_postman_id":"9992c4e7-5956-4652-848e-a9397a86e063"},{"name":"Obter imagem da campanha","id":"57aeb5b5-06d0-4490-8553-168572718394","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}imagemcampanha/?api={{api-token}}&p=1&thumb=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}imagemcampanha"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da campanha</p>\n","type":"text/plain"},"key":"p","value":"1"},{"description":{"content":"<p>Obter thumbnail em vez da imagem normal</p>\n","type":"text/plain"},"key":"thumb","value":"1"}],"variable":[]}},"response":[],"_postman_id":"57aeb5b5-06d0-4490-8553-168572718394"},{"name":"Eliminar campanha","id":"083526dd-b134-4d2f-b781-e0fc9d7c7664","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}eliminarcampanha/?api={{api-token}}&p=4","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarcampanha"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da campanha a eliminar</p>\n","type":"text/plain"},"key":"p","value":"4"}],"variable":[]}},"response":[],"_postman_id":"083526dd-b134-4d2f-b781-e0fc9d7c7664"},{"name":"Obter artigos da campanha","id":"74c25662-22bd-4ff3-9873-0f234f111a3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}artigoscampanha/?api={{api-token}}&p=3","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}artigoscampanha"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da campanha</p>\n","type":"text/plain"},"key":"p","value":"3"}],"variable":[]}},"response":[],"_postman_id":"74c25662-22bd-4ff3-9873-0f234f111a3a"},{"name":"Obter familias da campanha","id":"6170e326-0eab-4fe4-90d2-3ed35bb58a89","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}familiascampanha/?api={{api-token}}&p=3","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}familiascampanha"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da campanha</p>\n","type":"text/plain"},"key":"p","value":"3"}],"variable":[]}},"response":[],"_postman_id":"6170e326-0eab-4fe4-90d2-3ed35bb58a89"},{"name":"Adicionar ou alterar artigo na campanha","id":"5f2e6213-22c3-4631-8113-34505b0854c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_artigo","value":"123","description":"<p>ID do artigo</p>\n","type":"text"},{"key":"id_campanha","value":"3","description":"<p>ID da campanha</p>\n","type":"text"},{"key":"desconto","value":"25","description":"<p>Desconto a aplicar ao artigo nesta campanha</p>\n","type":"text"},{"key":"preco","value":"10","description":"<p>Preço fixo a aplicar no artigo nesta campanha</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}gerirartigocampanha/?api={{api-token}}&p=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}gerirartigocampanha"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>Se definido altera o artigo na campanha</p>\n","type":"text/plain"},"key":"p","value":"1"}],"variable":[]}},"response":[],"_postman_id":"5f2e6213-22c3-4631-8113-34505b0854c5"},{"name":"Criar ou editar familia na campanha","id":"cdd5290c-70b3-489e-8136-3bd95c4b6a35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_familia","value":"23","description":"<p>ID da familia</p>\n","type":"text"},{"key":"id_campanha","value":"3","description":"<p>ID da campanha</p>\n","type":"text"},{"key":"desconto","value":"25","description":"<p>Desconto a aplicar a familia nesta campanha</p>\n","type":"text"},{"key":"preco","value":"15","description":"<p>Preço a aplicar ao artigo nesta campanha</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}gerirfamiliacampanha/?api={{api-token}}&p=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}gerirfamiliacampanha"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>Se definido altera a familia na campanha</p>\n","type":"text/plain"},"key":"p","value":"1"}],"variable":[]}},"response":[],"_postman_id":"cdd5290c-70b3-489e-8136-3bd95c4b6a35"},{"name":"Remover artigo da campanha","id":"491bc590-e2bb-4af0-a39c-7456490e2358","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}eliminarartigocampanha/?api={{api-token}}&p=123&c=3","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarartigocampanha"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do artigo a remover da campanha</p>\n","type":"text/plain"},"key":"p","value":"123"},{"description":{"content":"<p>ID da campanha</p>\n","type":"text/plain"},"key":"c","value":"3"}],"variable":[]}},"response":[],"_postman_id":"491bc590-e2bb-4af0-a39c-7456490e2358"},{"name":"Remover uma familia da campanha","id":"6de2231a-d1f2-407f-895a-8c1e32f2146a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}eliminarfamiliacampanha/?api={{api-token}}&p=123&c=3","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarfamiliacampanha"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da familia a remover da campanha</p>\n","type":"text/plain"},"key":"p","value":"123"},{"description":{"content":"<p>ID da campanha</p>\n","type":"text/plain"},"key":"c","value":"3"}],"variable":[]}},"response":[],"_postman_id":"6de2231a-d1f2-407f-895a-8c1e32f2146a"}],"id":"237d1795-c6d0-4cea-917d-00cdc5768dc5","_postman_id":"237d1795-c6d0-4cea-917d-00cdc5768dc5","description":""},{"name":"Campos extra","item":[{"name":"Obter tipos de campos extra","id":"c6935d4a-4427-48d0-a12c-8167accb7820","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{goldylocks-api-url}}tiposcamposextra/?api={{api-token}}&tipo=artigos","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}tiposcamposextra"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>[OPCIONAL] - artigos | clientes | fornecedores</p>\n","type":"text/plain"},"key":"tipo","value":"artigos"}],"variable":[]}},"response":[],"_postman_id":"c6935d4a-4427-48d0-a12c-8167accb7820"},{"name":"Criar tipo de campo extra","id":"fec97fd9-54b9-48fd-89c2-26fd35e2cce9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"descricao","value":"Cor","description":"<p>Descrição do tipo de campo extra</p>\n","type":"text"},{"key":"tipo","value":"artigos","description":"<p>artigos | clientes | fornecedores</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}criartipocamposextra/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criartipocamposextra"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"fec97fd9-54b9-48fd-89c2-26fd35e2cce9"},{"name":"Alterar tipo de campo extra","id":"ae838327-735c-4f4a-8740-725d27856a0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"1","description":"<p>ID do tipo de campo extra</p>\n","type":"text"},{"key":"descricao","value":"Cores","description":"<p>Descrição do tipo de campo extra</p>\n","type":"text"},{"key":"tipo","value":"artigos","description":"<p>artigos | clientes | fornecedores</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}alterartipocamposextra/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterartipocamposextra"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"ae838327-735c-4f4a-8740-725d27856a0a"},{"name":"Remover tipo de campo extra","id":"3ce3d0b9-b869-47f5-aef8-038f99d74065","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"1","description":"<p>ID do tipo de campo extra a remover</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}removertipocampoextra/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removertipocampoextra"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"3ce3d0b9-b869-47f5-aef8-038f99d74065"},{"name":"Obter campos extra","id":"26ff30ea-d524-45de-8b06-e81904e62f1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{goldylocks-api-url}}camposextra/?api={{api-token}}&tipo=artigos&id_objeto=COD001","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}camposextra"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>artigos | clientes | fornecedores</p>\n","type":"text/plain"},"key":"tipo","value":"artigos"},{"description":{"content":"<p>ID do artigo, cliente ou fornecedor</p>\n","type":"text/plain"},"key":"id_objeto","value":"COD001"}],"variable":[]}},"response":[],"_postman_id":"26ff30ea-d524-45de-8b06-e81904e62f1c"},{"name":"Adicionar campo extra","id":"233d3dbd-e9d0-4c2a-813c-a08e66641994","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_tipo","value":"16","description":"<p>ID do tipo de campo extra</p>\n","type":"text"},{"key":"id_objeto","value":"COD001","description":"<p>ID do artigo, cliente ou fornecedor</p>\n","type":"text"},{"key":"valor","value":"Azul","description":"<p>Valor do campo extra</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}adicionarcampoextra/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}adicionarcampoextra"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"233d3dbd-e9d0-4c2a-813c-a08e66641994"},{"name":"Remover campo extra","id":"6f6c1af4-f547-4973-ba73-245b94fd1d7b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_tipo","value":"1","description":"<p>ID do tipo de campo extra</p>\n","type":"text"},{"key":"id_objeto","value":"COD001","description":"<p>ID do artigo, cliente ou fornecedor</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}removercampoextra/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removercampoextra"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"6f6c1af4-f547-4973-ba73-245b94fd1d7b"}],"id":"e75b4120-c7a3-48a7-9d56-a81f75bd7bc2","_postman_id":"e75b4120-c7a3-48a7-9d56-a81f75bd7bc2","description":""},{"name":"Categorias campos extra","item":[{"name":"Obter todas as categorias de campos extra","id":"1c345591-193c-4243-93e8-8b6421b1d76e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}categoriascamposextra/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}categoriascamposextra"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"1c345591-193c-4243-93e8-8b6421b1d76e"},{"name":"Obter categoria de campos extra","id":"5bc7891c-ed76-4ba7-b558-00e004925070","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}categoriacamposextra/?api={{api-token}}&id_categoria=5","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}categoriacamposextra"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"id_categoria","value":"5"}],"variable":[]}},"response":[],"_postman_id":"5bc7891c-ed76-4ba7-b558-00e004925070"},{"name":"Criar nova categoria campo extra","id":"5bc03f6c-c79a-4905-91c4-9bba20bb96ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"descricao","value":"Nome categoria","type":"text"}]},"url":"{{goldylocks-api-url}}criarcategoriacampoextra/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criarcategoriacampoextra"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"5bc03f6c-c79a-4905-91c4-9bba20bb96ab"},{"name":"Alterar categoria campo extra","id":"6af5c841-717f-4ec6-91d1-2123708ae70f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_categoria","value":"1","description":"<p>id da categoria</p>\n","type":"text"},{"key":"descricao","value":"Nova descrição categoria","description":"<p>Nova descrição da categoria</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}alterarcategoriacampoextra/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterarcategoriacampoextra"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"6af5c841-717f-4ec6-91d1-2123708ae70f"},{"name":"Eliminar categoria campo extra","id":"1ca160b4-06aa-496d-8d27-fe9d7caffdb1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_categoria","value":"2","description":"<p>id da categoria</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}eliminarcategoriacampoextra/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarcategoriacampoextra"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"1ca160b4-06aa-496d-8d27-fe9d7caffdb1"},{"name":"Atribuir categoria a campo extra","id":"95761546-36a8-437b-94de-492f1700b35c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_tipo_opcao_evento","value":"58","description":"<p>id tipo opção evento</p>\n","type":"text"},{"key":"id_categoria","value":"0","description":"<p>id da categoria</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}atribuircategoriatipoopcaoevento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}atribuircategoriatipoopcaoevento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"95761546-36a8-437b-94de-492f1700b35c"},{"name":"Definir especialidade campo extra","id":"59d7b549-3f69-4792-99e1-b79663f9370b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_especialidade","value":"1","type":"text"},{"key":"id_categoria_campo_extra","value":"5","type":"text"}]},"url":"{{goldylocks-api-url}}definirespecialidadecategoriacampoextra/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}definirespecialidadecategoriacampoextra"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"59d7b549-3f69-4792-99e1-b79663f9370b"},{"name":"Obter especialidades de um campo extra","id":"8f6eb4d2-315d-4706-b9af-715de39c1457","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}especialidadescategoriacampoextra/?api={{api-token}}&id_categoria_campo_extra=5","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}especialidadescategoriacampoextra"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"id_categoria_campo_extra","value":"5"}],"variable":[]}},"response":[],"_postman_id":"8f6eb4d2-315d-4706-b9af-715de39c1457"},{"name":"Remover todas as especialidades de um campo extra","id":"b60f805f-1320-44f5-9827-7b1d12bbec49","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_categoria_campo_extra","value":"5","type":"text"}]},"url":"{{goldylocks-api-url}}removerespecialidadescategoriacampoextra/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removerespecialidadescategoriacampoextra"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"b60f805f-1320-44f5-9827-7b1d12bbec49"}],"id":"53bef918-b0b7-49b2-9fd6-7027714c922f","_postman_id":"53bef918-b0b7-49b2-9fd6-7027714c922f","description":""},{"name":"Carateristicas","item":[{"name":"Obter tipo carateristica","id":"1ce2a3c0-8306-4b53-b2f0-bfca283ade21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}tipocaracteristica/?api={{api-token}}&tp&p&tc","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}tipocaracteristica"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>tipo</p>\n","type":"text/plain"},"key":"tp","value":""},{"description":{"content":"<p>ID do tipo caraterista</p>\n","type":"text/plain"},"key":"p","value":""},{"description":{"content":"<p>tipo carateristico</p>\n","type":"text/plain"},"key":"tc","value":""}],"variable":[]}},"response":[],"_postman_id":"1ce2a3c0-8306-4b53-b2f0-bfca283ade21"},{"name":"Obter varios tipos de caracteristicas","id":"f3d40f58-bed9-4342-bb50-5bc41d5f48d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}tiposcaracteristicas/?api={{api-token}}&artigo=4&p=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}tiposcaracteristicas"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID dos artigos</p>\n","type":"text/plain"},"key":"artigo","value":"4"},{"description":{"content":"<p>ID do tipo carateristica</p>\n","type":"text/plain"},"key":"p","value":"1"}],"variable":[]}},"response":[],"_postman_id":"f3d40f58-bed9-4342-bb50-5bc41d5f48d1"},{"name":"Eliminar tipo de caracteristica","id":"6ca578ec-d8ee-46e6-aa85-d2a488d4e2ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"tp","value":"","description":"<p>tipo</p>\n"},{"key":"tc","value":"","description":"<p>tipo carateristica</p>\n"}],"url":"{{goldylocks-api-url}}eliminartipocaracteristica/?api={{api-token}}&p=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminartipocaracteristica"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do tipo carateristica</p>\n","type":"text/plain"},"key":"p","value":"1"}],"variable":[]}},"response":[],"_postman_id":"6ca578ec-d8ee-46e6-aa85-d2a488d4e2ae"},{"name":"Gerir tipo caracteristica","id":"bc9153b5-85bd-4b7e-bc54-e9822c9b27d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"tp","value":"","description":"<p>tipo</p>\n"},{"key":"tc","value":"","description":"<p>tipo carateristica</p>\n"}],"url":"{{goldylocks-api-url}}gerirtipocaracteristica/?api={{api-token}}&p=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}gerirtipocaracteristica"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do tipo carateristica</p>\n","type":"text/plain"},"key":"p","value":"1"}],"variable":[]}},"response":[],"_postman_id":"bc9153b5-85bd-4b7e-bc54-e9822c9b27d5"},{"name":"Obter valores tipos caracteristicas","id":"bd4b6989-e68d-47a1-9c4d-0ad663f42580","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}valorestiposcaracteristicas/?api={{api-token}}&artigo=4&p=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}valorestiposcaracteristicas"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID dos artigos</p>\n","type":"text/plain"},"key":"artigo","value":"4"},{"description":{"content":"<p>ID do tipo carateristico</p>\n","type":"text/plain"},"key":"p","value":"1"}],"variable":[]}},"response":[],"_postman_id":"bd4b6989-e68d-47a1-9c4d-0ad663f42580"},{"name":"Gerir valor tipo caracteristica","id":"418881f4-2562-4178-ac4e-31c555a24c03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"valor","value":"","type":"text"},{"key":"vtc","value":"","description":"<p>ID do valor dos tipos caracteristica</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}gerirvalortipocaracteristica/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}gerirvalortipocaracteristica"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"418881f4-2562-4178-ac4e-31c555a24c03"},{"name":"Eliminar valor tipo caracteristica","id":"d555aca9-a833-425c-be23-87c645cdaf37","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}eliminarvalortipocaracteristica/?api={{api-token}}&p","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarvalortipocaracteristica"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do tipo carateristica</p>\n","type":"text/plain"},"key":"p","value":""}],"variable":[]}},"response":[],"_postman_id":"d555aca9-a833-425c-be23-87c645cdaf37"},{"name":"Adicionar caracteristica artigo","id":"41a989f5-ddc1-4bd2-90ac-deb0420c8887","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}adicionarcaracteristicaartigo/?api={{api-token}}&p&tc","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}adicionarcaracteristicaartigo"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do artigo</p>\n","type":"text/plain"},"key":"p","value":""},{"description":{"content":"<p>ID do tipo carateristica</p>\n","type":"text/plain"},"key":"tc","value":""}],"variable":[]}},"response":[],"_postman_id":"41a989f5-ddc1-4bd2-90ac-deb0420c8887"},{"name":"Adicionar caracteristicas artigo","id":"090525f5-7aa0-452b-85a3-9ab037e74c90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"caracteristicasArtigo","value":"","type":"text"},{"key":"tipoCaracteristica","value":"","type":"text"}]},"url":"{{goldylocks-api-url}}adicionarcaracteristicasartigo/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}adicionarcaracteristicasartigo"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"090525f5-7aa0-452b-85a3-9ab037e74c90"},{"name":"Tipos de caracteristicas artigo","id":"6131226d-6899-43cc-9313-284fcb65b58d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}tiposcaracteristicasartigo/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}tiposcaracteristicasartigo"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"6131226d-6899-43cc-9313-284fcb65b58d"},{"name":"Obter valores tipos caracteristicas artigo","id":"50811164-13b5-47da-8fd9-8ad8cfd5cb8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}valorestiposcaracteristicasartigo/?api={{api-token}}&p=2&artigo=505938073626","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}valorestiposcaracteristicasartigo"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do tipo carateristico</p>\n","type":"text/plain"},"key":"p","value":"2"},{"key":"artigo","value":"505938073626"}],"variable":[]}},"response":[],"_postman_id":"50811164-13b5-47da-8fd9-8ad8cfd5cb8c"},{"name":"Adicionar caracteristica linha","id":"fbe0e26c-58dd-48b6-9c46-37761ff43496","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}adicionarcaracteristicalinha/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}adicionarcaracteristicalinha"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"fbe0e26c-58dd-48b6-9c46-37761ff43496"},{"name":"Obter caracteristicas linha","id":"891d78cf-16a5-40fb-b7a6-2a6dd0d4033f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}obtercaracteristicaslinha/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}obtercaracteristicaslinha"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"891d78cf-16a5-40fb-b7a6-2a6dd0d4033f"},{"name":"Tipos caracteristicas com artigos","id":"e5b0c3e9-1303-4761-b3d8-073452345f85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}tiposcaracteristicascomartigos/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}tiposcaracteristicascomartigos"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"e5b0c3e9-1303-4761-b3d8-073452345f85"},{"name":"Obter valores tipos de caracteristicas","id":"ba39708c-a052-4267-84bd-1bbd5572d9f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}valorestiposcaracteristicascomartigos/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}valorestiposcaracteristicascomartigos"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"ba39708c-a052-4267-84bd-1bbd5572d9f5"}],"id":"9b99a272-5557-4a3a-bd7e-317b93110dce","_postman_id":"9b99a272-5557-4a3a-bd7e-317b93110dce","description":""},{"name":"Configuraçao Impressão","item":[{"name":"Obter configurações de impressão","id":"3dff9624-b9aa-4b6a-8ba4-2d0f65a125d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{goldylocks-api-url}}configuracoesimpressao/?api={{api-token}}&p=2","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}configuracoesimpressao"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id tipo documento</p>\n","type":"text/plain"},"key":"p","value":"2"}],"variable":[]}},"response":[],"_postman_id":"3dff9624-b9aa-4b6a-8ba4-2d0f65a125d5"},{"name":"Adicionar configuração de impressão","id":"20b434a6-1575-4372-a589-05bca3bb58f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_tipo_documento","value":"2","description":"<p>id do tipo de documento a configurar a impressao</p>\n","type":"text"},{"key":"id_posto","value":"31231313123","description":"<p>identificacao unica do agente</p>\n","type":"text"},{"key":"impressora","value":"HP 6839","description":"<p>nome da impressora no agente</p>\n","type":"text"},{"key":"modelo_impressao","value":"mod5_vendas.php","description":"<p>modelo de impressão</p>\n","type":"text"},{"key":"vias","value":"1","description":"<p>numero de vias</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}adicionarconfiguracaoimpressao/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}adicionarconfiguracaoimpressao"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"20b434a6-1575-4372-a589-05bca3bb58f0"},{"name":"Remover configuração de impressão","id":"81042042-5234-41e8-96c7-69f893906e0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{goldylocks-api-url}}removerconfiguracaoimpressao/?api={{api-token}}&p=34","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removerconfiguracaoimpressao"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id da configuracao de impressao</p>\n","type":"text/plain"},"key":"p","value":"34"}],"variable":[]}},"response":[],"_postman_id":"81042042-5234-41e8-96c7-69f893906e0a"}],"id":"cf1a8a75-92c5-4a85-a233-54f614e4ad91","_postman_id":"cf1a8a75-92c5-4a85-a233-54f614e4ad91","description":""},{"name":"Contas Banco","item":[{"name":"Adicionar conta banco cliente","id":"4aef5420-816a-46c3-8d73-9569fc0de807","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}adicionarcontabancocliente/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}adicionarcontabancocliente"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"4aef5420-816a-46c3-8d73-9569fc0de807"},{"name":"Contas banco cliente","id":"d1aebc24-e114-4d21-bfe0-b43edcbd91a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}contasbancocliente/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}contasbancocliente"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"d1aebc24-e114-4d21-bfe0-b43edcbd91a2"},{"name":"Remover conta banco cliente","id":"0f8bfc10-aede-4e10-9c81-9e0a6b09c2bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}removercontabancocliente/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removercontabancocliente"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"0f8bfc10-aede-4e10-9c81-9e0a6b09c2bc"},{"name":"Contas banco fornecedor","id":"c05c10ac-672f-464d-9c8f-f4fbe8bbda94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}contasbancofornecedor/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}contasbancofornecedor"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"c05c10ac-672f-464d-9c8f-f4fbe8bbda94"},{"name":"Adicionar conta banco fornecedor","id":"b03050af-265c-4c8a-9e22-daaaa9c3c37d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}adicionarcontabancofornecedor/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}adicionarcontabancofornecedor"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"b03050af-265c-4c8a-9e22-daaaa9c3c37d"},{"name":"Remover conta banco fornecedor","id":"e3a6b2ad-9c21-4c13-b2f9-231af49903e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}removercontabancofornecedor/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removercontabancofornecedor"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"e3a6b2ad-9c21-4c13-b2f9-231af49903e3"}],"id":"9d4fff76-8e13-46ae-b629-fbc6ed44428f","_postman_id":"9d4fff76-8e13-46ae-b629-fbc6ed44428f","description":""},{"name":"CRM","item":[{"name":"Obter eventos CRM em aberto","id":"0ecdf20b-5763-4294-990e-987b3923280a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}eventoscrmabertos/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eventoscrmabertos"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"0ecdf20b-5763-4294-990e-987b3923280a"},{"name":"Criar evento CRM","id":"08a4b3d3-39c8-4690-a0d6-f9c3ed1f4078","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_entidade","value":"1","description":"<p>id do cliente</p>\n","type":"text"},{"key":"id_tipo_evento","value":"1","description":"<p>id do tipo de evento CRM</p>\n","type":"text"},{"key":"descricao","value":"Cliente X quer comprar Y","description":"<p>descrição do evento</p>\n","type":"text"},{"key":"id_evento_pai","value":"0","description":"<p>id do evento pai se existir</p>\n","type":"text"},{"key":"id_equipamento","value":"0","description":"<p>id do equipamento se existir</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}criareventocrm/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criareventocrm"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"08a4b3d3-39c8-4690-a0d6-f9c3ed1f4078"},{"name":"Alterar descrição evento CRM","id":"14f33474-ba28-48ad-a7ea-7763d61e03ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_evento","value":"1","description":"<p>id do evento a alterar</p>\n","type":"text"},{"key":"descricao","value":"Teste","description":"<p>nova descrição do evento</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}alterardescricaoeventocrm/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterardescricaoeventocrm"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"14f33474-ba28-48ad-a7ea-7763d61e03ee"},{"name":"Terminar evento CRM","id":"f2dd5245-f3fe-4831-babc-8d3550eb58bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_evento","value":"1","description":"<p>id do evento a alterar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}terminareventocrm/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}terminareventocrm"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"f2dd5245-f3fe-4831-babc-8d3550eb58bf"},{"name":"Eliminar evento CRM","id":"b0af686c-922e-493c-b3d7-189325f78d4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_evento_crm","value":"1","description":"<p>id do evento CRM a remover</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}eliminareventocrm/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminareventocrm"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"b0af686c-922e-493c-b3d7-189325f78d4c"},{"name":"Adicionar registo a um evento CRM","id":"fc9f9482-722c-4e15-95ed-c5e1ff3e4e85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_evento","value":"2","description":"<p>id do evento CRM</p>\n","type":"text"},{"key":"registo","value":"Cliente pediu suporte para X","description":"<p>registo do evento</p>\n","type":"text"},{"key":"id_tipo_registo","value":"1","description":"<p>id do tipo de registo</p>\n","type":"text"},{"key":"id_documento","value":"0","description":"<p>id do documento criado se existir</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}adicionarregistoeventocrm/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}adicionarregistoeventocrm"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"fc9f9482-722c-4e15-95ed-c5e1ff3e4e85"},{"name":"Alterar registo de um evento CRM","id":"b7a21695-f7ad-4345-97cf-a5259aec0c05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_registo","value":"1","description":"<p>id do registo a alterar</p>\n","type":"text"},{"key":"novo_registo","value":"Cliente afinal quer 2 X","description":"<p>novo registo</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}alterarregistoeventocrm/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterarregistoeventocrm"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"b7a21695-f7ad-4345-97cf-a5259aec0c05"},{"name":"Obter registos de um evento CRM","id":"a1fcfefe-2b88-46c1-9d2e-f19b13e27f3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_evento","value":"2","description":"<p>id do evento CRM</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}obterregistoseventocrm/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}obterregistoseventocrm"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"a1fcfefe-2b88-46c1-9d2e-f19b13e27f3a"},{"name":"Elminar registo evento CRM","id":"4a10b189-34bf-4754-9b0d-d026a19abd91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_registo","value":"1","description":"<p>id do registo a eliminar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}removerregistoeventocrm/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removerregistoeventocrm"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"4a10b189-34bf-4754-9b0d-d026a19abd91"},{"name":"Obter tipos de eventos CRM","id":"07a68eb6-eab0-4760-b036-62927750dd36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{goldylocks-api-url}}tiposeventoscrm/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}tiposeventoscrm"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"07a68eb6-eab0-4760-b036-62927750dd36"},{"name":"Criar tipo de eventos CRM","id":"ab2de6b3-37e2-4ef7-addc-f7fa329fb514","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"descricao","value":"Pedido de assistencia","description":"<p>descricao do tipo de evento</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}criartipoeventocrm/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criartipoeventocrm"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"ab2de6b3-37e2-4ef7-addc-f7fa329fb514"},{"name":"Alterar tipo de evento CRM","id":"56cddf63-eaf0-44c3-a59a-5773b32c3d36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_tipo_evento","value":"1","description":"<p>id do tipo de evento</p>\n","type":"text"},{"key":"descricao","value":"Pedido de assistencia","description":"<p>descricao do tipo de evento</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}alterartipoeventocrm/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterartipoeventocrm"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"56cddf63-eaf0-44c3-a59a-5773b32c3d36"},{"name":"Alterar opções do tipo de evento CRM","id":"826cf6ab-deda-4318-94aa-152be37ec62a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_tipo_evento","value":"1","description":"<p>id do tipo de evento</p>\n","type":"text"},{"key":"cor_fundo","value":"#ffffff","description":"<p>Cor de fundo em hexadecimal</p>\n","type":"text"},{"key":"cor_texto","value":"#000000","description":"<p>Cor do texto em hexadecimal</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}alteraropcoestipoeventocrm/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alteraropcoestipoeventocrm"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"826cf6ab-deda-4318-94aa-152be37ec62a"},{"name":"Eliminar tipo de evento CRM","id":"07b1cf52-bc81-43e4-8d90-879fe99c7025","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_tipo_evento","value":"1","description":"<p>id do tipo de evento</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}removertipoeventocrm/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removertipoeventocrm"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"07b1cf52-bc81-43e4-8d90-879fe99c7025"},{"name":"Ativar tipo de evento CRM","id":"ae4e76bd-fe7b-4725-8c35-5cdd5c32deac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_tipo_evento","value":"1","description":"<p>id do tipo de evento</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}ativartipoeventocrm/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}ativartipoeventocrm"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"ae4e76bd-fe7b-4725-8c35-5cdd5c32deac"},{"name":"Desativar tipo de evento CRM","id":"59c6fc49-43ec-4599-bd6c-c37dc0d68c35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_tipo_evento","value":"1","description":"<p>id do tipo de evento</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}desativartipoeventocrm/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}desativartipoeventocrm"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"59c6fc49-43ec-4599-bd6c-c37dc0d68c35"},{"name":"Obter tipos de registos de eventos CRM","id":"9ddcc972-8173-48e8-b74c-67c687aa807f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{goldylocks-api-url}}tiposregistoeventoscrm/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}tiposregistoeventoscrm"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"9ddcc972-8173-48e8-b74c-67c687aa807f"},{"name":"Criar tipo de registo evento CRM","id":"1ef77d87-05d3-46ad-95b1-1e9e1074bbbb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"descricao","value":"Contato","description":"<p>descricao do tipo de registo</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}criartiporegistoeventocrm/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criartiporegistoeventocrm"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"1ef77d87-05d3-46ad-95b1-1e9e1074bbbb"},{"name":"Alterar tipo de registo evento CRM","id":"d1124207-cbab-462f-b68e-62276d80e76c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_tipo_registo_evento","value":"3","description":"<p>id do tipo de registo de evento</p>\n","type":"text"},{"key":"descricao","value":"Suporte","description":"<p>descricao do tipo de registo</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}alterartiporegistoeventocrm/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterartiporegistoeventocrm"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"d1124207-cbab-462f-b68e-62276d80e76c"},{"name":"Remover tipo de registo de evento CRM","id":"e2d389dc-bfce-4fd4-9d30-49b7c4d7ec0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_tipo_registo_evento","value":"1","description":"<p>id do tipo de registo de evento</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}removertiporegistoeventocrm/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removertiporegistoeventocrm"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"e2d389dc-bfce-4fd4-9d30-49b7c4d7ec0a"},{"name":"Ativar tipo de registo de evento CRM","id":"9aff7351-952e-40b8-ab51-36740085e0fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_tipo_registo_evento","value":"2","description":"<p>id do tipo de registo de evento</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}ativartiporegistoeventocrm/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}ativartiporegistoeventocrm"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"9aff7351-952e-40b8-ab51-36740085e0fa"},{"name":"Desativar tipo de registo de evento CRM","id":"8df5cafa-5d11-4872-b656-b32215ae75d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_tipo_registo_evento","value":"2","description":"<p>id do tipo de registo de evento</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}desativartiporegistoeventocrm/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}desativartiporegistoeventocrm"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"8df5cafa-5d11-4872-b656-b32215ae75d5"}],"id":"c8158a5e-5ed0-47e8-89f5-473880f8d393","_postman_id":"c8158a5e-5ed0-47e8-89f5-473880f8d393","description":""},{"name":"Dashboard","item":[{"name":"Vendas ultimos dias","id":"bc2f8e9b-9464-40b7-ba57-ebb934e863bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}vendasultimosdias/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}vendasultimosdias"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"bc2f8e9b-9464-40b7-ba57-ebb934e863bb"},{"name":"Compras ultimos dias","id":"2dc80347-17ac-4d95-987f-6a14e6b912e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}comprasultimosdias/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}comprasultimosdias"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"2dc80347-17ac-4d95-987f-6a14e6b912e3"},{"name":"Compras vendas seis meses","id":"d67af05c-16d6-4936-8ed4-6c3f8c363d81","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}comprasvendasseismeses/?api={{api-token}}&l=6","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}comprasvendasseismeses"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>limite</p>\n","type":"text/plain"},"key":"l","value":"6"}],"variable":[]}},"response":[],"_postman_id":"d67af05c-16d6-4936-8ed4-6c3f8c363d81"},{"name":"Impostos compras vendas","id":"18eda16f-5cc0-45d1-9857-cc353bb39177","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}impostoscomprasvendas/?api={{api-token}}&l=6","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}impostoscomprasvendas"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>limite</p>\n","type":"text/plain"},"key":"l","value":"6"}],"variable":[]}},"response":[],"_postman_id":"18eda16f-5cc0-45d1-9857-cc353bb39177"},{"name":"Eventos","id":"2c830479-928c-4274-960c-c7d3fa32b738","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}eventos/?api={{api-token}}&start&end","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eventos"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>data Inicial</p>\n","type":"text/plain"},"key":"start","value":""},{"description":{"content":"<p>data final</p>\n","type":"text/plain"},"key":"end","value":""}],"variable":[]}},"response":[],"_postman_id":"2c830479-928c-4274-960c-c7d3fa32b738"},{"name":"Numero eventos","id":"067d3f85-a103-4376-9ddd-f04715264ac5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}numeroeventos/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}numeroeventos"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"067d3f85-a103-4376-9ddd-f04715264ac5"}],"id":"0d74b2a7-910e-471d-a767-e88fd1c8012c","_postman_id":"0d74b2a7-910e-471d-a767-e88fd1c8012c","description":""},{"name":"Data","item":[{"name":"Tabelas","id":"6c8dabb7-9091-4cbb-9fcd-1cdc89380d0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}tabelas/?api={{api-token}}&campos","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}tabelas"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>obter a estrutura de tabela selecionada</p>\n","type":"text/plain"},"key":"campos","value":""}],"variable":[]}},"response":[],"_postman_id":"6c8dabb7-9091-4cbb-9fcd-1cdc89380d0e"}],"id":"adba750d-4c54-4561-9fc2-d87950963878","_postman_id":"adba750d-4c54-4561-9fc2-d87950963878","description":""},{"name":"Documentos","item":[{"name":"Criar documento","id":"9ec0eec2-be93-4044-b11e-fa2783b55ec1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_utilizador","value":"1","description":"<p>Id do utilizador do documento</p>\n","disabled":true},{"key":"idCliente","value":"1","description":"<p>id do cliente</p>\n","type":"text"},{"key":"inp_referencia","value":"12345","description":"<p>referencia externa do documento</p>\n","type":"text","disabled":true},{"key":"avenca","value":"1","description":"<p>id da avença</p>\n","type":"text","disabled":true},{"key":"serie_documento","value":"2024_2","description":"<p>serie do documento a criar</p>\n","type":"text"},{"key":"tipo_documento","value":"3","description":"<p>id do tipo de documento a criar</p>\n","type":"text"},{"key":"inp_data_documento","value":"2024/07/06 14:15:00","description":"<p>data e hora do documento</p>\n","type":"text"},{"key":"metodopagamento","value":"dinheiro","description":"<p>metodo de pagamento a utilizar</p>\n","type":"text","disabled":true},{"key":"copiar","value":"1","description":"<p>1 para copiar documentos, 2 para converter</p>\n","type":"text","disabled":true},{"key":"documentos","value":"[12,15,17]","description":"<p>documentos a copiar ou converter</p>\n","type":"text","disabled":true},{"key":"preparacao","value":"1","description":"<p>documento de preparacao</p>\n","type":"text","disabled":true},{"key":"metodoentrega","value":"2","description":"<p>id do metodo de entrega a utilizar</p>\n","type":"text","disabled":true},{"key":"preparacaosemstock","value":"1","description":"<p>ao converter aplica apenas as quantidades sem stock</p>\n","type":"text","disabled":true},{"key":"linhas","value":"[{id_movimento: 321543 , nome:\"Cliente 1\",  id_artigo:12341123, quantidade_por_encomendar: 6}]","description":"<p>Linha a copiar ou converter, também podem ser enviados apenas os IDs: [\"123\",\"124\"]</p>\n","type":"text","disabled":true},{"key":"gerarchegadamaterial","value":"1","description":"<p>Criar documento para a chegada de material</p>\n","type":"text","disabled":true},{"key":"gerarcomprapreparacao","value":"1","description":"<p>Criar documento pedido fornecedor</p>\n","type":"text","disabled":true}]},"url":"{{goldylocks-api-url}}criardocumento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criardocumento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"9ec0eec2-be93-4044-b11e-fa2783b55ec1"},{"name":"Terminar documento","id":"82ac87ca-a9a1-45c9-89fb-f0028588c98e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}fechardocumento/?api={{api-token}}&p=47","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}fechardocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do documento a terminar</p>\n","type":"text/plain"},"key":"p","value":"47"}],"variable":[]}},"response":[],"_postman_id":"82ac87ca-a9a1-45c9-89fb-f0028588c98e"},{"name":"Avançar estado documento","id":"c9f7518d-6ae9-4ef4-8e8d-59ee12a5d7b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}avancarestado/?api={{api-token}}&id_documento=381","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}avancarestado"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do documento a terminar</p>\n","type":"text/plain"},"key":"id_documento","value":"381"}],"variable":[]}},"response":[],"_postman_id":"c9f7518d-6ae9-4ef4-8e8d-59ee12a5d7b3"},{"name":"Totais do documento","id":"2eb12acc-1576-4581-b446-95158fa3e4d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}totaldoc/?api={{api-token}}&p=220","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}totaldoc"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id da linha a eliminar</p>\n","type":"text/plain"},"key":"p","value":"220"}],"variable":[]}},"response":[],"_postman_id":"2eb12acc-1576-4581-b446-95158fa3e4d5"},{"name":"Obter detalhes de um documento","id":"f93bf272-3280-4744-9147-35ac4a44af15","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}documento/?api={{api-token}}&p=21967&td=2","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}documento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id da encomenda do cliente</p>\n","type":"text/plain"},"key":"p","value":"21967"},{"description":{"content":"<p>[OPCIONAL] - id do tipo de documento</p>\n","type":"text/plain"},"key":"td","value":"2"}],"variable":[]}},"response":[],"_postman_id":"f93bf272-3280-4744-9147-35ac4a44af15"},{"name":"Obter opções de um documento","id":"a113fbb4-61b2-4cde-a562-7c00cdac3c6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}opcoesdocumento/?api={{api-token}}&id_documento=35851","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}opcoesdocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"id_documento","value":"35851"}],"variable":[]}},"response":[],"_postman_id":"a113fbb4-61b2-4cde-a562-7c00cdac3c6c"},{"name":"Alterar cliente do documento","id":"7b73e906-6e8c-46fe-a4b8-16cd29711aa1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"34","description":"<p>ID do cliente,  0 para criar novo cliente</p>\n","type":"text"},{"key":"nif","value":"999999990","description":"<p>VAT ID</p>\n","type":"text"},{"key":"nome","value":"Cliente 1","type":"text"},{"key":"morada","value":"Rua do cliente 1","type":"text"},{"key":"morada2","value":"","type":"text"},{"key":"cp","value":"4000-123 Porto","type":"text"},{"key":"telemovel","value":"960960960","type":"text"},{"key":"telefone","value":"222456789","type":"text"},{"key":"codigoPais","value":"PT","type":"text"},{"key":"pais","value":"Portugal","type":"text"}]},"url":"{{goldylocks-api-url}}alterarclientedocumento/?api={{api-token}}&p=282&alterarlinhas=1&id&nif&nome&morada&morada2&cp&codigoPais=PT&pais=Portugal&telemovel&telefone&email&imposto=IVA 23%&id_morada_adicional=0","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterarclientedocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do documento a alterar</p>\n","type":"text/plain"},"key":"p","value":"282"},{"description":{"content":"<p>adaptar Linhas de Documento ao Cliente</p>\n","type":"text/plain"},"key":"alterarlinhas","value":"1"},{"description":{"content":"<p>ID do cliente</p>\n","type":"text/plain"},"key":"id","value":null},{"description":{"content":"<p>ID do NIF</p>\n","type":"text/plain"},"key":"nif","value":null},{"description":{"content":"<p>nome do cliente</p>\n","type":"text/plain"},"key":"nome","value":null},{"description":{"content":"<p>morada do cliente</p>\n","type":"text/plain"},"key":"morada","value":null},{"description":{"content":"<p>segunda morada do clinte</p>\n","type":"text/plain"},"key":"morada2","value":null},{"description":{"content":"<p>codigo postal do cliente</p>\n","type":"text/plain"},"key":"cp","value":null},{"description":{"content":"<p>codigo do pais do cliente</p>\n","type":"text/plain"},"key":"codigoPais","value":"PT"},{"key":"pais","value":"Portugal"},{"key":"telemovel","value":null},{"key":"telefone","value":null},{"key":"email","value":null},{"description":{"content":"<p>imposto por defeito da entidade</p>\n","type":"text/plain"},"key":"imposto","value":"IVA 23%"},{"description":{"content":"<p>ID da morada adicional utilizada se aplicável</p>\n","type":"text/plain"},"key":"id_morada_adicional","value":"0"}],"variable":[]}},"response":[],"_postman_id":"7b73e906-6e8c-46fe-a4b8-16cd29711aa1"},{"name":"Documento","id":"f179c724-18d0-4c9a-936f-06ca9f9f177d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}documento/?api={{api-token}}&p=220&id_grupo","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}documento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id de encomenda</p>\n","type":"text/plain"},"key":"p","value":"220"},{"description":{"content":"<p>edentifica grupos</p>\n","type":"text/plain"},"key":"id_grupo","value":""}],"variable":[]}},"response":[],"_postman_id":"f179c724-18d0-4c9a-936f-06ca9f9f177d"},{"name":"Documentos","id":"ebf77d31-2186-41b9-8a44-63a73171cfbd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}documentos/?api={{api-token}}&td&serie&pesquisa&p&ied&estado&ordem_estado_documento=&observacoes_documentos=&limite=100&id_zona_viatura=1&sem_conversoes=0&maximo_dias_anteriores=4&ultrapassados=0&vencidos=1&data_inicial=2022-01-01&data_final=2022-12-31","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}documentos"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id tipo de documento | vendas | transporte | preparacao</p>\n","type":"text/plain"},"key":"td","value":null},{"description":{"content":"<p>encomenda por serie</p>\n","type":"text/plain"},"key":"serie","value":null},{"description":{"content":"<p>string de pesquisa</p>\n","type":"text/plain"},"key":"pesquisa","value":null},{"description":{"content":"<p>id de cliente</p>\n","type":"text/plain"},"key":"p","value":null},{"description":{"content":"<p>id do estado do documento</p>\n","type":"text/plain"},"key":"ied","value":null},{"description":{"content":"<p>estado do documento, O, A, F, N | fechados (F ou N) | terminados (não abertos incluindo anulados)</p>\n","type":"text/plain"},"key":"estado","value":null},{"description":{"content":"<p>[opcional] - ordem do estado do documento</p>\n","type":"text/plain"},"key":"ordem_estado_documento","value":""},{"description":{"content":"<p>[opcional] - obter observacoes dos documentos</p>\n","type":"text/plain"},"key":"observacoes_documentos","value":""},{"description":{"content":"<p>limite de resultados</p>\n","type":"text/plain"},"key":"limite","value":"100"},{"description":{"content":"<p>id da zona da viatura</p>\n","type":"text/plain"},"key":"id_zona_viatura","value":"1"},{"description":{"content":"<p>1 - não mostra conversoes dos documentos</p>\n","type":"text/plain"},"key":"sem_conversoes","value":"0"},{"description":{"content":"<p>Numero de dias anteriores a pesquisar</p>\n","type":"text/plain"},"key":"maximo_dias_anteriores","value":"4"},{"description":{"content":"<p>Documentos com prazo do estado ultrapassado</p>\n","type":"text/plain"},"key":"ultrapassados","value":"0"},{"description":{"content":"<p>Apenas documentos pendentes vencidos</p>\n","type":"text/plain"},"key":"vencidos","value":"1"},{"description":{"content":"<p>Data inicial</p>\n","type":"text/plain"},"key":"data_inicial","value":"2022-01-01"},{"description":{"content":"<p>Data final</p>\n","type":"text/plain"},"key":"data_final","value":"2022-12-31"}],"variable":[]}},"response":[],"_postman_id":"ebf77d31-2186-41b9-8a44-63a73171cfbd"},{"name":"Update da referencia","id":"f6cade30-95d1-4b05-85bb-3dc5b1493fe8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"referencia_externa","value":"","description":"<p>referencia externa</p>\n","type":"text"},{"key":"id_encomenda","value":"","description":"<p>id da encomenda</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}updatereferencia/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}updatereferencia"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"f6cade30-95d1-4b05-85bb-3dc5b1493fe8"},{"name":"Obter referencia","id":"4f11aad2-fda6-48e2-965c-715b8d8c6544","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_encomenda","value":"","description":"<p>id da encomenda</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}obterreferencia/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}obterreferencia"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"4f11aad2-fda6-48e2-965c-715b8d8c6544"},{"name":"Estado de preparacao do documento","id":"229512a5-f6a2-4bb3-91ce-54d35bc7d319","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}estadopreparacaodocumento/?api={{api-token}}&p=220","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}estadopreparacaodocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id de encomenda</p>\n","type":"text/plain"},"key":"p","value":"220"}],"variable":[]}},"response":[],"_postman_id":"229512a5-f6a2-4bb3-91ce-54d35bc7d319"},{"name":"Alterar  Documento","id":"c06e41b0-1942-45db-9e4f-4cc71ea28ce6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"serie","value":"","description":"<p>serie</p>\n"},{"key":"id_tipo_decomento","value":"","description":"<p>id de tipo do decomento</p>\n"},{"key":"data_decomento","value":"","description":"<p>data do decomento</p>\n"}],"url":"{{goldylocks-api-url}}alterardocumento/?api={{api-token}}&p&d&s","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterardocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id da encomenda</p>\n","type":"text/plain"},"key":"p","value":""},{"description":{"content":"<p>novo docomento</p>\n","type":"text/plain"},"key":"d","value":""},{"description":{"content":"<p>nova serie</p>\n","type":"text/plain"},"key":"s","value":""}],"variable":[]}},"response":[],"_postman_id":"c06e41b0-1942-45db-9e4f-4cc71ea28ce6"},{"name":"Linhas delivery","id":"cfdec982-695f-4289-9d40-d2c0da690d3b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}linhasdocdelivery/?api={{api-token}}&id_documento=320","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}linhasdocdelivery"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do documento</p>\n","type":"text/plain"},"key":"id_documento","value":"320"}],"variable":[]}},"response":[],"_postman_id":"cfdec982-695f-4289-9d40-d2c0da690d3b"},{"name":"alterar estado delivery","id":"aa6865e4-8bc2-4ede-bf3d-c50f3bd63fc4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}alterarestadodelivery/?api={{api-token}}&id_documento=220&id_estado_delivery=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterarestadodelivery"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do documento</p>\n","type":"text/plain"},"key":"id_documento","value":"220"},{"description":{"content":"<p>id estado delivery que corresponde a ordem do estado de documento, 1 a 4</p>\n","type":"text/plain"},"key":"id_estado_delivery","value":"1"}],"variable":[]}},"response":[],"_postman_id":"aa6865e4-8bc2-4ede-bf3d-c50f3bd63fc4"},{"name":"Copiar linhas","id":"f11f53a0-ca97-4b49-a356-0f96c5b4cc83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}copiarlinhas/?api={{api-token}}&d=iddoc","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}copiarlinhas"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do documento</p>\n","type":"text/plain"},"key":"d","value":"iddoc"}],"variable":[]}},"response":[],"_postman_id":"f11f53a0-ca97-4b49-a356-0f96c5b4cc83"},{"name":"Total linhas","id":"222c3f82-3445-4795-ac1a-69d121459d0b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}totaldoc/?api={{api-token}}&p=20","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}totaldoc"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do documento a obter total</p>\n","type":"text/plain"},"key":"p","value":"20"}],"variable":[]}},"response":[],"_postman_id":"222c3f82-3445-4795-ac1a-69d121459d0b"},{"name":"Incidencias documento","id":"7f41d2a5-f9b3-4f3f-aef8-79b72fa3adc7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}incidenciasdocumento/?api={{api-token}}&p","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}incidenciasdocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id da encomenda</p>\n","type":"text/plain"},"key":"p","value":""}],"variable":[]}},"response":[],"_postman_id":"7f41d2a5-f9b3-4f3f-aef8-79b72fa3adc7"},{"name":"Desconto global","id":"3af1d6bd-f94e-49b7-be5d-705ad2793444","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}descontoglobal/?api={{api-token}}&p=18292&v=10","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}descontoglobal"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do documento a aplicar o desconto</p>\n","type":"text/plain"},"key":"p","value":"18292"},{"description":{"content":"<p>Valor do desconto global em percentagem</p>\n","type":"text/plain"},"key":"v","value":"10"}],"variable":[]}},"response":[],"_postman_id":"3af1d6bd-f94e-49b7-be5d-705ad2793444"},{"name":"Anular documento","id":"f07fb5e1-3bc9-45f5-8f57-2c7371ee8855","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}anulardoc/?api={{api-token}}&m=motivo&p=19195","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}anulardoc"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>anula o documento</p>\n","type":"text/plain"},"key":"m","value":"motivo"},{"description":{"content":"<p>id do documento a anular</p>\n","type":"text/plain"},"key":"p","value":"19195"}],"variable":[]}},"response":[],"_postman_id":"f07fb5e1-3bc9-45f5-8f57-2c7371ee8855"},{"name":"Recibos documento","id":"59a113f9-8d3e-4dfa-9b45-feb934875dd6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}recibosdocumento/?api={{api-token}}&p=20","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}recibosdocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do documento</p>\n","type":"text/plain"},"key":"p","value":"20"}],"variable":[]}},"response":[],"_postman_id":"59a113f9-8d3e-4dfa-9b45-feb934875dd6"},{"name":"Gerar referencia","id":"39bdc40d-e6f0-4eab-9678-bb5779d55623","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}gerarrefmb/?api={{api-token}}&p=doc","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}gerarrefmb"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>novo documento</p>\n","type":"text/plain"},"key":"p","value":"doc"}],"variable":[]}},"response":[],"_postman_id":"39bdc40d-e6f0-4eab-9678-bb5779d55623"},{"name":"Definir valor multibanco","id":"2b2f25ee-f048-4314-be0b-b92e1c5a7e62","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_documento","value":"29407","description":"<p>ID do documento a alterar, tem de estar terminado</p>\n","type":"text"},{"key":"valor","value":"150.26","description":"<p>Novo valor multibanco</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}alterarvalormultibanco/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterarvalormultibanco"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"2b2f25ee-f048-4314-be0b-b92e1c5a7e62"},{"name":"Movimentos saft","id":"591e4102-11ac-40a2-9fbe-b81b7c6f9232","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}movimentossaft/?api={{api-token}}&di=df&saft","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}movimentossaft"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>data  inicial e data final</p>\n","type":"text/plain"},"key":"di","value":"df"},{"description":{"content":"<p>nova saft</p>\n","type":"text/plain"},"key":"saft","value":""}],"variable":[]}},"response":[],"_postman_id":"591e4102-11ac-40a2-9fbe-b81b7c6f9232"},{"name":"Exportar saft","id":"5a7cb4a0-e976-498c-8492-e2010ed98339","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}exportarsaft/?api={{api-token}}&di=df&saft","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}exportarsaft"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>data incial e data final</p>\n","type":"text/plain"},"key":"di","value":"df"},{"description":{"content":"<p>nova saft</p>\n","type":"text/plain"},"key":"saft","value":""}],"variable":[]}},"response":[],"_postman_id":"5a7cb4a0-e976-498c-8492-e2010ed98339"},{"name":"Satisfazer linha delivery","id":"aa1b875f-6af3-46fa-bd22-82a88c1e3c39","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}satisfazerlinhadelivery/?api={{api-token}}&id_movimento=410","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}satisfazerlinhadelivery"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"id_movimento","value":"410"}],"variable":[]}},"response":[],"_postman_id":"aa1b875f-6af3-46fa-bd22-82a88c1e3c39"},{"name":"Não satisfazer linha delivery","id":"1a233e4b-d25d-428c-8434-5185c0d4df0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}linhadeliverynaosatisfeita/?api={{api-token}}&id_movimento=410","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}linhadeliverynaosatisfeita"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"id_movimento","value":"410"}],"variable":[]}},"response":[],"_postman_id":"1a233e4b-d25d-428c-8434-5185c0d4df0e"},{"name":"Documentos abertos","id":"089be336-4557-4109-b620-328c2e909313","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}documentosabertos/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}documentosabertos"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"089be336-4557-4109-b620-328c2e909313"},{"name":"Verificar se contem impostos inferiores aos da ficha do cliente","id":"7cef6b92-3d78-43c8-9d1d-1d6454c34aa6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}impostosinferiorescliente/?api={{api-token}}&p&td","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}impostosinferiorescliente"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do documento</p>\n","type":"text/plain"},"key":"p","value":""},{"description":{"content":"<p>id do tipo de documento</p>\n","type":"text/plain"},"key":"td","value":""}],"variable":[]}},"response":[],"_postman_id":"7cef6b92-3d78-43c8-9d1d-1d6454c34aa6"},{"name":"Existe saft emitida na data","id":"864fcca4-e5af-44f0-8d39-82490519d892","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}existesaftemitidodata/?api={{api-token}}&td&p","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}existesaftemitidodata"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>tipo de documento</p>\n","type":"text/plain"},"key":"td","value":""},{"key":"p","value":""}],"variable":[]}},"response":[],"_postman_id":"864fcca4-e5af-44f0-8d39-82490519d892"},{"name":"Email do documento","id":"85b73c04-2262-4873-a20e-7e185a0d09b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}emailsdocumento/?api={{api-token}}&p","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}emailsdocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id da encomenda</p>\n","type":"text/plain"},"key":"p","value":""}],"variable":[]}},"response":[],"_postman_id":"85b73c04-2262-4873-a20e-7e185a0d09b9"},{"name":"Obter detalhes do envio por email","id":"d40a632c-8c2a-48e0-802f-2e544f40d000","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}emailsdocumento/?api={{api-token}}&p","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}emailsdocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id da encomenda</p>\n","type":"text/plain"},"key":"p","value":""}],"variable":[]}},"response":[],"_postman_id":"d40a632c-8c2a-48e0-802f-2e544f40d000"},{"name":"Importar ficheiros da solidworks","id":"a1107be7-d1c2-405d-a39c-2f62ba649eed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}importarficheirosolidworks/?api={{api-token}}&documento","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}importarficheirosolidworks"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>importar o documento</p>\n","type":"text/plain"},"key":"documento","value":""}],"variable":[]}},"response":[],"_postman_id":"a1107be7-d1c2-405d-a39c-2f62ba649eed"},{"name":"Alterar para modalidade de crédito","id":"3da1e7c5-dec7-41ca-a661-f57154eddfa3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}alterardocumentoparacredito/?api={{api-token}}&p=16158","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterardocumentoparacredito"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do movimento</p>\n","type":"text/plain"},"key":"p","value":"16158"}],"variable":[]}},"response":[],"_postman_id":"3da1e7c5-dec7-41ca-a661-f57154eddfa3"},{"name":"Verificar se o total de um documento se encontra dentro dos limites definidos","id":"dbe9fc09-5f31-47bd-a12a-b82d9cfe6371","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}totalvalido/?api={{api-token}}&p=23981&td=2","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}totalvalido"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do documento</p>\n","type":"text/plain"},"key":"p","value":"23981"},{"key":"td","value":"2"}],"variable":[]}},"response":[],"_postman_id":"dbe9fc09-5f31-47bd-a12a-b82d9cfe6371"},{"name":"Observacoes dos documentos","id":"5331a647-af4a-4acf-b034-2b865d84b4fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"observacao","value":"teste teste222","description":"<p>observação</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}observacoesdocumento/?p=29609&api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}observacoesdocumento"],"query":[{"description":{"content":"<p>ID do documento</p>\n","type":"text/plain"},"key":"p","value":"29609"},{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"5331a647-af4a-4acf-b034-2b865d84b4fe"},{"name":"Verificar referencia externa","id":"6f872111-efa4-479c-b856-cbe940b0c66e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"r","value":"","description":"<p>verificar referncia externa</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}verificarreferenciaexterna/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}verificarreferenciaexterna"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"6f872111-efa4-479c-b856-cbe940b0c66e"},{"name":"Definir prioridade","id":"df6dcd19-cb4a-47af-be09-03753765ae32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_encomenda","value":"","description":"<p>id da encomenda</p>\n","type":"text"},{"key":"prioridade","value":"","description":"<p>prioridade</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}definirPrioridade/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}definirPrioridade"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"df6dcd19-cb4a-47af-be09-03753765ae32"},{"name":"Satisfazer quantidade encomenda","id":"ee2ac421-c3e1-45cc-bc60-490b4d621484","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"mov","value":"123213","description":"<p>id movimento</p>\n","type":"text"},{"key":"qtd","value":"1","description":"<p>quantidade a satisfazer</p>\n","type":"text"},{"key":"armazem","value":"1","description":"<p>id do armazem a movimentar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}adicionarqtdencomenda/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}adicionarqtdencomenda"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"ee2ac421-c3e1-45cc-bc60-490b4d621484"},{"name":"Obter informação artigo compra","id":"1a9cb936-57e9-4f9a-88ce-5351fb1ab194","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"mov","value":"123213","description":"<p>id movimento</p>\n","type":"text"},{"key":"qtd","value":"1","description":"<p>quantidade a satisfazer</p>\n","type":"text"},{"key":"armazem","value":"1","description":"<p>id do armazem a movimentar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}adicionarqtdencomenda/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}adicionarqtdencomenda"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"1a9cb936-57e9-4f9a-88ce-5351fb1ab194"},{"name":"Colocar quantidades linhas a zero","id":"16c165eb-f4aa-422b-a344-1f70e76f0bde","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_documento","value":"18707","description":"<p>id do documento a colocar todas as quantidades a zero</p>\n","type":"text"},{"key":"quantidade","value":"0","description":"<p>OPCIONAL - quantidade a colocar em todas as linhas</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}colocarquantidadelinhaszero/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}colocarquantidadelinhaszero"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"16c165eb-f4aa-422b-a344-1f70e76f0bde"},{"name":"Colocar preços linhas a zero","id":"2f9db683-609a-4d6e-bb75-1b331ee31c34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_documento","value":"18707","description":"<p>id do documento a colocar todas as quantidades a zero</p>\n","type":"text"},{"key":"preco","value":"0","description":"<p>OPCIONAL - preço a colocar em todos as linhas</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}colocarprecoslinhaszero/?api={{api-token}}&debug=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}colocarprecoslinhaszero"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"debug","value":"1"}],"variable":[]}},"response":[],"_postman_id":"2f9db683-609a-4d6e-bb75-1b331ee31c34"},{"name":"Alterar ordem de uma linha no documento","id":"e373a2a1-0d85-47bf-8e00-d7038917153f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_movimento","value":"83328","description":"<p>ID da linha a movimentar</p>\n","type":"text"},{"key":"direcao","value":"cima","description":"<p>direcao do movimento, cima ou baixo</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}ordenarlinha/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}ordenarlinha"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"e373a2a1-0d85-47bf-8e00-d7038917153f"},{"name":"Obter artigos associados de um movimento","id":"bbf8671b-3242-44b4-9059-0dd1bfc7084a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_movimento","value":"91355","description":"<p>ID da linha a movimentar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}obtermovimentosassociadosmovimento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}obtermovimentosassociadosmovimento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"bbf8671b-3242-44b4-9059-0dd1bfc7084a"},{"name":"Alterar data de vencimento","id":"1aa02bc2-8ae8-457c-8b06-6a3d3273f0c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_documento","value":"29541","description":"<p>ID da linha a movimentar</p>\n","type":"text"},{"key":"vencimento","value":"14","type":"text"}]},"url":"{{goldylocks-api-url}}alterardatavencimentodocumento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterardatavencimentodocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"disabled":true,"key":"debug","value":"1"}],"variable":[]}},"response":[],"_postman_id":"1aa02bc2-8ae8-457c-8b06-6a3d3273f0c5"},{"name":"Alterar dossier documento","id":"872c09b5-8da7-4446-90bb-e1334d137564","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_documento","value":"29541","description":"<p>ID da linha a movimentar</p>\n","type":"text"},{"key":"id_dossier","value":"11","type":"text","description":"<p>ID do dossier do documento</p>\n"}]},"url":"{{goldylocks-api-url}}alterardossierdocumento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterardossierdocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"disabled":true,"key":"debug","value":"1"}],"variable":[]}},"response":[],"_postman_id":"872c09b5-8da7-4446-90bb-e1334d137564"},{"name":"Alterar método pagamento documento","id":"6412622c-a597-485f-84cb-510e71f6e1f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_documento","value":"29541","description":"<p>ID da linha a movimentar</p>\n","type":"text"},{"key":"id_metodo_pagamento","value":"Multibanco","type":"text","description":"<p>ID do método de pagamento (texto)</p>\n"}]},"url":"{{goldylocks-api-url}}alterarmetodopagamentodocumento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterarmetodopagamentodocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"disabled":true,"key":"debug","value":"1"}],"variable":[]}},"response":[],"_postman_id":"6412622c-a597-485f-84cb-510e71f6e1f9"},{"name":"Documendos vencidos","id":"df3034eb-bbfc-425c-b180-9a66a39aad30","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}documentosvencidos/?api={{api-token}}&p=venda&contagem=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}documentosvencidos"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>Tipo: venda ou compra</p>\n","type":"text/plain"},"key":"p","value":"venda"},{"description":{"content":"<p>Obter total de documentos</p>\n","type":"text/plain"},"key":"contagem","value":"1"}],"variable":[]}},"response":[],"_postman_id":"df3034eb-bbfc-425c-b180-9a66a39aad30"},{"name":"Gerar CIUS-PT de um documento","id":"bf56477c-0524-405b-9a68-65b9da6e9886","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}gerarciuspt/?api={{api-token}}&p=30971&download=0","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}gerarciuspt"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>Tipo: venda ou compra</p>\n","type":"text/plain"},"key":"p","value":"30971"},{"description":{"content":"<p>Descarregar  em ficheiro</p>\n","type":"text/plain"},"key":"download","value":"0"}],"variable":[]}},"response":[],"_postman_id":"bf56477c-0524-405b-9a68-65b9da6e9886"},{"name":"Alterar dados adicionais CIUS-PT de um documento","id":"f4aa63ff-e822-47bd-9f7b-7a51d8f0e199","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_documento","value":"31025","description":"<p>ID unico do documento</p>\n","type":"text"},{"key":"numero_compromisso","value":"Nº 13123123","description":"<p>Numero do compromisso AP</p>\n","type":"text"},{"key":"numero_contrato","value":"C1231232132","description":"<p>Contrato da AP</p>\n","type":"text"},{"key":"encomenda_cliente","value":"345666","description":"<p>Nº da encomenda na AP</p>\n","type":"text"},{"key":"acordo_quadro","value":"9998888","description":"<p>Nº Acordo Quadro AP</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}registarinformacaoadicionalcius/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}registarinformacaoadicionalcius"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"f4aa63ff-e822-47bd-9f7b-7a51d8f0e199"},{"name":"Alterar matricula viatura do documento","id":"2d5068d7-02e7-49a5-b017-5fd9e3c71f99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_documento","value":"31493","description":"<p>ID do documento</p>\n","type":"text"},{"key":"matricula","value":"AA-11-BB","description":"<p>Matricula da viatura</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}definirmatriculadocumento/?api={{api-token}}","description":"<h1 id=\"add-documentation\">Add documentation</h1>\n<p>This endpoint allows you to add documentation by making an HTTP POST request to <code>{{goldylocks-api-url}}definirmatriculadocumento/?api={{api-token}}</code>.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<p>The request should include the following parameters in form-data format:</p>\n<ul>\n<li><code>id_documento</code> (text): ID do documento</li>\n<li><code>matricula</code> (text): Matricula da viatura</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<ul>\n<li>Status: 200</li>\n<li>Body: <code>ok</code></li>\n</ul>\n<h4 id=\"example-response\">Example Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>ok\n\n</code></pre>","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}definirmatriculadocumento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[{"id":"14de4d3d-fc04-4641-90f7-8c010bc01310","name":"Alterar matricula viatura do documento","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_documento","value":"31493","description":"ID do documento","type":"text"},{"key":"matricula","value":"AA-11-BB","description":"Matricula da viatura","type":"text"}]},"url":{"raw":"{{goldylocks-api-url}}definirmatriculadocumento/?api={{api-token}}","host":["{{goldylocks-api-url}}definirmatriculadocumento"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 04 Dec 2023 10:53:04 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding,User-Agent"}],"cookie":[],"responseTime":null,"body":"ok"}],"_postman_id":"2d5068d7-02e7-49a5-b017-5fd9e3c71f99"},{"name":"Verificar stocks em falta do documento","id":"4eeda983-d88b-4120-812c-5230b62ec9b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}stocksinsuficientesdocumento/?api={{api-token}}&documento=33653","description":"<p>This endpoint makes an HTTP GET request to retrieve a list of insufficient stocks based on a specific document. The request should be made to {{goldylocks-api-url}}stocksinsuficientesdocumento/ and include the query parameters api (API token) and documento (document number).</p>\n<p>The response to this request will include a status code of 200, and a JSON array containing objects with the following properties:</p>\n<ul>\n<li>id_artigo: The ID of the article</li>\n<li>id_armazem: The ID of the warehouse</li>\n<li>total_quantidade_artigo: The total quantity of the article</li>\n<li>stock_atual_armazem: The current stock in the warehouse</li>\n<li>diferenca_stock: The difference in stock quantity</li>\n</ul>\n<p>Here is an example response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"id_artigo\": \"GB\",\n        \"id_armazem\": \"54\",\n        \"total_quantidade_artigo\": \"1.00000\",\n        \"stock_atual_armazem\": \"-2.00000\",\n        \"diferenca_stock\": \"-3.00000\"\n    }\n]\n\n</code></pre>\n","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}stocksinsuficientesdocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do documento a verificar</p>\n","type":"text/plain"},"key":"documento","value":"33653"}],"variable":[]}},"response":[{"id":"641ffcf5-a572-41b8-afc2-3ef68ee1d170","name":"Verificar stocks em falta do documento","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}stocksinsuficientesdocumento/?api={{api-token}}&documento=33653","host":["{{goldylocks-api-url}}stocksinsuficientesdocumento"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"},{"key":"documento","value":"33653","description":"ID do documento a verificar"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 04 Dec 2023 10:50:14 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding,User-Agent"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id_artigo\": \"GB\",\n        \"id_armazem\": \"54\",\n        \"total_quantidade_artigo\": \"1.00000\",\n        \"stock_atual_armazem\": \"-2.00000\",\n        \"diferenca_stock\": \"-3.00000\"\n    }\n]"}],"_postman_id":"4eeda983-d88b-4120-812c-5230b62ec9b2"},{"name":"Obter movimentos do documento que não atingem a margem mínima","id":"80be2b47-8fd2-43f7-ba74-627465f0cdea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}margemminimasdocumento/?api={{api-token}}&id_documento=1485","description":"<p>This endpoint makes an HTTP GET request to retrieve a list of insufficient stocks based on a specific document. The request should be made to {{goldylocks-api-url}}stocksinsuficientesdocumento/ and include the query parameters api (API token) and documento (document number).</p>\n<p>The response to this request will include a status code of 200, and a JSON array containing objects with the following properties:</p>\n<ul>\n<li>id_artigo: The ID of the article</li>\n<li>id_armazem: The ID of the warehouse</li>\n<li>total_quantidade_artigo: The total quantity of the article</li>\n<li>stock_atual_armazem: The current stock in the warehouse</li>\n<li>diferenca_stock: The difference in stock quantity</li>\n</ul>\n<p>Here is an example response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"id_artigo\": \"GB\",\n        \"id_armazem\": \"54\",\n        \"total_quantidade_artigo\": \"1.00000\",\n        \"stock_atual_armazem\": \"-2.00000\",\n        \"diferenca_stock\": \"-3.00000\"\n    }\n]\n\n</code></pre>\n","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}margemminimasdocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do documento a verificar</p>\n","type":"text/plain"},"key":"id_documento","value":"1485"}],"variable":[]}},"response":[],"_postman_id":"80be2b47-8fd2-43f7-ba74-627465f0cdea"},{"name":"Obter estado do documento","id":"438fad6e-14c1-4e36-9467-8092e4123dfa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}obterestadodocumento/?api={{api-token}}&p=356","description":"<p>This endpoint makes an HTTP GET request to retrieve a list of insufficient stocks based on a specific document. The request should be made to {{goldylocks-api-url}}stocksinsuficientesdocumento/ and include the query parameters api (API token) and documento (document number).</p>\n<p>The response to this request will include a status code of 200, and a JSON array containing objects with the following properties:</p>\n<ul>\n<li>id_artigo: The ID of the article</li>\n<li>id_armazem: The ID of the warehouse</li>\n<li>total_quantidade_artigo: The total quantity of the article</li>\n<li>stock_atual_armazem: The current stock in the warehouse</li>\n<li>diferenca_stock: The difference in stock quantity</li>\n</ul>\n<p>Here is an example response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"id_artigo\": \"GB\",\n        \"id_armazem\": \"54\",\n        \"total_quantidade_artigo\": \"1.00000\",\n        \"stock_atual_armazem\": \"-2.00000\",\n        \"diferenca_stock\": \"-3.00000\"\n    }\n]\n\n</code></pre>\n","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}obterestadodocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do documento a verificar</p>\n","type":"text/plain"},"key":"p","value":"356"}],"variable":[]}},"response":[{"id":"be1f8d10-aeb7-4ae3-a2ca-b126cfebe451","name":"Verificar stocks em falta do documento","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}stocksinsuficientesdocumento/?api={{api-token}}&documento=33653","host":["{{goldylocks-api-url}}stocksinsuficientesdocumento"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"},{"key":"documento","value":"33653","description":"ID do documento a verificar"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 04 Dec 2023 10:50:14 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding,User-Agent"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id_artigo\": \"GB\",\n        \"id_armazem\": \"54\",\n        \"total_quantidade_artigo\": \"1.00000\",\n        \"stock_atual_armazem\": \"-2.00000\",\n        \"diferenca_stock\": \"-3.00000\"\n    }\n]"}],"_postman_id":"438fad6e-14c1-4e36-9467-8092e4123dfa"},{"name":"Obter URL publica de documento","id":"93e16f39-e7e4-43d6-b1e0-cabec7ccc0e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}urlpublicadocumento/?api={{api-token}}&id=356&tipodoc=docid","description":"<p>This endpoint makes an HTTP GET request to retrieve a list of insufficient stocks based on a specific document. The request should be made to {{goldylocks-api-url}}stocksinsuficientesdocumento/ and include the query parameters api (API token) and documento (document number).</p>\n<p>The response to this request will include a status code of 200, and a JSON array containing objects with the following properties:</p>\n<ul>\n<li>id_artigo: The ID of the article</li>\n<li>id_armazem: The ID of the warehouse</li>\n<li>total_quantidade_artigo: The total quantity of the article</li>\n<li>stock_atual_armazem: The current stock in the warehouse</li>\n<li>diferenca_stock: The difference in stock quantity</li>\n</ul>\n<p>Here is an example response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"id_artigo\": \"GB\",\n        \"id_armazem\": \"54\",\n        \"total_quantidade_artigo\": \"1.00000\",\n        \"stock_atual_armazem\": \"-2.00000\",\n        \"diferenca_stock\": \"-3.00000\"\n    }\n]\n\n</code></pre>\n","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}urlpublicadocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do documento</p>\n","type":"text/plain"},"key":"id","value":"356"},{"description":{"content":"<p>tipo de documento: docid ou cc</p>\n","type":"text/plain"},"key":"tipodoc","value":"docid"}],"variable":[]}},"response":[{"id":"d8734fd5-ff6e-4daf-a381-211e76c67a31","name":"Verificar stocks em falta do documento","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}stocksinsuficientesdocumento/?api={{api-token}}&documento=33653","host":["{{goldylocks-api-url}}stocksinsuficientesdocumento"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"},{"key":"documento","value":"33653","description":"ID do documento a verificar"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 04 Dec 2023 10:50:14 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding,User-Agent"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id_artigo\": \"GB\",\n        \"id_armazem\": \"54\",\n        \"total_quantidade_artigo\": \"1.00000\",\n        \"stock_atual_armazem\": \"-2.00000\",\n        \"diferenca_stock\": \"-3.00000\"\n    }\n]"}],"_postman_id":"93e16f39-e7e4-43d6-b1e0-cabec7ccc0e3"},{"name":"Importar linhas a partir de um ficheiro XLS","id":"83313a1b-b09c-4561-8aee-950eb8646b27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"importacaoLinhas","description":"<p>ficheiro XLS a importar</p>\n","type":"file","uuid":"dc1906a1-4c6b-4160-8bb1-d14abea95cf9","value":null}]},"url":"{{goldylocks-api-url}}importarlinhas/?api={{api-token}}&documento=356&tipodocumento=2&serie=2025","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}importarlinhas"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do documento onde irão ser inseridas as linhas</p>\n","type":"text/plain"},"key":"documento","value":"356"},{"description":{"content":"<p>[OPCIONAL] - id do tipo de documento a criar</p>\n","type":"text/plain"},"key":"tipodocumento","value":"2"},{"description":{"content":"<p>[OPCIONAL] - serie a utilizar nos documentos criados</p>\n","type":"text/plain"},"key":"serie","value":"2025"}],"variable":[]}},"response":[],"_postman_id":"83313a1b-b09c-4561-8aee-950eb8646b27"}],"id":"2eac00f7-c1c4-40c0-9fd4-33a7a1808b2b","_postman_id":"2eac00f7-c1c4-40c0-9fd4-33a7a1808b2b","description":""},{"name":"Dossiers","item":[{"name":"Obter dossiers","id":"4b39e63a-a9a0-43ef-ba6a-f9024b3876d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}dossiers/?api={{api-token}}","description":"<p>This endpoint makes an HTTP GET request to retrieve dossiers with the provided API token. The response returns an array of dossier objects, each containing details such as the dossier ID, description, creation user ID, creation date, start and end dates, activity status, progress days, total days, and remaining days for the dossier.</p>\n<p>Example Response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"id_dossier\": \"14\",\n        \"descricao\": \"Imóvel 1\",\n        \"id_utilizador_criacao\": \"2\",\n        \"data_criacao\": \"2023-04-11 08:38:04\",\n        \"inicio\": \"2000-01-01\",\n        \"fim\": \"2100-12-31\",\n        \"ativo\": \"1\",\n        \"id_utilizador_termino\": null,\n        \"terminado\": \"0\",\n        \"data_termino\": null,\n        \"dias_progresso_dossier\": \"8738\",\n        \"total_dias_dossier\": \"36889\",\n        \"dias_restantes_dossier\": \"28151\"\n    },\n    {\n        \"id_dossier\": \"15\",\n        \"descricao\": \"Imóvel 2\",\n        \"id_utilizador_criacao\": \"2\",\n        \"data_criacao\": \"2023-04-11 08:40:37\",\n        \"inicio\": \"2000-01-01\",\n        \"fim\": \"2100-12-31\",\n        \"ativo\": \"1\",\n        \"id_utilizador_termino\": null,\n        \"terminado\": \"0\",\n        \"data_termino\": null,\n        \"dias_progresso_dossier\": \"8738\",\n        \"total_dias_dossier\": \"36889\",\n        \"dias_restantes_dossier\": \"28151\"\n    },\n    {\n        \"id_dossier\": \"11\",\n        \"descricao\": \"Obra 1 - Cliente 2\",\n        \"id_utilizador_criacao\": \"2\",\n        \"data_criacao\": \"2022-10-28 15:08:18\",\n        \"inicio\": \"2022-10-28\",\n        \"fim\": \"2022-12-09\",\n        \"ativo\": \"0\",\n        \"id_utilizador_termino\": null,\n        \"terminado\": \"0\",\n        \"data_termino\": null,\n        \"dias_progresso_dossier\": \"402\",\n        \"total_dias_dossier\": \"42\",\n        \"dias_restantes_dossier\": \"-360\"\n    },\n    {\n        \"id_dossier\": \"12\",\n        \"descricao\": \"Obra 2 - Cliente 3 - Grande descrição\",\n        \"id_utilizador_criacao\": \"2\",\n        \"data_criacao\": \"2022-10-28 15:08:29\",\n        \"inicio\": \"2022-10-29\",\n        \"fim\": \"2022-11-30\",\n        \"ativo\": \"0\",\n        \"id_utilizador_termino\": null,\n        \"terminado\": \"0\",\n        \"data_termino\": null,\n        \"dias_progresso_dossier\": \"401\",\n        \"total_dias_dossier\": \"32\",\n        \"dias_restantes_dossier\": \"-369\"\n    }\n]\n\n</code></pre>\n","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}dossiers"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[{"id":"a75ec5a0-3cf6-4cd2-9321-1e0fd08af1a7","name":"Obter dossiers","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}dossiers/?api={{api-token}}","host":["{{goldylocks-api-url}}dossiers"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 04 Dec 2023 10:54:17 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding,User-Agent"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id_dossier\": \"14\",\n        \"descricao\": \"Imóvel 1\",\n        \"id_utilizador_criacao\": \"2\",\n        \"data_criacao\": \"2023-04-11 08:38:04\",\n        \"inicio\": \"2000-01-01\",\n        \"fim\": \"2100-12-31\",\n        \"ativo\": \"1\",\n        \"id_utilizador_termino\": null,\n        \"terminado\": \"0\",\n        \"data_termino\": null,\n        \"dias_progresso_dossier\": \"8738\",\n        \"total_dias_dossier\": \"36889\",\n        \"dias_restantes_dossier\": \"28151\"\n    },\n    {\n        \"id_dossier\": \"15\",\n        \"descricao\": \"Imóvel 2\",\n        \"id_utilizador_criacao\": \"2\",\n        \"data_criacao\": \"2023-04-11 08:40:37\",\n        \"inicio\": \"2000-01-01\",\n        \"fim\": \"2100-12-31\",\n        \"ativo\": \"1\",\n        \"id_utilizador_termino\": null,\n        \"terminado\": \"0\",\n        \"data_termino\": null,\n        \"dias_progresso_dossier\": \"8738\",\n        \"total_dias_dossier\": \"36889\",\n        \"dias_restantes_dossier\": \"28151\"\n    },\n    {\n        \"id_dossier\": \"11\",\n        \"descricao\": \"Obra 1 - Cliente 2\",\n        \"id_utilizador_criacao\": \"2\",\n        \"data_criacao\": \"2022-10-28 15:08:18\",\n        \"inicio\": \"2022-10-28\",\n        \"fim\": \"2022-12-09\",\n        \"ativo\": \"0\",\n        \"id_utilizador_termino\": null,\n        \"terminado\": \"0\",\n        \"data_termino\": null,\n        \"dias_progresso_dossier\": \"402\",\n        \"total_dias_dossier\": \"42\",\n        \"dias_restantes_dossier\": \"-360\"\n    },\n    {\n        \"id_dossier\": \"12\",\n        \"descricao\": \"Obra 2 - Cliente 3 - Grande descrição\",\n        \"id_utilizador_criacao\": \"2\",\n        \"data_criacao\": \"2022-10-28 15:08:29\",\n        \"inicio\": \"2022-10-29\",\n        \"fim\": \"2022-11-30\",\n        \"ativo\": \"0\",\n        \"id_utilizador_termino\": null,\n        \"terminado\": \"0\",\n        \"data_termino\": null,\n        \"dias_progresso_dossier\": \"401\",\n        \"total_dias_dossier\": \"32\",\n        \"dias_restantes_dossier\": \"-369\"\n    }\n]"}],"_postman_id":"4b39e63a-a9a0-43ef-ba6a-f9024b3876d7"},{"name":"Obter dossiers ativos","id":"1edae804-7f43-4b92-af03-6bf5768d1389","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}dossiersativos/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}dossiersativos"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"1edae804-7f43-4b92-af03-6bf5768d1389"},{"name":"Obter dossiers terminados","id":"2fce529d-be97-429e-bcd4-6eca3fcf8af5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}dossiersterminados/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}dossiersterminados"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"2fce529d-be97-429e-bcd4-6eca3fcf8af5"},{"name":"Obter dossier por ID","id":"cf02ac35-e5a1-4b37-81f5-698b9af3c14a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}obterdossier/?api={{api-token}}&id_dossier=11","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}obterdossier"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"id_dossier","value":"11"}],"variable":[]}},"response":[],"_postman_id":"cf02ac35-e5a1-4b37-81f5-698b9af3c14a"},{"name":"Criar dossier","id":"994f34aa-2467-45c3-934e-733dcfb4d0f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"descricao","value":"Obra Cliente","description":"<p>Descrição do dossier</p>\n","type":"text"},{"key":"data_inicio","value":"2022-01-01","description":"<p>Inicio dos trabalhos</p>\n","type":"text"},{"key":"data_fim","value":"2022-12-31","description":"<p>Fim dos trabalhos</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}criardossier/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criardossier"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"994f34aa-2467-45c3-934e-733dcfb4d0f1"},{"name":"Alterar dossier","id":"6cd85cae-9f45-4667-a007-a71c5ddccb85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_dossier","value":"1","description":"<p>ID do dossier a alterar</p>\n","type":"text"},{"key":"descricao","value":"Obra Cliente","description":"<p>Descrição do dossier</p>\n","type":"text"},{"key":"data_inicio","value":"2022-01-01","description":"<p>Inicio dos trabalhos</p>\n","type":"text"},{"key":"data_fim","value":"2022-12-31","description":"<p>Fim dos trabalhos</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}alterardossier/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterardossier"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"6cd85cae-9f45-4667-a007-a71c5ddccb85"},{"name":"Remover dossier","id":"2fff6a75-2b87-4011-a2bb-74b56e57a265","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_dossier","value":"1","description":"<p>ID do dossier a remover</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}removerdossier/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removerdossier"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"2fff6a75-2b87-4011-a2bb-74b56e57a265"},{"name":"Terminar dossier","id":"ebde3cea-05f6-4a19-bf22-8471e49eb17c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_dossier","value":"1","description":"<p>ID do dossier a remover</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}terminardossier/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}terminardossier"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"ebde3cea-05f6-4a19-bf22-8471e49eb17c"},{"name":"Reabrir dossier","id":"1e6fd640-c85b-4a5a-a0dc-f1303634fb40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_dossier","value":"1","description":"<p>ID do dossier a remover</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}reabrirdossier/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}reabrirdossier"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"1e6fd640-c85b-4a5a-a0dc-f1303634fb40"}],"id":"8bfc75d2-d308-4452-baf4-fc1d2b2ae4fa","_postman_id":"8bfc75d2-d308-4452-baf4-fc1d2b2ae4fa","description":""},{"name":"Email","item":[{"name":"Enviar um email","id":"88bb3ee8-d915-4430-936f-c85e1926fa4d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"remetente","value":"noreply@goldylocks.pt","description":"<p>Remetente do email</p>\n","type":"text"},{"key":"nomeRemetente","value":"Goldylocks","description":"<p>Descrição do remetente</p>\n","type":"text"},{"key":"assunto","value":"Email de teste","description":"<p>Assunto do email</p>\n","type":"text"},{"key":"enderecos","value":"[teste@goldylocks.pt, noreply@goldylocks.pt]","description":"<p>Array com emails de destino</p>\n","type":"text"},{"key":"tipo_documento","value":"2","description":"<ul>\n<li>Id do tipo de documento para modelos de email</li>\n</ul>\n","type":"text"},{"key":"id_documento","value":"102","description":"<ul>\n<li>Id de documento especifico de forma a gerar valores para modelo de email se necessário</li>\n</ul>\n","type":"text"},{"key":"mensagem","value":"Mensagem de <strong>teste</strong>","description":"<p>mensagem em HTML  a enviar no corpo do email se não for utilizado um modelo</p>\n","type":"text"},{"key":"mensagemSimples","value":"Mensagem de teste","description":"<p>mensagem em texto simples a enviar[</p>\n","type":"text"},{"key":"anexos","value":"[https://app.goldylocks.pt/empresademonstrativa/inc/html/imprimir.php?docid=102&download=1]","description":"<p>ficheiro a anexar ao email</p>\n","type":"text"},{"key":"id_modelo_email","value":"0","description":"<p>ID do modelo de email a utilizar</p>\n","type":"text","uuid":"a8d8cbc7-e0f0-4b9c-a4c2-2626afe041ee"}]},"url":"{{goldylocks-api-url}}email/?api={{api-token}}&p=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}email"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>confirmação de envio de email</p>\n","type":"text/plain"},"key":"p","value":"1"}],"variable":[]}},"response":[],"_postman_id":"88bb3ee8-d915-4430-936f-c85e1926fa4d"}],"id":"01384bcd-2aec-4212-bfff-81e29f052e0a","_postman_id":"01384bcd-2aec-4212-bfff-81e29f052e0a","description":""},{"name":"Entidades","item":[{"name":"Criar novo cliente","id":"0519008b-31c5-414c-9726-31ff4d5103ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_cliente","value":"111","description":"<p>[OPCIONAL] - id do cliente a aplicar manualmente </p>\n","type":"text"},{"key":"nome","value":"CLIENTE","description":"<p>nome do cliente</p>\n","type":"text"},{"key":"morada","value":"RUA TESTE","description":"<p>morada</p>\n","type":"text"},{"key":"cp","value":"4000-000 Porto","description":"<p>código postal e localidade</p>\n","type":"text"},{"key":"id_zona","value":"1","description":"<p>id da zona do cliente</p>\n","type":"text"},{"key":"nif","value":"999999990","description":"<p>NIF do cliente</p>\n","type":"text"},{"key":"telefone","value":"222000111","description":"<p>telefone</p>\n","type":"text"},{"key":"telemovel","value":"960960960","description":"<p>telemovel</p>\n","type":"text"},{"key":"email","value":"teste@email.com","description":"<p>email</p>\n","type":"text"},{"key":"site","value":"www.sitedocliente.com","description":"<p>site do cliente</p>\n","type":"text"},{"key":"fax","value":"221221221","description":"<p>fax</p>\n","type":"text"},{"key":"morada2","value":"3DTO","description":"<p>segunda linha da morada [OPCIONAL]</p>\n","type":"text"},{"key":"zona_fiscal","value":"PRT","description":"<p>zona fiscal</p>\n","type":"text"},{"key":"linha","value":"1","description":"<p>linha de preço a utilizar nos documentos</p>\n","type":"text"},{"key":"retencao","value":"0","description":"<p>retenção na fonte a aplicar</p>\n","type":"text"},{"key":"imposto","value":"IVA 23%","description":"<p>imposto a aplicar nos documentos deste cliente</p>\n","type":"text"},{"key":"prazo_pagamento","value":"0","description":"<p>prazo de pagamento nos documentos</p>\n","type":"text"},{"key":"designacao_comercial","value":"LOJA DO CLIENTE","description":"<p>designacao comercial do cliente</p>\n","type":"text"},{"key":"obervacoes","value":"cliente de teste","description":"<p>observações</p>\n","type":"text"},{"key":"pais","value":"Portugal","description":"<p>designação do pais</p>\n","type":"text"},{"key":"codigo_pais","value":"PT","description":"<p>identificador do pais ISO</p>\n","type":"text"},{"key":"desactivado","value":"0","description":"<p>1 - para desactivar cliente, 0 - activo</p>\n","type":"text"},{"key":"username_site","value":"cliente@cliente.com","description":"<p>username webstore</p>\n","type":"text"},{"key":"password_site","value":"senhaSecreta","description":"<p>senha da webstore</p>\n","type":"text"},{"key":"lembrete","value":"cliente bom","description":"<p>aviso a mostrar ao incluir este cliente nos documentos</p>\n","type":"text"},{"key":"data_nascimento","value":"01/01/1980","description":"<p>data de nascimento do cliente</p>\n","type":"text"},{"key":"id_grupo_cliente","value":"0","description":"<p>id numerico grupo do cliente</p>\n","type":"text"},{"key":"permitir_nif_duplicado","value":"0","description":"<p>permitir clientes com o mesmo NIF</p>\n","type":"text"},{"key":"recaptcha","value":"","description":"<p>recptcha Google  criacao webstore</p>\n","type":"text"},{"key":"codigo_aplicador","value":"12345","description":"<p>codigo aplicador fitofarmacos</p>\n","type":"text"},{"key":"id_vendedor","value":"0","description":"<p>id do vendedor exclusivo deste cliente</p>\n","type":"text"},{"key":"medicina_numero_utente","value":"1234566","description":"<p>[Medicina] - numero de utente de saude</p>\n","type":"text"},{"key":"medicina_acordo_seguradora","value":"Fidelidade","description":"<p>[Medicina] - seguradora</p>\n","type":"text"},{"key":"medicina_numero_acordo_seguradora","value":"45678","description":"<p>[Medicina] - numero da apolice na seguradora</p>\n","type":"text"},{"key":"medicina_adse","value":"4567","description":"<p>[Medicina] - numero ADSE</p>\n","type":"text"},{"key":"medicina_alergias","value":"Gatos, Arroz","description":"<p>[Medicina] - alergias</p>\n","type":"text"},{"key":"profissao","value":"Programador","description":"<p>profissao do cliente</p>\n","type":"text"},{"key":"tipo_documento_identificacao","value":"cartao_cidadao","description":"<p>tipo do documento de identificacao do cliente</p>\n","type":"text"},{"key":"numero_documento_identificacao","value":"11114444 GH","description":"<p>numero do documento de identificacao do cliente</p>\n","type":"text"},{"key":"modelo_pdf_default","value":"","description":"<p>OPCIONAL - id do modelo de podf por defeito</p>\n","type":"text","uuid":"fce0a8b7-b563-4153-8492-3660681f1c0d"},{"key":"modelo_talao_default","value":"","description":"<p>OPCIONAL - id do modelos dos talões por defeito</p>\n","type":"text","uuid":"18e0a0fe-401d-4050-8049-521fd08ea879"}]},"url":"{{goldylocks-api-url}}gerircliente/?api={{api-token}}&p=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}gerircliente"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id cliente  a editar [OPCIONAL]</p>\n","type":"text/plain"},"key":"p","value":"1"}],"variable":[]}},"response":[],"_postman_id":"0519008b-31c5-414c-9726-31ff4d5103ea"},{"name":"Criar novo fornecedor","id":"6b13f87c-e111-4cc7-b6ca-718a9e4c977a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"nome","value":"CLIENTE","description":"<p>nome do cliente</p>\n","type":"text"},{"key":"morada","value":"RUA TESTE","description":"<p>morada</p>\n","type":"text"},{"key":"cp","value":"4000-000","description":"<p>código postal</p>\n","type":"text"},{"key":"telefone","value":"222000111","description":"<p>telefone</p>\n","type":"text"},{"key":"telemovel","value":"960960960","description":"<p>telemovel</p>\n","type":"text"},{"key":"email","value":"teste@email.com","description":"<p>email</p>\n","type":"text"},{"key":"site","value":"www.sitedocliente.com","description":"<p>site do cliente</p>\n","type":"text"},{"key":"fax","value":"221221221","description":"<p>fax</p>\n","type":"text"},{"key":"morada2","value":"3DTO","description":"<p>segunda linha da morada [OPCIONAL]</p>\n","type":"text"},{"key":"nif","value":"999999998","description":"<p>nif do fornecedor</p>\n","type":"text"},{"key":"zona_fiscal","value":"PRT","description":"<p>zona fiscal</p>\n","type":"text"},{"key":"linha","value":"1","description":"<p>linha de preço a utilizar nos documentos</p>\n","type":"text"},{"key":"imposto","value":"IVA 23%","description":"<p>imposto a aplicar nos documentos deste fornecedor</p>\n","type":"text"},{"key":"prazo_pagamento","value":"0","description":"<p>prazo de pagamento nos documentos</p>\n","type":"text"},{"key":"designacao_comercial","value":"LOJA DO CLIENTE","description":"<p>designacao comercial do cliente</p>\n","type":"text"},{"key":"obervacoes","value":"cliente de teste","description":"<p>observações</p>\n","type":"text"},{"key":"pais","value":"Portugal","description":"<p>designação do pais</p>\n","type":"text"},{"key":"codigo_pais","value":"PT","description":"<p>identificador do pais ISO</p>\n","type":"text"},{"key":"desactivado","value":"0","description":"<p>1 - para desactivar cliente, 0 - activo</p>\n","type":"text"},{"key":"lembrete","value":"cliente bom","description":"<p>aviso a mostrar ao incluir este cliente nos documentos</p>\n","type":"text"},{"key":"id_zona","value":"0","description":"<p>id da zona</p>\n","type":"text"},{"key":"localidade","value":"Porto","description":"<p>localidade do fornecedor</p>\n","type":"text"},{"key":"id_fornecedor","value":"12","description":"<p>OPCIONAL - id do fornecedor a criar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}gerirfornecedor/?api={{api-token}}&p=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}gerirfornecedor"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id fornecedor a editar [OPCIONAL]</p>\n","type":"text/plain"},"key":"p","value":"1"}],"variable":[]}},"response":[],"_postman_id":"6b13f87c-e111-4cc7-b6ca-718a9e4c977a"},{"name":"Obter dados a partir do NIF","id":"5a87e42c-6555-4980-9bd8-57e80daeefdb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}dadosnif/?api={{api-token}}&p=222535571","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}dadosnif"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id da linha a eliminar</p>\n","type":"text/plain"},"key":"p","value":"222535571"}],"variable":[]}},"response":[],"_postman_id":"5a87e42c-6555-4980-9bd8-57e80daeefdb"},{"name":"Obter dados de um cliente","id":"bb3973c6-9896-4d56-87cb-14591afd53b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}cliente/?api={{api-token}}&p=13","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}cliente"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do cliente a obter</p>\n","type":"text/plain"},"key":"p","value":"13"}],"variable":[]}},"response":[],"_postman_id":"bb3973c6-9896-4d56-87cb-14591afd53b7"},{"name":"Obter dados de um fornecedor","id":"eca90c11-3d96-4da4-a7b4-e5c959a18b71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}fornecedor/?api={{api-token}}&p=45","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}fornecedor"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do fornecedor</p>\n","type":"text/plain"},"key":"p","value":"45"}],"variable":[]}},"response":[],"_postman_id":"eca90c11-3d96-4da4-a7b4-e5c959a18b71"},{"name":"Obter documentos de um cliente","id":"5a0047d5-43f6-4c23-a9ae-e9813a7b892d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}documentoscliente/?api={{api-token}}&p=14","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}documentoscliente"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do cliente</p>\n","type":"text/plain"},"key":"p","value":"14"}],"variable":[]}},"response":[],"_postman_id":"5a0047d5-43f6-4c23-a9ae-e9813a7b892d"},{"name":"Obter email de uma entidade de um documento","id":"ea1ebd91-bf99-4ee8-8abd-434351b6d716","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}emailentidadedocumento/?api={{api-token}}&d=145&td=2","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}emailentidadedocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do documento</p>\n","type":"text/plain"},"key":"d","value":"145"},{"description":{"content":"<p>id do tipo de documento</p>\n","type":"text/plain"},"key":"td","value":"2"}],"variable":[]}},"response":[],"_postman_id":"ea1ebd91-bf99-4ee8-8abd-434351b6d716"},{"name":"Eliminar um cliente","id":"d8abd708-ae55-4bfb-8eb5-d83ccb56f60f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}eliminarcliente/?api={{api-token}}&p=12","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarcliente"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p> id do cliente a eliminar</p>\n","type":"text/plain"},"key":"p","value":"12"}],"variable":[]}},"response":[],"_postman_id":"d8abd708-ae55-4bfb-8eb5-d83ccb56f60f"},{"name":"Eliminar um fornecedor","id":"3b48c678-21cb-4ecb-ab12-3b5693ec7ee7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}eliminarfornecedor/?api={{api-token}}&p=12","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarfornecedor"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p> id do fornecedor a eliminar</p>\n","type":"text/plain"},"key":"p","value":"12"}],"variable":[]}},"response":[],"_postman_id":"3b48c678-21cb-4ecb-ab12-3b5693ec7ee7"},{"name":"Pesquisar clientes ativos","id":"decc588f-f26b-4f3b-b7bb-372742e2e997","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}clientesactivos/?api={{api-token}}&p=12","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}clientesactivos"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p> dados a pesquisar, @ e numero de cleinte para acesso direto a um cliente</p>\n","type":"text/plain"},"key":"p","value":"12"}],"variable":[]}},"response":[],"_postman_id":"decc588f-f26b-4f3b-b7bb-372742e2e997"},{"name":"Pesquisar fornecedores ativos","id":"bac38b39-17c7-49da-a7a8-aacdfc82757d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}fornecedoresactivos/?api={{api-token}}&p=12","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}fornecedoresactivos"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>string pesquisa</p>\n","type":"text/plain"},"key":"p","value":"12"}],"variable":[]}},"response":[],"_postman_id":"bac38b39-17c7-49da-a7a8-aacdfc82757d"},{"name":"Pesquisar clientes","id":"697b9bf7-2994-4649-b834-6f4bff014ad1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}clientes/?api={{api-token}}&p=12&minimal=1&id_grupo_cliente=7","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}clientes"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p> dados a pesquisar, @ e numero de cliente para acesso direto a um cliente</p>\n","type":"text/plain"},"key":"p","value":"12"},{"description":{"content":"<p>obter apenas dados principais do cliente</p>\n","type":"text/plain"},"key":"minimal","value":"1"},{"description":{"content":"<p>obter apenas clientes de um grupo especifico</p>\n","type":"text/plain"},"key":"id_grupo_cliente","value":"7"}],"variable":[]}},"response":[],"_postman_id":"697b9bf7-2994-4649-b834-6f4bff014ad1"},{"name":"Limite de credito","id":"caa2a80a-0029-439b-b246-025593432f53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}limitecredito/?api={{api-token}}&p=12&tipo=cliente &v=10000","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}limitecredito"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p> id da entidade a consultar</p>\n","type":"text/plain"},"key":"p","value":"12"},{"description":{"content":"<p>cliente || fornecedor</p>\n","type":"text/plain"},"key":"tipo","value":"cliente "},{"description":{"content":"<p>[OPCIONAL] - valor do limite de credito a definir</p>\n","type":"text/plain"},"key":"v","value":"10000"}],"variable":[]}},"response":[],"_postman_id":"caa2a80a-0029-439b-b246-025593432f53"},{"name":"Pesquisar fornecedores","id":"2ef11550-7652-47e1-9860-a6537e23d000","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}fornecedores/?api={{api-token}}&p=unipessoal","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}fornecedores"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>string pesquisa</p>\n","type":"text/plain"},"key":"p","value":"unipessoal"}],"variable":[]}},"response":[],"_postman_id":"2ef11550-7652-47e1-9860-a6537e23d000"},{"name":"Visualizar ou alterar a imagem de um cliente","id":"58688610-1844-4d8d-8aff-b25cc275fc68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"imagemCliente","value":"0x000","description":"<p>ficheiro com a imagem do cliente</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}imagemcliente/?api={{api-token}}&p=13","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}imagemcliente"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do cliente</p>\n","type":"text/plain"},"key":"p","value":"13"}],"variable":[]}},"response":[],"_postman_id":"58688610-1844-4d8d-8aff-b25cc275fc68"},{"name":"Visualizar ou alterar a imagem de um fornecedor","id":"3ea53daa-8807-4f10-b092-4557a0162b1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"imagemFornecedor","value":"0x000","description":"<p>ficheiro com a imagem do cliente</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}imagemfornecedor/?api={{api-token}}&p=13","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}imagemfornecedor"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do fornecedor</p>\n","type":"text/plain"},"key":"p","value":"13"}],"variable":[]}},"response":[],"_postman_id":"3ea53daa-8807-4f10-b092-4557a0162b1c"},{"name":"Eliminar imagem de um cliente","id":"d27f72a7-ec36-4e42-862c-cdee2fca6941","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}limparimagemcliente/?api={{api-token}}&p=12","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}limparimagemcliente"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do cliente a remover imagem</p>\n","type":"text/plain"},"key":"p","value":"12"}],"variable":[]}},"response":[],"_postman_id":"d27f72a7-ec36-4e42-862c-cdee2fca6941"},{"name":"Eliminar imagem de um fornecedor","id":"e02b64fb-0160-4c40-acc1-1f4b8416c952","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}limparimagemcliente/?api={{api-token}}&p=12","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}limparimagemcliente"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do fornecedor a remover imagem</p>\n","type":"text/plain"},"key":"p","value":"12"}],"variable":[]}},"response":[],"_postman_id":"e02b64fb-0160-4c40-acc1-1f4b8416c952"},{"name":"Obter coordenadas de uma morada de um cliente","id":"ad5fcc7c-c8d1-4e24-becb-2d42faa902e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}coordenadasmorada/?api={{api-token}}&p=Rua de Teste","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}coordenadasmorada"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>morada a pesquisar</p>\n","type":"text/plain"},"key":"p","value":"Rua de Teste"}],"variable":[]}},"response":[],"_postman_id":"ad5fcc7c-c8d1-4e24-becb-2d42faa902e1"},{"name":"Obter webstores com acesso de um cliente","id":"a2987f54-e1e5-4b7c-b54f-774122b8e9f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}clientewebstores/?api={{api-token}}&p=12","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}clientewebstores"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do cliente</p>\n","type":"text/plain"},"key":"p","value":"12"}],"variable":[]}},"response":[],"_postman_id":"a2987f54-e1e5-4b7c-b54f-774122b8e9f2"},{"name":"Atribuir acesso de um cliente a uma webstore","id":"d1ced114-18b1-471a-9bd0-a4911eae7417","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"id_webstore","value":"1","description":"<p>id webstore</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}permitirwebstorecliente/?api={{api-token}}&p=12","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}permitirwebstorecliente"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do cliente</p>\n","type":"text/plain"},"key":"p","value":"12"}],"variable":[]}},"response":[],"_postman_id":"d1ced114-18b1-471a-9bd0-a4911eae7417"},{"name":"Remover acesso de um cliente a uma webstore","id":"fd11dd56-7ae0-4e96-a578-5599c5eda3d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"id_webstore","value":"1","description":"<p>id webstore</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}removerwebstorecliente/?api={{api-token}}&p=12","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removerwebstorecliente"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do cliente</p>\n","type":"text/plain"},"key":"p","value":"12"}],"variable":[]}},"response":[],"_postman_id":"fd11dd56-7ae0-4e96-a578-5599c5eda3d9"},{"name":"Enviar email de activação de webstore","id":"34871f55-b8d6-40ac-9f2b-7ff1e6010182","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"id_webstore","value":"1","description":"<p>id webstore</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}activarwebstorecliente/?api={{api-token}}&p=12","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}activarwebstorecliente"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do cliente</p>\n","type":"text/plain"},"key":"p","value":"12"}],"variable":[]}},"response":[],"_postman_id":"34871f55-b8d6-40ac-9f2b-7ff1e6010182"},{"name":"Desactivar acesso de um cliente a uma webstore","id":"a3ff8fc7-caca-49db-83b7-73d72af73d4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"id_webstore","value":"1","description":"<p>id webstore</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}desactivarwebstorecliente/?api={{api-token}}&p=12","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}desactivarwebstorecliente"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do cliente</p>\n","type":"text/plain"},"key":"p","value":"12"}],"variable":[]}},"response":[],"_postman_id":"a3ff8fc7-caca-49db-83b7-73d72af73d4c"},{"name":"Margem minima preços dos clientes","id":"b3972319-27e7-442a-8656-bc1824ce7f76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"íd_desconto","value":"1","description":"<p>id do desconto</p>\n","type":"text"},{"key":"margem_minima","value":"25","description":"<p>margem minima a manter</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}alterarmargemminima/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterarmargemminima"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"b3972319-27e7-442a-8656-bc1824ce7f76"},{"name":"Obter assinatura RGPD","id":"310e5cb4-4463-404e-969a-45a2ca18d9c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"id_cliente","value":"1","description":"<p>id do desconto</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}obterassinaturargpd/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}obterassinaturargpd"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"310e5cb4-4463-404e-969a-45a2ca18d9c2"},{"name":"Registar assinatura RGPD","id":"1bb16e00-1adf-4f6b-a42b-cc967416cd5f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"id_cliente","value":"1","description":"<p>id do desconto</p>\n","type":"text"},{"key":"rgpd_assinatura","value":"data:image/png;base64,iVBORwasdasd31230K...","description":"<p>imagem em base64</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}registarassinaturargpd/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}registarassinaturargpd"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"1bb16e00-1adf-4f6b-a42b-cc967416cd5f"},{"name":"Registar consentimento RGPD","id":"aeb84b87-fe33-4da4-b5d7-5d68241e55db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"id_cliente","value":"1","description":"<p>id do desconto</p>\n","type":"text"},{"key":"rgpd_consentimento_marketing","value":"1","description":"<p>1 - sim, 0 - não</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}registarconsentimentorgpd/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}registarconsentimentorgpd"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"aeb84b87-fe33-4da4-b5d7-5d68241e55db"},{"name":"Atualizar data da ultima verificação de dados pelo VIES","id":"cfa6ae93-dd79-479e-a2eb-f2b6e55029f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"id_cliente","value":"1","description":"<p>[OPCIONAL] - id do cliente a atualizar</p>\n","type":"text"},{"key":"id_fornecedor","value":"1","description":"<p>[OPCIONAL] - id do fornecedor a atualizar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}atualizarverificacaovies/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}atualizarverificacaovies"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"cfa6ae93-dd79-479e-a2eb-f2b6e55029f2"},{"name":"Obter modelos de impressão e email por tipo de documento do cliente","id":"da6931da-66bb-41c9-910a-c557393dcd92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"{{goldylocks-api-url}}cliente_modelos_impressao/?api={{api-token}}&p=590","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}cliente_modelos_impressao"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do cliente</p>\n","type":"text/plain"},"key":"p","value":"590"}],"variable":[]}},"response":[],"_postman_id":"da6931da-66bb-41c9-910a-c557393dcd92"},{"name":"Adicionar modelos de impressão e email por tipo de documento a um cliente","id":"7846a078-56b7-4b00-b371-a806fb14b3f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"id_cliente","value":"590","description":"<p>ID do cliente</p>\n","type":"text","uuid":"b1fd73dc-3348-445a-a7ea-b0a3215a834b"},{"key":"id_tipo_documento","value":"2","description":"<p>ID do tipo de documento</p>\n","type":"text","uuid":"967a0c31-e62d-4a5c-ba2c-11046a08c303"},{"key":"modelo_pdf","value":"2","description":"<p>OPCIONAL - ID do modelo PDF neste tipo de documento</p>\n","type":"text","uuid":"e4745007-7208-49ac-b864-a1a0f3f73676"},{"key":"modelo_talao","value":"2","description":"<p>OPCIONAL - ID do modelo de talão neste tipo de documento</p>\n","type":"text","uuid":"e77f86ef-f74e-4b2c-a234-454e3707b414"},{"key":"email","value":"cliente@email.com","description":"<p>OPCIONAL - email do cliente por defeito neste tipo de documento</p>\n","type":"text","uuid":"f2f3aea0-a340-4bad-af8b-c868e6d1d9cb"}]},"url":"{{goldylocks-api-url}}adicionar_modelo_impressao_cliente/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}adicionar_modelo_impressao_cliente"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"7846a078-56b7-4b00-b371-a806fb14b3f7"},{"name":"Remover modelos de impressão e email por tipo de documento de um cliente","id":"5ad07394-5796-4500-8c3f-f1265db779f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"id_cliente","value":"590","description":"<p>ID do cliente</p>\n","type":"text","uuid":"b1fd73dc-3348-445a-a7ea-b0a3215a834b"},{"key":"id_tipo_documento","value":"2","description":"<p>ID do tipo de documento</p>\n","type":"text","uuid":"967a0c31-e62d-4a5c-ba2c-11046a08c303"}]},"url":"{{goldylocks-api-url}}remover_modelo_impressao_cliente/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}remover_modelo_impressao_cliente"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"5ad07394-5796-4500-8c3f-f1265db779f6"}],"id":"7c5d2984-4dd3-4006-b752-81a620d40f99","_postman_id":"7c5d2984-4dd3-4006-b752-81a620d40f99","description":""},{"name":"Encomendas expedidas","item":[{"name":"Encomenda expedida","id":"fec83c90-447f-408a-b40c-eb81f48d19b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}encomendaexpedida/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}encomendaexpedida"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"fec83c90-447f-408a-b40c-eb81f48d19b0"},{"name":"Encomendas pendentes","id":"0638930a-83f1-48cf-a73d-9af69187ea1f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}encomendaspendentes/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}encomendaspendentes"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"0638930a-83f1-48cf-a73d-9af69187ea1f"}],"id":"6b2e678f-acd1-4836-a106-c850103b1820","_postman_id":"6b2e678f-acd1-4836-a106-c850103b1820","description":""},{"name":"Equipamentos","item":[{"name":"Equipamentos","id":"be957b43-c2d5-44b6-850a-e26704c6751f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}equipamentos/?api={{api-token}}&p=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}equipamentos"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"p","value":"1"}],"variable":[]}},"response":[],"_postman_id":"be957b43-c2d5-44b6-850a-e26704c6751f"},{"name":"Equipamento","id":"4d4aaab8-f7f3-48cd-ba69-fafede149c12","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}equipamento/?api={{api-token}}&p=1&f=asus","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}equipamento"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"p","value":"1"},{"description":{"content":"<p>[OPCIONAL] - filtro a aplicar na pesquisa</p>\n","type":"text/plain"},"key":"f","value":"asus"}],"variable":[]}},"response":[],"_postman_id":"4d4aaab8-f7f3-48cd-ba69-fafede149c12"},{"name":"Gerir equipamento","id":"1138c75e-b6a0-468a-920a-05b4cf7d55f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"t","value":"gerirequipamento","type":"text"},{"key":"tipo_equipamento","value":"1","description":"<p> tipo de equipamento</p>\n","type":"text"},{"key":"id_marca","value":"2","description":"<p>id da marca</p>\n","type":"text"},{"key":"id_modelo","value":"3","description":"<p>id de modelo</p>\n","type":"text"},{"key":"numero_serie","value":"4","description":"<p>numero de serie</p>\n","type":"text"},{"key":"observacoes_equipamento","value":"5","description":"<p>observacoes de equipamento</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}gerirequipamento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}gerirequipamento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"1138c75e-b6a0-468a-920a-05b4cf7d55f5"},{"name":"Eliminar equipamento","id":"f00f4667-e184-4d9d-8962-e09249f53d3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}eliminarequipamento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarequipamento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"f00f4667-e184-4d9d-8962-e09249f53d3e"},{"name":"Tipos equipamento","id":"1c97c902-6959-42d1-bbe4-a5240115e2ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}tiposequipamento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}tiposequipamento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"1c97c902-6959-42d1-bbe4-a5240115e2ce"},{"name":"Criar tipo equipamento","id":"cfae3fc8-42ea-4792-b77d-219c1a89b39e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}criartipoequipamento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criartipoequipamento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"cfae3fc8-42ea-4792-b77d-219c1a89b39e"},{"name":"Marcas equipamento","id":"52cf4bcc-dc4c-46f5-90b9-a9e2079e48d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}marcasequipamento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}marcasequipamento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"52cf4bcc-dc4c-46f5-90b9-a9e2079e48d5"},{"name":"Criar marca equipamento","id":"e8c4995d-cc7b-49ef-a07f-f74a0504639e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}criarmarcaequipamento/?api={{api-token}}&p=Marca","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criarmarcaequipamento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>Marca de equipamentos a criar</p>\n","type":"text/plain"},"key":"p","value":"Marca"}],"variable":[]}},"response":[],"_postman_id":"e8c4995d-cc7b-49ef-a07f-f74a0504639e"},{"name":"Modelo equipamento","id":"eb3037d1-6596-4d2b-ab52-296c4118d8ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}modelosequipamento/?api={{api-token}}&p=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}modelosequipamento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da marca do equipamento</p>\n","type":"text/plain"},"key":"p","value":"1"}],"variable":[]}},"response":[{"id":"1d1fe9fd-654f-452f-bd2a-a8ec9ac4a6f6","name":"Modelo equipamento","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}modelosequipamento/?api={{api-token}}&p=1","host":["{{goldylocks-api-url}}modelosequipamento"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"},{"key":"p","value":"1","description":"ID da marca do equipamento"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 11 Feb 2025 10:28:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"access-control-allow-headers","value":"*"},{"key":"vary","value":"Accept-Encoding,User-Agent"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Z0%2FDtw5IRRWtar8vs4SYEBcxOXESpcIVbGOvzxGmFYuBg3ewYvmZXQpqcuOznQg7TJbOBFGImAcVAXUkaw7%2Fek%2BMeyJKeN%2BhQHPxOR1dsid9MusCBE44gpCWya8uq0EEzZaojevQMw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9103a6b01f76418f-LHR"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=41351&min_rtt=39329&rtt_var=4674&sent=217&recv=211&lost=0&retrans=0&sent_bytes=11273&recv_bytes=3326&delivery_rate=74128&cwnd=101&unsent_bytes=0&cid=01a4137c6b0ff1b9&ts=205747&x=0\""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id_modelo\": \"1\",\n        \"id_marca\": \"1\",\n        \"modelo\": \"Model X\",\n        \"marca\": \"Tesla\"\n    },\n    {\n        \"id_modelo\": \"2\",\n        \"id_marca\": \"1\",\n        \"modelo\": \"teste\",\n        \"marca\": \"Tesla\"\n    }\n]"}],"_postman_id":"eb3037d1-6596-4d2b-ab52-296c4118d8ae"},{"name":"Criar modelo equipamento","id":"788e292c-ec2b-4625-b1c3-696ef7479f8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}criarmodeloequipamento/?api={{api-token}}&p=1&m=2","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criarmodeloequipamento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>modelo</p>\n","type":"text/plain"},"key":"p","value":"1"},{"description":{"content":"<p>id da marca</p>\n","type":"text/plain"},"key":"m","value":"2"}],"variable":[]}},"response":[],"_postman_id":"788e292c-ec2b-4625-b1c3-696ef7479f8d"},{"name":"Obter equipamento do documento","id":"9fc08b2c-0281-4e98-89b2-c02c8bc9501d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}equipamentodocumento/?api={{api-token}}&p=1&d=2","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}equipamentodocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id de equipamento se for  para mudar  ou apenas id da encomenda para obter equipamento do documento</p>\n","type":"text/plain"},"key":"p","value":"1"},{"description":{"content":"<p>id de encomenda, apenas necessário ao alterar equipamento</p>\n","type":"text/plain"},"key":"d","value":"2"}],"variable":[]}},"response":[],"_postman_id":"9fc08b2c-0281-4e98-89b2-c02c8bc9501d"},{"name":"Alterar equipamento do documento","id":"b6ca17bb-be72-4138-b131-cdc352d3ec22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_documento","value":"100","description":"<p>ID do documento</p>\n","type":"text","uuid":"e1aca2d7-2c5a-4507-a347-52aa8b6b56b4"},{"key":"id_equipamento","value":"1","description":"<p>ID do equipamento</p>\n","type":"text","uuid":"9d253c35-e08c-4701-9e65-e88b7c5cedb3"}]},"url":"{{goldylocks-api-url}}alterarequipamentodocumento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterarequipamentodocumento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"b6ca17bb-be72-4138-b131-cdc352d3ec22"},{"name":"Remover equipamento do documento","id":"be674354-71a3-4436-9432-43a164398dd9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}removerequipamentodocumento/?api={{api-token}}&p=25478","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removerequipamentodocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p> id do documento</p>\n","type":"text/plain"},"key":"p","value":"25478"}],"variable":[]}},"response":[],"_postman_id":"be674354-71a3-4436-9432-43a164398dd9"},{"name":"Movimentos de um equipamento","id":"dc6b7e87-2e94-416e-ac98-fbd8fe6f7a6f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}movimentosequipamento/?api={{api-token}}&id_equipamento=3","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}movimentosequipamento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p> id do equipamento</p>\n","type":"text/plain"},"key":"id_equipamento","value":"3"}],"variable":[]}},"response":[{"id":"d926701d-6190-4853-b62f-33de4a8d5014","name":"Movimentos de um equipamento","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}movimentosequipamento/?api={{api-token}}&id_equipamento=3","host":["{{goldylocks-api-url}}movimentosequipamento"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"},{"key":"id_equipamento","value":"3","description":" id do equipamento"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 18 Feb 2025 14:07:41 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"access-control-allow-headers","value":"*"},{"key":"vary","value":"Accept-Encoding,User-Agent"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=GnVe08euZL4UlH%2FhDCxtEF69bnu%2F7bjeFkEWN1JA81iycpaHk5rhTOjNklIvj4FG1pOWnToQf2wdY5MDpOV5ro20xcj%2BV1MDYS4ovkOz5Fr3NO5SWRvvE00Z3gKpYJXeXvqPtI4YMQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"913e95bc28f7f668-LHR"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=36015&min_rtt=35701&rtt_var=3393&sent=114&recv=109&lost=0&retrans=0&sent_bytes=9619&recv_bytes=2445&delivery_rate=122036&cwnd=256&unsent_bytes=0&cid=9679f690d5cefc66&ts=101894&x=0\""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id_movimento\": 7603,\n        \"ordem\": 99999,\n        \"data_criacao\": \"2025-02-18 13:51:49\",\n        \"id_artigo\": \"1\",\n        \"quantidade\": \"1.00000\",\n        \"desconto\": 0,\n        \"satisfeito\": \"0.00\",\n        \"estado\": 0,\n        \"id_encomenda\": 592,\n        \"preco\": 2,\n        \"observacao\": \"\",\n        \"preco_custo\": 0,\n        \"descricao\": \"NA COMPRA DE UM, O OUTRO  OFERTA!\",\n        \"imposto\": \"IVA 13%\",\n        \"taxa\": 13,\n        \"referencia_origem\": 0,\n        \"linha\": 1,\n        \"margem\": 100,\n        \"retencao\": 0,\n        \"referencia_conversao\": null,\n        \"preco_imposto\": 2.2599999999999997868371792719699442386627197265625,\n        \"pedido_fornecedor\": null,\n        \"id_armazem\": 30,\n        \"comissao\": 0,\n        \"contagem\": null,\n        \"referencia_origem_linha\": 0,\n        \"id_utilizador\": 2,\n        \"data_entrega\": \"2025-02-18\",\n        \"referencia_externa_linha\": null,\n        \"id_movimento_artigo_associado\": 0,\n        \"serie\": \"GLA\",\n        \"numero_documento\": 16,\n        \"data_documento\": \"2025-02-18\",\n        \"documento\": \"Fatura Simplificada GLA/16\",\n        \"tipo_documento\": \"Fatura Simplificada\",\n        \"username\": \"admin2\",\n        \"nome_utilizador\": \"teste\",\n        \"estado_documento\": null,\n        \"documento_conversao\": null\n    }\n]"}],"_postman_id":"dc6b7e87-2e94-416e-ac98-fbd8fe6f7a6f"}],"id":"abb774d6-c111-4718-a223-7d470878e0fb","_postman_id":"abb774d6-c111-4718-a223-7d470878e0fb","description":""},{"name":"Escolhas documentos","item":[{"name":"Gerir escolhas documentos","id":"84d86fbf-ee14-4dee-b189-77f182e6f271","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"nome","value":"","description":"<p>limpar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}gerirescolhasdocumentos/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}gerirescolhasdocumentos"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"84d86fbf-ee14-4dee-b189-77f182e6f271"},{"name":"Escolhas documentos","id":"1f0091ee-7788-4c54-9e5a-943d0856afe8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}escolhasdocumentos/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}escolhasdocumentos"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"1f0091ee-7788-4c54-9e5a-943d0856afe8"},{"name":"Eliminar escolha documento","id":"45ebbe65-b682-40c8-9c2f-8232a4f9fcf2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}eliminarescolhadocumento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarescolhadocumento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"45ebbe65-b682-40c8-9c2f-8232a4f9fcf2"},{"name":"Gerir opcao escolha","id":"62b42a37-5db4-4801-8f28-432faad9de58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"opcao","value":"","description":"<p>limpar</p>\n","type":"text"},{"key":"id_opcao","value":"","description":"<p>editar opcao</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}geriropcaoescolha/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}geriropcaoescolha"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"62b42a37-5db4-4801-8f28-432faad9de58"},{"name":"Opcoes escolha","id":"acf270bf-078e-4b45-9bc7-ae6f3e0c25d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}opcoesescolha/?api={{api-token}}&p=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}opcoesescolha"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id escolha documento</p>\n","type":"text/plain"},"key":"p","value":"1"}],"variable":[]}},"response":[],"_postman_id":"acf270bf-078e-4b45-9bc7-ae6f3e0c25d1"},{"name":"Remover opcao escolha","id":"945d7f74-cfaf-462a-a5dd-24d525c17868","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"opcao","value":"","description":"<p>opcao</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}removeropcaoescolha/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removeropcaoescolha"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"945d7f74-cfaf-462a-a5dd-24d525c17868"},{"name":"Alterar escolha documento","id":"ba70f144-2318-4cb0-97bd-cd1cfd021f9c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"td","value":"","description":"<p>id tipo de decomento</p>\n","type":"text"},{"key":"e","value":"","description":"<p>ide de escolha</p>\n","type":"text"},{"key":"o","value":"","description":"<p>opcao</p>\n","type":"text"},{"key":"p","value":"","description":"<p>id de decumento</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}alterarescolhadocumento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterarescolhadocumento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"ba70f144-2318-4cb0-97bd-cd1cfd021f9c"}],"id":"3e1af9e9-ddbc-4df4-86d0-2bd514c7a608","_postman_id":"3e1af9e9-ddbc-4df4-86d0-2bd514c7a608","description":""},{"name":"Especialidades Utilizadores","item":[{"name":"Obter especialidades utilizadores","id":"da400950-cb13-4178-893d-513e5e973279","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}especialidadesutilizadores/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}especialidadesutilizadores"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"da400950-cb13-4178-893d-513e5e973279"},{"name":"Criar especialidade utilizador","id":"2e2fa1a7-150c-4c97-a099-59d07d4db40e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"descricao","value":"Fisioterapia","description":"<p>descrição da nova especialidade de utilizador a criar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}criarespecialidadeutilizador/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criarespecialidadeutilizador"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"2e2fa1a7-150c-4c97-a099-59d07d4db40e"},{"name":"Alterar especialidade utilizador","id":"4dc67a01-8847-4e3c-98c5-a3ee71748484","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"descricao","value":"Fisioterapia","description":"<p>descrição da nova especialidade de utilizador a criar</p>\n","type":"text"},{"key":"id_especialidade","value":"2","description":"<p>id da especialidade a alterar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}alterarespecialidadeutilizador/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterarespecialidadeutilizador"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"4dc67a01-8847-4e3c-98c5-a3ee71748484"},{"name":"Alterar cor da especialidade do utilizador","id":"ebb76220-bb1d-473a-80a7-4369640ed2ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_especialidade","value":"2","description":"<p>id da especialidade a alterar</p>\n","type":"text"},{"key":"cor","value":"#ff4455","description":"<p>cor em formato hexadecimal</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}alterarcorespecialidadeutilizador/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterarcorespecialidadeutilizador"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"ebb76220-bb1d-473a-80a7-4369640ed2ac"},{"name":"Eliminar especialidade utilizador","id":"2ed58534-1dc0-4a5a-81b9-bf6da04eb80b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}removerespecialidadeutilizador/?api={{api-token}}&p=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removerespecialidadeutilizador"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id da especialidade de utilizador a eliminar</p>\n","type":"text/plain"},"key":"p","value":"1"}],"variable":[]}},"response":[],"_postman_id":"2ed58534-1dc0-4a5a-81b9-bf6da04eb80b"}],"id":"d354f9ee-72f1-4c78-b0b8-f8020749641e","_postman_id":"d354f9ee-72f1-4c78-b0b8-f8020749641e","description":""},{"name":"Estado documentos","item":[{"name":"Estado de decumento","id":"f2250b06-0f38-44e9-b17e-942108e945be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{goldylocks-api-url}}estadodocumento/?api={{api-token}}&p=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}estadodocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do estado do documento</p>\n","type":"text/plain"},"key":"p","value":"1"}],"variable":[]}},"response":[],"_postman_id":"f2250b06-0f38-44e9-b17e-942108e945be"},{"name":"Alterar estado do documento","id":"ab7bf5f5-46af-440a-8f1a-853afb32cab1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}alterarestadodocumento/?api={{api-token}}&p=1500&estado=6&impressao=0","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterarestadodocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do documento</p>\n","type":"text/plain"},"key":"p","value":"1500"},{"description":{"content":"<p>ID do novo estado a aplicar no documento</p>\n","type":"text/plain"},"key":"estado","value":"6"},{"description":{"content":"<p>1 - Mostrar impressão do documento</p>\n","type":"text/plain"},"key":"impressao","value":"0"}],"variable":[]}},"response":[],"_postman_id":"ab7bf5f5-46af-440a-8f1a-853afb32cab1"},{"name":"Ativar notificação estado","id":"e2040a87-533a-4e07-8c55-729c2a6530bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}ativarnotificacaoestado/?api={{api-token}}&p","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}ativarnotificacaoestado"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do estado do documento </p>\n","type":"text/plain"},"key":"p","value":""}],"variable":[]}},"response":[],"_postman_id":"e2040a87-533a-4e07-8c55-729c2a6530bf"},{"name":"Desativar notificação estado","id":"81f88289-93a1-44d8-bd89-31ed86d3b390","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}desativarnotificacaoestado/?api={{api-token}}&p=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}desativarnotificacaoestado"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do estado do documento em desativar notificação</p>\n","type":"text/plain"},"key":"p","value":"1"}],"variable":[]}},"response":[],"_postman_id":"81f88289-93a1-44d8-bd89-31ed86d3b390"},{"name":"Documentos por estado","id":"0a427708-c83e-4de7-a827-0b9a9a3d3a10","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}documentosporestado/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}documentosporestado"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"0a427708-c83e-4de7-a827-0b9a9a3d3a10"},{"name":"Estados documentos grupo","id":"63b966d9-2284-4686-842a-7dcc58dd22eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}estadosdocumentosgrupo/?api={{api-token}}&p=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}estadosdocumentosgrupo"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do estado do documento</p>\n","type":"text/plain"},"key":"p","value":"1"}],"variable":[]}},"response":[],"_postman_id":"63b966d9-2284-4686-842a-7dcc58dd22eb"},{"name":"Eliminar estado documento","id":"d6d92a2b-ad82-4a81-b4b2-ea4abc6a1c6f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}eliminarestadodocumento/?api={{api-token}}&p=2","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarestadodocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do estado do do documento para eliminar</p>\n","type":"text/plain"},"key":"p","value":"2"}],"variable":[]}},"response":[],"_postman_id":"d6d92a2b-ad82-4a81-b4b2-ea4abc6a1c6f"},{"name":"Estados documentos","id":"9bfc7071-78f7-4592-9c68-d585559d6c92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}estadosdocumentos/?api={{api-token}}&p=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}estadosdocumentos"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do estados dos documentos</p>\n","type":"text/plain"},"key":"p","value":"1"}],"variable":[]}},"response":[],"_postman_id":"9bfc7071-78f7-4592-9c68-d585559d6c92"},{"name":"Estado pede impressao","id":"e2a80f81-0cad-4148-a600-100d773da477","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}estadopedeimpressao/?api={{api-token}}&i=0","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}estadopedeimpressao"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>pede a impressão do documento</p>\n","type":"text/plain"},"key":"i","value":"0"}],"variable":[]}},"response":[],"_postman_id":"e2a80f81-0cad-4148-a600-100d773da477"}],"id":"08fda4c8-b5bb-42dc-b5a0-f8b14816dcd7","_postman_id":"08fda4c8-b5bb-42dc-b5a0-f8b14816dcd7","description":""},{"name":"Familias","item":[{"name":"Criar familia","id":"74ab3a4a-e799-4cc4-93ef-790cbc650a46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{goldylocks-api-url}}inserirfamilia/?api={{api-token}}&d=nome_novo_familia&p=0&id_familia=100&permitir_duplicadas=1&disponivel_pos=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}inserirfamilia"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>nova descrição da familia</p>\n","type":"text/plain"},"key":"d","value":"nome_novo_familia"},{"description":{"content":"<p>novo id da familia pai</p>\n","type":"text/plain"},"key":"p","value":"0"},{"description":{"content":"<p>[OPCIONAL] - ID da familia a criar</p>\n","type":"text/plain"},"key":"id_familia","value":"100"},{"description":{"content":"<p>[OPCIONAL] - Permitir familias com  o mesmo nome na mesma familia pai</p>\n","type":"text/plain"},"key":"permitir_duplicadas","value":"1"},{"description":{"content":"<p>0 - Indisponivel POS, 1 - Disponivel POS</p>\n","type":"text/plain"},"key":"disponivel_pos","value":"1"}],"variable":[]}},"response":[],"_postman_id":"74ab3a4a-e799-4cc4-93ef-790cbc650a46"},{"name":"Obter todas as familias","id":"421a629e-fec2-4383-b282-876c9d7c56c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{goldylocks-api-url}}familias/?api={{api-token}}&p=0&disponivel_pos=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}familias"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id da familia pai, 0 se raiz</p>\n","type":"text/plain"},"key":"p","value":"0"},{"disabled":true,"description":{"content":"<p>id da familia</p>\n","type":"text/plain"},"key":"familia","value":"10"},{"description":{"content":"<p>1 - obter apenas familias disponiveis no pos</p>\n","type":"text/plain"},"key":"disponivel_pos","value":"1"}],"variable":[]}},"response":[],"_postman_id":"421a629e-fec2-4383-b282-876c9d7c56c7"},{"name":"Imagem ou thumbnail","id":"ac01b1b1-2011-4032-8981-43c99be9ea61","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{goldylocks-api-url}}imagemfamilia/?api={{api-token}}&p=5&thumbnail=1&base64=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}imagemfamilia"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id da familia</p>\n","type":"text/plain"},"key":"p","value":"5"},{"key":"thumbnail","value":"1"},{"description":{"content":"<p>[OPCIONAL] - obter imagem em base64</p>\n","type":"text/plain"},"key":"base64","value":"1"}],"variable":[]}},"response":[],"_postman_id":"ac01b1b1-2011-4032-8981-43c99be9ea61"},{"name":"Editar familia","id":"66dbbc65-03fb-4c09-8254-05e74f601296","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{goldylocks-api-url}}editarfamilia/?api={{api-token}}&id=5&f=nome_novo_familia&fp=0&disponivel_pos=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}editarfamilia"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id da familia a editar</p>\n","type":"text/plain"},"key":"id","value":"5"},{"description":{"content":"<p>nova descrição da familia</p>\n","type":"text/plain"},"key":"f","value":"nome_novo_familia"},{"description":{"content":"<p>novo id da familia pai</p>\n","type":"text/plain"},"key":"fp","value":"0"},{"description":{"content":"<p>0 - Indisponivel POS, 1 - disponivel POS</p>\n","type":"text/plain"},"key":"disponivel_pos","value":"1"}],"variable":[]}},"response":[],"_postman_id":"66dbbc65-03fb-4c09-8254-05e74f601296"},{"name":"Obter ordem de criacao das familias","id":"34248e82-56bb-4608-9b84-b36dc9fcea92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{goldylocks-api-url}}obterarraycriacaofamilias/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}obterarraycriacaofamilias"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"34248e82-56bb-4608-9b84-b36dc9fcea92"},{"name":"Remover familia","id":"b037fb87-7948-4340-8f76-6a978be92983","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"{{goldylocks-api-url}}eliminarfamilia/?api={{api-token}}&p=642","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarfamilia"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da familia a remover</p>\n","type":"text/plain"},"key":"p","value":"642"}],"variable":[]}},"response":[],"_postman_id":"b037fb87-7948-4340-8f76-6a978be92983"}],"id":"ca794ac1-3048-4d81-96f6-f4ee821219b2","_postman_id":"ca794ac1-3048-4d81-96f6-f4ee821219b2","description":""},{"name":"Ficheiros","item":[{"name":"Conteudo ficheiro","id":"16e798db-0f55-4a2a-bd80-03680d631692","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}conteudoficheiro/?api={{api-token}}&ficheiro","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}conteudoficheiro"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do conteudo do ficheiro</p>\n","type":"text/plain"},"key":"ficheiro","value":""}],"variable":[]}},"response":[],"_postman_id":"16e798db-0f55-4a2a-bd80-03680d631692"},{"name":"Ficheiros","id":"66830fb3-411d-4e3f-b15b-e1b7a87af4fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}ficheiros/?api={{api-token}}&ficheiro&nf &nomeFicheiro&finfo&extensaoFicheiro&p","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}ficheiros"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do conteudo dos ficheiros</p>\n","type":"text/plain"},"key":"ficheiro","value":""},{"description":{"content":"<p>encontra o ficheiro com o seu respetivo nome</p>\n","type":"text/plain"},"key":"nf ","value":""},{"description":{"content":"<p>encontra o ficheiro com o seu respetivo nome</p>\n","type":"text/plain"},"key":"nomeFicheiro","value":""},{"description":{"content":"<p>abre as opções do ficheiro</p>\n","type":"text/plain"},"key":"finfo","value":""},{"description":{"content":"<p>comprime o ficheiro</p>\n","type":"text/plain"},"key":"extensaoFicheiro","value":""},{"description":{"content":"<p>ID da encomenda</p>\n","type":"text/plain"},"key":"p","value":""}],"variable":[]}},"response":[],"_postman_id":"66830fb3-411d-4e3f-b15b-e1b7a87af4fc"},{"name":"Ficheiro","id":"0a4d186f-c7f7-419c-a37a-ce5cbf111b8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}ficheiro/?api={{api-token}}&p","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}ficheiro"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da imagem da encomenda </p>\n","type":"text/plain"},"key":"p","value":""}],"variable":[]}},"response":[],"_postman_id":"0a4d186f-c7f7-419c-a37a-ce5cbf111b8b"},{"name":"Eliminar ficheiro","id":"594ca54e-c256-4a80-973e-fd5ebcdae761","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}eliminarficheiro/?api={{api-token}}&p","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarficheiro"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da imagam da encomenda</p>\n","type":"text/plain"},"key":"p","value":""}],"variable":[]}},"response":[],"_postman_id":"594ca54e-c256-4a80-973e-fd5ebcdae761"},{"name":"Total ficheiros doumentos","id":"a9e9146d-b497-45d9-948d-06b0de2fff0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}totalficheirosdocumento/?api={{api-token}}&p","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}totalficheirosdocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da imagem da encomenda</p>\n","type":"text/plain"},"key":"p","value":""}],"variable":[]}},"response":[],"_postman_id":"a9e9146d-b497-45d9-948d-06b0de2fff0c"},{"name":"Obter espaço ocupado","id":"6524b0ce-48e5-42bb-b6d9-386632630f63","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}statusarquivodigital/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}statusarquivodigital"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"6524b0ce-48e5-42bb-b6d9-386632630f63"}],"id":"f199747b-8c2b-4768-9421-78feee839d94","_postman_id":"f199747b-8c2b-4768-9421-78feee839d94","description":""},{"name":"Folha de Obra","item":[{"name":"Importar ficheiro excel","id":"5814dc29-3ad8-4e8f-9bd7-e9478e5dd36b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"ficheiroFolhaObra","description":"<p>ficheiro excel a importar para o documento</p>\n","type":"file","src":"/C:/Users/Helder/Downloads/FOLHA_ORCAMENTO_VODUL_teste.xlsx"}]},"url":"{{goldylocks-api-url}}importarfolhaobra/?api={{api-token}}&documento=18324","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}importarfolhaobra"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"documento","value":"18324"}],"variable":[]}},"response":[],"_postman_id":"5814dc29-3ad8-4e8f-9bd7-e9478e5dd36b"}],"id":"bbaf4b91-3472-4263-afa0-f2620a53d31a","_postman_id":"bbaf4b91-3472-4263-afa0-f2620a53d31a","description":""},{"name":"Gestao","item":[{"name":"Enviar ficheiros contabilidade","id":"c01f11b7-f1a5-41e1-b70f-8573f5a57618","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}enviarficheiroscontabilidade/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}enviarficheiroscontabilidade"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"c01f11b7-f1a5-41e1-b70f-8573f5a57618"}],"id":"c19aaa14-090a-4934-872c-99f504f8a6c2","_postman_id":"c19aaa14-090a-4934-872c-99f504f8a6c2","description":""},{"name":"Grupos clientes","item":[{"name":"Grupos clientes","id":"8cb71f83-e729-44eb-8fdf-ba0daa4c4edc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}gruposclientes/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}gruposclientes"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[{"id":"e12ce73a-d3b5-451b-ad24-0f5136098883","name":"Grupos clientes","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}gruposclientes/?api={{api-token}}","host":["{{goldylocks-api-url}}gruposclientes"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 29 Sep 2023 13:46:25 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding,User-Agent"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id_grupo_cliente\": \"4\",\n        \"idgc\": \"4\",\n        \"descricao\": \"Loja Prestashop\",\n        \"cor_fundo_etiqueta\": \"#ff0000\",\n        \"cor_texto_etiqueta\": \"#ffffff\"\n    }\n]"}],"_postman_id":"8cb71f83-e729-44eb-8fdf-ba0daa4c4edc"},{"name":"Gerir grupos clientes","id":"f1b6486e-9775-49d1-b364-162cf41ffb49","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}gerirgruposclientes/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}gerirgruposclientes"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"f1b6486e-9775-49d1-b364-162cf41ffb49"},{"name":"Remover grupos clientes","id":"a42add9e-7559-4212-a098-a79670ac6a14","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}removergruposclientes/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removergruposclientes"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"a42add9e-7559-4212-a098-a79670ac6a14"},{"name":"Definir cor de fundo da etiqueta do grupo de clientes","id":"92841d6a-7c76-417d-bbe8-34fe8bbdf981","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_grupo_cliente","value":"1","description":"<p>ID do grupo de cliente</p>\n","type":"text"},{"key":"cor_fundo","value":"#123123","description":"<p>Hexadecimal da cor</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}definircorfundogrupoclientes/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}definircorfundogrupoclientes"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[{"id":"b14411ff-5593-4367-bf4d-af717d0edd75","name":"Definir cor de fundo da etiqueta do grupo de clientes","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_grupo_cliente","value":"1","description":"ID do grupo de cliente","type":"text"},{"key":"cor_fundo","value":"#123123","description":"Hexadecimal da cor","type":"text"}]},"url":{"raw":"{{goldylocks-api-url}}definircorfundogrupoclientes/?api={{api-token}}","host":["{{goldylocks-api-url}}definircorfundogrupoclientes"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 29 Sep 2023 13:49:37 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding,User-Agent"}],"cookie":[],"responseTime":null,"body":"ok"}],"_postman_id":"92841d6a-7c76-417d-bbe8-34fe8bbdf981"},{"name":"Definir cor do texto etiqueta do grupo de clientes","id":"7a64b49d-ac11-4e77-818a-07024fcd1f88","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_grupo_cliente","value":"1","description":"<p>ID do grupo de cliente</p>\n","type":"text"},{"key":"cor_texto","value":"#123123","description":"<p>Hexadecimal da cor</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}definircortextogrupoclientes/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}definircortextogrupoclientes"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[{"id":"6b7a1901-2676-4560-8375-59d9f7513c31","name":"Definir cor do texto etiqueta do grupo de clientes","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_grupo_cliente","value":"1","description":"ID do grupo de cliente","type":"text"},{"key":"cor_texto","value":"#123123","description":"Hexadecimal da cor","type":"text"}]},"url":{"raw":"{{goldylocks-api-url}}definircortextogrupoclientes/?api={{api-token}}","host":["{{goldylocks-api-url}}definircortextogrupoclientes"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 29 Sep 2023 13:49:47 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding,User-Agent"}],"cookie":[],"responseTime":null,"body":"ok"}],"_postman_id":"7a64b49d-ac11-4e77-818a-07024fcd1f88"}],"id":"0ee80f89-32eb-4d28-876a-83590ca3919d","_postman_id":"0ee80f89-32eb-4d28-876a-83590ca3919d","description":""},{"name":"Historico Movimentos","item":[{"name":"Eliminar um registo do historico","id":"7d67e827-79c8-4bdb-ad3b-8444d4684a96","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}eliminarregistohistorico/?api={{api-token}}&p","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarregistohistorico"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do registo a eliminar</p>\n","type":"text/plain"},"key":"p","value":""}],"variable":[]}},"response":[],"_postman_id":"7d67e827-79c8-4bdb-ad3b-8444d4684a96"}],"id":"60bcf864-a197-4e30-afd5-35a211b10679","_postman_id":"60bcf864-a197-4e30-afd5-35a211b10679","description":""},{"name":"Hipay","item":[{"name":"Call back hipay ok","id":"f642bccc-9bdb-4126-aefc-744a5188936c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"xm1","value":"","type":"text"}]},"url":"{{goldylocks-api-url}}callbackhipayok/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}callbackhipayok"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"f642bccc-9bdb-4126-aefc-744a5188936c"},{"name":"Call back hipay ko","id":"e51cc4af-1923-4333-a937-1b74e9ffb5e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}callbackhipayko/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}callbackhipayko"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"e51cc4af-1923-4333-a937-1b74e9ffb5e1"}],"id":"d85d6f4a-a09f-4526-a41f-c744433998d9","_postman_id":"d85d6f4a-a09f-4526-a41f-c744433998d9","description":""},{"name":"Impostos","item":[{"name":"Obter todos os impostos","id":"fbbaad0d-969b-4461-b0a4-5457d9cf9642","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}impostos/?api={{api-token}}&p =23&q=iva","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}impostos"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>taxa de impostos</p>\n","type":"text/plain"},"key":"p ","value":"23"},{"description":{"content":"<p>variavel para exibir os impostos</p>\n","type":"text/plain"},"key":"q","value":"iva"}],"variable":[]}},"response":[],"_postman_id":"fbbaad0d-969b-4461-b0a4-5457d9cf9642"},{"name":"Obter impostos utilizaveis num documento","id":"a414805d-e622-42ba-80cf-96bfb73d67df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}impostosdisponiveisdocumento/?api={{api-token}}&p=26182","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}impostosdisponiveisdocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do documento</p>\n","type":"text/plain"},"key":"p","value":"26182"}],"variable":[]}},"response":[],"_postman_id":"a414805d-e622-42ba-80cf-96bfb73d67df"},{"name":"Obter dados de um imposto","id":"3bf93b31-e6c6-48e1-9bac-27a9102091a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"imposto","value":"IVA 23%","description":"<p>nome do imposto</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}imposto/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}imposto"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"3bf93b31-e6c6-48e1-9bac-27a9102091a0"},{"name":"Criar imposto","id":"cafdfd37-8b11-486e-8b2f-f137eae07533","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"imposto","value":"IVA 27%","description":"<p>nova descrição do imposto</p>\n","type":"text"},{"key":"tipo","value":"IVA","description":"<p>tipo de imposto a utilizar</p>\n","type":"text"},{"key":"pais","value":"PT","description":"<p>codigo do pais a utilizar</p>\n","type":"text"},{"key":"codigo","value":"NOR","description":"<p>categoria do imposto</p>\n","type":"text"},{"key":"taxa","value":"23.00","description":"<p>taxa do imposto em percentagem</p>\n","type":"text"},{"key":"motivo_isencao","value":"","description":"<p>codigo do motivo de isencao, vazio para nenhum</p>\n","type":"text"},{"key":"oss","value":"1","description":"<p>Ativar utilização One Stop Shop</p>\n","type":"text"},{"key":"codigo_pais_oss","value":"ES","description":"<p>Código ISO do pais da UE para OSS</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}criarimposto/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criarimposto"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"cafdfd37-8b11-486e-8b2f-f137eae07533"},{"name":"Editar um imposto existente","id":"835826d0-db09-4326-8499-b8984405696f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"imposto","value":"IVA 25%","description":"<p>nova descrição do imposto</p>\n","type":"text"},{"key":"tipo","value":"IVA","description":"<p>tipo de imposto a utilizar</p>\n","type":"text"},{"key":"pais","value":"PT","description":"<p>codigo do pais a utilizar</p>\n","type":"text"},{"key":"codigo","value":"NOR","description":"<p>categoria do imposto</p>\n","type":"text"},{"key":"taxa","value":"23.00","description":"<p>taxa do imposto em percentagem</p>\n","type":"text"},{"key":"motivo_isencao","value":"","description":"<p>codigo do motivo de isencao, vazio para nenhum</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}editarimposto/?api={{api-token}}&p=IVA 6%","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}editarimposto"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>descricao do imposto a editar</p>\n","type":"text/plain"},"key":"p","value":"IVA 6%"}],"variable":[]}},"response":[],"_postman_id":"835826d0-db09-4326-8499-b8984405696f"},{"name":"Eliminar imposto","id":"b0a717d2-3ebb-43dd-8866-eff47bb264e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"imposto","value":"IMPOSTO_CI_169223446","description":"<p>nova descrição do imposto</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}eliminarimposto/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarimposto"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"b0a717d2-3ebb-43dd-8866-eff47bb264e5"},{"name":"Ativar imposto","id":"54a49058-ba0a-417d-b36e-d9741b711518","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"imposto","value":"PT VAT","description":"<p>nome do imposto</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}ativarimposto/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}ativarimposto"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"54a49058-ba0a-417d-b36e-d9741b711518"},{"name":"Desativar imposto","id":"f0448459-81cf-48fb-b31a-c0a8884dc89a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"formdata","formdata":[{"key":"imposto","value":"PT VAT","description":"<p>nome do imposto</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}desativarimposto/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}desativarimposto"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"f0448459-81cf-48fb-b31a-c0a8884dc89a"}],"id":"f4acae04-6d54-4172-8a23-f69eacebf2a3","_postman_id":"f4acae04-6d54-4172-8a23-f69eacebf2a3","description":""},{"name":"Impressoras adicionais artigos","item":[{"name":"Obter impressoras adicionais de um artigo","id":"cc8a6505-2d20-4ae1-be57-89e814c14881","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{goldylocks-api-url}}impressorasadicionaisartigo/?api={{api-token}}&id_artigo=artigo1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}impressorasadicionaisartigo"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"id_artigo","value":"artigo1"}],"variable":[]}},"response":[{"id":"f6766f6e-dcd6-4bc6-a968-45466fdd4722","name":"Obter impressoras adicionais de um artigo","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{goldylocks-api-url}}impressorasadicionaisartigo/?api={{api-token}}&id_artigo=artigo1","host":["{{goldylocks-api-url}}impressorasadicionaisartigo"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"},{"key":"id_artigo","value":"artigo1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Feb 2025 14:44:11 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"access-control-allow-headers","value":"*"},{"key":"vary","value":"Accept-Encoding,User-Agent"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=JUrZ0nDnHKZYlGddXki8NRF6qvQyTnLyUPvsoEQc8Pqg5j8q3VKyaI6wJ7P7%2B9igZ%2Fv%2B8oSoW0n28FmpFbJE9v2GGtxTPOB2YRH1HartatukY8N7MUoxXIgQRN9INf0vfCFkTH%2B8fA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90dbeab00aac99d2-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=38824&min_rtt=38402&rtt_var=3716&sent=70&recv=66&lost=0&retrans=0&sent_bytes=8040&recv_bytes=2470&delivery_rate=113807&cwnd=257&unsent_bytes=0&cid=9e844d7ea0d91c30&ts=58216&x=0\""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 11,\n        \"data_criacao\": \"2025-02-06 14:25:26\",\n        \"id_caixa_origem\": 0,\n        \"id_familia\": 20,\n        \"id_artigo\": \"artigo1\",\n        \"impressora\": \"d4aaee54e216cd359abc828a4b697dac88a6d6c9\",\n        \"imprime_se_agrupado\": 1,\n        \"descricao_caixa\": null,\n        \"nome_impressora\": \"Brother MFC-9340CDW Printer\"\n    }\n]"}],"_postman_id":"cc8a6505-2d20-4ae1-be57-89e814c14881"},{"name":"Obter impressoras adicionais de uma familia","id":"7ddfbd26-440e-47ea-b86e-c60ecc52b0e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{goldylocks-api-url}}impressorasadicionaisfamilia/?api={{api-token}}&id_familia=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}impressorasadicionaisfamilia"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"id_familia","value":"1"}],"variable":[]}},"response":[{"id":"ee950c63-b392-4425-9054-db5a8c69e560","name":"Obter impressoras adicionais de uma familia","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{goldylocks-api-url}}impressorasadicionaisfamilia/?api={{api-token}}&id_familia=20","host":["{{goldylocks-api-url}}impressorasadicionaisfamilia"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"},{"key":"id_familia","value":"20"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 06 Feb 2025 14:43:48 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"access-control-allow-headers","value":"*"},{"key":"vary","value":"Accept-Encoding,User-Agent"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Y7zA4ap6E%2FRu63HukCHN8eH3TGURPqOV4e9IU10fcTwcFsLEpRGckqttFJbC2FmXDw5ZoMa840KH161yXeBLtM0%2BVUBja1PPZMj9yjbNaCOB6ZJNPub0KPKpnJxWcmAQ1WDviUZwgQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90dbea23e84799d2-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=38824&min_rtt=38402&rtt_var=4953&sent=46&recv=43&lost=0&retrans=0&sent_bytes=6686&recv_bytes=2096&delivery_rate=113807&cwnd=257&unsent_bytes=0&cid=9e844d7ea0d91c30&ts=35818&x=0\""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 11,\n        \"data_criacao\": \"2025-02-06 14:25:26\",\n        \"id_caixa_origem\": 0,\n        \"id_familia\": 20,\n        \"id_artigo\": \"\",\n        \"impressora\": \"d4aaee54e216cd359abc828a4b697dac88a6d6c9\",\n        \"imprime_se_agrupado\": 1,\n        \"descricao_caixa\": null,\n        \"nome_impressora\": \"Brother MFC-9340CDW Printer\"\n    }\n]"}],"_postman_id":"7ddfbd26-440e-47ea-b86e-c60ecc52b0e4"},{"name":"Adicionar impressora adicional a um artigo ou familia","id":"df66f166-d08c-48bd-8865-081512225bfc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_caixa_origem","value":"1","type":"text","uuid":"bfad0fde-058c-45f8-9b60-0f98ed23a16f"},{"key":"impressora","value":"taloes","type":"text","uuid":"e828602b-322d-40fe-966f-ccd00caa5b20"},{"key":"id_familia","value":"1","type":"text","uuid":"6da157bf-8abf-4518-97be-87a7357991cb"},{"key":"id_artigo","value":"artigo1","type":"text","uuid":"5d53a5a8-2efe-4a77-8b46-ad3d0ff9b052"},{"key":"imprime_se_agrupado","value":"1","type":"text","uuid":"10f0e650-fb7e-4d3a-a562-7407a498b8ef"}]},"url":"{{goldylocks-api-url}}adicionarimpressoraadicional/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}adicionarimpressoraadicional"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[{"id":"3acbeb25-af37-4fb0-b6f5-f1c0d70c61c6","name":"Adicionar impressora adicional a um artigo ou familia","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_caixa_origem","value":"1","type":"text","uuid":"bfad0fde-058c-45f8-9b60-0f98ed23a16f"},{"key":"impressora","value":"taloes","type":"text","uuid":"e828602b-322d-40fe-966f-ccd00caa5b20"},{"key":"id_familia","value":"1","type":"text","uuid":"6da157bf-8abf-4518-97be-87a7357991cb"},{"key":"id_artigo","value":"artigo1","type":"text","uuid":"5d53a5a8-2efe-4a77-8b46-ad3d0ff9b052"},{"key":"imprime_se_agrupado","value":"1","type":"text","uuid":"10f0e650-fb7e-4d3a-a562-7407a498b8ef"}]},"url":{"raw":"{{goldylocks-api-url}}adicionarimpressoraadicional/?api={{api-token}}","host":["{{goldylocks-api-url}}adicionarimpressoraadicional"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Date","value":"Tue, 04 Feb 2025 14:18:14 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"access-control-allow-headers","value":"*"},{"key":"vary","value":"Accept-Encoding,User-Agent"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=Y9YedBTllzPhOdRKB6cp5z9%2BZgWaxCc3fym5eq%2Fd4pp7sdVgCRAJ8RtVix%2BaeL6nZ4mrUNVn5BcTwRcWWjddosZEfVpsZM2KAj4ztJN0au8UY5tuhn7adOrjBNotnwMhgqHBoulVGA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90cb49ef9b17f650-LHR"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=39919&min_rtt=39729&rtt_var=8675&sent=63&recv=63&lost=0&retrans=0&sent_bytes=4308&recv_bytes=2820&delivery_rate=73442&cwnd=255&unsent_bytes=0&cid=5102818c9210f4af&ts=58518&x=0\""}],"cookie":[],"responseTime":null,"body":"ok"}],"_postman_id":"df66f166-d08c-48bd-8865-081512225bfc"},{"name":"Remover impressora adicional configurada","id":"6ffd0139-75c5-4cb7-b416-a331299d58bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"1","type":"text","uuid":"bfad0fde-058c-45f8-9b60-0f98ed23a16f"}]},"url":"{{goldylocks-api-url}}removerimpressoraadicional/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removerimpressoraadicional"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[{"id":"6e80d8b5-ab42-4816-9598-9ded47486cdd","name":"Obter impressoras adicionais de um artigo","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_artigo","value":"artigo1","type":"text","uuid":"bfad0fde-058c-45f8-9b60-0f98ed23a16f"}]},"url":{"raw":"{{goldylocks-api-url}}impressorasadicionaisartigo/?api={{api-token}}","host":["{{goldylocks-api-url}}impressorasadicionaisartigo"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 04 Feb 2025 14:18:24 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"access-control-allow-headers","value":"*"},{"key":"vary","value":"Accept-Encoding,User-Agent"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=sfRcppDAV%2BZlOHviXGZ8ww82WB5ieeebCz9WYEuehu4zIK2Uoudwf3s0%2F1gg5jKtULVMojpca31ei3M439EIo78AbRiJCMA896kdtp14IOULheSI94FX77b0rNWbghQ9W2ikItXxKA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90cb4a2b5eeaf650-LHR"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=39929&min_rtt=39729&rtt_var=6528&sent=75&recv=74&lost=0&retrans=0&sent_bytes=5486&recv_bytes=3465&delivery_rate=73442&cwnd=257&unsent_bytes=0&cid=5102818c9210f4af&ts=68094&x=0\""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"data_criacao\": \"2025-02-04 14:18:14\",\n        \"id_caixa_origem\": 1,\n        \"id_familia\": 1,\n        \"id_artigo\": \"artigo1\",\n        \"impressora\": \"taloes\",\n        \"imprime_se_agrupado\": 1\n    }\n]"}],"_postman_id":"6ffd0139-75c5-4cb7-b416-a331299d58bd"},{"name":"Alterar imprime agrupado na impressora adicional","id":"04d2a7d9-514f-4c3d-a058-3b0958ed550b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"2","type":"text","uuid":"bfad0fde-058c-45f8-9b60-0f98ed23a16f"}]},"url":"{{goldylocks-api-url}}alterarimprimeseagrupado/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterarimprimeseagrupado"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[{"id":"c9f4a754-b64e-4791-816a-090ed75cee1f","name":"Obter impressoras adicionais de um artigo","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_artigo","value":"artigo1","type":"text","uuid":"bfad0fde-058c-45f8-9b60-0f98ed23a16f"}]},"url":{"raw":"{{goldylocks-api-url}}impressorasadicionaisartigo/?api={{api-token}}","host":["{{goldylocks-api-url}}impressorasadicionaisartigo"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 04 Feb 2025 14:18:24 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"access-control-allow-headers","value":"*"},{"key":"vary","value":"Accept-Encoding,User-Agent"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=sfRcppDAV%2BZlOHviXGZ8ww82WB5ieeebCz9WYEuehu4zIK2Uoudwf3s0%2F1gg5jKtULVMojpca31ei3M439EIo78AbRiJCMA896kdtp14IOULheSI94FX77b0rNWbghQ9W2ikItXxKA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90cb4a2b5eeaf650-LHR"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=39929&min_rtt=39729&rtt_var=6528&sent=75&recv=74&lost=0&retrans=0&sent_bytes=5486&recv_bytes=3465&delivery_rate=73442&cwnd=257&unsent_bytes=0&cid=5102818c9210f4af&ts=68094&x=0\""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"data_criacao\": \"2025-02-04 14:18:14\",\n        \"id_caixa_origem\": 1,\n        \"id_familia\": 1,\n        \"id_artigo\": \"artigo1\",\n        \"impressora\": \"taloes\",\n        \"imprime_se_agrupado\": 1\n    }\n]"}],"_postman_id":"04d2a7d9-514f-4c3d-a058-3b0958ed550b"}],"id":"44dabb51-addb-4159-b460-f78edc474f8a","_postman_id":"44dabb51-addb-4159-b460-f78edc474f8a","description":""},{"name":"Impressão em série","item":[{"name":"Adicionar documento para impressão em série","id":"ab4982fd-8012-4ed0-90ca-aea4a187e4f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"id_documento","value":"30665","description":"<p>ID do documento a adicionar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}adicionardocumentoimpressaoserie/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}adicionardocumentoimpressaoserie"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"ab4982fd-8012-4ed0-90ca-aea4a187e4f5"},{"name":"Gerar PDF para impressao em série","id":"fd189d66-edee-4f28-881d-5de6ee07dd43","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"documentos","value":"30665;30663","description":"<p>Ids dos documentos adicionados a obter no PDF gerado</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}criarpdfimpressaoserie/?api={{api-token}}&documentos=30665;30663","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criarpdfimpressaoserie"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>Ids dos documentos adicionados a obter no PDF gerado</p>\n","type":"text/plain"},"key":"documentos","value":"30665;30663"}],"variable":[]}},"response":[],"_postman_id":"fd189d66-edee-4f28-881d-5de6ee07dd43"},{"name":"Limpar ficheiros de impressão em série","id":"c780db09-25d2-4dd7-8ecb-53b78ed5c5cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"documentos","value":"30665;30663","description":"<p>ID do documento a adicionar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}limparficheirostemp/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}limparficheirostemp"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"c780db09-25d2-4dd7-8ecb-53b78ed5c5cd"}],"id":"d2909e80-5cb9-45d6-8ba5-522502494d59","_postman_id":"d2909e80-5cb9-45d6-8ba5-522502494d59","description":""},{"name":"Linhas documentos","item":[{"name":"Pesquisar linhas dos documentos de venda e compra","id":"2394f4af-af7c-4c53-ac53-bfefb177dcbc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}linhas/?api={{api-token}}&serie=todas&num=1&tipodoc=todos","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}linhas"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>Série dos documentos | 'todas'</p>\n","type":"text/plain"},"key":"serie","value":"todas"},{"description":{"content":"<p>Número do documento</p>\n","type":"text/plain"},"key":"num","value":"1"},{"description":{"content":"<p>ID do tipo de documento | 'todos'</p>\n","type":"text/plain"},"key":"tipodoc","value":"todos"},{"disabled":true,"description":{"content":"<p>ID do funcionário</p>\n","type":"text/plain"},"key":"funcionario","value":"1"},{"disabled":true,"description":{"content":"<p>Pesquisa por dados do cliente por texto</p>\n","type":"text/plain"},"key":"cliente","value":"Nome Cliente"},{"disabled":true,"description":{"content":"<p>Pesquisa por dados do artigo por texto</p>\n","type":"text/plain"},"key":"artigo","value":"Artigo"},{"disabled":true,"description":{"content":"<p>ID da familia de artigos</p>\n","type":"text/plain"},"key":"familia","value":"1"},{"disabled":true,"description":{"content":"<p>Data inicial dos movimentos</p>\n","type":"text/plain"},"key":"di","value":"2024-01-01"},{"disabled":true,"description":{"content":"<p>Data final dos movimentos</p>\n","type":"text/plain"},"key":"df","value":"2024-12-31"},{"disabled":true,"description":{"content":"<p>Estado do documento: O, F, N, A</p>\n","type":"text/plain"},"key":"estado","value":"F"},{"disabled":true,"description":{"content":"<p>Obter também anulados</p>\n","type":"text/plain"},"key":"anulados","value":"1"},{"disabled":true,"description":{"content":"<p>Obter movimentos com artigos desativados</p>\n","type":"text/plain"},"key":"desactivados","value":"0"},{"disabled":true,"description":{"content":"<p>ID do grupo de utilizadores</p>\n","type":"text/plain"},"key":"id_grupo","value":"1"},{"disabled":true,"description":{"content":"<p>Obter movimentos convertidos de outros documentos</p>\n","type":"text/plain"},"key":"convertidos","value":"1"},{"disabled":true,"description":{"content":"<p>Pesquisa por referencia externa do documento</p>\n","type":"text/plain"},"key":"referenciaexterna","value":"REF 12345"},{"disabled":true,"description":{"content":"<p>Agrupar movimentos por documento</p>\n","type":"text/plain"},"key":"agrupar","value":"0"},{"disabled":true,"description":{"content":"<p>Ordem dos resultados: ASC | DESC</p>\n","type":"text/plain"},"key":"order","value":"ASC"},{"disabled":true,"description":{"content":"<p>IDs dos documentos a filtrar: 100,101,102</p>\n","type":"text/plain"},"key":"documentos","value":"1038,1040,1043"}],"variable":[]}},"response":[{"id":"03594004-4f64-42a0-b19f-003c3413b9ca","name":"Linhas","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}linhas/?api={{api-token}}&serie=todas&num=1&tipodoc=todos","host":["{{goldylocks-api-url}}linhas"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"},{"key":"serie","value":"todas","description":"Série dos documentos | 'todas'"},{"key":"num","value":"1","description":"Número do documento"},{"key":"tipodoc","value":"todos","description":"ID do tipo de documento | 'todos'"},{"key":"funcionario","value":"1","description":"ID do funcionário","type":"text","disabled":true},{"key":"cliente","value":"Nome Cliente","description":"Pesquisa por dados do cliente por texto","type":"text","disabled":true},{"key":"artigo","value":"Artigo","description":"Pesquisa por dados do artigo por texto","type":"text","disabled":true},{"key":"familia","value":"1","description":"ID da familia de artigos","disabled":true},{"key":"di","value":"2024-01-01","description":"Data inicial dos movimentos","disabled":true},{"key":"df","value":"2024-12-31","description":"Data final dos movimentos","disabled":true},{"key":"estado","value":"F","description":"Estado do documento: O, F, N, A","disabled":true},{"key":"anulados","value":"1","description":"Obter também anulados","disabled":true},{"key":"desactivados","value":"0","description":"Obter movimentos com artigos desativados","disabled":true},{"key":"id_grupo","value":"1","description":"ID do grupo de utilizadores","type":"text","disabled":true},{"key":"convertidos","value":"1","description":"Obter movimentos convertidos de outros documentos","disabled":true},{"key":"referenciaexterna","value":"REF 12345","description":"Pesquisa por referencia externa do documento","type":"text","disabled":true},{"key":"agrupar","value":"0","description":"Agrupar movimentos por documento","type":"text","disabled":true},{"key":"order","value":"ASC","description":"Ordem dos resultados: ASC | DESC","disabled":true},{"key":"documentos","value":"1038,1040,1043","description":"IDs dos documentos a filtrar: 100,101,102","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Fri, 22 Aug 2025 07:46:43 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Vary","value":"Accept-Encoding,User-Agent"},{"key":"Cf-Cache-Status","value":"DYNAMIC"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=vMK%2FDLHFRimetLhodQYQ7L%2BwmYFlyQkZB0%2Fr8uY9SC43oBM16rJMCPtIk3eob%2Bu4RgIhrkWGx3yOoDGUbqRqy9utQhFI0X9Q0aJzkCbPx3eQZaJN1Rx7an5NP13t5bOU\"}]}"},{"key":"Content-Encoding","value":"br"},{"key":"CF-RAY","value":"9730c20e3d7b0345-MAD"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id_artigo\": \"799727783582\",\n        \"documento\": \"Produção  GLA/1\",\n        \"tipo_documento\": \"Produção \",\n        \"vreferencia\": \"\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(34) CONJUGAPAGINA - LDA\",\n        \"id_movimento\": \"8675\",\n        \"descricao\": \"tshirt producao\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"250.00000\",\n        \"preco\": \"0.00000\",\n        \"data\": \"2025-06-13\",\n        \"hora\": \"08:58:25\",\n        \"preco_imposto\": \"0.00\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"0.00\",\n        \"id_tipo_documento\": \"137\",\n        \"id_encomenda\": \"1038\",\n        \"estado\": \"N\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"0.000000000\",\n        \"id_movimento_artigo_associado\": \"0\",\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"562861484947\",\n        \"documento\": \"Entrada de Stock GLA/1\",\n        \"tipo_documento\": \"Entrada de Stock\",\n        \"vreferencia\": \"B09MQH5WTV\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(999999990) \",\n        \"id_movimento\": \"7602\",\n        \"descricao\": \"AA leitor de cod barras\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"2.00000\",\n        \"preco\": \"0.00000\",\n        \"data\": \"2025-02-11\",\n        \"hora\": \"12:32:58\",\n        \"preco_imposto\": \"0.00\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"0.00\",\n        \"id_tipo_documento\": \"102\",\n        \"id_encomenda\": \"538\",\n        \"estado\": \"A\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"0.000000000\",\n        \"id_movimento_artigo_associado\": \"0\",\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"562861484947\",\n        \"documento\": \"Entrada de Stock GLA/1\",\n        \"tipo_documento\": \"Entrada de Stock\",\n        \"vreferencia\": \"B09MQH5WTV\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(999999990) \",\n        \"id_movimento\": \"7584\",\n        \"descricao\": \"AA leitor de cod barras\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"1.00000\",\n        \"preco\": \"0.00000\",\n        \"data\": \"2025-02-11\",\n        \"hora\": \"16:49:50\",\n        \"preco_imposto\": \"0.00\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"0.00\",\n        \"id_tipo_documento\": \"102\",\n        \"id_encomenda\": \"538\",\n        \"estado\": \"A\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"0.000000000\",\n        \"id_movimento_artigo_associado\": \"0\",\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"562861484947\",\n        \"documento\": \"Entrada de Stock GLA/1\",\n        \"tipo_documento\": \"Entrada de Stock\",\n        \"vreferencia\": \"B09MQH5WTV\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(999999990) \",\n        \"id_movimento\": \"7583\",\n        \"descricao\": \"AA leitor de cod barras\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"1.00000\",\n        \"preco\": \"0.00000\",\n        \"data\": \"2025-02-11\",\n        \"hora\": \"13:32:03\",\n        \"preco_imposto\": \"0.00\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"0.00\",\n        \"id_tipo_documento\": \"102\",\n        \"id_encomenda\": \"538\",\n        \"estado\": \"A\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"0.000000000\",\n        \"id_movimento_artigo_associado\": \"0\",\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"5601027975446\",\n        \"documento\": \"Entrada de Stock GLA/1\",\n        \"tipo_documento\": \"Entrada de Stock\",\n        \"vreferencia\": \"B09MQH5WTV\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(999999990) \",\n        \"id_movimento\": \"7460\",\n        \"descricao\": \"[RESET] - Donuts Mini \",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"2.00000\",\n        \"preco\": \"0.00000\",\n        \"data\": \"2025-02-11\",\n        \"hora\": \"13:59:09\",\n        \"preco_imposto\": \"0.00\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": null,\n        \"id_tipo_documento\": \"102\",\n        \"id_encomenda\": \"538\",\n        \"estado\": \"A\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": null,\n        \"id_movimento_artigo_associado\": null,\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"0.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"5601164162204\",\n        \"documento\": \"Entrada de Stock GLA/1\",\n        \"tipo_documento\": \"Entrada de Stock\",\n        \"vreferencia\": \"B09MQH5WTV\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(999999990) \",\n        \"id_movimento\": \"7461\",\n        \"descricao\": \"[RESET] - Carlasberg \",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"1.00000\",\n        \"preco\": \"0.00000\",\n        \"data\": \"2025-02-11\",\n        \"hora\": \"13:59:09\",\n        \"preco_imposto\": \"0.00\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": null,\n        \"id_tipo_documento\": \"102\",\n        \"id_encomenda\": \"538\",\n        \"estado\": \"A\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": null,\n        \"id_movimento_artigo_associado\": null,\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"0.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"artigo\",\n        \"documento\": \"Entrada de Stock GLA/1\",\n        \"tipo_documento\": \"Entrada de Stock\",\n        \"vreferencia\": \"B09MQH5WTV\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(999999990) \",\n        \"id_movimento\": \"7462\",\n        \"descricao\": \"[RESET] - Artigo de Teste\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"80.00000\",\n        \"preco\": \"0.00000\",\n        \"data\": \"2025-02-11\",\n        \"hora\": \"13:59:09\",\n        \"preco_imposto\": \"0.00\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": null,\n        \"id_tipo_documento\": \"102\",\n        \"id_encomenda\": \"538\",\n        \"estado\": \"A\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": null,\n        \"id_movimento_artigo_associado\": null,\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"0.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"L221210D\",\n        \"documento\": \"Entrada de Stock GLA/1\",\n        \"tipo_documento\": \"Entrada de Stock\",\n        \"vreferencia\": \"B09MQH5WTV\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(999999990) \",\n        \"id_movimento\": \"7463\",\n        \"descricao\": \"[RESET] - Alim Gato SPAR Terrina Peru Frango 100gr\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"1.00000\",\n        \"preco\": \"0.00000\",\n        \"data\": \"2025-02-11\",\n        \"hora\": \"13:59:09\",\n        \"preco_imposto\": \"0.00\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": null,\n        \"id_tipo_documento\": \"102\",\n        \"id_encomenda\": \"538\",\n        \"estado\": \"A\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": null,\n        \"id_movimento_artigo_associado\": null,\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"0.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"L221920\",\n        \"documento\": \"Entrada de Stock GLA/1\",\n        \"tipo_documento\": \"Entrada de Stock\",\n        \"vreferencia\": \"B09MQH5WTV\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(999999990) \",\n        \"id_movimento\": \"7464\",\n        \"descricao\": \"[RESET] - Areia Gatos SPAR Perolas Absorventes 4lt\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"2.00000\",\n        \"preco\": \"0.00000\",\n        \"data\": \"2025-02-11\",\n        \"hora\": \"13:59:09\",\n        \"preco_imposto\": \"0.00\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": null,\n        \"id_tipo_documento\": \"102\",\n        \"id_encomenda\": \"538\",\n        \"estado\": \"A\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": null,\n        \"id_movimento_artigo_associado\": null,\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"0.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"P111244\",\n        \"documento\": \"Entrada de Stock GLA/1\",\n        \"tipo_documento\": \"Entrada de Stock\",\n        \"vreferencia\": \"B09MQH5WTV\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(999999990) \",\n        \"id_movimento\": \"7465\",\n        \"descricao\": \"[RESET] - ÁGUA FASTIO 1,5L\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"2.00000\",\n        \"preco\": \"0.00000\",\n        \"data\": \"2025-02-11\",\n        \"hora\": \"13:59:09\",\n        \"preco_imposto\": \"0.00\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": null,\n        \"id_tipo_documento\": \"102\",\n        \"id_encomenda\": \"538\",\n        \"estado\": \"A\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": null,\n        \"id_movimento_artigo_associado\": null,\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"0.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"PAYABLE_ITEM\",\n        \"documento\": \"Entrada de Stock GLA/1\",\n        \"tipo_documento\": \"Entrada de Stock\",\n        \"vreferencia\": \"B09MQH5WTV\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(999999990) \",\n        \"id_movimento\": \"7466\",\n        \"descricao\": \"[RESET] - PAYABLE_ITEM 2024-12-30 18:14:50\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"63.00000\",\n        \"preco\": \"0.00000\",\n        \"data\": \"2025-02-11\",\n        \"hora\": \"13:59:09\",\n        \"preco_imposto\": \"0.00\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": null,\n        \"id_tipo_documento\": \"102\",\n        \"id_encomenda\": \"538\",\n        \"estado\": \"A\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": null,\n        \"id_movimento_artigo_associado\": null,\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"0.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"pospos\",\n        \"documento\": \"Entrada de Stock GLA/1\",\n        \"tipo_documento\": \"Entrada de Stock\",\n        \"vreferencia\": \"B09MQH5WTV\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(999999990) \",\n        \"id_movimento\": \"7467\",\n        \"descricao\": \"[RESET] - Artigo POS\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"1.00000\",\n        \"preco\": \"0.00000\",\n        \"data\": \"2025-02-11\",\n        \"hora\": \"13:59:09\",\n        \"preco_imposto\": \"0.00\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": null,\n        \"id_tipo_documento\": \"102\",\n        \"id_encomenda\": \"538\",\n        \"estado\": \"A\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": null,\n        \"id_movimento_artigo_associado\": null,\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"0.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"TARA SB\",\n        \"documento\": \"Entrada de Stock GLA/1\",\n        \"tipo_documento\": \"Entrada de Stock\",\n        \"vreferencia\": \"B09MQH5WTV\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(999999990) \",\n        \"id_movimento\": \"7468\",\n        \"descricao\": \"[RESET] - VASILHAME\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"1.00000\",\n        \"preco\": \"0.00000\",\n        \"data\": \"2025-02-11\",\n        \"hora\": \"13:59:09\",\n        \"preco_imposto\": \"0.00\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": null,\n        \"id_tipo_documento\": \"102\",\n        \"id_encomenda\": \"538\",\n        \"estado\": \"A\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": null,\n        \"id_movimento_artigo_associado\": null,\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"0.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"TEST-0\",\n        \"documento\": \"Entrada de Stock GLA/1\",\n        \"tipo_documento\": \"Entrada de Stock\",\n        \"vreferencia\": \"B09MQH5WTV\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(999999990) \",\n        \"id_movimento\": \"7469\",\n        \"descricao\": \"[RESET] - TESTE PHP 0 2024-12-30 18:14:36\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"717.00000\",\n        \"preco\": \"0.00000\",\n        \"data\": \"2025-02-11\",\n        \"hora\": \"13:59:09\",\n        \"preco_imposto\": \"0.00\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": null,\n        \"id_tipo_documento\": \"102\",\n        \"id_encomenda\": \"538\",\n        \"estado\": \"A\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": null,\n        \"id_movimento_artigo_associado\": null,\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"0.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"TEST-1\",\n        \"documento\": \"Entrada de Stock GLA/1\",\n        \"tipo_documento\": \"Entrada de Stock\",\n        \"vreferencia\": \"B09MQH5WTV\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(999999990) \",\n        \"id_movimento\": \"7470\",\n        \"descricao\": \"[RESET] - TESTE PHP 1 2024-12-30 18:14:36\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"720.00000\",\n        \"preco\": \"0.00000\",\n        \"data\": \"2025-02-11\",\n        \"hora\": \"13:59:09\",\n        \"preco_imposto\": \"0.00\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": null,\n        \"id_tipo_documento\": \"102\",\n        \"id_encomenda\": \"538\",\n        \"estado\": \"A\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": null,\n        \"id_movimento_artigo_associado\": null,\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"0.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"TEST-2\",\n        \"documento\": \"Entrada de Stock GLA/1\",\n        \"tipo_documento\": \"Entrada de Stock\",\n        \"vreferencia\": \"B09MQH5WTV\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(999999990) \",\n        \"id_movimento\": \"7471\",\n        \"descricao\": \"[RESET] - TESTE PHP 2 2024-12-30 18:14:36\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"717.00000\",\n        \"preco\": \"0.00000\",\n        \"data\": \"2025-02-11\",\n        \"hora\": \"13:59:09\",\n        \"preco_imposto\": \"0.00\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": null,\n        \"id_tipo_documento\": \"102\",\n        \"id_encomenda\": \"538\",\n        \"estado\": \"A\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": null,\n        \"id_movimento_artigo_associado\": null,\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"0.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"artigo\",\n        \"documento\": \"Folha de Obra GLA/1\",\n        \"tipo_documento\": \"Folha de Obra\",\n        \"vreferencia\": \"\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(34) CONJUGAPAGINA - LDA\",\n        \"id_movimento\": \"5668\",\n        \"descricao\": \"Artigo de Teste\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"1.00000\",\n        \"preco\": \"10.00000\",\n        \"data\": \"2025-01-23\",\n        \"hora\": \"11:42:03\",\n        \"preco_imposto\": \"12.30\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"0.00\",\n        \"id_tipo_documento\": \"136\",\n        \"id_encomenda\": \"372\",\n        \"estado\": \"N\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"10.000000000\",\n        \"id_movimento_artigo_associado\": \"0\",\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"artigo\",\n        \"documento\": \"Credito Fornecedor GLA/1\",\n        \"tipo_documento\": \"Credito Fornecedor\",\n        \"vreferencia\": \"FAT CRED/001\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(1) CONJUGAPAGINA - LDA\",\n        \"id_movimento\": \"5661\",\n        \"descricao\": \"Artigo de Teste\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"1.00000\",\n        \"preco\": \"5.00000\",\n        \"data\": \"2025-01-22\",\n        \"hora\": \"18:21:09\",\n        \"preco_imposto\": \"6.15\",\n        \"referencia_origem_linha\": \"5644\",\n        \"desconto\": \"20.00\",\n        \"id_tipo_documento\": \"112\",\n        \"id_encomenda\": \"365\",\n        \"estado\": \"N\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"4.000000000\",\n        \"id_movimento_artigo_associado\": null,\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"artigo\",\n        \"documento\": \"Fatura-Recibo GLA/1\",\n        \"tipo_documento\": \"Fatura-Recibo\",\n        \"vreferencia\": \"REFERENCIA -- EXTERNA\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(34) CONJUGAPAGINA - LDA\",\n        \"id_movimento\": \"5263\",\n        \"descricao\": \"Artigo de Teste\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"1.00000\",\n        \"preco\": \"0.81301\",\n        \"data\": \"2025-01-10\",\n        \"hora\": \"14:13:42\",\n        \"preco_imposto\": \"1.00\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"0.00\",\n        \"id_tipo_documento\": \"5\",\n        \"id_encomenda\": \"241\",\n        \"estado\": \"F\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"0.813010000\",\n        \"id_movimento_artigo_associado\": null,\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"artigo\",\n        \"documento\": \"Fatura-Recibo GLA/1\",\n        \"tipo_documento\": \"Fatura-Recibo\",\n        \"vreferencia\": \"REFERENCIA -- EXTERNA\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(34) CONJUGAPAGINA - LDA\",\n        \"id_movimento\": \"5264\",\n        \"descricao\": \"Artigo de Teste\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"1.00000\",\n        \"preco\": \"0.81301\",\n        \"data\": \"2025-01-10\",\n        \"hora\": \"14:13:42\",\n        \"preco_imposto\": \"1.00\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"0.00\",\n        \"id_tipo_documento\": \"5\",\n        \"id_encomenda\": \"241\",\n        \"estado\": \"F\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"0.813010000\",\n        \"id_movimento_artigo_associado\": null,\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"TEST-0\",\n        \"documento\": \"Fatura-Recibo GLA/1\",\n        \"tipo_documento\": \"Fatura-Recibo\",\n        \"vreferencia\": \"REFERENCIA -- EXTERNA\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(34) CONJUGAPAGINA - LDA\",\n        \"id_movimento\": \"5265\",\n        \"descricao\": \"TESTE PHP 0 2024-12-30 18:14:38\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"3.00000\",\n        \"preco\": \"3.33000\",\n        \"data\": \"2025-01-10\",\n        \"hora\": \"14:13:42\",\n        \"preco_imposto\": \"4.10\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"25.00\",\n        \"id_tipo_documento\": \"5\",\n        \"id_encomenda\": \"241\",\n        \"estado\": \"F\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"7.492500000\",\n        \"id_movimento_artigo_associado\": null,\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"TEST-1\",\n        \"documento\": \"Fatura-Recibo GLA/1\",\n        \"tipo_documento\": \"Fatura-Recibo\",\n        \"vreferencia\": \"REFERENCIA -- EXTERNA\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(34) CONJUGAPAGINA - LDA\",\n        \"id_movimento\": \"5266\",\n        \"descricao\": \"TESTE PHP 1 2024-12-30 18:14:39\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"3.00000\",\n        \"preco\": \"3.33000\",\n        \"data\": \"2025-01-10\",\n        \"hora\": \"14:13:42\",\n        \"preco_imposto\": \"4.10\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"25.00\",\n        \"id_tipo_documento\": \"5\",\n        \"id_encomenda\": \"241\",\n        \"estado\": \"F\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"7.492500000\",\n        \"id_movimento_artigo_associado\": null,\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"TEST-2\",\n        \"documento\": \"Fatura-Recibo GLA/1\",\n        \"tipo_documento\": \"Fatura-Recibo\",\n        \"vreferencia\": \"REFERENCIA -- EXTERNA\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(34) CONJUGAPAGINA - LDA\",\n        \"id_movimento\": \"5267\",\n        \"descricao\": \"TESTE PHP 2 2024-12-30 18:14:39\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"3.00000\",\n        \"preco\": \"3.33000\",\n        \"data\": \"2025-01-10\",\n        \"hora\": \"14:13:42\",\n        \"preco_imposto\": \"4.10\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"25.00\",\n        \"id_tipo_documento\": \"5\",\n        \"id_encomenda\": \"241\",\n        \"estado\": \"F\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"7.492500000\",\n        \"id_movimento_artigo_associado\": null,\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"TEST-0\",\n        \"documento\": \"Fatura-Recibo GLA/1\",\n        \"tipo_documento\": \"Fatura-Recibo\",\n        \"vreferencia\": \"REFERENCIA -- EXTERNA\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(34) CONJUGAPAGINA - LDA\",\n        \"id_movimento\": \"5268\",\n        \"descricao\": \"TESTE PHP 0 2024-12-30 18:14:39\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"3.00000\",\n        \"preco\": \"3.33000\",\n        \"data\": \"2025-01-10\",\n        \"hora\": \"14:13:42\",\n        \"preco_imposto\": \"4.10\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"25.00\",\n        \"id_tipo_documento\": \"5\",\n        \"id_encomenda\": \"241\",\n        \"estado\": \"F\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"7.492500000\",\n        \"id_movimento_artigo_associado\": null,\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"TEST-1\",\n        \"documento\": \"Fatura-Recibo GLA/1\",\n        \"tipo_documento\": \"Fatura-Recibo\",\n        \"vreferencia\": \"REFERENCIA -- EXTERNA\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(34) CONJUGAPAGINA - LDA\",\n        \"id_movimento\": \"5269\",\n        \"descricao\": \"TESTE PHP 1 2024-12-30 18:14:39\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"3.00000\",\n        \"preco\": \"3.33000\",\n        \"data\": \"2025-01-10\",\n        \"hora\": \"14:13:42\",\n        \"preco_imposto\": \"4.10\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"25.00\",\n        \"id_tipo_documento\": \"5\",\n        \"id_encomenda\": \"241\",\n        \"estado\": \"F\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"7.492500000\",\n        \"id_movimento_artigo_associado\": null,\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"TEST-2\",\n        \"documento\": \"Fatura-Recibo GLA/1\",\n        \"tipo_documento\": \"Fatura-Recibo\",\n        \"vreferencia\": \"REFERENCIA -- EXTERNA\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(34) CONJUGAPAGINA - LDA\",\n        \"id_movimento\": \"5270\",\n        \"descricao\": \"TESTE PHP 2 2024-12-30 18:14:39\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"3.00000\",\n        \"preco\": \"3.33000\",\n        \"data\": \"2025-01-10\",\n        \"hora\": \"14:13:42\",\n        \"preco_imposto\": \"4.10\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"25.00\",\n        \"id_tipo_documento\": \"5\",\n        \"id_encomenda\": \"241\",\n        \"estado\": \"F\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"7.492500000\",\n        \"id_movimento_artigo_associado\": null,\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"artigo\",\n        \"documento\": \"Saldo Inicial GLA/1\",\n        \"tipo_documento\": \"Saldo Inicial\",\n        \"vreferencia\": \"\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(51) NORTELED LIMITADA\",\n        \"id_movimento\": \"5214\",\n        \"descricao\": \"Artigo de Teste\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"1.00000\",\n        \"preco\": \"10.00000\",\n        \"data\": \"2025-01-07\",\n        \"hora\": \"13:49:29\",\n        \"preco_imposto\": \"12.30\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"0.00\",\n        \"id_tipo_documento\": \"108\",\n        \"id_encomenda\": \"222\",\n        \"estado\": \"N\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"10.000000000\",\n        \"id_movimento_artigo_associado\": \"0\",\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"artigo\",\n        \"documento\": \"Vistoria GLA/1\",\n        \"tipo_documento\": \"Vistoria\",\n        \"vreferencia\": \"\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(34) CONJUGAPAGINA - LDA\",\n        \"id_movimento\": \"5212\",\n        \"descricao\": \"Artigo de Teste\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"1.00000\",\n        \"preco\": \"0.00000\",\n        \"data\": \"2025-01-06\",\n        \"hora\": \"13:24:17\",\n        \"preco_imposto\": \"0.00\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"0.00\",\n        \"id_tipo_documento\": \"132\",\n        \"id_encomenda\": \"220\",\n        \"estado\": \"N\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"0.000000000\",\n        \"id_movimento_artigo_associado\": \"0\",\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"pospos\",\n        \"documento\": \"Guia de Transporte GLA/1\",\n        \"tipo_documento\": \"Guia de Transporte\",\n        \"vreferencia\": \"\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(51) NORTELED LIMITADA\",\n        \"id_movimento\": \"5211\",\n        \"descricao\": \"Artigo POS\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"1.00000\",\n        \"preco\": \"2.44000\",\n        \"data\": \"2025-01-06\",\n        \"hora\": \"13:13:25\",\n        \"preco_imposto\": \"3.00\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"0.00\",\n        \"id_tipo_documento\": \"4\",\n        \"id_encomenda\": \"219\",\n        \"estado\": \"N\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"2.440000000\",\n        \"id_movimento_artigo_associado\": \"5209\",\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"artigo\",\n        \"documento\": \"Guia de Transporte GLA/1\",\n        \"tipo_documento\": \"Guia de Transporte\",\n        \"vreferencia\": \"\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(51) NORTELED LIMITADA\",\n        \"id_movimento\": \"5209\",\n        \"descricao\": \"Artigo de Teste\",\n        \"observacao_linha\": \"observação de teste linha\",\n        \"quantidade\": \"2.00000\",\n        \"preco\": \"10.00000\",\n        \"data\": \"2025-01-06\",\n        \"hora\": \"13:13:07\",\n        \"preco_imposto\": \"12.30\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"0.00\",\n        \"id_tipo_documento\": \"4\",\n        \"id_encomenda\": \"219\",\n        \"estado\": \"N\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"20.000000000\",\n        \"id_movimento_artigo_associado\": null,\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"artigo\",\n        \"documento\": \"Orçamento GLA/1\",\n        \"tipo_documento\": \"Orçamento\",\n        \"vreferencia\": \"\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(34) CONJUGAPAGINA - LDA\",\n        \"id_movimento\": \"5182\",\n        \"descricao\": \"Artigo de Teste\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"1.00000\",\n        \"preco\": \"0.81301\",\n        \"data\": \"2025-01-04\",\n        \"hora\": \"19:36:13\",\n        \"preco_imposto\": \"1.00\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"0.00\",\n        \"id_tipo_documento\": \"105\",\n        \"id_encomenda\": \"211\",\n        \"estado\": \"F\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"0.813010000\",\n        \"id_movimento_artigo_associado\": null,\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"artigo\",\n        \"documento\": \"Orçamento GLA/1\",\n        \"tipo_documento\": \"Orçamento\",\n        \"vreferencia\": \"\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(34) CONJUGAPAGINA - LDA\",\n        \"id_movimento\": \"5183\",\n        \"descricao\": \"Artigo de Teste\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"1.00000\",\n        \"preco\": \"0.81301\",\n        \"data\": \"2025-01-04\",\n        \"hora\": \"19:36:13\",\n        \"preco_imposto\": \"1.00\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"0.00\",\n        \"id_tipo_documento\": \"105\",\n        \"id_encomenda\": \"211\",\n        \"estado\": \"F\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"0.813010000\",\n        \"id_movimento_artigo_associado\": null,\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"TEST-0\",\n        \"documento\": \"Orçamento GLA/1\",\n        \"tipo_documento\": \"Orçamento\",\n        \"vreferencia\": \"\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(34) CONJUGAPAGINA - LDA\",\n        \"id_movimento\": \"5184\",\n        \"descricao\": \"TESTE PHP 0 2024-12-30 18:14:38\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"3.00000\",\n        \"preco\": \"3.33000\",\n        \"data\": \"2025-01-04\",\n        \"hora\": \"19:36:13\",\n        \"preco_imposto\": \"4.10\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"25.00\",\n        \"id_tipo_documento\": \"105\",\n        \"id_encomenda\": \"211\",\n        \"estado\": \"F\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"7.492500000\",\n        \"id_movimento_artigo_associado\": null,\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"TEST-1\",\n        \"documento\": \"Orçamento GLA/1\",\n        \"tipo_documento\": \"Orçamento\",\n        \"vreferencia\": \"\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(34) CONJUGAPAGINA - LDA\",\n        \"id_movimento\": \"5185\",\n        \"descricao\": \"TESTE PHP 1 2024-12-30 18:14:39\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"3.00000\",\n        \"preco\": \"3.33000\",\n        \"data\": \"2025-01-04\",\n        \"hora\": \"19:36:13\",\n        \"preco_imposto\": \"4.10\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"25.00\",\n        \"id_tipo_documento\": \"105\",\n        \"id_encomenda\": \"211\",\n        \"estado\": \"F\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"7.492500000\",\n        \"id_movimento_artigo_associado\": null,\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"TEST-2\",\n        \"documento\": \"Orçamento GLA/1\",\n        \"tipo_documento\": \"Orçamento\",\n        \"vreferencia\": \"\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(34) CONJUGAPAGINA - LDA\",\n        \"id_movimento\": \"5186\",\n        \"descricao\": \"TESTE PHP 2 2024-12-30 18:14:39\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"3.00000\",\n        \"preco\": \"3.33000\",\n        \"data\": \"2025-01-04\",\n        \"hora\": \"19:36:13\",\n        \"preco_imposto\": \"4.10\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"25.00\",\n        \"id_tipo_documento\": \"105\",\n        \"id_encomenda\": \"211\",\n        \"estado\": \"F\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"7.492500000\",\n        \"id_movimento_artigo_associado\": null,\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"TEST-0\",\n        \"documento\": \"Orçamento GLA/1\",\n        \"tipo_documento\": \"Orçamento\",\n        \"vreferencia\": \"\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(34) CONJUGAPAGINA - LDA\",\n        \"id_movimento\": \"5187\",\n        \"descricao\": \"TESTE PHP 0 2024-12-30 18:14:39\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"3.00000\",\n        \"preco\": \"3.33000\",\n        \"data\": \"2025-01-04\",\n        \"hora\": \"19:36:13\",\n        \"preco_imposto\": \"4.10\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"25.00\",\n        \"id_tipo_documento\": \"105\",\n        \"id_encomenda\": \"211\",\n        \"estado\": \"F\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"7.492500000\",\n        \"id_movimento_artigo_associado\": null,\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"TEST-1\",\n        \"documento\": \"Orçamento GLA/1\",\n        \"tipo_documento\": \"Orçamento\",\n        \"vreferencia\": \"\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(34) CONJUGAPAGINA - LDA\",\n        \"id_movimento\": \"5188\",\n        \"descricao\": \"TESTE PHP 1 2024-12-30 18:14:39\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"3.00000\",\n        \"preco\": \"3.33000\",\n        \"data\": \"2025-01-04\",\n        \"hora\": \"19:36:13\",\n        \"preco_imposto\": \"4.10\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"25.00\",\n        \"id_tipo_documento\": \"105\",\n        \"id_encomenda\": \"211\",\n        \"estado\": \"F\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"7.492500000\",\n        \"id_movimento_artigo_associado\": null,\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"TEST-2\",\n        \"documento\": \"Orçamento GLA/1\",\n        \"tipo_documento\": \"Orçamento\",\n        \"vreferencia\": \"\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(34) CONJUGAPAGINA - LDA\",\n        \"id_movimento\": \"5189\",\n        \"descricao\": \"TESTE PHP 2 2024-12-30 18:14:39\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"3.00000\",\n        \"preco\": \"3.33000\",\n        \"data\": \"2025-01-04\",\n        \"hora\": \"19:36:13\",\n        \"preco_imposto\": \"4.10\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"25.00\",\n        \"id_tipo_documento\": \"105\",\n        \"id_encomenda\": \"211\",\n        \"estado\": \"F\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"7.492500000\",\n        \"id_movimento_artigo_associado\": null,\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"artigo\",\n        \"documento\": \"Orçamento GLA/1\",\n        \"tipo_documento\": \"Orçamento\",\n        \"vreferencia\": \"\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(34) CONJUGAPAGINA - LDA\",\n        \"id_movimento\": \"5190\",\n        \"descricao\": \"Artigo de Teste\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"1.00000\",\n        \"preco\": \"0.81301\",\n        \"data\": \"2025-01-04\",\n        \"hora\": \"19:36:13\",\n        \"preco_imposto\": \"1.00\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"0.00\",\n        \"id_tipo_documento\": \"105\",\n        \"id_encomenda\": \"211\",\n        \"estado\": \"F\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"0.813010000\",\n        \"id_movimento_artigo_associado\": null,\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"TEST-1\",\n        \"documento\": \"Fatura GLACAE/1\",\n        \"tipo_documento\": \"Fatura\",\n        \"vreferencia\": \"\",\n        \"serie\": \"GLACAE\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(999999990) \",\n        \"id_movimento\": \"5140\",\n        \"descricao\": \"TESTE PHP 1 2025-01-4 18:44:18\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"3.00000\",\n        \"preco\": \"3.33000\",\n        \"data\": \"2025-01-04\",\n        \"hora\": \"18:44:19\",\n        \"preco_imposto\": \"4.10\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"25.00\",\n        \"id_tipo_documento\": \"2\",\n        \"id_encomenda\": \"196\",\n        \"estado\": \"A\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"7.492500000\",\n        \"id_movimento_artigo_associado\": \"0\",\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"TEST-2\",\n        \"documento\": \"Fatura GLACAE/1\",\n        \"tipo_documento\": \"Fatura\",\n        \"vreferencia\": \"\",\n        \"serie\": \"GLACAE\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(999999990) \",\n        \"id_movimento\": \"5141\",\n        \"descricao\": \"TESTE PHP 2 2025-01-4 18:44:19\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"3.00000\",\n        \"preco\": \"3.33000\",\n        \"data\": \"2025-01-04\",\n        \"hora\": \"18:44:19\",\n        \"preco_imposto\": \"4.10\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"25.00\",\n        \"id_tipo_documento\": \"2\",\n        \"id_encomenda\": \"196\",\n        \"estado\": \"A\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"7.492500000\",\n        \"id_movimento_artigo_associado\": \"0\",\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"TEST-0\",\n        \"documento\": \"Fatura GLACAE/1\",\n        \"tipo_documento\": \"Fatura\",\n        \"vreferencia\": \"\",\n        \"serie\": \"GLACAE\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(999999990) \",\n        \"id_movimento\": \"5139\",\n        \"descricao\": \"TESTE PHP 0 2025-01-4 18:44:18\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"3.00000\",\n        \"preco\": \"3.33000\",\n        \"data\": \"2025-01-04\",\n        \"hora\": \"18:44:18\",\n        \"preco_imposto\": \"4.10\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"25.00\",\n        \"id_tipo_documento\": \"2\",\n        \"id_encomenda\": \"196\",\n        \"estado\": \"A\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"7.492500000\",\n        \"id_movimento_artigo_associado\": \"0\",\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"pospos\",\n        \"documento\": \"Fatura Simplificada GLACAE/1\",\n        \"tipo_documento\": \"Fatura Simplificada\",\n        \"vreferencia\": \"\",\n        \"serie\": \"GLACAE\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(34) CONJUGAPAGINA - LDA\",\n        \"id_movimento\": \"5138\",\n        \"descricao\": \"Artigo POS\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"1.00000\",\n        \"preco\": \"2.43902\",\n        \"data\": \"2025-01-04\",\n        \"hora\": \"18:40:24\",\n        \"preco_imposto\": \"3.00\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"0.00\",\n        \"id_tipo_documento\": \"3\",\n        \"id_encomenda\": \"195\",\n        \"estado\": \"F\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"2.439020000\",\n        \"id_movimento_artigo_associado\": \"0\",\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"artigo\",\n        \"documento\": \"Encomenda Webstore GLA/1\",\n        \"tipo_documento\": \"Encomenda Webstore\",\n        \"vreferencia\": \"\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(34) CONJUGAPAGINA - LDA\",\n        \"id_movimento\": \"343\",\n        \"descricao\": \"Artigo de Teste\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"1.00000\",\n        \"preco\": \"10.00000\",\n        \"data\": \"2025-01-04\",\n        \"hora\": \"17:46:36\",\n        \"preco_imposto\": \"12.30\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"0.00\",\n        \"id_tipo_documento\": \"123\",\n        \"id_encomenda\": \"143\",\n        \"estado\": \"N\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"10.000000000\",\n        \"id_movimento_artigo_associado\": \"0\",\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"artigo\",\n        \"documento\": \"Nota de Credito GLA/1\",\n        \"tipo_documento\": \"Nota de Credito\",\n        \"vreferencia\": \"\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(34) CONJUGAPAGINA - LDA\",\n        \"id_movimento\": \"316\",\n        \"descricao\": \"Artigo de Teste\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"1.00000\",\n        \"preco\": \"0.81301\",\n        \"data\": \"2025-01-04\",\n        \"hora\": \"16:04:09\",\n        \"preco_imposto\": \"1.00\",\n        \"referencia_origem_linha\": \"51\",\n        \"desconto\": \"0.00\",\n        \"id_tipo_documento\": \"106\",\n        \"id_encomenda\": \"136\",\n        \"estado\": \"F\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"0.813010000\",\n        \"id_movimento_artigo_associado\": null,\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"artigo\",\n        \"documento\": \"Fatura Fornecedor GLA/1\",\n        \"tipo_documento\": \"Fatura Fornecedor\",\n        \"vreferencia\": \"\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(1) CONJUGAPAGINA - LDA\",\n        \"id_movimento\": \"297\",\n        \"descricao\": \"Artigo de Teste\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"1.00000\",\n        \"preco\": \"0.81301\",\n        \"data\": \"2025-01-03\",\n        \"hora\": \"14:28:02\",\n        \"preco_imposto\": \"1.00\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"0.00\",\n        \"id_tipo_documento\": \"109\",\n        \"id_encomenda\": \"127\",\n        \"estado\": \"N\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"0.813010000\",\n        \"id_movimento_artigo_associado\": \"0\",\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"artigo\",\n        \"documento\": \"Fatura Simplificada GLA/1\",\n        \"tipo_documento\": \"Fatura Simplificada\",\n        \"vreferencia\": \"\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(999999990) \",\n        \"id_movimento\": \"34\",\n        \"descricao\": \"Artigo de Teste\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"1.00000\",\n        \"preco\": \"0.81301\",\n        \"data\": \"2024-12-31\",\n        \"hora\": \"09:47:33\",\n        \"preco_imposto\": \"1.00\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"0.00\",\n        \"id_tipo_documento\": \"3\",\n        \"id_encomenda\": \"14\",\n        \"estado\": \"F\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"0.813010000\",\n        \"id_movimento_artigo_associado\": \"0\",\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"TEST-0\",\n        \"documento\": \"Fatura GLA/1\",\n        \"tipo_documento\": \"Fatura\",\n        \"vreferencia\": \"\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(999999990) \",\n        \"id_movimento\": \"1\",\n        \"descricao\": \"TESTE PHP 0 2024-12-30 18:14:36\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"3.00000\",\n        \"preco\": \"3.33000\",\n        \"data\": \"2024-12-30\",\n        \"hora\": \"18:14:36\",\n        \"preco_imposto\": \"4.10\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"25.00\",\n        \"id_tipo_documento\": \"2\",\n        \"id_encomenda\": \"1\",\n        \"estado\": \"A\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"7.492500000\",\n        \"id_movimento_artigo_associado\": \"0\",\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"TEST-1\",\n        \"documento\": \"Fatura GLA/1\",\n        \"tipo_documento\": \"Fatura\",\n        \"vreferencia\": \"\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(999999990) \",\n        \"id_movimento\": \"2\",\n        \"descricao\": \"TESTE PHP 1 2024-12-30 18:14:36\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"3.00000\",\n        \"preco\": \"3.33000\",\n        \"data\": \"2024-12-30\",\n        \"hora\": \"18:14:36\",\n        \"preco_imposto\": \"4.10\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"25.00\",\n        \"id_tipo_documento\": \"2\",\n        \"id_encomenda\": \"1\",\n        \"estado\": \"A\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"7.492500000\",\n        \"id_movimento_artigo_associado\": \"0\",\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    },\n    {\n        \"id_artigo\": \"TEST-2\",\n        \"documento\": \"Fatura GLA/1\",\n        \"tipo_documento\": \"Fatura\",\n        \"vreferencia\": \"\",\n        \"serie\": \"GLA\",\n        \"numero_documento\": \"1\",\n        \"nome_cliente\": \"(999999990) \",\n        \"id_movimento\": \"3\",\n        \"descricao\": \"TESTE PHP 2 2024-12-30 18:14:36\",\n        \"observacao_linha\": \"\",\n        \"quantidade\": \"3.00000\",\n        \"preco\": \"3.33000\",\n        \"data\": \"2024-12-30\",\n        \"hora\": \"18:14:36\",\n        \"preco_imposto\": \"4.10\",\n        \"referencia_origem_linha\": \"0\",\n        \"desconto\": \"25.00\",\n        \"id_tipo_documento\": \"2\",\n        \"id_encomenda\": \"1\",\n        \"estado\": \"A\",\n        \"unidade\": \"uni\",\n        \"desactivado\": \"0\",\n        \"total_linha\": \"7.492500000\",\n        \"id_movimento_artigo_associado\": \"0\",\n        \"imposto\": \"IVA 23%\",\n        \"taxa_imposto\": \"23.00%\",\n        \"username\": \"admin2\",\n        \"quantidade_processada\": \"0.00000\",\n        \"quantidade_processamento_restante\": null\n    }\n]"}],"_postman_id":"2394f4af-af7c-4c53-ac53-bfefb177dcbc"},{"name":"Obter linha de um documento","id":"2c03a576-0580-4142-90d5-1b861e8dc4ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}linhadoc/?api={{api-token}}&p=68014","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}linhadoc"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>efetuar compra do produto</p>\n","type":"text/plain"},"key":"p","value":"68014"},{"disabled":true,"key":"preparacao","value":"1"}],"variable":[]}},"response":[],"_postman_id":"2c03a576-0580-4142-90d5-1b861e8dc4ab"},{"name":"Linhas do documento","id":"51f3bc25-e07b-4c8d-9989-46e10623dd79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"observacoes","value":"1","description":"<p>obter observacoes das linhas</p>\n","type":"text"},{"key":"familias","value":"1","description":"<p>obter descricao da familia</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}linhasdoc/?api={{api-token}}&p=18328","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}linhasdoc"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do documento</p>\n","type":"text/plain"},"key":"p","value":"18328"},{"disabled":true,"key":"preparacao","value":"1"}],"variable":[]}},"response":[{"id":"71268ec8-3232-4add-b1e9-4dbb7b6b9d83","name":"Linhas do documento","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"observacoes","value":"1","description":"obter observacoes das linhas","type":"text"},{"key":"familias","value":"1","description":"obter descricao da familia","type":"text"}]},"url":{"raw":"{{goldylocks-api-url}}linhasdoc/?api={{api-token}}&p=33653","host":["{{goldylocks-api-url}}linhasdoc"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"},{"key":"p","value":"33653","description":"id do documento"},{"key":"preparacao","value":"1","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 04 Dec 2023 11:14:32 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding,User-Agent"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"cod_barras\": \"GB\",\n        \"id_encomenda\": \"33653\",\n        \"ordem\": \"99999\",\n        \"id_artigo\": \"GB\",\n        \"id_movimento\": \"102308\",\n        \"descricao\": \"Gin Beefeater\",\n        \"quantidade\": \"1.00000\",\n        \"preco\": \"8.13008\",\n        \"preco_imposto\": \"10.00\",\n        \"preco_custo\": \"0.00000\",\n        \"desconto\": \"0.00\",\n        \"taxa\": \"23.00\",\n        \"total_linha\": \"8.130080000\",\n        \"total_linha_imposto\": \"10.00\",\n        \"referencia_origem\": \"0\",\n        \"referencia_origem_linha\": \"0\",\n        \"documento_origem_linha\": null,\n        \"id_documento_origem_linha\": null,\n        \"temObservacoes\": \"0\",\n        \"observacao\": \"\",\n        \"satisfeito\": \"0.00\",\n        \"descricao_familia\": \"Rum/Vermute/Gin\",\n        \"referencia_externa_linha\": null,\n        \"id_movimento_artigo_associado\": \"0\",\n        \"id_movimento_pai\": \"0\",\n        \"id_armazem\": \"54\",\n        \"unidade\": \"uni\",\n        \"segunda_unidade\": \"uni\",\n        \"racio_segunda_unidade\": \"0.00000\",\n        \"posicao\": \"\",\n        \"nome_cientifico\": \"\",\n        \"zona_origem\": \"\",\n        \"mov_lotes\": null,\n        \"codigo_fornecedor\": \"\",\n        \"descricao_fornecedor\": \"\",\n        \"estado_documento\": \"O\",\n        \"id_tipo_documento_processamento\": \"0\"\n    },\n    {\n        \"cod_barras\": \"V\",\n        \"id_encomenda\": \"33653\",\n        \"ordem\": \"99999\",\n        \"id_artigo\": \"V\",\n        \"id_movimento\": \"102309\",\n        \"descricao\": \"Vodka Simples\",\n        \"quantidade\": \"2.00000\",\n        \"preco\": \"5.28455\",\n        \"preco_imposto\": \"6.50\",\n        \"preco_custo\": \"0.00000\",\n        \"desconto\": \"0.00\",\n        \"taxa\": \"23.00\",\n        \"total_linha\": \"10.569100000\",\n        \"total_linha_imposto\": \"13.00\",\n        \"referencia_origem\": \"0\",\n        \"referencia_origem_linha\": \"0\",\n        \"documento_origem_linha\": null,\n        \"id_documento_origem_linha\": null,\n        \"temObservacoes\": \"1\",\n        \"observacao\": \"mudar939393\",\n        \"satisfeito\": \"0.00\",\n        \"descricao_familia\": \"Vodka\",\n        \"referencia_externa_linha\": null,\n        \"id_movimento_artigo_associado\": \"0\",\n        \"id_movimento_pai\": \"0\",\n        \"id_armazem\": \"54\",\n        \"unidade\": \"uni\",\n        \"segunda_unidade\": \"uni\",\n        \"racio_segunda_unidade\": \"0.00000\",\n        \"posicao\": \"\",\n        \"nome_cientifico\": \"33333\",\n        \"zona_origem\": \"44444\",\n        \"mov_lotes\": null,\n        \"codigo_fornecedor\": \"\",\n        \"descricao_fornecedor\": \"\",\n        \"estado_documento\": \"O\",\n        \"id_tipo_documento_processamento\": \"0\"\n    },\n    {\n        \"cod_barras\": \"PA\",\n        \"id_encomenda\": \"33653\",\n        \"ordem\": \"99999\",\n        \"id_artigo\": \"PA\",\n        \"id_movimento\": \"102310\",\n        \"descricao\": \"Produto acabado 1\",\n        \"quantidade\": \"3.00000\",\n        \"preco\": \"1.62602\",\n        \"preco_imposto\": \"2.00\",\n        \"preco_custo\": \"0.00000\",\n        \"desconto\": \"0.00\",\n        \"taxa\": \"23.00\",\n        \"total_linha\": \"4.878060000\",\n        \"total_linha_imposto\": \"6.00\",\n        \"referencia_origem\": \"0\",\n        \"referencia_origem_linha\": \"0\",\n        \"documento_origem_linha\": null,\n        \"id_documento_origem_linha\": null,\n        \"temObservacoes\": \"0\",\n        \"observacao\": \"\",\n        \"satisfeito\": \"0.00\",\n        \"descricao_familia\": \"Geral\",\n        \"referencia_externa_linha\": null,\n        \"id_movimento_artigo_associado\": \"0\",\n        \"id_movimento_pai\": \"0\",\n        \"id_armazem\": \"54\",\n        \"unidade\": \"uni\",\n        \"segunda_unidade\": \"uni\",\n        \"racio_segunda_unidade\": \"0.00000\",\n        \"posicao\": \"\",\n        \"nome_cientifico\": \"\",\n        \"zona_origem\": \"\",\n        \"mov_lotes\": null,\n        \"codigo_fornecedor\": \"\",\n        \"descricao_fornecedor\": \"\",\n        \"estado_documento\": \"O\",\n        \"id_tipo_documento_processamento\": \"0\"\n    }\n]"}],"_postman_id":"51f3bc25-e07b-4c8d-9989-46e10623dd79"},{"name":"Inserir linha num documento","id":"336b9834-7180-4e48-bb02-9affb6b45685","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_documento","value":"35813","description":"<p>id do  documento</p>\n","type":"text"},{"key":"id_artigo","value":"MR","description":"<p>id do artigo a inserir</p>\n","type":"text"},{"key":"linha","value":"1","description":"<p>linha de preço a utilizar</p>\n","type":"text"},{"key":"imposto","value":"IVA 23%","description":"<p>imposto a utilizar</p>\n","type":"text"},{"key":"taxa","value":"23","description":"<p>taxa do imposto, obrigatorio imposto</p>\n","type":"text"},{"key":"quantidade","value":"1","description":"<p>quantidade a vender</p>\n","type":"text"},{"key":"preco","value":"2","description":"<p>preço sem impostos da linha</p>\n","type":"text"},{"key":"preco_imposto","value":"2.46","description":"<p>preço com impostos do artigo</p>\n","type":"text"},{"key":"preco_custo","value":"1","description":"<p>preço de custo do artigo</p>\n","type":"text"},{"key":"desconto","value":"25","description":"<p>desconto a utilizar</p>\n","type":"text"},{"key":"comissao","value":"0","description":"<p>valor da comissao do vendedor</p>\n","type":"text"},{"key":"descricao","value":"Artigo de Teste","description":"<p>descrição do artigo na linha</p>\n","type":"text"},{"key":"observacao","value":"Isto é um teste","description":"<p>observação da linha</p>\n","type":"text"},{"key":"referencia_origem","value":"0","description":"<p>id do documento de origem da linha</p>\n","type":"text"},{"key":"referencia_origem_linha","value":"0","description":"<p>id da linha de origem do artigo</p>\n","type":"text"},{"key":"id_armazem","value":"1","description":"<p>id do armazem a utilizar</p>\n","type":"text"},{"key":"hash_preco_imposto","value":"1812hj12903h1203012j3","description":"<p>hash a utilizar para validar o preço de venda</p>\n","type":"text"},{"key":"terminar","value":"0","description":"<p>se 1, após inserir a linha termina o documento</p>\n","type":"text"},{"key":"obtermovimento","value":"1","description":"<p>obtem o id do movimento inserido</p>\n","type":"text"},{"key":"data_entrega","value":"2022-03-01","description":"<p>data de entrega da linha</p>\n","type":"text"},{"key":"inserir_associados","value":"1","description":"<p>0 - não insere associados automaticamente, 1 - insere associados</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}inserirlinha/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}inserirlinha"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"336b9834-7180-4e48-bb02-9affb6b45685"},{"name":"Obter linhas por converter de um documento","id":"afd4edea-19bb-4316-8fb1-b7ae0848cfaa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"linha","value":"4","description":"<p>id numérico da nova linha de preço</p>\n","type":"text"},{"key":"descricao","value":"Revenda","description":"<p>descrição da linha de preço</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}linhasaconverter/?api={{api-token}}&id_documento_origem=37018&id_tipo_documento_destino=106","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}linhasaconverter"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do documento a converter</p>\n","type":"text/plain"},"key":"id_documento_origem","value":"37018"},{"description":{"content":"<p>ID do tipo de documento destino da conversão</p>\n","type":"text/plain"},"key":"id_tipo_documento_destino","value":"106"}],"variable":[]}},"response":[],"_postman_id":"afd4edea-19bb-4316-8fb1-b7ae0848cfaa"},{"name":"Alterar valor numa linha","id":"f7f0c35b-0bd8-4d13-8892-6dfca8100c7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_movimento","value":" 58006","description":"<p>id da linha a alterar</p>\n","type":"text"},{"key":"campo","value":" quantidade","description":"<p>campo a alterar</p>\n","type":"text"},{"key":"valor","value":" 2","description":"<p>novo valor</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}alterarvalorlinha/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterarvalorlinha"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"f7f0c35b-0bd8-4d13-8892-6dfca8100c7f"},{"name":"Eliminar uma linha","id":"4c7718cc-1613-42a0-9b3f-51944909b28e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}eliminarlinhadoc/?api={{api-token}}&p=103","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarlinhadoc"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id da linha a eliminar</p>\n","type":"text/plain"},"key":"p","value":"103"}],"variable":[]}},"response":[],"_postman_id":"4c7718cc-1613-42a0-9b3f-51944909b28e"},{"name":"Eliminar todas as linhas","id":"92a33d6c-8aaf-441b-9c90-8b8546d5aa65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}eliminarlinhasdoc/?api={{api-token}}&p=162","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarlinhasdoc"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do documento a limpar</p>\n","type":"text/plain"},"key":"p","value":"162"}],"variable":[]}},"response":[],"_postman_id":"92a33d6c-8aaf-441b-9c90-8b8546d5aa65"},{"name":"Checksum linhas","id":"c45fd24d-13f1-4699-bc5f-e99ee85776c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}checksumlinhasdoc/?api={{api-token}}&p=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}checksumlinhasdoc"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da encomenda</p>\n","type":"text/plain"},"key":"p","value":"1"}],"variable":[]}},"response":[],"_postman_id":"c45fd24d-13f1-4699-bc5f-e99ee85776c9"},{"name":"Linhas de cliente","id":"74372948-83d1-4c60-be2a-9ed0d7d90e9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}linhascliente/?api={{api-token}}&p=cliente&tipo&pesquisa&condTD&satisfeitas","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}linhascliente"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id de cliente</p>\n","type":"text/plain"},"key":"p","value":"cliente"},{"description":{"content":"<p>venda de produto</p>\n","type":"text/plain"},"key":"tipo","value":""},{"description":{"content":"<p>pesquisa</p>\n","type":"text/plain"},"key":"pesquisa","value":""},{"description":{"content":"<p>id tipo de documento</p>\n","type":"text/plain"},"key":"condTD","value":""},{"description":{"content":"<p>se 1 mostra apenas linhas satisfeitas, 0 mostra linhas por satisfazer, nada mostra todas</p>\n","type":"text/plain"},"key":"satisfeitas","value":""}],"variable":[]}},"response":[],"_postman_id":"74372948-83d1-4c60-be2a-9ed0d7d90e9e"},{"name":"Documento linha","id":"f7d10f06-2ab3-41b9-ba23-5e2281501d32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}doclinha/?api={{api-token}}&p","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}doclinha"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id de movimento da encomenda</p>\n","type":"text/plain"},"key":"p","value":""}],"variable":[]}},"response":[],"_postman_id":"f7d10f06-2ab3-41b9-ba23-5e2281501d32"},{"name":"Historico de uma linha","id":"3c2ec429-2027-4756-b043-6aadcefc81f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}historicolinha/?api={{api-token}}&p=16158","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}historicolinha"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do movimento</p>\n","type":"text/plain"},"key":"p","value":"16158"}],"variable":[]}},"response":[],"_postman_id":"3c2ec429-2027-4756-b043-6aadcefc81f9"},{"name":"Historico de uma linha em preparação","id":"32ee6954-c8ba-44f1-818f-439d9706a405","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}historicolinhapreparacao/?api={{api-token}}&p=16158","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}historicolinhapreparacao"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do movimento</p>\n","type":"text/plain"},"key":"p","value":"16158"}],"variable":[]}},"response":[],"_postman_id":"32ee6954-c8ba-44f1-818f-439d9706a405"},{"name":"Movimento do artigo de linha","id":"830b9b4d-6c2e-4614-a3b4-e9470be074cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"movimento","value":"","description":"<p>movimento do artigo de linha</p>\n","type":"text"},{"key":"novo_artigo","value":"","description":"<p>novo artigo</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}alterarartigolinha/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterarartigolinha"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"830b9b4d-6c2e-4614-a3b4-e9470be074cf"},{"name":"Adicionar artigos associados a uma linha","id":"fa663c0f-cdaa-4d19-9851-7190f10f2bd2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_movimento","value":"88214","description":"<p>ID da linha a movimentar</p>\n","type":"text"},{"key":"artigos_associados","value":"[{\"id_artigo\":\"SDD\",\"quantidade\":5}]","description":"<p>direcao do movimento, cima ou baixo</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}inserirassociadoslinha/?api={{api-token}}&obter_movimentos=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}inserirassociadoslinha"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>[OPCIONAL] - obter array com ids dos movimentos criados</p>\n","type":"text/plain"},"key":"obter_movimentos","value":"1"}],"variable":[]}},"response":[],"_postman_id":"fa663c0f-cdaa-4d19-9851-7190f10f2bd2"}],"id":"83d02e8d-1ec0-4aab-bc70-55e227a532e7","_postman_id":"83d02e8d-1ec0-4aab-bc70-55e227a532e7","description":""},{"name":"Linhas de preço","item":[{"name":"Criar linha de preço","id":"0f649241-a73c-418f-b937-04601560442f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"linha","value":"4","description":"<p>id numérico da nova linha de preço</p>\n","type":"text"},{"key":"descricao","value":"Revenda","description":"<p>descrição da linha de preço</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}criarlinhapreco/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criarlinhapreco"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"0f649241-a73c-418f-b937-04601560442f"},{"name":"Alterar descrição da linha de preço","id":"4cdb0a6a-a812-49fb-a539-6009c4c37c6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"linha","value":"1","description":"<p>id numérico da nova linha de preço</p>\n","type":"text"},{"key":"descricao","value":"PVP1","description":"<p>descrição da linha de preço</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}alterarlinhapreco/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterarlinhapreco"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"4cdb0a6a-a812-49fb-a539-6009c4c37c6a"},{"name":"Remover linha de preço","id":"f45ace26-f12e-4318-8ba3-3dcbbfa25fae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"linha","value":"4","description":"<p>id numérico da linha a eliminar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}removerlinhapreco/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removerlinhapreco"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"f45ace26-f12e-4318-8ba3-3dcbbfa25fae"},{"name":"Obter todas as linhas de preços","id":"f4e3216c-5876-4b86-b940-0715021a6bc9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"url":"{{goldylocks-api-url}}linhaspreco/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}linhaspreco"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[{"id":"2bf5f343-3518-4556-8b15-76b3fa33ec5b","name":"Obter todas as linhas de preços","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"url":{"raw":"{{goldylocks-api-url}}linhaspreco/?api={{api-token}}","host":["{{goldylocks-api-url}}linhaspreco"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 15 Nov 2023 14:16:35 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding,User-Agent"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"linha\": \"1\",\n        \"descricao\": \"PVP1\"\n    },\n    {\n        \"linha\": \"2\",\n        \"descricao\": \"PVP2\"\n    },\n    {\n        \"linha\": \"3\",\n        \"descricao\": \"PVP3\"\n    }\n]"}],"_postman_id":"f4e3216c-5876-4b86-b940-0715021a6bc9"}],"id":"8baa3d0b-3af2-4641-ada6-830300b3a3a7","description":"<p>Gestão de linhas de preço a utilizar nos artigos.</p>\n","_postman_id":"8baa3d0b-3af2-4641-ada6-830300b3a3a7"},{"name":"Localizações","item":[{"name":"Obter todas as localizações","id":"c8737c35-c6e6-4787-b594-790ebfb09800","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}localizacoes/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}localizacoes"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"c8737c35-c6e6-4787-b594-790ebfb09800"},{"name":"Criar localizacao","id":"4743f8f4-f10b-4c41-acdb-dfc3df68e2e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"descricao","value":"Sala 1","type":"text"}]},"url":"{{goldylocks-api-url}}criarlocalizacao/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criarlocalizacao"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"4743f8f4-f10b-4c41-acdb-dfc3df68e2e9"},{"name":"Editar localização","id":"3d70d52f-f620-401c-8180-88aa8d335d8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_localizacao","value":"1","type":"text"},{"key":"descricao","value":"Sala 3","type":"text"}]},"url":"{{goldylocks-api-url}}editarlocalizacao/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}editarlocalizacao"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"3d70d52f-f620-401c-8180-88aa8d335d8f"},{"name":"Remover localização","id":"c11a7e69-db59-4117-a3e6-c6261d6ff836","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_localizacao","value":"2","type":"text"}]},"url":"{{goldylocks-api-url}}removerlocalizacao/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removerlocalizacao"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"c11a7e69-db59-4117-a3e6-c6261d6ff836"}],"id":"e943112f-8802-4170-acf5-57df1b4d6dba","_postman_id":"e943112f-8802-4170-acf5-57df1b4d6dba","description":""},{"name":"Lojas Online","item":[{"name":"Obter loja online","id":"af29b07f-bf58-4e04-8f5c-426f81f1c49d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_loja_online","value":"2","description":"<p>ID da loja online a obter dados</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}lojaonline/?api={{api-token}}&debug=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}lojaonline"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"debug","value":"1"}],"variable":[]}},"response":[],"_postman_id":"af29b07f-bf58-4e04-8f5c-426f81f1c49d"},{"name":"Obter lojas online artigo","id":"c8c091f2-2e63-4bfc-8c64-ab7062aac585","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_artigo","value":"NOVO","description":"<p>ID do artigo a obter as lojas online onde está sincronizado</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}lojasonlineartigo/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}lojasonlineartigo"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"c8c091f2-2e63-4bfc-8c64-ab7062aac585"},{"name":"Obter lojas online","id":"a66640d2-f8c1-485f-ad74-5a2cd6e2fd4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{goldylocks-api-url}}lojasonline/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}lojasonline"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"a66640d2-f8c1-485f-ad74-5a2cd6e2fd4f"},{"name":"Criar loja online","id":"ba31a317-ff7a-49bc-bd62-345e6ee611cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"descricao","value":" Loja Online 1","description":"<p>Descrição</p>\n","type":"text"},{"key":"url","value":" https://www.aminhaloja.pt","description":"<p>URL</p>\n","type":"text"},{"key":"chave_api","value":" 1u0d33028023482","type":"text"},{"key":"tipo","value":" prestashop","description":"<p>Tipo de loja online: Prestashop</p>\n","type":"text"},{"key":"id_documento_processamento","value":" 2","description":"<p>Tipo de documento de processamento</p>\n","type":"text"},{"key":"serie_documento_processamento","value":" 2020","description":"<p>Serie do documento de processamento</p>\n","type":"text"},{"key":"terminar_documento_processamento","value":" 1","description":"<p>Terminar automaticamente documento de processamento</p>\n","type":"text"},{"key":"id_utilizador_documento_processamento","value":" 1","description":"<p>Utilizar a atribuir aos documentos criados</p>\n","type":"text"},{"key":"linha_preco","value":" 1","description":"<p>Linha de preço a utilizar nesta loja</p>\n","type":"text"},{"key":"id_grupo_cliente","value":"1","description":"<p>ID do grupo de cliente</p>\n","type":"text"},{"key":"familias","value":"[1,2,3,4]","description":"<p>Array com os ids das familias a criar</p>\n","type":"text"},{"key":"sincronizacao_automatica","value":"1","description":"<p>1 - Ativa sincronizacao automatica de encomendas, 0 - desativa</p>\n","type":"text"},{"key":"url_logotipo","value":"https://www.aminhaloja.com/logotipo.png","description":"<p>URL para o logotipo da loja online</p>\n","type":"text"},{"key":"url_termos","value":"https://www.aminhaloja.com/termos/","description":"<p>URL para os termos da loja online</p>\n","type":"text"},{"key":"url_privacidade","value":"https://www.aminhaloja.com/privacidade/","description":"<p>URL para a privacidade da loja online</p>\n","type":"text"},{"key":"email_encomendas","value":"encomendas@aminhaloja.com","description":"<p>Endereço de email a mostrar nas comunicações aos clientes</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}criarlojaonline/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criarlojaonline"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"ba31a317-ff7a-49bc-bd62-345e6ee611cc"},{"name":"Alterar loja online","id":"598f3bb7-f792-4c7b-8e9c-de4c61d13fe3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_loja_online","value":"1","description":"<p>ID da loja online a alterar</p>\n","type":"text"},{"key":"descricao","value":"Loja Online 1","description":"<p>Descrição</p>\n","type":"text"},{"key":"url","value":"https://www.aminhaloja.pt","description":"<p>URL</p>\n","type":"text"},{"key":"chave_api","value":"1u0d33028023482","type":"text"},{"key":"tipo","value":"prestashop","description":"<p>Tipo de loja online: Prestashop</p>\n","type":"text"},{"key":"id_documento_processamento","value":"2","description":"<p>Tipo de documento de processamento</p>\n","type":"text"},{"key":"serie_documento_processamento","value":"2020","description":"<p>Serie do documento de processamento</p>\n","type":"text"},{"key":"terminar_documento_processamento","value":"1","description":"<p>Terminar automaticamente documento de processamento</p>\n","type":"text"},{"key":"id_utilizador_documento_processamento","value":"1","description":"<p>Utilizar a atribuir aos documentos criados</p>\n","type":"text"},{"key":"linha_preco","value":"1","description":"<p>Linha de preço a utilizar nesta loja</p>\n","type":"text"},{"key":"id_grupo_cliente","value":"1","description":"<p>ID do grupo cliente</p>\n","type":"text"},{"key":"familias","value":"[1,2,3,4]","description":"<p>Array com os ids das familias a criar</p>\n","type":"text"},{"key":"sincronizacao_automatica","value":"1","description":"<p>1 - Ativa sincronizacao automatica de encomendas, 0 - desativa</p>\n","type":"text"},{"key":"url_logotipo","value":"https://www.aminhaloja.com/logotipo.png","description":"<p>URL para o logotipo da loja online</p>\n","type":"text"},{"key":"url_termos","value":"https://www.aminhaloja.com/termos/","description":"<p>URL para os termos da loja online</p>\n","type":"text"},{"key":"url_privacidade","value":"https://www.aminhaloja.com/privacidade/","description":"<p>URL para a privacidade da loja online</p>\n","type":"text"},{"key":"email_encomendas","value":"encomendas@aminhaloja.com","description":"<p>Endereço de email a mostrar nas comunicações aos clientes</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}editarlojaonline/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}editarlojaonline"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"598f3bb7-f792-4c7b-8e9c-de4c61d13fe3"},{"name":"Eliminar loja online","id":"12a99851-6864-4542-9eea-c5af2742f622","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_loja_online","value":"1","description":"<p>ID da loja online a eliminar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}eliminarlojaonline/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarlojaonline"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"12a99851-6864-4542-9eea-c5af2742f622"},{"name":"Definir familias loja online","id":"d5ad5550-340e-4b82-9233-6f4be80cda1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_loja_online","value":"1","description":"<p>ID da loja online a eliminar</p>\n","type":"text"},{"key":"familias","value":"[1,45,67]","description":"<p>Array com os IDs das familias do Goldylocks a apresentar na loja online</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}definirfamiliaslojaonline/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}definirfamiliaslojaonline"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"d5ad5550-340e-4b82-9233-6f4be80cda1c"}],"id":"de71dc8a-b5bd-40b5-aa9d-69c0eaa3fb4b","_postman_id":"de71dc8a-b5bd-40b5-aa9d-69c0eaa3fb4b","description":""},{"name":"Lotes","item":[{"name":"Obter lotes de um movimento","id":"488480a8-ecf9-4650-b37d-1500a41ddf33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_mov_encomenda","value":"69693","description":"<p> ID do movimento de um documento</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}lotesmovimento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}lotesmovimento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"488480a8-ecf9-4650-b37d-1500a41ddf33"},{"name":"Registar lote de um movimento","id":"6aa59600-96d9-48a3-8b41-dc6cbff4024c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_mov_encomenda","value":"69693","description":"<p> ID do movimento de um documento</p>\n","type":"text"},{"key":"lote","value":"EA-1234","description":"<p>Referencia do lote</p>\n","type":"text"},{"key":"quantidade","value":"15","description":"<p>Quantidade de artigos pertencente ao lote</p>\n","type":"text"},{"key":"validade","value":"2020-12-30","description":"<p>[Opcional] - validade do lote, apenas em FEFO</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}registarlotemovimento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}registarlotemovimento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"6aa59600-96d9-48a3-8b41-dc6cbff4024c"},{"name":"Remover lote de um movimento","id":"0fadefc5-bc8f-497b-85ad-5f456a61b4fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_mov_encomenda","value":"69693","description":"<p> ID do movimento de um documento</p>\n","type":"text"},{"key":"lote","value":"EA-1234","description":"<p>Referencia do lote</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}removerlotemovimento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removerlotemovimento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"0fadefc5-bc8f-497b-85ad-5f456a61b4fd"},{"name":"Remover todos os lotes de um movimento","id":"0e611ef6-8bf1-4982-a06c-65db1d3a346e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_mov_encomenda","value":"69693","description":"<p> ID do movimento de um documento</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}removerlotesmovimento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removerlotesmovimento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"0e611ef6-8bf1-4982-a06c-65db1d3a346e"},{"name":"Obter lotes disponiveis de um artigo","id":"9076e9a8-3846-4b1b-afc2-b188135e59b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_artigo","value":"ARTIGO2","description":"<p>ID do artigo</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}lotesartigo/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}lotesartigo"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"9076e9a8-3846-4b1b-afc2-b188135e59b7"},{"name":"Obter lotes","id":"fd8aca50-dcf4-4ef5-9c00-9bea8e9d6b40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"p","value":"005","description":"<p>Lote a pesquisar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}lotes/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}lotes"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"fd8aca50-dcf4-4ef5-9c00-9bea8e9d6b40"}],"id":"e6674c43-a465-437e-9e8b-bf3b99c0407a","_postman_id":"e6674c43-a465-437e-9e8b-bf3b99c0407a","description":""},{"name":"Marcações","item":[{"name":"Criar marcação","id":"9070b3fe-f6fa-4895-804d-8223608ac0c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"data_hora_marcacao","value":"2019-07-31 14:00:00","description":"<p>data hora da marcacao</p>\n","type":"text"},{"key":"id_utilizador_marcacao","value":"","description":"<p>utilizador  atribuido a marcacao</p>\n","type":"text"},{"key":"id_cliente_marcacao","value":"","description":"<p>cliente relacionado com a marcacao</p>\n","type":"text"},{"key":"id_especialidade","value":"","description":"<p>especialidade do utilizador a utilizar na marcação</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}criarmarcacao/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criarmarcacao"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"9070b3fe-f6fa-4895-804d-8223608ac0c7"},{"name":"Obter marcações","id":"29b27c66-b42f-47e2-a427-862c289d912b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"datainicial","value":"","description":"<p>data inicial filtro marcações</p>\n","type":"text"},{"key":"datafinal","value":"","description":"<p>data final das marcações</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}obtermarcacoes/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}obtermarcacoes"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"29b27c66-b42f-47e2-a427-862c289d912b"},{"name":"Obter dados de uma marcação","id":"32de575d-304e-4dcc-a384-50f2b69b16c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{goldylocks-api-url}}obtermarcacao/?api={{api-token}}&p=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}obtermarcacao"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id da marcação a obter informação</p>\n","type":"text/plain"},"key":"p","value":"1"}],"variable":[]}},"response":[],"_postman_id":"32de575d-304e-4dcc-a384-50f2b69b16c3"},{"name":"Eliminar marcação","id":"9d7f4296-6b28-4dc2-b3cb-01069a88e0d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{goldylocks-api-url}}eliminarmarcacao/?api={{api-token}}&p=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarmarcacao"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id da marcação a eliminar</p>\n","type":"text/plain"},"key":"p","value":"1"}],"variable":[]}},"response":[],"_postman_id":"9d7f4296-6b28-4dc2-b3cb-01069a88e0d4"}],"id":"c9ffc638-8b05-4161-bf07-7919009dbeb4","_postman_id":"c9ffc638-8b05-4161-bf07-7919009dbeb4","description":""},{"name":"Mesas","item":[{"name":"Obter todas as mesas","id":"fd966d11-1ea2-4996-9e60-bc06c08ddeb9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{goldylocks-api-url}}mesas/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}mesas"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"fd966d11-1ea2-4996-9e60-bc06c08ddeb9"},{"name":"Criar mesa","id":"6622cb5e-90b8-462d-98b1-b73ec46777e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_mesa","value":"1","description":"<p>id da mesa</p>\n","type":"text"},{"key":"id_zona","value":"1","description":"<p>id da zona</p>\n","type":"text"},{"key":"descricao","value":"Mesa Nova","description":"<p>descrição da nova mesa</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}criarmesa/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criarmesa"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"6622cb5e-90b8-462d-98b1-b73ec46777e5"},{"name":"Remover mesa","id":"638364a9-4d2f-4863-8f79-8b170c60ad4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_mesa","value":"1","description":"<p>id da mesa</p>\n","type":"text"},{"key":"id_zona","value":"1","description":"<p>id da zona</p>\n","type":"text"},{"key":"descricao","value":"Mesa Nova","description":"<p>descrição da nova mesa</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}removermesa/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removermesa"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"638364a9-4d2f-4863-8f79-8b170c60ad4f"},{"name":"Remover todas as mesas","id":"5485a442-c40a-4a4f-bf8d-bbbd8d055a24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{goldylocks-api-url}}removertodasasmesas/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removertodasasmesas"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"5485a442-c40a-4a4f-bf8d-bbbd8d055a24"},{"name":"Gerar mesas","id":"c7678da1-5d99-44fe-a433-c6395908caa9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_inicial","value":"1","description":"<p>id da mesa inicial</p>\n","type":"text"},{"key":"id_final","value":"20","description":"<p>id da mesa final</p>\n","type":"text"},{"key":"id_zona","value":"1","description":"<p>id da zona das mesas a gerar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}gerarmesas/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}gerarmesas"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"c7678da1-5d99-44fe-a433-c6395908caa9"},{"name":"Obter todas as mesas de uma zona","id":"0119e633-8f2a-4485-a724-09f51c15eb1d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_zona","value":"1","description":"<p>id da zona</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}mesaszona/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}mesaszona"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"0119e633-8f2a-4485-a724-09f51c15eb1d"},{"name":"Obter zonas","id":"e9ed364b-67d1-404b-87d6-be47b889b0a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{goldylocks-api-url}}zonasmesas/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}zonasmesas"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"e9ed364b-67d1-404b-87d6-be47b889b0a9"},{"name":"Criar zona para as mesas","id":"1f884037-4d96-422e-ab9b-0e0b73cdb147","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"descricao","value":"Esplanada","description":"<p>descricao da nova zona</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}criarzonamesas/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criarzonamesas"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"1f884037-4d96-422e-ab9b-0e0b73cdb147"},{"name":"Alterar zona","id":"86c22497-ae1b-46cb-b41a-5fc4e2e85857","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_zona","value":"1","description":"<p>id da zona a alterar</p>\n","type":"text"},{"key":"descricao","value":"Praia","description":"<p>descricao nova</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}alterarzonamesas/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterarzonamesas"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"86c22497-ae1b-46cb-b41a-5fc4e2e85857"},{"name":"Eliminar zona","id":"6af81c3f-4b79-4cb4-8b79-0c84a786a924","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_zona","value":"1","description":"<p>id da zona a remover</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}removerzonamesas/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removerzonamesas"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"6af81c3f-4b79-4cb4-8b79-0c84a786a924"},{"name":"Obter estado de uma mesa","id":"44fc60d6-78f6-476b-b6d4-7fbcfe163605","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{goldylocks-api2-url}}estadomesas/:id_mesa","urlObject":{"path":[":id_mesa"],"host":["{{goldylocks-api2-url}}estadomesas"],"query":[],"variable":[{"id":"754496a6-9634-47fb-98c3-5896245c114c","type":"any","value":"12","key":"id_mesa"}]}},"response":[],"_postman_id":"44fc60d6-78f6-476b-b6d4-7fbcfe163605"},{"name":"Obter estado das mesas de uma zona","id":"533b0ec9-2089-4caf-9c07-55779da3ac95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{goldylocks-api2-url}}estadomesas/zona/:id_zona","urlObject":{"path":["zona",":id_zona"],"host":["{{goldylocks-api2-url}}estadomesas"],"query":[],"variable":[{"id":"21a3e6b1-5cac-4ce2-ba6a-0cc42db08e14","type":"any","value":"3","key":"id_zona"}]}},"response":[],"_postman_id":"533b0ec9-2089-4caf-9c07-55779da3ac95"},{"name":"Definir estado de uma mesa","id":"141f4983-8c29-4c26-8b10-0fd7bd35b899","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id_mesa\": 1,\r\n    \"artigos_json\": \"[]\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{goldylocks-api2-url}}estadomesas/:id_mesa","urlObject":{"path":[":id_mesa"],"host":["{{goldylocks-api2-url}}estadomesas"],"query":[],"variable":[{"id":"eb05e190-2b99-4f0a-a160-3350ced548b1","type":"any","value":null,"key":"id_mesa"}]}},"response":[],"_postman_id":"141f4983-8c29-4c26-8b10-0fd7bd35b899"},{"name":"Limpar mesa","id":"43dcd799-f4b2-4c92-bdec-e9551ff41875","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{goldylocks-api2-url}}estadomesas/:id_mesa/:bloquear_impressao_adicional","urlObject":{"path":[":id_mesa",":bloquear_impressao_adicional"],"host":["{{goldylocks-api2-url}}estadomesas"],"query":[],"variable":[{"description":{"content":"<p>ID da mesa a limpar</p>\n","type":"text/plain"},"type":"any","value":"35","key":"id_mesa"},{"description":{"content":"<p>0 - não imprime stubs impressão adicional, 1 - imprime stubs</p>\n","type":"text/plain"},"type":"any","value":"0","key":"bloquear_impressao_adicional"}]}},"response":[],"_postman_id":"43dcd799-f4b2-4c92-bdec-e9551ff41875"}],"id":"e3c8344a-28a3-4045-8f0d-3b768955ed88","_postman_id":"e3c8344a-28a3-4045-8f0d-3b768955ed88","description":""},{"name":"Metodos entrega","item":[{"name":"Metodos  entrega","id":"9af92064-93d3-4970-bbef-28ef0c5cf33f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}metodosentrega/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}metodosentrega"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"9af92064-93d3-4970-bbef-28ef0c5cf33f"},{"name":"Imagem metodo entrega","id":"169e4fa6-ff06-4930-91d5-86132d0663f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}imagemmetodoentrega/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}imagemmetodoentrega"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"169e4fa6-ff06-4930-91d5-86132d0663f0"},{"name":"Metodo entrega","id":"d5934a3e-0767-420a-9262-bb98249090de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}metodoentrega/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}metodoentrega"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"d5934a3e-0767-420a-9262-bb98249090de"},{"name":"Alterar imagem metodo entrega","id":"b93b9133-fca4-4cad-b192-07fd4ad8e3be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}alterarimagemmetodoentrega/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterarimagemmetodoentrega"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"b93b9133-fca4-4cad-b192-07fd4ad8e3be"},{"name":"Gerir metodo entrega","id":"7b12d5ac-8e0f-4b02-b86e-8cdc93aefe34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"d","value":"","description":"<p>descricao</p>\n","type":"text"},{"key":"t","value":"","description":"<p>tipo de calculo</p>\n","type":"text"},{"key":"vu","value":"","description":"<p>valor unitarios</p>\n","type":"text"},{"key":"vm","value":"","description":"<p>valor minimos</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}gerirmetodoentrega/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}gerirmetodoentrega"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"7b12d5ac-8e0f-4b02-b86e-8cdc93aefe34"},{"name":"Eliminar metodo entrega","id":"caaef110-87f5-4bc2-b807-e9e39fa53b52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}eliminarmetodoentrega/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarmetodoentrega"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"caaef110-87f5-4bc2-b807-e9e39fa53b52"}],"id":"b1b08b40-c737-45c5-9a4d-2968f0224d20","_postman_id":"b1b08b40-c737-45c5-9a4d-2968f0224d20","description":""},{"name":"Metodos pagamento","item":[{"name":"Obter metodos de pagamento","id":"80ddf60d-9c80-4634-97fa-b75064c63594","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[{"key":"meio_pagamento","value":"","description":"<p>meio de pagamento</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}metodospagamento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}metodospagamento"],"query":[{"key":"api","value":"{{api-token}}"},{"disabled":true,"description":{"content":"<p>webstore</p>\n","type":"text/plain"},"key":"w","value":""},{"disabled":true,"description":{"content":"<p>meio de pagamento</p>\n","type":"text/plain"},"key":"mp","value":""},{"disabled":true,"description":{"content":"<p>condições de pagamentos da Webstore</p>\n","type":"text/plain"},"key":"condWebstore","value":""}],"variable":[]}},"response":[],"_postman_id":"80ddf60d-9c80-4634-97fa-b75064c63594"},{"name":"Imagem metodo pagamento","id":"443825b5-589a-4639-a57d-cbf48834f9cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}imagemmetodopagamento/?api={{api-token}}&p&r","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}imagemmetodopagamento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>meio de pagamento</p>\n","type":"text/plain"},"key":"p","value":""},{"description":{"content":"<p>imagem do metodo do pagamento</p>\n","type":"text/plain"},"key":"r","value":""}],"variable":[]}},"response":[],"_postman_id":"443825b5-589a-4639-a57d-cbf48834f9cc"},{"name":"Criar metodo pagamento","id":"71de68bc-05cd-4304-b744-92cf223ff9be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"d","value":"","description":"<p>meios de pagamento</p>\n","type":"text"},{"key":"t","value":"","description":"<p>tipos_pagamento</p>\n","type":"text"},{"key":"w","value":"","description":"<p>webstore</p>\n","type":"text"},{"key":"e","value":"","description":"<p>especifico</p>\n","type":"text"},{"key":"td","value":"","description":"<p>tipo de Documento da Devolucao </p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}criarmetodopagamento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criarmetodopagamento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"71de68bc-05cd-4304-b744-92cf223ff9be"},{"name":"Editar metodo pagamento","id":"9aa27f5d-0689-4885-a61e-e5c3cdcd4df1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"t","value":"","description":"<p>tipos de pagamento</p>\n","type":"text"},{"key":"td","value":"","description":"<p>tipo de Documento da Devolucao </p>\n","type":"text"},{"key":"d","value":"","description":"<p>meios de pagamento</p>\n","type":"text"},{"key":"e","value":"","description":"<p>especificos</p>\n","type":"text"},{"key":"w","value":"","description":"<p>webstore</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}editarmetodopagamento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}editarmetodopagamento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"9aa27f5d-0689-4885-a61e-e5c3cdcd4df1"},{"name":"Eliminar metodo pagamento","id":"c45c6d74-4720-4d54-a655-1cc5adf08dfd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}eliminarmetodopagamento/?api={{api-token}}&p","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarmetodopagamento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>meio de pagamento </p>\n","type":"text/plain"},"key":"p","value":""}],"variable":[]}},"response":[],"_postman_id":"c45c6d74-4720-4d54-a655-1cc5adf08dfd"},{"name":"Obter os metodos de pagamento de um documento","id":"66e539f4-c6a8-44ee-8cd6-2e940dfec069","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}pagamentodocumento/?api={{api-token}}&p&tp","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}pagamentodocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>meio de pagamento</p>\n","type":"text/plain"},"key":"p","value":""},{"description":{"content":"<p>tipo de documento</p>\n","type":"text/plain"},"key":"tp","value":""}],"variable":[]}},"response":[],"_postman_id":"66e539f4-c6a8-44ee-8cd6-2e940dfec069"},{"name":"Inserir pagamento num documento","id":"44125e9b-e171-4f3e-b409-75a29022791a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"tipopagamento","value":"","description":"<p>tipo de pagamento</p>\n","type":"text"},{"key":"categoriaTipoPagamento","value":"NU","description":"<p>Categoria tipo pagamento (NU CH TB MB)</p>\n","type":"text"},{"key":"banco","value":"","description":"<p>banco</p>\n","type":"text"},{"key":"data","value":"","description":"<p>data de pagamento</p>\n","type":"text"},{"key":"n_cheque","value":"","description":"<p>número do cheque</p>\n","type":"text"},{"key":"pag_net","value":"","description":"<p>pagemento por net</p>\n","type":"text"},{"key":"trans","value":"","description":"<p>transferencias bancarias</p>\n","type":"text"},{"key":"valor","value":"","description":"<p>valores pago</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}inserirpagamentodocumento/?api={{api-token}}&td=3&p=269","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}inserirpagamentodocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>tipo de documento</p>\n","type":"text/plain"},"key":"td","value":"3"},{"description":{"content":"<p>id do documento</p>\n","type":"text/plain"},"key":"p","value":"269"}],"variable":[]}},"response":[],"_postman_id":"44125e9b-e171-4f3e-b409-75a29022791a"},{"name":"Eliminar metodo de pagamento num documento","id":"54cb0903-d526-4b56-b017-e1aa17c654af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"tipo_documento","value":"","description":"<p>tipo de documento</p>\n","type":"text"},{"key":"meio_pagamento","value":"","description":"<p>metedo de pagamento</p>\n","type":"text"},{"key":"numero_cheque","value":"","description":"<p>número do cheque</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}eliminarpagamentodocumento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarpagamentodocumento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"54cb0903-d526-4b56-b017-e1aa17c654af"},{"name":"Obter metodos de pagamento onde foi utilizado o documento","id":"d11bef2a-48c8-4a00-970f-0fdfecfdc655","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{goldylocks-api-url}}obterutilizacoesdocumentometodopagamento/?api={{api-token}}&id_documento=37019","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}obterutilizacoesdocumentometodopagamento"],"query":[{"description":{"content":"<p>meio de pagamento</p>\n","type":"text/plain"},"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do documento utilizado como metodo de pagamento</p>\n","type":"text/plain"},"key":"id_documento","value":"37019"}],"variable":[]}},"response":[],"_postman_id":"d11bef2a-48c8-4a00-970f-0fdfecfdc655"}],"id":"9ef0c233-c181-47ba-87bf-8176aa9a81d8","_postman_id":"9ef0c233-c181-47ba-87bf-8176aa9a81d8","description":""},{"name":"Modelos de email","item":[{"name":"Modelos email","id":"7fa5e3a0-f3d6-404f-9949-09e8f2f8961a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}modelosemail/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}modelosemail"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"7fa5e3a0-f3d6-404f-9949-09e8f2f8961a"},{"name":"Modelo email","id":"93c5dbc7-c734-44e5-8d7e-f68c465fe244","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}modeloemail/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}modeloemail"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"93c5dbc7-c734-44e5-8d7e-f68c465fe244"},{"name":"Gerir modelo email","id":"7dc61305-ac78-4e68-a995-f490f4844b45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"nome_modelo","value":"","description":"<p>alterar nome do modelo</p>\n","type":"text"},{"key":"modelo","value":"","description":"<p>alterar modelo</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}gerirmodeloemail/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}gerirmodeloemail"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"7dc61305-ac78-4e68-a995-f490f4844b45"},{"name":"Remover modelo email","id":"6feae14f-e308-48dd-a1fa-49f10faf7b54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}removermodeloemail/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removermodeloemail"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"6feae14f-e308-48dd-a1fa-49f10faf7b54"}],"id":"191fb3cf-393f-4b2e-9a20-29cf13c27b68","_postman_id":"191fb3cf-393f-4b2e-9a20-29cf13c27b68","description":""},{"name":"Modelos de impressao","item":[{"name":"Obter todos os modelo de impressão","id":"e7d5fb3b-2119-4e4c-a2a0-4b10f2e33834","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}modelosimpressao/?api={{api-token}}&tipo=documentos","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}modelosimpressao"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"tipo","value":"documentos"}],"variable":[]}},"response":[],"_postman_id":"e7d5fb3b-2119-4e4c-a2a0-4b10f2e33834"},{"name":"Obter modelo de impressão","id":"929833f3-53b4-4527-9368-5084525f3671","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_modelo_impressao","value":"1","description":"<p>id do modelo de impressao</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}modeloimpressao/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}modeloimpressao"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"929833f3-53b4-4527-9368-5084525f3671"},{"name":"Criar novo modelo de impressão","id":"6499009a-b842-4e50-9dc5-4ca93ae55bec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"nome_modelo","value":"Modelo faturas","description":"<p>nome do modelo</p>\n","type":"text"},{"key":"dados_modelo","value":"{\"type\":\"document\",\"children\":[]}","description":"<p>objecto em JSON com a estrutura do modelo</p>\n","type":"text"},{"key":"tipo_modelo","value":"documento","description":"<p>tipo do modelo a criar (documento, etiqueta)</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}criarmodeloimpressao/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criarmodeloimpressao"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"6499009a-b842-4e50-9dc5-4ca93ae55bec"},{"name":"Editar modelo de impressão","id":"288eafd4-e2e1-4f84-baf9-643fd48399fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_modelo_impressao","value":"1","description":"<p>id do modelo a editar</p>\n","type":"text"},{"key":"nome_modelo","value":"Modelo faturas","description":"<p>nome do modelo</p>\n","type":"text"},{"key":"dados_modelo","value":"{\"type\":\"document\",\"children\":[]}","description":"<p>objecto em JSON com a estrutura do modelo</p>\n","type":"text"},{"key":"tipo_modelo","value":"documento","description":"<p>tipo do modelo a criar (documento, etiqueta)</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}editarmodeloimpressao/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}editarmodeloimpressao"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"288eafd4-e2e1-4f84-baf9-643fd48399fd"},{"name":"Eliminar modelo de impressão","id":"95cf71dd-aa85-4c7e-a476-d64fbffdc802","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_modelo_impressao","value":"1","description":"<p>id do modelo a editar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}removermodeloimpressao/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removermodeloimpressao"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"95cf71dd-aa85-4c7e-a476-d64fbffdc802"},{"name":"Clonar modelo de impressão","id":"49328b32-c19d-41f9-aceb-52b17606033a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_modelo_impressao","value":"1","description":"<p>id do modelo a editar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}clonarmodeloimpressao/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}clonarmodeloimpressao"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"49328b32-c19d-41f9-aceb-52b17606033a"}],"id":"9ac959aa-7eb8-4107-8665-8a75a5559993","_postman_id":"9ac959aa-7eb8-4107-8665-8a75a5559993","description":""},{"name":"Modulo fitofarmaco","item":[{"name":"Linhas fitofarmacos","id":"9cf7990b-e310-444c-8b2b-8414f9d9d760","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}linhasfitofarmacos/?api={{api-token}}&total","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}linhasfitofarmacos"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"total","value":""}],"variable":[]}},"response":[],"_postman_id":"9cf7990b-e310-444c-8b2b-8414f9d9d760"},{"name":"Alterar codigo aplicador","id":"bd81783c-4a95-4754-9f05-cb6d6f11a63b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"a","value":"","description":"<p>numero aplicador</p>\n","type":"text"},{"key":"p","value":"","description":"<p>id do cliente</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}alterarcodigoaplicador/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterarcodigoaplicador"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"bd81783c-4a95-4754-9f05-cb6d6f11a63b"}],"id":"2cb4b61c-c35c-4f1f-b45a-de1abf03f7b8","_postman_id":"2cb4b61c-c35c-4f1f-b45a-de1abf03f7b8","description":""},{"name":"Modulos","item":[{"name":"Ativar modulo","id":"d6e1ab8c-9982-4153-b5e5-d136df99c82d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}activarmodulo/?api={{api-token}}&m&k","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}activarmodulo"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>modulo</p>\n","type":"text/plain"},"key":"m","value":""},{"description":{"content":"<p>chave</p>\n","type":"text/plain"},"key":"k","value":""}],"variable":[]}},"response":[],"_postman_id":"d6e1ab8c-9982-4153-b5e5-d136df99c82d"},{"name":"Modulos","id":"578e862e-cfdc-464b-8a17-e475c73ad57e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}modulos/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}modulos"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"578e862e-cfdc-464b-8a17-e475c73ad57e"}],"id":"d912de4b-1bc3-42a3-8a78-e3c74840d85a","_postman_id":"d912de4b-1bc3-42a3-8a78-e3c74840d85a","description":""},{"name":"Moradas adicionais","item":[{"name":"Obter dados morada adicional","id":"af981aad-e051-400a-b24f-aa6baa048a1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{goldylocks-api-url}}obtermoradaadicional/?api={{api-token}}&id_morada_adicional=11","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}obtermoradaadicional"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da morada adicional</p>\n","type":"text/plain"},"key":"id_morada_adicional","value":"11"}],"variable":[]}},"response":[{"id":"8c7b4393-9d11-455c-9026-50a3f9fc6ab2","name":"Obter dados morada adicional","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{goldylocks-api-url}}obtermoradaadicional/?api={{api-token}}&id_morada_adicional=11","host":["{{goldylocks-api-url}}obtermoradaadicional"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"},{"key":"id_morada_adicional","value":"11","description":"ID da morada adicional"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 12 Feb 2024 12:01:27 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=c1787abd8508ec2ed0e5160662f6bce0; path=/"},{"key":"Vary","value":"Accept-Encoding,User-Agent"}],"cookie":[],"responseTime":null,"body":"{\n    \"id_morada_adicional\": 11,\n    \"data_criacao\": \"2024-02-11 21:36:13\",\n    \"de_fornecedor\": 0,\n    \"id_entidade\": 4,\n    \"descricao\": \"Morada adicional cliente 2\",\n    \"morada\": \"Rua de Teste 2\",\n    \"cp\": \"4000-000\",\n    \"localidade\": \"Porto\",\n    \"codigo_pais\": \"PT\",\n    \"pais\": \"Portugal\",\n    \"telefone\": null,\n    \"fax\": \"222 111 222\",\n    \"telemovel\": \"960 960 960\",\n    \"email\": \"\",\n    \"site\": \"\",\n    \"pessoa_contato\": \"Sr. Comercial\"\n}"}],"_postman_id":"af981aad-e051-400a-b24f-aa6baa048a1e"},{"name":"Obter moradas de uma entidade","id":"1755396a-0b9c-4db1-879a-2c49f62d4aec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{goldylocks-api-url}}obtermoradasadicionais/?api={{api-token}}&id_entidade=4&de_fornecedor=0","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}obtermoradasadicionais"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da entidade</p>\n","type":"text/plain"},"key":"id_entidade","value":"4"},{"description":{"content":"<p>0 - cliente,  1 - fornecedor</p>\n","type":"text/plain"},"key":"de_fornecedor","value":"0"}],"variable":[]}},"response":[{"id":"a2315a55-6f79-4dd1-84eb-2c493e336121","name":"Obter moradas de uma entidade","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{goldylocks-api-url}}obtermoradasadicionais/?api={{api-token}}&id_entidade=4&de_fornecedor=0","host":["{{goldylocks-api-url}}obtermoradasadicionais"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"},{"key":"id_entidade","value":"4","description":"ID da entidade"},{"key":"de_fornecedor","value":"0","description":"0 - cliente,  1 - fornecedor"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 12 Feb 2024 12:01:48 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding,User-Agent"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id_morada_adicional\": 11,\n        \"data_criacao\": \"2024-02-11 21:36:13\",\n        \"de_fornecedor\": 0,\n        \"id_entidade\": 4,\n        \"descricao\": \"Morada adicional cliente 2\",\n        \"morada\": \"Rua de Teste 2\",\n        \"cp\": \"4000-000\",\n        \"localidade\": \"Porto\",\n        \"codigo_pais\": \"PT\",\n        \"pais\": \"Portugal\",\n        \"telefone\": null,\n        \"fax\": \"222 111 222\",\n        \"telemovel\": \"960 960 960\",\n        \"email\": \"\",\n        \"site\": \"\",\n        \"pessoa_contato\": \"Sr. Comercial\"\n    }\n]"}],"_postman_id":"1755396a-0b9c-4db1-879a-2c49f62d4aec"},{"name":"Criar morada adicional","id":"828745de-e126-4d47-a266-304ee328dbc3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"de_fornecedor","value":"0","description":"<p>0 - cliente, 1 - fornecedor</p>\n","type":"text"},{"key":"id_entidade","value":"1","description":"<p>ID da entidade da morada</p>\n","type":"text"},{"key":"descricao","value":"Morada adicional cliente","description":"<p>Descrição da morada</p>\n","type":"text"},{"key":"morada","value":"Rua de Teste 2","description":"<p>Morada</p>\n","type":"text"},{"key":"cp","value":"4000-000","description":"<p>Código postal</p>\n","type":"text"},{"key":"localidade","value":"Porto","description":"<p>Localidade</p>\n","type":"text"},{"key":"codigo_pais","value":"PT","description":"<p>Código ISO do pais</p>\n","type":"text"},{"key":"pais","value":"Portugal","description":"<p>Nome do pais</p>\n","type":"text"},{"key":"telefone","value":"222 222 222","description":"<p>Telefone</p>\n","type":"text"},{"key":"fax","value":"222 111 222","description":"<p>Fax</p>\n","type":"text"},{"key":"telemovel","value":"960 960 960","description":"<p>Telemóvel</p>\n","type":"text"},{"key":"email","value":"teste@email.com","description":"<p>Email</p>\n","type":"text"},{"key":"site","value":"www.empresa.pt","description":"<p>Site</p>\n","type":"text"},{"key":"pessoa_contato","value":"Sr. Comercial","description":"<p>Nome da pessoa de contato na morada</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}adicionarmoradaadicional/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}adicionarmoradaadicional"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"828745de-e126-4d47-a266-304ee328dbc3"},{"name":"Editar morada adicional","id":"c15a5a54-02a4-491d-a1ad-f1441ed30e8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_morada_adicional","value":"10","type":"text","description":"<p>0 - cliente, 1 - fornecedor</p>\n"},{"key":"de_fornecedor","value":"0","type":"text","description":"<p>ID da entidade da morada</p>\n"},{"key":"id_entidade","value":"1","type":"text","description":"<p>Descrição da morada</p>\n"},{"key":"descricao","value":"Morada adicional cliente 2","type":"text","description":"<p>Morada</p>\n"},{"key":"morada","value":"Rua de Teste 2","type":"text","description":"<p>Código postal</p>\n"},{"key":"cp","value":"4000-000","type":"text","description":"<p>Localidade</p>\n"},{"key":"localidade","value":"Porto","type":"text","description":"<p>Código ISO do pais</p>\n"},{"key":"codigo_pais","value":"PT","type":"text","description":"<p>Nome do pais</p>\n"},{"key":"pais","value":"Portugal","type":"text","description":"<p>Telefone</p>\n"},{"key":"telefone","value":"222 222 222","type":"text","description":"<p>Fax</p>\n"},{"key":"fax","value":"222 111 222","type":"text","description":"<p>Telemóvel</p>\n"},{"key":"telemovel","value":"960 960 960","type":"text","description":"<p>Email</p>\n"},{"key":"email","value":"teste@email.com","type":"text","description":"<p>Site</p>\n"},{"key":"site","value":"www.empresa.pt","type":"text","description":"<p>Nome da pessoa de contato na morada</p>\n"},{"key":"pessoa_contato","value":"Sr. Comercial","type":"text"}]},"url":"{{goldylocks-api-url}}alterarmoradaadicional/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterarmoradaadicional"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"c15a5a54-02a4-491d-a1ad-f1441ed30e8c"},{"name":"Remover morada adicional","id":"b06df494-c54b-4c0b-b1d6-0e0206e7ad52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_morada_adicional","value":"10","type":"text","description":"<p>0 - cliente, 1 - fornecedor</p>\n"}]},"url":"{{goldylocks-api-url}}removermoradaadicional/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removermoradaadicional"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"b06df494-c54b-4c0b-b1d6-0e0206e7ad52"}],"id":"3268320c-be9c-4c92-9ad8-e42b57082e8a","_postman_id":"3268320c-be9c-4c92-9ad8-e42b57082e8a","description":""},{"name":"Numeração documentos","item":[{"name":"Obter numeração documentos por serie","id":"5b2fe4d1-d532-4e3a-a4b5-ad2190b3f17a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}numeracaodocumentos/?api={{api-token}}&serie=2022&internos=0","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}numeracaodocumentos"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"serie","value":"2022"},{"description":{"content":"<p>1 - Obter documentos internos, 0 - Não obter internos</p>\n","type":"text/plain"},"key":"internos","value":"0"}],"variable":[]}},"response":[],"_postman_id":"5b2fe4d1-d532-4e3a-a4b5-ad2190b3f17a"}],"id":"791e64e1-30c9-402f-9b86-d4fe3025be9d","_postman_id":"791e64e1-30c9-402f-9b86-d4fe3025be9d","description":""},{"name":"Opcoes","item":[{"name":"Obter valor opção","id":"32ab8a9b-d626-4fe5-82ec-4ce516bf86e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"opcao","value":"valor_retencao","type":"text"}]},"url":"{{goldylocks-api-url}}opcao/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}opcao"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"32ab8a9b-d626-4fe5-82ec-4ce516bf86e0"},{"name":"Alterar valor opção","id":"53ab55d0-692e-4fe4-8398-c576ce34edaf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"opcao","value":"valor_retencao","type":"text"},{"key":"valor","value":"0","type":"text"}]},"url":"{{goldylocks-api-url}}alteraropcao/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alteraropcao"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"53ab55d0-692e-4fe4-8398-c576ce34edaf"},{"name":"Parametros gerais","id":"d50ff0be-7b31-4920-ac62-d03e1e633dde","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"armazemPorDefeito","value":"","type":"text"},{"key":"descontoglobal","value":"","type":"text"},{"key":"mostra_preco_armazem","value":"","type":"text"},{"key":"vendedor_linha","value":"","type":"text"},{"key":"gestao_equipamentos","value":"","type":"text"},{"key":"confirmar_preparacao","value":"","type":"text"},{"key":"obriga_aplicador_fitofarmacos","value":"","type":"text"},{"key":"pesquisaAvancada","value":"","type":"text"},{"key":"quantidadedeVenda","value":"","type":"text"},{"key":"mostraNotificacoes","value":"","type":"text"},{"key":"trocarvendedor","value":"","type":"text"},{"key":"obrigaPrecoCusto","value":"","type":"text"},{"key":"naoValidaNIFClientes","value":"","type":"text"},{"key":"precosComImposto","value":"","type":"text"},{"key":"alterar_linhas_por_cliente","value":"","type":"text"},{"key":"valoresLiquidosGraficos","value":"","type":"text"},{"key":"calculosPreco","value":"","type":"text"},{"key":"modoRapido","value":"","type":"text"},{"key":"googleMaps\n","value":"","type":"text"},{"key":"catalgo_imagem","value":"","type":"text"},{"key":"decumentos_listagens","value":"","type":"text"},{"key":"designacao_comercial_clientes","value":"","type":"text"},{"key":"mostrar_referencia_fornecedor","value":"","type":"text"},{"key":"viatura_defeito_decumentos","value":"","type":"text"},{"key":"seriePorDefeito","value":"","type":"text"},{"key":"linhasPreco","value":"","type":"text"},{"key":"casaDecimais","value":"","type":"text"},{"key":"proximoCliente","value":"","type":"text"},{"key":"proximoFornecedor","value":"","type":"text"},{"key":"carateresCodigoArtigo","value":"","type":"text"},{"key":"moedasPorDefeito","value":"","type":"text"},{"key":"impostoPorDefeito","value":"","type":"text"},{"key":"documentoVendaPorDefeito","value":"","type":"text"},{"key":"etiquetasArtigos","value":"","type":"text"},{"key":"observacoesDocumentos","value":"","type":"text"},{"key":"servidorEmail","value":"","type":"text"},{"key":"email","value":"","type":"text"},{"key":"protocolo_email","value":"","type":"text"},{"key":"porta_email","value":"","type":"text"},{"key":"email_paypal","value":"","type":"text"},{"key":"fornecedor_multibanco","value":"","type":"text"},{"key":"entidade_multibanco","value":"","type":"text"},{"key":"subentidade_multibanco","value":"","type":"text"},{"key":"dashboard_data_refresh","value":"","type":"text"},{"key":"hipay_id_conta","value":"","type":"text"},{"key":"hipay_email","value":"","type":"text"},{"key":"hipay_website_id","value":"","type":"text"},{"key":"hipay_chave_pessoal","value":"","type":"text"},{"key":"hipay_categoria_produtos","value":"","type":"text"},{"key":"password","value":"","type":"text"}]},"url":"{{goldylocks-api-url}}parametrosgerais/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}parametrosgerais"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"d50ff0be-7b31-4920-ac62-d03e1e633dde"},{"name":"Parametros da preparação","id":"852f8d3a-0f6e-4163-9cd0-ba936325f384","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"confirmacao_quantidade_artigo","value":"","description":"<p>confirmacao da quantidade do artigo</p>\n","type":"text"},{"key":"preparar_artigos_stock","value":"","description":"<p>preparar artigos em stock</p>\n","type":"text"},{"key":"transitar_automatico_preparacao","value":"","type":"text"},{"key":"estado_pontas_linhas","value":"","type":"text"}]},"url":"{{goldylocks-api-url}}parametrospreparacao/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}parametrospreparacao"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"852f8d3a-0f6e-4163-9cd0-ba936325f384"},{"name":"Obter dados empresa","id":"4061bc4c-6e41-47dc-a98e-f1a6adb229c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"designacaoEmpresa","value":"","description":"<p>designacao da empresa</p>\n","type":"text"},{"key":"conservatoriaEmpresa","value":"","description":"<p>conservatoria da empresa</p>\n","type":"text"},{"key":"capitalEmpresa","value":"","description":"<p>capital da empresa</p>\n","type":"text"},{"key":"telefoneEmpresa","value":"","description":"<p>telefone da empresa</p>\n","type":"text"},{"key":"telemovelEmpresa","value":"","description":"<p>telemovel  da empresa</p>\n","type":"text"},{"key":"emailEmpresa","value":"","description":"<p>email de empresa</p>\n","type":"text"},{"key":"siteEmpresa","value":"","description":"<p>site de empresa</p>\n","type":"text"},{"key":"nibEmpresa","value":"","description":"<p>nib da empresa</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}obterDadosEmpresa/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}obterDadosEmpresa"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"4061bc4c-6e41-47dc-a98e-f1a6adb229c3"},{"name":"Update dados empresa","id":"a7c15cf4-1a62-4342-af3c-e2f2849b6168","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}dadosempresa/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}dadosempresa"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"a7c15cf4-1a62-4342-af3c-e2f2849b6168"},{"name":"Obter logotipo da empresa","id":"f1e3f729-7458-44c7-bb41-f5233e1bfb66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}logotipo/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}logotipo"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"f1e3f729-7458-44c7-bb41-f5233e1bfb66"},{"name":"Definir opções logotipo e dados empresa","id":"9da43818-063c-48d7-862a-0c9e5eeaa901","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"mostrar_nome","value":"","description":"<p>nostrar o nome</p>\n","type":"text"},{"key":"mesagemExtra","value":"","description":"<p>mensagem Extra</p>\n","type":"text"},{"key":"posicaoLogotipo","value":"","description":"<p>Posicao do logotipo</p>\n","type":"text"},{"key":"","value":"","type":"text"}]},"url":"{{goldylocks-api-url}}dadoslogotipo/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}dadoslogotipo"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"9da43818-063c-48d7-862a-0c9e5eeaa901"},{"name":"Guardar logotipo","id":"bb1da292-8881-4b5f-8c82-36872d4788b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"logotipoEmpresa","value":"0x000","description":"<p>FILE - dados ficheiro logotipo</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}guardarlogotipo/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}guardarlogotipo"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"bb1da292-8881-4b5f-8c82-36872d4788b5"},{"name":"Obter código postal da empresa","id":"b434d405-121a-40e7-a05a-f0e24fd82170","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}cpempresa/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}cpempresa"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"b434d405-121a-40e7-a05a-f0e24fd82170"}],"id":"37d21c8a-ba15-4ced-85da-f279d3d137d1","_postman_id":"37d21c8a-ba15-4ced-85da-f279d3d137d1","description":""},{"name":"Opções eventos","item":[{"name":"Guardar valor opção evento","id":"3237b04f-91bd-4817-a110-5a28e0344bd0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_tipo_opcao_evento","value":"1","description":"<p>ID do tipo de opção de evento</p>\n","type":"text"},{"key":"id_evento","value":"2","description":"<p>ID do evento</p>\n","type":"text"},{"key":"valor","value":"Texto de teste","description":"<p>Valor da opção</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}guardarvaloropcaoevento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}guardarvaloropcaoevento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"3237b04f-91bd-4817-a110-5a28e0344bd0"},{"name":"Valor opção evento","id":"493c9844-a7fe-44ae-ab80-fc65da72e68e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_tipo_opcao_evento","value":"1","description":"<p>ID do tipo de opção de evento</p>\n","type":"text"},{"key":"id_evento","value":"2","description":"<p>ID do evento</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}valoropcaoevento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}valoropcaoevento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"493c9844-a7fe-44ae-ab80-fc65da72e68e"},{"name":"Historico de uma opção evento","id":"047f0b69-d04c-4c5a-936d-610cadefb974","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_tipo_opcao_evento","value":"74","description":"<p>ID do tipo de opção de evento</p>\n","type":"text"},{"key":"id_evento","value":"320","description":"<p>ID do evento</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}historicoopcaoevento/?api={{api-token}}&debug=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}historicoopcaoevento"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"debug","value":"1"}],"variable":[]}},"response":[],"_postman_id":"047f0b69-d04c-4c5a-936d-610cadefb974"},{"name":"Remover valor opção evento","id":"eec8e05f-7aad-40de-ba1b-1cee77305046","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_tipo_opcao_evento","value":"1","description":"<p>ID do tipo de opção de evento</p>\n","type":"text"},{"key":"id_evento","value":"2","description":"<p>ID do evento</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}removervaloropcaoevento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removervaloropcaoevento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"eec8e05f-7aad-40de-ba1b-1cee77305046"},{"name":"Remover todos os valores de opçoes do evento","id":"79104bfe-f036-4354-b04c-35d1950c9188","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_evento","value":"2","description":"<p>ID do evento</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}removervaloresopcoesevento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removervaloresopcoesevento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"79104bfe-f036-4354-b04c-35d1950c9188"},{"name":"Valores das opções do evento","id":"9b0d1d48-f350-4dbb-80f4-b7618d04c445","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_evento","value":"2","description":"<p>ID do evento</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}valoresopcoesevento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}valoresopcoesevento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"9b0d1d48-f350-4dbb-80f4-b7618d04c445"}],"id":"e606df6c-e07d-4158-93bd-d20b4e188148","_postman_id":"e606df6c-e07d-4158-93bd-d20b4e188148","description":""},{"name":"Pagamentos","item":[{"name":"Solicitar pagamento MBWay Copy","id":"9b97049b-5809-4d2a-b356-44ec1cd4cda4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"1","description":"<p>ID única do pedido de pagamento</p>\n","type":"text"},{"key":"valor","value":"1","description":"<p>Valor em EUR</p>\n","type":"text"},{"key":"telemovel_cliente","value":"900900900","description":"<p>Nº de telemóvel do cliente</p>\n","type":"text"},{"key":"email_cliente","value":"email@cliente.com","type":"text","description":"<p>Email do cliente</p>\n"},{"key":"descricao","value":"Documento XPTO","type":"text","description":"<p>Descrição adicional do pedido de pagamento</p>\n"}]},"url":"{{goldylocks-api-url}}solicitarpagamentombway/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}solicitarpagamentombway"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"9b97049b-5809-4d2a-b356-44ec1cd4cda4"},{"name":"Solicitar pagamento MBWay de um Documento","id":"f716990a-a513-4b2d-84b9-aa389474fbcc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{goldylocks-api-url}}solicitarpagamentombwaydocumento/?api={{api-token}}&documento=31295&vistacliente=1&telemovel=960960960","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}solicitarpagamentombwaydocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do documento a pagar</p>\n","type":"text/plain"},"key":"documento","value":"31295"},{"description":{"content":"<p>Mostrar formulário HTML</p>\n","type":"text/plain"},"key":"vistacliente","value":"1"},{"description":{"content":"<p>[OPCIONAL] - sem telemóvel devolve HTML formulario</p>\n","type":"text/plain"},"key":"telemovel","value":"960960960"}],"variable":[]}},"response":[],"_postman_id":"f716990a-a513-4b2d-84b9-aa389474fbcc"},{"name":"Verificar pagamento Multibanco","id":"c4ba8057-3c62-4954-9657-cb2008588ec4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"data_inicial","value":"01/01/2023","description":"<p>Data inicial da pesquisa</p>\n","type":"text"},{"key":"data_final","value":"31/01/2023","description":"<p>Data final da pesquisa</p>\n","type":"text"},{"key":"referencia","value":"123456789","description":"<p>[OPCIONAL] - pesquisar referência especifíca</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}verificarpagamentosmultibanco/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}verificarpagamentosmultibanco"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"c4ba8057-3c62-4954-9657-cb2008588ec4"},{"name":"Verificar pagamento MBWay Copy","id":"a3337138-de10-49c5-9796-d95d7f2ffd7a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_pedido","value":"hIgytuRrTJzevCSwF7p4","description":"<p>ID do pedido de pagamento por MBWay</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}verificarpedidopagamentombway/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}verificarpedidopagamentombway"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"a3337138-de10-49c5-9796-d95d7f2ffd7a"}],"id":"d1bb4552-d27f-4d2d-b3d3-c38c730327f1","_postman_id":"d1bb4552-d27f-4d2d-b3d3-c38c730327f1","description":""},{"name":"Paypal","item":[{"name":"Paypal ipn","id":"4d37e662-c6db-4982-93ae-412f489f379a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}paypalipn/?api={{api-token}}&empresa&paypal&documento&estadoPagamento&emailRemetente&nomeRemetente&emailDestino","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}paypalipn"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>nova empresa inserida</p>\n","type":"text/plain"},"key":"empresa","value":""},{"description":{"content":"<p>paypalPIN</p>\n","type":"text/plain"},"key":"paypal","value":""},{"description":{"content":"<p>novo documento inserido</p>\n","type":"text/plain"},"key":"documento","value":""},{"description":{"content":"<p>processa a responta por parte do paypal como  o pagamento esta liquidado </p>\n","type":"text/plain"},"key":"estadoPagamento","value":""},{"description":{"content":"<p>ID do email do remetente</p>\n","type":"text/plain"},"key":"emailRemetente","value":""},{"description":{"content":"<p>ID do nome da empresa</p>\n","type":"text/plain"},"key":"nomeRemetente","value":""},{"description":{"content":"<p>ID do email do destinatario</p>\n","type":"text/plain"},"key":"emailDestino","value":""}],"variable":[]}},"response":[],"_postman_id":"4d37e662-c6db-4982-93ae-412f489f379a"}],"id":"09b6d335-da99-4070-bc10-a6c631b4c2d8","_postman_id":"09b6d335-da99-4070-bc10-a6c631b4c2d8","description":""},{"name":"POS","item":[{"name":"Criar nova pagina POS","id":"09d3a6f9-3832-44bb-af72-a923c1dda301","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"pagina","value":"{\"id\":8888, \"teste\":11,\"number\":0}","type":"text"}]},"url":"{{goldylocks-api-url}}guardarpaginapos/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}guardarpaginapos"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"09d3a6f9-3832-44bb-af72-a923c1dda301"},{"name":"Guardar paginas POS","id":"be5db95a-6087-48d2-bb78-3975de3674da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"paginas","value":"[{\"id\":88881111,\"campo_1\":\"campo1\"},{\"id\":88882222,\"campo_1\":\"campo2\"}]","type":"text"},{"key":"id_caixa","value":"1","description":"<p>[OPCIONAL] - id da caixa a associar as paginas POS geradas</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}guardarpaginaspos/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}guardarpaginaspos"],"query":[{"key":"api","value":"{{api-token}}"},{"disabled":true,"key":"debug","value":"1"}],"variable":[]}},"response":[],"_postman_id":"be5db95a-6087-48d2-bb78-3975de3674da"},{"name":"Obter todas as paginas POS","id":"47380c5c-ff76-4226-90ff-7f64bf0bc80e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{goldylocks-api-url}}pos_paginas/?api={{api-token}}&id_caixa=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}pos_paginas"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>[OPCIONAL] - id da caixa</p>\n","type":"text/plain"},"key":"id_caixa","value":"1"}],"variable":[]}},"response":[],"_postman_id":"47380c5c-ff76-4226-90ff-7f64bf0bc80e"},{"name":"Eliminar todas as páginas POS","id":"ec9d2511-9321-44d7-8e54-7556dfbaf3b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{goldylocks-api-url}}eliminarpaginaspos/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarpaginaspos"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"ec9d2511-9321-44d7-8e54-7556dfbaf3b7"},{"name":"Adicionar artigos mesa","id":"7e489561-f04d-4af9-a153-2bb7b2356062","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"artigos_mesa","value":"[{\"id_mesa\":9047,\"id_artigo\":\"artigo_teste\",\"quantidade\":2}]","description":"<p>codigo do artigo</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}adicionarartigosmesa/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}adicionarartigosmesa"],"query":[{"key":"api","value":"{{api-token}}"},{"disabled":true,"key":"debug","value":"1"}],"variable":[]}},"response":[],"_postman_id":"7e489561-f04d-4af9-a153-2bb7b2356062"},{"name":"Eliminar todos os artigos de uma mesa","id":"b77f14d3-56d6-4a1d-b2f7-b54ecd12eef4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_mesa","value":"900","type":"text"}]},"url":"{{goldylocks-api-url}}limparartigosmesa/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}limparartigosmesa"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"b77f14d3-56d6-4a1d-b2f7-b54ecd12eef4"},{"name":"Obter artigos mesa","id":"f34a3642-3d93-4216-a519-d6f5696660be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_mesa","value":"900","description":"<p>id da mesa a consultar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}artigosmesa/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}artigosmesa"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"f34a3642-3d93-4216-a519-d6f5696660be"}],"id":"6cf455e3-191d-4c1f-a5a7-5bbc614cd7b4","_postman_id":"6cf455e3-191d-4c1f-a5a7-5bbc614cd7b4","description":""},{"name":"Preparaçao","item":[{"name":"Estados da preparaçao","id":"2a069c57-e48d-41ea-b13c-6603b1a887fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}estadospreparacao/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}estadospreparacao"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"2a069c57-e48d-41ea-b13c-6603b1a887fb"},{"name":"Preparaçao","id":"8ce408b1-ac28-4335-a6b0-0db8cd7ca643","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}preparacao/?api={{api-token}}&expedida&cliente&pesquisa&datas ===dataPrincipal || dataFinal","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}preparacao"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>remeter a encomenda</p>\n","type":"text/plain"},"key":"expedida","value":""},{"description":{"content":"<p>ID do cliente</p>\n","type":"text/plain"},"key":"cliente","value":""},{"description":{"content":"<p>pesquisa do cliente</p>\n","type":"text/plain"},"key":"pesquisa","value":""},{"description":{"content":"<p>move as encomendas para data da criação da guia ou recibo</p>\n","type":"text/plain"},"key":"datas ","value":"==dataPrincipal || dataFinal"}],"variable":[]}},"response":[],"_postman_id":"8ce408b1-ac28-4335-a6b0-0db8cd7ca643"},{"name":"Devolve as linhas do documento em preparação","id":"226f59b3-9604-494c-9ede-97aa6a79ce6f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}prepararlinhas/?api={{api-token}}&p&artigo&id_movimento\t            =\n","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}prepararlinhas"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da encomenda</p>\n","type":"text/plain"},"key":"p","value":""},{"description":{"content":"<p>ID de tipos de documento em stock</p>\n","type":"text/plain"},"key":"artigo","value":""},{"description":{"content":"<p>ID de movimento de encomendas</p>\n","type":"text/plain"},"key":"id_movimento\t            ","value":"\n"}],"variable":[]}},"response":[],"_postman_id":"226f59b3-9604-494c-9ede-97aa6a79ce6f"},{"name":"Quantidade do artigo na linha em preparaçao","id":"0c0b9d05-c4de-4aab-bef8-0fb551cfe2dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}inserirArtigoPreparacao/?api={{api-token}}&id_movimento&quantidade","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}inserirArtigoPreparacao"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID de movimento </p>\n","type":"text/plain"},"key":"id_movimento","value":""},{"description":{"content":"<p>Definição de quantidade por encomenda</p>\n","type":"text/plain"},"key":"quantidade","value":""}],"variable":[]}},"response":[],"_postman_id":"0c0b9d05-c4de-4aab-bef8-0fb551cfe2dd"},{"name":"Expedir encomendas","id":"2a19188c-341b-48bb-a0d3-e980324a851e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}expedirEncomendas/?api={{api-token}}&id_encomenda","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}expedirEncomendas"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>Expede as encomendas</p>\n","type":"text/plain"},"key":"id_encomenda","value":""}],"variable":[]}},"response":[],"_postman_id":"2a19188c-341b-48bb-a0d3-e980324a851e"},{"name":"Voltar com as encomendas para a preparação","id":"8ed54cee-70d5-4f23-8091-f9ea6abf730a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}voltarPreparacaoEncomendas/?api={{api-token}}&id_encomenda","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}voltarPreparacaoEncomendas"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p> ID da encomenda</p>\n","type":"text/plain"},"key":"id_encomenda","value":""}],"variable":[]}},"response":[],"_postman_id":"8ed54cee-70d5-4f23-8091-f9ea6abf730a"},{"name":"Total de linhas convertidas documento","id":"e4ad0359-362c-4893-a1a4-e8d7509e54cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}obtertotalconvertidoslinha/?api={{api-token}}&totallinhas&p&totallinhas","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}obtertotalconvertidoslinha"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"totallinhas","value":""},{"description":{"content":"<p>ID da encomenda</p>\n","type":"text/plain"},"key":"p","value":""},{"description":{"content":"<p>totais de Convertidos de Linhas no ID da encomenda</p>\n","type":"text/plain"},"key":"totallinhas","value":""}],"variable":[]}},"response":[],"_postman_id":"e4ad0359-362c-4893-a1a4-e8d7509e54cf"},{"name":"Documentos para stock","id":"ba760dbc-cf03-4700-84a7-caeb46811e2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}estadoDocumentoSemStock/?api={{api-token}}&id_movimento","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}estadoDocumentoSemStock"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID de movimento</p>\n","type":"text/plain"},"key":"id_movimento","value":""}],"variable":[]}},"response":[],"_postman_id":"ba760dbc-cf03-4700-84a7-caeb46811e2f"},{"name":"Documento sem estado","id":"4be61e35-7795-4506-ba21-f2b6bff5a123","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}estadoDocumentoSemEstado/?api={{api-token}}&id_encomenda","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}estadoDocumentoSemEstado"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID de encomenda</p>\n","type":"text/plain"},"key":"id_encomenda","value":""}],"variable":[]}},"response":[],"_postman_id":"4be61e35-7795-4506-ba21-f2b6bff5a123"},{"name":"Documento para a preparação","id":"c5131cfe-40e7-423c-93b0-202e72d418f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}estadoDocumentoPreparacao/?api={{api-token}}&id_encomenda=12","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}estadoDocumentoPreparacao"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da encomenda</p>\n","type":"text/plain"},"key":"id_encomenda","value":"12"}],"variable":[]}},"response":[],"_postman_id":"c5131cfe-40e7-423c-93b0-202e72d418f5"},{"name":"Estado documento PRONTO","id":"89f167b7-1db4-4823-bd3d-d18ba1d85c11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}estadoDocumentoSatisfeito/?api={{api-token}}&id_encomenda=12","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}estadoDocumentoSatisfeito"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da encomenda</p>\n","type":"text/plain"},"key":"id_encomenda","value":"12"}],"variable":[]}},"response":[],"_postman_id":"89f167b7-1db4-4823-bd3d-d18ba1d85c11"},{"name":"Mudar estado da linha","id":"d6145960-b913-4d55-b184-d2b6d0053ea7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}mudarEstadoLinha/?api={{api-token}}&estado=2&id_encomenda=20","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}mudarEstadoLinha"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>estado do movimento da encomenda</p>\n","type":"text/plain"},"key":"estado","value":"2"},{"description":{"content":"<p>ID da encomenda</p>\n","type":"text/plain"},"key":"id_encomenda","value":"20"}],"variable":[]}},"response":[],"_postman_id":"d6145960-b913-4d55-b184-d2b6d0053ea7"},{"name":"Obter movimentos por processar de um documento","id":"8c8b2dde-fe14-42a0-b7a6-f08e96c579a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}movimentosporprocessarpreparacao/?api={{api-token}}&p=23434","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}movimentosporprocessarpreparacao"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do documento a analisar</p>\n","type":"text/plain"},"key":"p","value":"23434"}],"variable":[]}},"response":[],"_postman_id":"8c8b2dde-fe14-42a0-b7a6-f08e96c579a3"}],"id":"36d061fc-cfc5-48ac-bea4-a24dda690438","_postman_id":"36d061fc-cfc5-48ac-bea4-a24dda690438","description":""},{"name":"Prestashop","item":[{"name":"Sincronizar todos os dados com a webstore","id":"512cce4a-7161-4f04-9519-72229a02d384","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"tipo_dados","value":"encomendas","description":"<p>[artigos, familias, impostos, artigosimagens, encomendas], se não for enviado sincroniza tudo</p>\n","type":"text"},{"key":"id_loja_online","value":"2","description":"<p>ID da loja online</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}sincronizardadoswebstore/?api={{api-token}}","description":"<p>Envia todos os dados necessários para o correto funcionamento da webstore.</p>\n<ul>\n<li>Impostos</li>\n<li>Familias</li>\n<li>Artigos</li>\n<li>Imagens dos artigos</li>\n<li>Encomendas</li>\n</ul>\n","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}sincronizardadoswebstore"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[{"id":"096ecdfe-5c7a-4f8e-af73-90f583291338","name":"Sincronizar todos os dados com a webstore","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}?api={{api-token}}&t=syncwebstore","host":["{{goldylocks-api-url}}"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"t","value":"syncwebstore"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"512cce4a-7161-4f04-9519-72229a02d384"},{"name":"Sincronizar artigo","id":"f335f3cd-8690-4cca-b653-e0611a7cc16b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_artigo","value":"AA4808R54","description":"<p>código do artigo no Goldylocks</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}sincronizarartigowebstore/?api={{api-token}}","description":"<p>Atualiza ou cria um artigo na webstore.</p>\n","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}sincronizarartigowebstore"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[{"id":"6d77c49d-9f93-41d9-b1c1-46551535ca9c","name":"Sincronizar todos os dados com a webstore","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}?api={{api-token}}&t=syncwebstore","host":["{{goldylocks-api-url}}"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"t","value":"syncwebstore"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"f335f3cd-8690-4cca-b653-e0611a7cc16b"},{"name":"Sincronizar familias","id":"14ed1f48-f3c7-4a26-888c-cfd56df68266","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{goldylocks-api-url}}sincronizarfamiliaswebstore/?api={{api-token}}","description":"<p>Atualiza ou cria um artigo na webstore.</p>\n","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}sincronizarfamiliaswebstore"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[{"id":"ed28a13e-713e-4d6f-8e2f-1984f1643cae","name":"Sincronizar todos os dados com a webstore","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}?api={{api-token}}&t=syncwebstore","host":["{{goldylocks-api-url}}"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"t","value":"syncwebstore"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"14ed1f48-f3c7-4a26-888c-cfd56df68266"},{"name":"Sincronizar familia","id":"f3a5a028-0942-4eda-be3d-82bfda4a10d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_familia","value":"11782","description":"<p>id da familia a sincronizar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}sincronizarfamiliawebstore/?api={{api-token}}","description":"<p>Se a familia pai não existir também é criada.</p>\n","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}sincronizarfamiliawebstore"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[{"id":"160d73d6-32df-4a19-a350-3d810cf994cd","name":"Sincronizar todos os dados com a webstore","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}?api={{api-token}}&t=syncwebstore","host":["{{goldylocks-api-url}}"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"t","value":"syncwebstore"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"f3a5a028-0942-4eda-be3d-82bfda4a10d9"},{"name":"Sincronizar impostos","id":"82349a19-3241-429b-a209-215eea6528de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_artigo","value":"AA4808R54","description":"<p>código do artigo no Goldylocks</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}sincronizarimpostoswebstore/?api={{api-token}}","description":"<p>Atualiza ou cria um artigo na webstore.</p>\n","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}sincronizarimpostoswebstore"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[{"id":"ca79e33b-5533-4fed-adcb-c294f819163d","name":"Sincronizar todos os dados com a webstore","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}?api={{api-token}}&t=syncwebstore","host":["{{goldylocks-api-url}}"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"t","value":"syncwebstore"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"82349a19-3241-429b-a209-215eea6528de"},{"name":"Sincronizar imagem artigo","id":"0fc80118-00e1-43f5-a7a9-3bfea269e8b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_artigo","value":"AA4808R54","description":"<p>código do artigo no Goldylocks</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}sincronizarimagemartigowebstore/?api={{api-token}}","description":"<p>Atualiza ou cria um artigo na webstore.</p>\n","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}sincronizarimagemartigowebstore"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[{"id":"dc4d3212-ec76-4e86-942a-eeddd9d8a46b","name":"Sincronizar todos os dados com a webstore","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}?api={{api-token}}&t=syncwebstore","host":["{{goldylocks-api-url}}"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"t","value":"syncwebstore"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"0fc80118-00e1-43f5-a7a9-3bfea269e8b4"},{"name":"Remover artigo webstore","id":"f5139c44-a763-4c15-a42e-eca80d4eb885","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_artigo","value":"AA4808R54","description":"<p>ID do artigo a remover da webstore</p>\n","type":"text"},{"key":"id_loja_online","value":"1","description":"<p>ID Loja online</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}removerartigowebstore/?api={{api-token}}","description":"<p>Atualiza ou cria um artigo na webstore.</p>\n","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removerartigowebstore"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[{"id":"1b7af34d-b05b-456f-8449-75d84816133a","name":"Sincronizar todos os dados com a webstore","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}?api={{api-token}}&t=syncwebstore","host":["{{goldylocks-api-url}}"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"t","value":"syncwebstore"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"f5139c44-a763-4c15-a42e-eca80d4eb885"},{"name":"Remover sincronizacoes webstore","id":"fce25b42-dd49-4d35-b82b-a47a5c6024d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"tipo_dados","value":"familia","description":"<p>[artigo, familia, imposto, imagem, encomenda], se não for enviado sincroniza tudo</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}removersincronizacaowebstore/?api={{api-token}}","description":"<p>Atualiza ou cria um artigo na webstore.</p>\n","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removersincronizacaowebstore"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[{"id":"d5d929d4-834a-49f2-97e7-a2238d34a65f","name":"Sincronizar todos os dados com a webstore","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}?api={{api-token}}&t=syncwebstore","host":["{{goldylocks-api-url}}"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"t","value":"syncwebstore"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"fce25b42-dd49-4d35-b82b-a47a5c6024d5"},{"name":"Obter artigos a sincronizar webstore","id":"3fceb442-a807-4aaa-bedb-c270bec68bf5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_loja_online","value":"1","description":"<p>ID da loja online</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}artigosasincronizar/?api={{api-token}}","description":"<p>Envia todos os dados necessários para o correto funcionamento da webstore.</p>\n<ul>\n<li>Impostos</li>\n<li>Familias</li>\n<li>Artigos</li>\n</ul>\n","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}artigosasincronizar"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[{"id":"4d89f5cc-78a5-4aa7-a0d6-7aa4df3c5d84","name":"Sincronizar todos os dados com a webstore","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}?api={{api-token}}&t=syncwebstore","host":["{{goldylocks-api-url}}"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"t","value":"syncwebstore"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"3fceb442-a807-4aaa-bedb-c270bec68bf5"},{"name":"Obter todos os impostos a sincronizar","id":"756c4d2b-ceb6-4ee7-a8bc-1ceec7dd1bf2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{goldylocks-api-url}}artigosasincronizar/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}artigosasincronizar"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[{"id":"d6e0e40a-de42-45ee-82a9-9998abdfc17c","name":"Sincronizar todos os dados com a webstore","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}?api={{api-token}}&t=syncwebstore","host":["{{goldylocks-api-url}}"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"t","value":"syncwebstore"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"756c4d2b-ceb6-4ee7-a8bc-1ceec7dd1bf2"},{"name":"Obter todas as familias a sincronizar","id":"d566a5c0-b2f4-4ac4-99bc-56f9a3c56943","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_loja_online","value":"1","description":"<p>ID da loja online</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}familiasasincronizar/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}familiasasincronizar"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[{"id":"997d384b-d28b-4451-9e00-61313a49b58c","name":"Sincronizar todos os dados com a webstore","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}?api={{api-token}}&t=syncwebstore","host":["{{goldylocks-api-url}}"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"t","value":"syncwebstore"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"d566a5c0-b2f4-4ac4-99bc-56f9a3c56943"},{"name":"Estado sincronizacao automatica de encomendas","id":"480faf3c-0dd0-414f-9b2f-3aa5b2407943","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}estadosincronizacaowebstore/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}estadosincronizacaowebstore"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[{"id":"3c759384-d4b4-47f3-a242-085a68553108","name":"Sincronizar todos os dados com a webstore","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}?api={{api-token}}&t=syncwebstore","host":["{{goldylocks-api-url}}"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"t","value":"syncwebstore"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"480faf3c-0dd0-414f-9b2f-3aa5b2407943"},{"name":"Ativar sincronizacao automatica de encomendas","id":"31ec6796-2a73-4bd5-a7cc-82fb1466d8d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_loja_online","value":"1","description":"<p>id loja online</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}ativarsincronizacaowebstore/?api={{api-token}}&","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}ativarsincronizacaowebstore"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"","value":""}],"variable":[]}},"response":[{"id":"a9741aa9-a022-4ccd-9aa1-323216243742","name":"Sincronizar todos os dados com a webstore","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}?api={{api-token}}&t=syncwebstore","host":["{{goldylocks-api-url}}"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"t","value":"syncwebstore"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"31ec6796-2a73-4bd5-a7cc-82fb1466d8d1"},{"name":"Desativar sincronizacao automatica de encomendas","id":"5b61b44f-3d90-478f-88f0-a778eacc862b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_loja_online","value":"1","description":"<p>id loja online</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}desativarsincronizacaowebstore/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}desativarsincronizacaowebstore"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[{"id":"c8d2a7ca-fc81-413e-aed7-684dbe7b401f","name":"Sincronizar todos os dados com a webstore","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}?api={{api-token}}&t=syncwebstore","host":["{{goldylocks-api-url}}"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"t","value":"syncwebstore"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"5b61b44f-3d90-478f-88f0-a778eacc862b"}],"id":"203c4771-b28a-4798-b11b-1ade7290df03","_postman_id":"203c4771-b28a-4798-b11b-1ade7290df03","description":""},{"name":"Produção","item":[{"name":"Etapas de produção em curso","item":[{"name":"Obter etapas de produção em curso","id":"d9fdc7d4-0333-47e4-8ed8-9544e6d8d9a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api2-url}}producaoetapasemcurso/:id_mov_encomenda/:id_etapa_producao","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":[":id_mov_encomenda",":id_etapa_producao"],"host":["{{goldylocks-api2-url}}producaoetapasemcurso"],"query":[],"variable":[{"id":"17faf49d-df2a-4f62-85f3-78aa2794a221","type":"any","value":"1","key":"id_mov_encomenda"},{"id":"97541091-f246-40d1-9a02-e5eea354707a","type":"any","value":"1","key":"id_etapa_producao"}]}},"response":[],"_postman_id":"d9fdc7d4-0333-47e4-8ed8-9544e6d8d9a6"},{"name":"Obter etapas de produção em espera por tipo de posto","id":"2ccecfcd-07cb-4597-85e3-5a9625e47dad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api2-url}}producaoetapasemcurso/emespera/:id_tipo_posto/:id_posto","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":["emespera",":id_tipo_posto",":id_posto"],"host":["{{goldylocks-api2-url}}producaoetapasemcurso"],"query":[],"variable":[{"type":"any","value":"8","key":"id_tipo_posto"},{"type":"any","value":"13","key":"id_posto"}]}},"response":[],"_postman_id":"2ccecfcd-07cb-4597-85e3-5a9625e47dad"},{"name":"Obter estado etapas produção em curso","id":"da6520e1-c08a-4263-9b00-ecdd38eb38aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api2-url}}producaoetapasemcurso/status","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":["status"],"host":["{{goldylocks-api2-url}}producaoetapasemcurso"],"query":[],"variable":[]}},"response":[],"_postman_id":"da6520e1-c08a-4263-9b00-ecdd38eb38aa"},{"name":"Criar etapa de produção em curso","id":"3d81f98e-3cc4-41d1-990f-12085ac649e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id_mov_encomenda\": 1,\r\n    \"id_etapa_producao\": 1,\r\n    \"id_posto\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{goldylocks-api2-url}}producaoetapasemcurso/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":[""],"host":["{{goldylocks-api2-url}}producaoetapasemcurso"],"query":[],"variable":[]}},"response":[],"_postman_id":"3d81f98e-3cc4-41d1-990f-12085ac649e0"},{"name":"Eliminar etapa de produção em curso","id":"5781f122-c4e9-42d5-822a-8636f5fe4816","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id_mov_encomenda\": 1,\r\n    \"id_etapa_producao\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{goldylocks-api2-url}}producaoetapasemcurso/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":[""],"host":["{{goldylocks-api2-url}}producaoetapasemcurso"],"query":[],"variable":[]}},"response":[],"_postman_id":"5781f122-c4e9-42d5-822a-8636f5fe4816"},{"name":"Iniciar etapa produção em curso","id":"f1a8ed35-c412-4bdc-a797-37b6230dade2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id_utilizador\": 1,\r\n    \"id_posto\": 8,\r\n    \"id_mov_encomenda\": 1,\r\n    \"id_etapa_producao\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{goldylocks-api2-url}}producaoetapasemcurso/iniciar","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":["iniciar"],"host":["{{goldylocks-api2-url}}producaoetapasemcurso"],"query":[],"variable":[]}},"response":[],"_postman_id":"f1a8ed35-c412-4bdc-a797-37b6230dade2"},{"name":"Terminar etapa produção em curso","id":"104f9b65-092a-4c77-96fe-129f75a07f0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id_mov_encomenda\": 1,\r\n    \"id_etapa_producao\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{goldylocks-api2-url}}producaoetapasemcurso/terminar","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":["terminar"],"host":["{{goldylocks-api2-url}}producaoetapasemcurso"],"query":[],"variable":[]}},"response":[],"_postman_id":"104f9b65-092a-4c77-96fe-129f75a07f0c"}],"id":"9d9b79ef-3d6b-4562-aa6f-ca91f20993f8","_postman_id":"9d9b79ef-3d6b-4562-aa6f-ca91f20993f8","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}}},{"name":"Etapas de produção","item":[{"name":"Obter etapa de produção","id":"b4e6aae0-46ff-4590-9180-b346092493ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api2-url}}producaoetapasproducao/:id_etapa_producao","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":[":id_etapa_producao"],"host":["{{goldylocks-api2-url}}producaoetapasproducao"],"query":[],"variable":[{"id":"d007f0fb-9605-42f8-8ef8-e9205ca90f9d","type":"any","value":"1","key":"id_etapa_producao"}]}},"response":[],"_postman_id":"b4e6aae0-46ff-4590-9180-b346092493ab"},{"name":"Obter todas as etapas de produção","id":"24d70a17-1064-4f7e-97f6-69a079d26c74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api2-url}}producaoetapasproducao/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":[""],"host":["{{goldylocks-api2-url}}producaoetapasproducao"],"query":[],"variable":[]}},"response":[],"_postman_id":"24d70a17-1064-4f7e-97f6-69a079d26c74"},{"name":"Obter todas as etapas de produção de um plano","id":"005c5f8d-58f6-4761-afd4-6ce65f5ca2bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api2-url}}producaoetapasproducao/plano/:id_plano_producao","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":["plano",":id_plano_producao"],"host":["{{goldylocks-api2-url}}producaoetapasproducao"],"query":[],"variable":[{"id":"ce432a6a-a903-4a88-8eba-be5fa6b41419","type":"any","value":"21","key":"id_plano_producao"}]}},"response":[],"_postman_id":"005c5f8d-58f6-4761-afd4-6ce65f5ca2bd"},{"name":"Criar etapa de produção","id":"e6eddc18-6df4-4faf-9a0b-0a4b0c441e31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"descricao\": \"Plano de produção\",\r\n    \"id_tipo_posto\": \"1\",\r\n    \"id_plano_producao\": \"1\",\r\n    \"ordem\": \"1\",\r\n    \"obrigatorio\": \"1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{goldylocks-api2-url}}producaoetapasproducao","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"host":["{{goldylocks-api2-url}}producaoetapasproducao"],"query":[],"variable":[]}},"response":[],"_postman_id":"e6eddc18-6df4-4faf-9a0b-0a4b0c441e31"},{"name":"Alterar ordem etapa de produção","id":"b4308a22-d1f3-458c-87e4-506f08693a76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id_etapa\": 19,\r\n    \"ordem\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{goldylocks-api2-url}}producaoetapasproducao/ordem","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":["ordem"],"host":["{{goldylocks-api2-url}}producaoetapasproducao"],"query":[],"variable":[]}},"response":[],"_postman_id":"b4308a22-d1f3-458c-87e4-506f08693a76"},{"name":"Eliminar etapa de um plano de produção","id":"71db8659-17ce-42bc-9893-04f6bdbd3b2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{goldylocks-api2-url}}producaoetapasproducao/:id_etapa_producao","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":[":id_etapa_producao"],"host":["{{goldylocks-api2-url}}producaoetapasproducao"],"query":[],"variable":[{"id":"c24d14a0-ed50-4227-9e8a-2b9a4cb935b8","type":"any","value":"1","key":"id_etapa_producao"}]}},"response":[],"_postman_id":"71db8659-17ce-42bc-9893-04f6bdbd3b2b"}],"id":"0792458b-5ae6-4508-9cae-ca7b83572207","_postman_id":"0792458b-5ae6-4508-9cae-ca7b83572207","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}}},{"name":"Maquinas","item":[{"name":"Criar nova máquina","id":"9373dc7f-5fc1-4348-92a9-ea4d3bc81318","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"descricao\": \"maquina 1\",\r\n    \"id_tipo_maquina\": 2\r\n}","options":{"raw":{"language":"json"}}},"url":"{{goldylocks-api2-url}}producaomaquinas","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"host":["{{goldylocks-api2-url}}producaomaquinas"],"query":[],"variable":[]}},"response":[],"_postman_id":"9373dc7f-5fc1-4348-92a9-ea4d3bc81318"},{"name":"Editar máquina","id":"238d0619-1749-4570-a830-dc0ed5598136","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id_maquina\": 1,\r\n    \"descricao\": \"maquina alterada\",\r\n    \"id_tipo_maquina\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{goldylocks-api2-url}}producaomaquinas","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"host":["{{goldylocks-api2-url}}producaomaquinas"],"query":[],"variable":[]}},"response":[],"_postman_id":"238d0619-1749-4570-a830-dc0ed5598136"},{"name":"Obter todas as maquinas","id":"769c65b3-73c3-49a9-b51b-255d483afa3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api2-url}}producaomaquinas","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"host":["{{goldylocks-api2-url}}producaomaquinas"],"query":[],"variable":[]}},"response":[],"_postman_id":"769c65b3-73c3-49a9-b51b-255d483afa3a"},{"name":"Obter todas as maquinas disponiveis","id":"ffffe399-12da-4e51-aef8-736672af8952","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api2-url}}producaomaquinas/disponiveis","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":["disponiveis"],"host":["{{goldylocks-api2-url}}producaomaquinas"],"query":[],"variable":[]}},"response":[],"_postman_id":"ffffe399-12da-4e51-aef8-736672af8952"},{"name":"Obter dados de uma maquina","id":"f8ee0ff8-4638-48e6-ac5f-fd119c43b000","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"descricao\": \"maquina 1\",\r\n    \"id_tipo_maquina\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{goldylocks-api2-url}}producaomaquinas/:id_maquina","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":[":id_maquina"],"host":["{{goldylocks-api2-url}}producaomaquinas"],"query":[],"variable":[{"id":"99f62963-90de-42fc-8ef2-6d25a1705e8b","type":"any","value":"3","key":"id_maquina"}]}},"response":[],"_postman_id":"f8ee0ff8-4638-48e6-ac5f-fd119c43b000"},{"name":"Filtrar por tipo de máquina","id":"50c76cf3-0654-44c0-9a42-5bd68c319992","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"descricao\": \"maquina 1\",\r\n    \"id_tipo_maquina\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{goldylocks-api2-url}}producaomaquinas/tipo/:id_tipo_maquina","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":["tipo",":id_tipo_maquina"],"host":["{{goldylocks-api2-url}}producaomaquinas"],"query":[],"variable":[{"id":"26620417-5382-449d-9e59-bad018c9f88a","type":"any","value":"2","key":"id_tipo_maquina"}]}},"response":[],"_postman_id":"50c76cf3-0654-44c0-9a42-5bd68c319992"},{"name":"Eliminar máquina","id":"f2f3d511-09da-4186-a4b0-8da28b9c51ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{goldylocks-api2-url}}producaomaquinas/:id_maquina","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":[":id_maquina"],"host":["{{goldylocks-api2-url}}producaomaquinas"],"query":[],"variable":[{"id":"f189e42e-00b0-4d28-9dfd-78ebd98d10ab","type":"any","value":"2","key":"id_maquina"}]}},"response":[],"_postman_id":"f2f3d511-09da-4186-a4b0-8da28b9c51ee"}],"id":"a47e43ac-00dc-439a-89ad-78f48a0b5c1d","_postman_id":"a47e43ac-00dc-439a-89ad-78f48a0b5c1d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}}},{"name":"Maquinas dos postos","item":[{"name":"Adicionar maquina a um posto","id":"ad5191a2-fc6c-4c9c-9686-cf447b4dfba5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id_maquina\": 7,\r\n    \"id_posto\": 14\r\n}","options":{"raw":{"language":"json"}}},"url":"{{goldylocks-api2-url}}producaomaquinaspostos","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"host":["{{goldylocks-api2-url}}producaomaquinaspostos"],"query":[],"variable":[]}},"response":[],"_postman_id":"ad5191a2-fc6c-4c9c-9686-cf447b4dfba5"},{"name":"Obter posto de uma máquina","id":"8ac423b6-313a-419a-83c2-4167844bf7aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api2-url}}producaomaquinaspostos/maquina/:id_maquina","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":["maquina",":id_maquina"],"host":["{{goldylocks-api2-url}}producaomaquinaspostos"],"query":[],"variable":[{"id":"b6cb0357-7155-4303-b6a0-829fae51593b","type":"any","value":"1","key":"id_maquina"}]}},"response":[],"_postman_id":"8ac423b6-313a-419a-83c2-4167844bf7aa"},{"name":"Obter maquinas de um posto Copy","id":"348d7076-5779-4f51-90a9-1bbe72b18804","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id_maquina\": 1,\r\n    \"id_posto\": 2\r\n}","options":{"raw":{"language":"json"}}},"url":"{{goldylocks-api2-url}}producaomaquinaspostos/posto/:id_posto","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":["posto",":id_posto"],"host":["{{goldylocks-api2-url}}producaomaquinaspostos"],"query":[],"variable":[{"id":"95690679-477a-44ab-8c69-1b25812550f2","type":"any","value":"13","key":"id_posto"}]}},"response":[],"_postman_id":"348d7076-5779-4f51-90a9-1bbe72b18804"},{"name":"Remover maquina de um posto","id":"06071304-c393-42ea-8f26-0436755588e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{goldylocks-api2-url}}producaomaquinaspostos/:id_maquina/:id_posto","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":[":id_maquina",":id_posto"],"host":["{{goldylocks-api2-url}}producaomaquinaspostos"],"query":[],"variable":[{"id":"f011a2ed-580a-424a-96ba-31f47dc18170","type":"any","value":null,"key":"id_maquina"},{"id":"6f7fd0fa-37d8-40e4-b1b4-e61a39c7911c","type":"any","value":null,"key":"id_posto"}]}},"response":[],"_postman_id":"06071304-c393-42ea-8f26-0436755588e8"}],"id":"4a9e28b6-76d2-48ed-a4d1-a5ea69f7ce5e","_postman_id":"4a9e28b6-76d2-48ed-a4d1-a5ea69f7ce5e","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}}},{"name":"Materia prima utilizada","item":[{"name":"Registar materia prima utilizada","id":"c2b8e9ec-0eff-4586-9d77-7660a6c63474","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id_mov_encomenda\": 1,\r\n    \"id_etapa_producao\": 2,\r\n    \"id_artigo\": \"COD123123123\",\r\n    \"quantidade\": 10\r\n}","options":{"raw":{"language":"json"}}},"url":"{{goldylocks-api2-url}}producaomateriaprimautilizada","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"host":["{{goldylocks-api2-url}}producaomateriaprimautilizada"],"query":[],"variable":[]}},"response":[],"_postman_id":"c2b8e9ec-0eff-4586-9d77-7660a6c63474"},{"name":"Obter materia prima utilizada num movimento","id":"017e92e0-2c2a-4d98-9020-588451137dbb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id_mov_encomenda\": 1,\r\n    \"id_etapa_producao\": 2,\r\n    \"id_artigo\": \"COD123123123\",\r\n    \"quantidade\": 10\r\n}","options":{"raw":{"language":"json"}}},"url":"{{goldylocks-api2-url}}producaomateriaprimautilizada/:id_mov_encomenda","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":[":id_mov_encomenda"],"host":["{{goldylocks-api2-url}}producaomateriaprimautilizada"],"query":[],"variable":[{"id":"1cb6e967-bb39-49bd-982f-1044468e4c51","type":"any","value":"1","key":"id_mov_encomenda"}]}},"response":[],"_postman_id":"017e92e0-2c2a-4d98-9020-588451137dbb"},{"name":"Eliminar registo de materia prima","id":"d52d5cd6-0ed1-44df-b9a3-b6d84224b9ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id_mov_encomenda\": 1,\r\n    \"id_etapa_producao\": 2,\r\n    \"id_artigo\": \"COD123123123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{goldylocks-api2-url}}producaomateriaprimautilizada","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"host":["{{goldylocks-api2-url}}producaomateriaprimautilizada"],"query":[],"variable":[]}},"response":[],"_postman_id":"d52d5cd6-0ed1-44df-b9a3-b6d84224b9ed"}],"id":"50f197b2-479d-4fa3-ac2e-0f10e6362f56","_postman_id":"50f197b2-479d-4fa3-ac2e-0f10e6362f56","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}}},{"name":"Pausas da produção","item":[{"name":"Registar nova pausa na produção","id":"449d60ab-3111-4d4c-83a5-e35223d5e2d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id_mov_encomenda\": 123,\r\n    \"id_etapa_producao\": 456,\r\n    \"id_utilizador\": 5,\r\n    \"id_motivo_pausa\": 2\r\n}","options":{"raw":{"language":"json"}}},"url":"{{goldylocks-api2-url}}producaopausasetapasproducao","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"host":["{{goldylocks-api2-url}}producaopausasetapasproducao"],"query":[],"variable":[]}},"response":[],"_postman_id":"449d60ab-3111-4d4c-83a5-e35223d5e2d3"},{"name":"Terminar pausa","id":"76488e79-31ce-4bbc-96e8-e5c026f4ef42","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id_mov_encomenda\": 1,\r\n    \"id_etapas_producao\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{goldylocks-api2-url}}producaopausasetapasproducao/terminarpausa","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":["terminarpausa"],"host":["{{goldylocks-api2-url}}producaopausasetapasproducao"],"query":[],"variable":[]}},"response":[],"_postman_id":"76488e79-31ce-4bbc-96e8-e5c026f4ef42"},{"name":"Obter pausas de um movimento","id":"94d51801-07fd-4297-8d1c-290558e7e266","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api2-url}}producaopausasetapasproducao/:id_mov_encomenda","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":[":id_mov_encomenda"],"host":["{{goldylocks-api2-url}}producaopausasetapasproducao"],"query":[],"variable":[{"id":"d97b6373-d9a1-4c19-b22f-e6b97162241a","type":"any","value":"1","key":"id_mov_encomenda"}]}},"response":[],"_postman_id":"94d51801-07fd-4297-8d1c-290558e7e266"},{"name":"Eliminar pausa","id":"f9f1a443-64cc-4c7f-bd40-afa14f4d7092","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id_mov_encomenda\": 1,\r\n    \"id_etapas_producao\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{goldylocks-api2-url}}producaopausasetapasproducao","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"host":["{{goldylocks-api2-url}}producaopausasetapasproducao"],"query":[],"variable":[]}},"response":[],"_postman_id":"f9f1a443-64cc-4c7f-bd40-afa14f4d7092"}],"id":"486db845-7c40-4383-9503-e3477c0b2b64","_postman_id":"486db845-7c40-4383-9503-e3477c0b2b64","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}}},{"name":"Planos de produção em curso","item":[{"name":"Iniciar plano de produção","id":"70ec0e7f-b334-4af1-9eef-66f382bf8e1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id_plano_producao\": 1,\r\n    \"id_mov_encomenda\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{goldylocks-api2-url}}producaoplanosemcurso","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"host":["{{goldylocks-api2-url}}producaoplanosemcurso"],"query":[],"variable":[]}},"response":[],"_postman_id":"70ec0e7f-b334-4af1-9eef-66f382bf8e1a"},{"name":"Obter planos de produção em curso de um movimento","id":"4c7acf8e-054c-4484-aab5-4ff618c3f6a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api2-url}}producaoplanosemcurso/:id_mov_encomenda","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":[":id_mov_encomenda"],"host":["{{goldylocks-api2-url}}producaoplanosemcurso"],"query":[],"variable":[{"id":"4e3f28a1-6d27-4b72-b3ac-7ca43dd73dcc","type":"any","value":"1","key":"id_mov_encomenda"}]}},"response":[],"_postman_id":"4c7acf8e-054c-4484-aab5-4ff618c3f6a4"},{"name":"Eliminar plano de produção em curso","id":"faade20a-22b9-49f8-b322-bdfd0231922a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id_plano_producao\": 1,\r\n    \"id_mov_encomenda\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{goldylocks-api2-url}}producaoplanosemcurso","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"host":["{{goldylocks-api2-url}}producaoplanosemcurso"],"query":[],"variable":[]}},"response":[],"_postman_id":"faade20a-22b9-49f8-b322-bdfd0231922a"}],"id":"bbae64f1-31a1-433e-852a-4d407d7f4675","_postman_id":"bbae64f1-31a1-433e-852a-4d407d7f4675","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}}},{"name":"Planos de produção","item":[{"name":"Criar plano de produção","id":"ca3cb194-288d-46bf-ae51-11b4ec537004","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"descricao\": \"Plano 2\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{goldylocks-api2-url}}producaoplanosproducao","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"host":["{{goldylocks-api2-url}}producaoplanosproducao"],"query":[],"variable":[]}},"response":[],"_postman_id":"ca3cb194-288d-46bf-ae51-11b4ec537004"},{"name":"Obter plano de produção","id":"4f62d3f9-d929-4417-a045-b91f5511c664","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api2-url}}producaoplanosproducao/:id_plano_producao","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":[":id_plano_producao"],"host":["{{goldylocks-api2-url}}producaoplanosproducao"],"query":[],"variable":[{"id":"8a32b987-4c80-4c92-a47a-8235e7139cdc","type":"any","value":"1","key":"id_plano_producao"}]}},"response":[],"_postman_id":"4f62d3f9-d929-4417-a045-b91f5511c664"},{"name":"Obter todos os planos de produção","id":"b905e529-eafd-4eab-9b30-f4ad1830a4d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api2-url}}producaoplanosproducao/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":[""],"host":["{{goldylocks-api2-url}}producaoplanosproducao"],"query":[],"variable":[]}},"response":[],"_postman_id":"b905e529-eafd-4eab-9b30-f4ad1830a4d1"},{"name":"Atualizar plano de produção","id":"637ac36f-f477-4b29-bbb1-e0949af2a967","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id_plano_producao\": 1,\r\n    \"descricao\": \"Plano 1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{goldylocks-api2-url}}producaoplanosproducao","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"host":["{{goldylocks-api2-url}}producaoplanosproducao"],"query":[],"variable":[]}},"response":[],"_postman_id":"637ac36f-f477-4b29-bbb1-e0949af2a967"},{"name":"Eliminar plano de produção","id":"2f62ff54-e5e7-4a57-a64d-a1ace26703f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{goldylocks-api2-url}}producaoplanosproducao/:id_plano_producao","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":[":id_plano_producao"],"host":["{{goldylocks-api2-url}}producaoplanosproducao"],"query":[],"variable":[{"id":"fbc89bb2-9af7-4ec8-bb79-bde1047a4cec","type":"any","value":"1","key":"id_plano_producao"}]}},"response":[],"_postman_id":"2f62ff54-e5e7-4a57-a64d-a1ace26703f1"}],"id":"8a1ea97f-cffb-4c9c-b702-375fb282b8aa","_postman_id":"8a1ea97f-cffb-4c9c-b702-375fb282b8aa","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}}},{"name":"Planos de produção dos artigos","item":[{"name":"Adicionar plano de produção a um artigo","id":"bd78d3e2-0a98-4274-a2cd-77bc9d0c2d89","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id_artigo\": \"COD123312312\",\r\n    \"id_plano_producao\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{goldylocks-api2-url}}producaoplanosproducaoartigos","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"host":["{{goldylocks-api2-url}}producaoplanosproducaoartigos"],"query":[],"variable":[]}},"response":[],"_postman_id":"bd78d3e2-0a98-4274-a2cd-77bc9d0c2d89"},{"name":"Obter planos de produção por plano de produção","id":"57687072-baf5-465c-9053-7f90eb6c9e97","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id_artigo\": \"COD123312312\",\r\n    \"id_plano_producao\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{goldylocks-api2-url}}producaoplanosproducaoartigos/plano/:id_plano_producao","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":["plano",":id_plano_producao"],"host":["{{goldylocks-api2-url}}producaoplanosproducaoartigos"],"query":[],"variable":[{"id":"d5040057-1d02-46fd-9c55-a6dac2131308","type":"any","value":"1","key":"id_plano_producao"}]}},"response":[],"_postman_id":"57687072-baf5-465c-9053-7f90eb6c9e97"},{"name":"Obter planos de produção dos artigos","id":"4a98b817-c13e-4cc7-b501-c82440a9a38b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id_artigo\": \"COD123312312\",\r\n    \"id_plano_producao\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{goldylocks-api2-url}}producaoplanosproducaoartigos/artigo/:id_artigo","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":["artigo",":id_artigo"],"host":["{{goldylocks-api2-url}}producaoplanosproducaoartigos"],"query":[],"variable":[{"id":"93997c77-6d42-4081-9520-7b98ffb4b0fc","type":"any","value":"1","key":"id_artigo"}]}},"response":[],"_postman_id":"4a98b817-c13e-4cc7-b501-c82440a9a38b"},{"name":"Remover um plano de produção de um artigo","id":"9f8318b3-ff6d-4a44-9332-dc071fd374ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id_artigo\": \"COD123312312\",\r\n    \"id_plano_producao\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{goldylocks-api2-url}}producaoplanosproducaoartigos","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"host":["{{goldylocks-api2-url}}producaoplanosproducaoartigos"],"query":[],"variable":[]}},"response":[],"_postman_id":"9f8318b3-ff6d-4a44-9332-dc071fd374ae"}],"id":"29bc77c3-9015-4f73-b60b-c2d25809f6da","_postman_id":"29bc77c3-9015-4f73-b60b-c2d25809f6da","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}}},{"name":"Postos","item":[{"name":"Criar posto de produção","id":"01c615ae-b9e3-4f0f-bc2a-eb02aa2f6743","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"descricao\": \"Posto 1\",\r\n    \"id_tipo_posto\": \"1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{goldylocks-api2-url}}producaopostos","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"host":["{{goldylocks-api2-url}}producaopostos"],"query":[],"variable":[]}},"response":[],"_postman_id":"01c615ae-b9e3-4f0f-bc2a-eb02aa2f6743"},{"name":"Obter posto","id":"29040bdd-ffac-4b1d-966d-4a206b3ff991","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api2-url}}producaopostos/:id_posto","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":[":id_posto"],"host":["{{goldylocks-api2-url}}producaopostos"],"query":[],"variable":[{"id":"115126f9-1686-402e-86e8-f624bc883561","type":"any","value":"1","key":"id_posto"}]}},"response":[],"_postman_id":"29040bdd-ffac-4b1d-966d-4a206b3ff991"},{"name":"Obter todos os postos","id":"2e50247a-d8ec-4202-89ee-fd4acd2ab7f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api2-url}}producaopostos/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":[""],"host":["{{goldylocks-api2-url}}producaopostos"],"query":[],"variable":[]}},"response":[],"_postman_id":"2e50247a-d8ec-4202-89ee-fd4acd2ab7f9"},{"name":"Alterar posto","id":"7687c584-8687-4031-8a07-f8ca92c0a465","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id_posto\": 1,\r\n    \"descricao\": \"Posto 1\",\r\n    \"id_tipo_posto\": \"1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{goldylocks-api2-url}}producaopostos","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"host":["{{goldylocks-api2-url}}producaopostos"],"query":[],"variable":[]}},"response":[],"_postman_id":"7687c584-8687-4031-8a07-f8ca92c0a465"},{"name":"Eliminar posto","id":"4334fb90-c17c-4922-a1b1-4438790a2a6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{goldylocks-api2-url}}producaopostos/:id_posto","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":[":id_posto"],"host":["{{goldylocks-api2-url}}producaopostos"],"query":[],"variable":[{"id":"e308e832-ebed-48db-be28-cbcedb7a2e44","type":"any","value":"2","key":"id_posto"}]}},"response":[],"_postman_id":"4334fb90-c17c-4922-a1b1-4438790a2a6c"}],"id":"3566047c-7ab2-430c-9d4c-b622c5809251","_postman_id":"3566047c-7ab2-430c-9d4c-b622c5809251","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}}},{"name":"Tipos de postos","item":[{"name":"Criar tipo de posto","id":"60d5b3b8-a5c0-4005-aded-d16d2e107203","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"tipo_postos\": \"Tipo 1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{goldylocks-api2-url}}producaotipopostos","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"host":["{{goldylocks-api2-url}}producaotipopostos"],"query":[],"variable":[]}},"response":[],"_postman_id":"60d5b3b8-a5c0-4005-aded-d16d2e107203"},{"name":"Obter todos os tipos de postos","id":"ac24b540-c6e0-4b83-9573-ff46b1bc6f5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api2-url}}producaotipopostos","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"host":["{{goldylocks-api2-url}}producaotipopostos"],"query":[],"variable":[]}},"response":[],"_postman_id":"ac24b540-c6e0-4b83-9573-ff46b1bc6f5b"},{"name":"Obter dados de um tipo de posto","id":"d14f3c2b-7a61-448d-bf43-c85645a9012d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api2-url}}producaotipopostos/:id_tipo_postos","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":[":id_tipo_postos"],"host":["{{goldylocks-api2-url}}producaotipopostos"],"query":[],"variable":[{"id":"66913862-16da-4546-a940-b5028276ca6a","type":"any","value":"8","key":"id_tipo_postos"}]}},"response":[],"_postman_id":"d14f3c2b-7a61-448d-bf43-c85645a9012d"},{"name":"Alterar tipo de postos","id":"b12044b6-5651-4faa-b080-d2d3063ca6b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id_tipo_postos\": 1,\r\n    \"tipo_postos\": \"Tipo de posto 1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{goldylocks-api2-url}}producaotipopostos","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"host":["{{goldylocks-api2-url}}producaotipopostos"],"query":[],"variable":[]}},"response":[],"_postman_id":"b12044b6-5651-4faa-b080-d2d3063ca6b4"},{"name":"Eliminar tipo de posto","id":"81d86774-9b18-4735-9ce1-e5147f11ccf2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{goldylocks-api2-url}}producaotipopostos/:id_tipo_postos","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":[":id_tipo_postos"],"host":["{{goldylocks-api2-url}}producaotipopostos"],"query":[],"variable":[{"id":"48c02f0a-2ed6-4082-a82b-924151640a66","type":"any","value":"1","key":"id_tipo_postos"}]}},"response":[],"_postman_id":"81d86774-9b18-4735-9ce1-e5147f11ccf2"}],"id":"ff1cb737-2bd1-4d35-acd9-69a988c88615","_postman_id":"ff1cb737-2bd1-4d35-acd9-69a988c88615","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}}},{"name":"Tipos de máquinas","item":[{"name":"Criar tipo de máquina","id":"dcd4b728-2e3a-4c05-990b-dbe03f3e4d5d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"tipo_maquina\": \"Tipo de maquina 1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{goldylocks-api2-url}}producaotiposmaquinas","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"host":["{{goldylocks-api2-url}}producaotiposmaquinas"],"query":[],"variable":[]}},"response":[],"_postman_id":"dcd4b728-2e3a-4c05-990b-dbe03f3e4d5d"},{"name":"Obter todos os tipos de maquinas","id":"8b7f31ab-70d1-4282-af88-8b88eeb4b52b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api2-url}}producaotiposmaquinas","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"host":["{{goldylocks-api2-url}}producaotiposmaquinas"],"query":[],"variable":[]}},"response":[],"_postman_id":"8b7f31ab-70d1-4282-af88-8b88eeb4b52b"},{"name":"Obter dados de um tipo de máquina","id":"4674e73d-dfcc-4773-9e9d-504b2f760fad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api2-url}}producaotiposmaquinas/:id_tipo_maquina","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":[":id_tipo_maquina"],"host":["{{goldylocks-api2-url}}producaotiposmaquinas"],"query":[],"variable":[{"id":"28965fc4-852f-4cd6-9ab2-c69717100857","type":"any","value":"4","key":"id_tipo_maquina"}]}},"response":[],"_postman_id":"4674e73d-dfcc-4773-9e9d-504b2f760fad"},{"name":"Alterar tipo de máquina","id":"d6106051-3d5d-4b88-8f9f-212676036fb7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id_tipo_maquina\": 1,\r\n    \"tipo_maquina\": \"Tipo de maquina 1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{goldylocks-api2-url}}producaotiposmaquinas","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"host":["{{goldylocks-api2-url}}producaotiposmaquinas"],"query":[],"variable":[]}},"response":[],"_postman_id":"d6106051-3d5d-4b88-8f9f-212676036fb7"},{"name":"Eliminar tipo de máquina","id":"2ee69b18-f4c8-43b7-9f02-2a8d9631f091","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{goldylocks-api2-url}}producaotiposmaquinas/:id_tipo_maquina","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":[":id_tipo_maquina"],"host":["{{goldylocks-api2-url}}producaotiposmaquinas"],"query":[],"variable":[{"id":"0d2f62a7-c50f-4246-8408-a51e37f11601","type":"any","value":"1","key":"id_tipo_maquina"}]}},"response":[],"_postman_id":"2ee69b18-f4c8-43b7-9f02-2a8d9631f091"}],"id":"660f95ee-2a1c-4421-920c-e5820419a165","_postman_id":"660f95ee-2a1c-4421-920c-e5820419a165","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}}},{"name":"Motivos pausa","item":[{"name":"Obter motivos de pausa","id":"59699b42-87f4-4035-a172-a7f0ebc7d2ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{goldylocks-api-url}}motivospausaproducao/?api={{api-token}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":[""],"host":["{{goldylocks-api-url}}motivospausaproducao"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"59699b42-87f4-4035-a172-a7f0ebc7d2ff"},{"name":"Criar motivo pausa","id":"141d19a8-97db-4ac1-9a14-b712e05862d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"descricao","value":"Café","description":"<p>Descrição do motivo de pausa</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}criarmotivopausaproducao/?api={{api-token}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criarmotivopausaproducao"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"141d19a8-97db-4ac1-9a14-b712e05862d9"},{"name":"Editar motivo pausa","id":"52a6cc34-7592-4a42-af56-6259f2a9fff7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_motivo","value":"1","description":"<p>ID do motivo a editar</p>\n","type":"text"},{"key":"descricao","value":"Café","description":"<p>Descrição do motivo de pausa</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}editarmotivopausaproducao/?api={{api-token}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":[""],"host":["{{goldylocks-api-url}}editarmotivopausaproducao"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"52a6cc34-7592-4a42-af56-6259f2a9fff7"},{"name":"Remover motivo pausa","id":"adf5f6f2-ed82-40be-a4a8-6197f2594401","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_motivo","value":"1","description":"<p>ID do motivo a remover</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}removermotivopausaproducao/?api={{api-token}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removermotivopausaproducao"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"adf5f6f2-ed82-40be-a4a8-6197f2594401"},{"name":"Verificar utilização do motivo","id":"738a8490-1e2d-49ba-978a-84dac36d6566","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_motivo","value":"1","description":"<p>ID do motivo a remover</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}motivopausaproducaoemutilizacao/?api={{api-token}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":[""],"host":["{{goldylocks-api-url}}motivopausaproducaoemutilizacao"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"738a8490-1e2d-49ba-978a-84dac36d6566"}],"id":"36a33841-59be-4341-99b2-81c6550a47a4","_postman_id":"36a33841-59be-4341-99b2-81c6550a47a4","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}}},{"name":"Iniciar produção de um documento","id":"9b4f5d9b-1ab3-43d9-a2de-25c7ab986730","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_documento","value":"29162","description":"<p>ID do documento de produção</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}iniciarproducaodocumento/?api={{api-token}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":[""],"host":["{{goldylocks-api-url}}iniciarproducaodocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"disabled":true,"key":"debug","value":"1"}],"variable":[]}},"response":[],"_postman_id":"9b4f5d9b-1ab3-43d9-a2de-25c7ab986730"},{"name":"Cancelar produção de um documento","id":"62caf9ac-4699-448b-8a45-f540ab794074","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_documento","value":"29162","description":"<p>ID do documento de produção</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}cancelarproducaodocumento/?api={{api-token}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","id":"cf02bba1-50ac-448c-a821-afb684e6409a","name":"Produção","type":"folder"}},"urlObject":{"path":[""],"host":["{{goldylocks-api-url}}cancelarproducaodocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"disabled":true,"key":"debug","value":"1"}],"variable":[]}},"response":[],"_postman_id":"62caf9ac-4699-448b-8a45-f540ab794074"}],"id":"cf02bba1-50ac-448c-a821-afb684e6409a","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"383539cd-26b7-49af-8e5f-314270894086"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"038654fa-b391-4d9c-a0a0-c9961f1a39c0"}}],"_postman_id":"cf02bba1-50ac-448c-a821-afb684e6409a","description":""},{"name":"QRCode","item":[{"name":"Obter QRCode AT de um documento fiscal","id":"f78aebd8-68fb-4596-ac8e-5e170d739636","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}qrcodedocumento/?api={{api-token}}&id_documento=22714&cc=1&","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}qrcodedocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do documento a obter</p>\n","type":"text/plain"},"key":"id_documento","value":"22714"},{"description":{"content":"<p>[OPCIONAL] - obter dados QR de um recibo</p>\n","type":"text/plain"},"key":"cc","value":"1"},{"description":{"content":"","type":"text/plain"},"key":null,"value":null}],"variable":[]}},"response":[],"_postman_id":"f78aebd8-68fb-4596-ac8e-5e170d739636"},{"name":"Obter string gerada no QRCode AT de um documento","id":"3151d7b6-e6a1-43f0-8330-a332b8532449","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}textoqrcodedocumento/?api={{api-token}}&id_documento=22714&cc=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}textoqrcodedocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do documento a obter</p>\n","type":"text/plain"},"key":"id_documento","value":"22714"},{"description":{"content":"<p>[OPCIONAL] - obter QR de um recibo</p>\n","type":"text/plain"},"key":"cc","value":"1"}],"variable":[]}},"response":[],"_postman_id":"3151d7b6-e6a1-43f0-8330-a332b8532449"}],"id":"2a837b86-c9f5-41d3-8bab-da00d1e34336","_postman_id":"2a837b86-c9f5-41d3-8bab-da00d1e34336","description":""},{"name":"Recibos","item":[{"name":"Obter recibos existentes","id":"42367724-6e2d-43d1-a5b6-697edba36f02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}recibos/?api={{api-token}}&tipo&td&serie&cliente","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}recibos"],"query":[{"key":"api","value":"{{api-token}}"},{"disabled":true,"key":"","value":""},{"key":"tipo","value":""},{"key":"td","value":""},{"key":"serie","value":""},{"key":"cliente","value":""}],"variable":[]}},"response":[],"_postman_id":"42367724-6e2d-43d1-a5b6-697edba36f02"},{"name":"Obter dados de um recibo","id":"a936d377-665d-4d6d-8068-86050c60a26f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}recibo/?api={{api-token}}&p&r","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}recibo"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do recibo</p>\n","type":"text/plain"},"key":"p","value":""},{"description":{"content":"<p>novo documento de recibo</p>\n","type":"text/plain"},"key":"r","value":""}],"variable":[]}},"response":[],"_postman_id":"a936d377-665d-4d6d-8068-86050c60a26f"},{"name":"Emitir recibo","id":"a3af8fb4-dcce-452e-9603-255ebfd647d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"serie","value":"","description":"<p>serie do recibo</p>\n","type":"text"},{"key":"documentos","value":"","description":"<p>documentos do recibo</p>\n","type":"text"},{"key":"totalPago","value":"","description":"<p>total pago na montage</p>\n","type":"text"},{"key":"idcliente","value":"","description":"<p>ID do cliente</p>\n","type":"text"},{"key":"temporario","value":"","description":"<p>Prazo de entrega do recibo</p>\n","type":"text"},{"key":"referenciaExterna","value":"","description":"<p>Referencia Externa</p>\n","type":"text"},{"key":"desconto","value":"","description":"<p>Desconto</p>\n","type":"text"},{"key":"data","value":"","description":"<p>Data do recibo</p>\n","type":"text"},{"key":"observacoes","value":"","description":"<p>Observações</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}emitirrecibo/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}emitirrecibo"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"a3af8fb4-dcce-452e-9603-255ebfd647d1"},{"name":"Pendentes clientes","id":"e65a5805-4385-4a48-b078-7d6694d4348b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}pendentesclientes/?api={{api-token}}&p&f","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}pendentesclientes"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do cliente</p>\n","type":"text/plain"},"key":"p","value":null},{"description":{"content":"<p>id do cliente [compatiblidade]</p>\n","type":"text/plain"},"key":"f","value":null}],"variable":[]}},"response":[],"_postman_id":"e65a5805-4385-4a48-b078-7d6694d4348b"},{"name":"Obter pendentes de uma entidade","id":"0fb75bab-f2a2-4d4f-9ce3-d9c14a363189","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}pendentesentidade/?api={{api-token}}&qPc=20&id_cliente=2&tipo=venda","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}pendentesentidade"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da encomenda</p>\n","type":"text/plain"},"key":"qPc","value":"20"},{"description":{"content":"<p>ID do cliente</p>\n","type":"text/plain"},"key":"id_cliente","value":"2"},{"description":{"content":"<p>tipos de documento</p>\n","type":"text/plain"},"key":"tipo","value":"venda"}],"variable":[]}},"response":[],"_postman_id":"0fb75bab-f2a2-4d4f-9ce3-d9c14a363189"},{"name":"Pendentes fornecedores","id":"3ee4326b-af0f-433c-b4ce-2e06776aa5c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}pendentesfornecedores/?api={{api-token}}&p&f","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}pendentesfornecedores"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do fornecedor</p>\n","type":"text/plain"},"key":"p","value":""},{"description":{"content":"<p>filtro de fornecedor</p>\n","type":"text/plain"},"key":"f","value":""}],"variable":[]}},"response":[],"_postman_id":"3ee4326b-af0f-433c-b4ce-2e06776aa5c8"},{"name":"Anular recibo","id":"46c1f8e3-a3c9-4769-8d4d-79f1891fcef4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}anularrecibo/?api={{api-token}}&p=22&lr=33","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}anularrecibo"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do recibo</p>\n","type":"text/plain"},"key":"p","value":"22"},{"description":{"content":"<p>ID do documento</p>\n","type":"text/plain"},"key":"lr","value":"33"}],"variable":[]}},"response":[],"_postman_id":"46c1f8e3-a3c9-4769-8d4d-79f1891fcef4"},{"name":"obter numero de recibos por confirmar","id":"51785b83-8b98-4d68-92c2-a4c980e1ebb1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}recibospendentes/?api={{api-token}}&td=6","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}recibospendentes"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do tipo documento</p>\n","type":"text/plain"},"key":"td","value":"6"}],"variable":[]}},"response":[],"_postman_id":"51785b83-8b98-4d68-92c2-a4c980e1ebb1"}],"id":"aa57739b-a821-477a-b792-6511aba41b36","_postman_id":"aa57739b-a821-477a-b792-6511aba41b36","description":""},{"name":"Relatorios ","item":[{"name":"Relatorio documentos","id":"b138b4ba-7ac8-43c8-bec9-616cab3ff44b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}relatoriodocumentos/?api={{api-token}}&tp&di&td&c&u&e&p","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}relatoriodocumentos"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>tipos de decomentos</p>\n","type":"text/plain"},"key":"tp","value":""},{"key":"di","value":""},{"key":"td","value":""},{"description":{"content":"<p>cliente</p>\n","type":"text/plain"},"key":"c","value":""},{"description":{"content":"<p>id utilizador</p>\n","type":"text/plain"},"key":"u","value":""},{"description":{"content":"<p>estado da encomenda</p>\n","type":"text/plain"},"key":"e","value":""},{"description":{"content":"<p>data de criacao</p>\n","type":"text/plain"},"key":"p","value":""}],"variable":[]}},"response":[],"_postman_id":"b138b4ba-7ac8-43c8-bec9-616cab3ff44b"},{"name":"Obter totais entre periodos dashboard","id":"11c9bac5-8bc8-4a83-b5ce-9140dd937b45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}totais/?api={{api-token}}&di&df&periodo&tipo","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}totais"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>data inicial</p>\n","type":"text/plain"},"key":"di","value":""},{"description":{"content":"<p>data de final</p>\n","type":"text/plain"},"key":"df","value":""},{"key":"periodo","value":""},{"description":{"content":"<p>tipos de decumento</p>\n","type":"text/plain"},"key":"tipo","value":""}],"variable":[]}},"response":[],"_postman_id":"11c9bac5-8bc8-4a83-b5ce-9140dd937b45"},{"name":"TOP artigos","id":"efe8b569-e8df-48cd-98cf-0bb623b45694","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}topartigos/?api={{api-token}}&l&periodo&di&df","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}topartigos"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>limite</p>\n","type":"text/plain"},"key":"l","value":""},{"key":"periodo","value":""},{"description":{"content":"<p>data inicial</p>\n","type":"text/plain"},"key":"di","value":""},{"description":{"content":"<p>data final</p>\n","type":"text/plain"},"key":"df","value":""}],"variable":[]}},"response":[],"_postman_id":"efe8b569-e8df-48cd-98cf-0bb623b45694"},{"name":"TOP clientes","id":"9050742d-59d7-470c-b504-9e88cfc8b62b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}topclientes/?api={{api-token}}&l&periodo&di&df","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}topclientes"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>limite</p>\n","type":"text/plain"},"key":"l","value":""},{"key":"periodo","value":""},{"description":{"content":"<p>data inicial</p>\n","type":"text/plain"},"key":"di","value":""},{"description":{"content":"<p>data final</p>\n","type":"text/plain"},"key":"df","value":""}],"variable":[]}},"response":[],"_postman_id":"9050742d-59d7-470c-b504-9e88cfc8b62b"},{"name":"Obter valores dos ivas a pagar","id":"f64c17d5-c455-4568-bf2c-90cdbe82a65c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}ivaperiodos/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}ivaperiodos"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"f64c17d5-c455-4568-bf2c-90cdbe82a65c"},{"name":"Resumos de estados de documentos","id":"40e8686e-b83d-473b-9562-8e9d5c1cbf99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}estadodocumentos/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}estadodocumentos"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"40e8686e-b83d-473b-9562-8e9d5c1cbf99"},{"name":"Totais de ivas mensais","id":"ef7f256c-9928-4705-84c5-966ea319dce2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}totaisivasmensais/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}totaisivasmensais"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"ef7f256c-9928-4705-84c5-966ea319dce2"},{"name":"Totais venda caixas","id":"fabd93b2-bc2a-4d30-b93b-cce8db228305","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}totaisvendacaixas/?api={{api-token}}&periodo&di&df","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}totaisvendacaixas"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"periodo","value":""},{"description":{"content":"<p>data inial</p>\n","type":"text/plain"},"key":"di","value":""},{"description":{"content":"<p>data final</p>\n","type":"text/plain"},"key":"df","value":""}],"variable":[]}},"response":[],"_postman_id":"fabd93b2-bc2a-4d30-b93b-cce8db228305"}],"id":"67fcdb17-82d3-49a3-9e53-872c54db5103","_postman_id":"67fcdb17-82d3-49a3-9e53-872c54db5103","description":""},{"name":"Series","item":[{"name":"Series","id":"554be2b2-c3b5-418c-acc1-c523d5d8207d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}series/?api={{api-token}}&ativas=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}series"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>1 para obter apenas series ativas</p>\n","type":"text/plain"},"key":"ativas","value":"1"}],"variable":[]}},"response":[{"id":"92c7ee1b-82e6-4dd8-96fc-68b5886e6a95","name":"Series","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}series/?api={{api-token}}&ativas=1","host":["{{goldylocks-api-url}}series"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"},{"key":"ativas","value":"1","description":"1 para obter apenas series ativas"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 04 Jan 2025 18:14:03 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"access-control-allow-headers","value":"*"},{"key":"vary","value":"Accept-Encoding,User-Agent"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=RHfjuSLbhjVlZn58Dg%2F5fShrJD2CzYUHcx%2Fo0Xj0tJlfaT8cn68GGCZSahP2cK4Ci%2BBVEbVlOpxQqecQdRv0d5aWV19S8qtj2BUWLoWzT2xf3ncqkBqs1inomFKrzSfwqcixaiXrtA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8fcd34bd2fdb6535-LHR"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=40200&min_rtt=40066&rtt_var=11522&sent=5&recv=6&lost=0&retrans=0&sent_bytes=2993&recv_bytes=954&delivery_rate=72424&cwnd=253&unsent_bytes=0&cid=cfc1e83b39c9dd1e&ts=510&x=0\""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"serie\": \"GLA\",\n        \"certificada\": \"1\",\n        \"manual\": \"0\",\n        \"data_inicial\": \"2024-12-30\",\n        \"data_final\": \"2044-12-31\",\n        \"oss\": \"0\",\n        \"codigo_pais_oss\": \"\",\n        \"cae\": null\n    }\n]"}],"_postman_id":"554be2b2-c3b5-418c-acc1-c523d5d8207d"},{"name":"Gerir serie","id":"c5b4e2a3-da61-4aa0-aff1-66cf06a1df19","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}gerirserie/?api={{api-token}}&nomeSerie=serie 1&serieManual=0&dataInicialSerie=2020-01-01&dataFinalSerie=2020-12-31&p=IVA 23%&predefinida=1&oss=1&codigoPaisOSS=ES&cae=12345","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}gerirserie"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>nome da serie</p>\n","type":"text/plain"},"key":"nomeSerie","value":"serie 1"},{"description":{"content":"<p>serie manual</p>\n","type":"text/plain"},"key":"serieManual","value":"0"},{"description":{"content":"<p>data de inicial da serie</p>\n","type":"text/plain"},"key":"dataInicialSerie","value":"2020-01-01"},{"description":{"content":"<p>data de final da serie</p>\n","type":"text/plain"},"key":"dataFinalSerie","value":"2020-12-31"},{"description":{"content":"<p>OPCIONAL - id da serie a editar</p>\n","type":"text/plain"},"key":"p","value":"IVA 23%"},{"description":{"content":"<p>Estabelecer a série como pré-definida</p>\n","type":"text/plain"},"key":"predefinida","value":"1"},{"description":{"content":"<p>Série para One-stop-shop de paises da UE</p>\n","type":"text/plain"},"key":"oss","value":"1"},{"description":{"content":"<p>Código ISO do pais da UE a utilizar na OSS</p>\n","type":"text/plain"},"key":"codigoPaisOSS","value":"ES"},{"description":{"content":"<p>CAE a utilizar na série</p>\n","type":"text/plain"},"key":"cae","value":"12345"}],"variable":[]}},"response":[],"_postman_id":"c5b4e2a3-da61-4aa0-aff1-66cf06a1df19"},{"name":"Obter documentos serie","id":"3ded88e5-5eb3-4105-ad65-0279b4fd4cea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}obterDocumentosCSerie/?api={{api-token}}&p=23&s=2020","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}obterDocumentosCSerie"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da encomenda de serie</p>\n","type":"text/plain"},"key":"p","value":"23"},{"description":{"content":"<p>nova serie</p>\n","type":"text/plain"},"key":"s","value":"2020"}],"variable":[]}},"response":[],"_postman_id":"3ded88e5-5eb3-4105-ad65-0279b4fd4cea"},{"name":"Eliminar serie","id":"121612fe-d0c8-4334-bd17-85e294e24683","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}eliminarserie/?api={{api-token}}&p=2020","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarserie"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>serie a eliminar</p>\n","type":"text/plain"},"key":"p","value":"2020"}],"variable":[]}},"response":[],"_postman_id":"121612fe-d0c8-4334-bd17-85e294e24683"},{"name":"Teste comunicação série AT","id":"a7bca66c-b3ed-4f45-8221-71efdc6a190e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}testecomunicaoseriesat/?api={{api-token}}&obtererro=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}testecomunicaoseriesat"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>1 - Obter erro AT, 0 - Não obter</p>\n","type":"text/plain"},"key":"obtererro","value":"1"}],"variable":[]}},"response":[],"_postman_id":"a7bca66c-b3ed-4f45-8221-71efdc6a190e"},{"name":"Obter séries comunicadas à AT","id":"248d5727-31d8-4bdb-a07b-bd9b341dd908","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}obterseriescomunicadasat/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}obterseriescomunicadasat"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"248d5727-31d8-4bdb-a07b-bd9b341dd908"},{"name":"Comunicar série e tipo de documento à AT","id":"392c24c2-5013-4302-b58d-20f8ca1ee5e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"serie","value":"2022","type":"text"},{"key":"id_tipo_documento","value":"128","type":"text"}]},"url":"{{goldylocks-api-url}}comunicarserieat/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}comunicarserieat"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"392c24c2-5013-4302-b58d-20f8ca1ee5e4"},{"name":"Finalizar série comunicada à AT","id":"70e6ac40-c5ab-41b7-83be-d8204099c7c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"serie","value":"2022","type":"text"},{"key":"id_tipo_documento","value":"128","type":"text"}]},"url":"{{goldylocks-api-url}}finalizarserieat/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}finalizarserieat"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"70e6ac40-c5ab-41b7-83be-d8204099c7c6"},{"name":"Anular comunicação da série à AT","id":"6f771e3e-814d-4080-82dc-ba8f4881ebd6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"serie","value":"2022","type":"text"},{"key":"id_tipo_documento","value":"2","type":"text"}]},"url":"{{goldylocks-api-url}}anularserieat/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}anularserieat"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"6f771e3e-814d-4080-82dc-ba8f4881ebd6"},{"name":"Registar código de validação AT manualmente","id":"0f775150-1815-46eb-9f53-2e7db0075d07","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"serie","value":"2022","type":"text","description":"<p>Série</p>\n"},{"key":"id_tipo_documento","value":"130","type":"text","description":"<p>ID do tipo de documento</p>\n"},{"key":"codigo_validacao_at","value":"FFF4555H","description":"<p>Código gerado no portal as finanças</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}registarcodigovalidacaoserie/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}registarcodigovalidacaoserie"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"0f775150-1815-46eb-9f53-2e7db0075d07"}],"id":"5dd20219-dd4c-42fd-8eca-057c8ff3f52e","_postman_id":"5dd20219-dd4c-42fd-8eca-057c8ff3f52e","description":""},{"name":"Series manuais","item":[{"name":"Update serie manual","id":"21c1b8e6-8298-4ad7-893c-68812071e673","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_encomenda","value":"","description":"<p>ID da encomenda</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}updateseriemanual/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}updateseriemanual"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"21c1b8e6-8298-4ad7-893c-68812071e673"},{"name":"Serie manual","id":"9ef04d13-f0d1-4d6e-8143-1bf5b949cad6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_encomenda","value":"","description":"<p>ID da encomenda</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}seriemanual/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}seriemanual"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"9ef04d13-f0d1-4d6e-8143-1bf5b949cad6"}],"id":"9e86cd30-ffbd-4df7-8168-317838519e2f","_postman_id":"9e86cd30-ffbd-4df7-8168-317838519e2f","description":""},{"name":"Sessões","item":[{"name":"Obter sessão ativa utilizador","id":"ed573f46-77b5-4e19-ab20-3fc08ba0e45b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_utilizador","value":"2","description":"<p>ID do utilizador</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}sessaoutilizador/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}sessaoutilizador"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"ed573f46-77b5-4e19-ab20-3fc08ba0e45b"},{"name":"Consultar sessão","id":"730317c7-65a3-4aca-82ce-d618644e1bdd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_sessao","value":"617","type":"text"}]},"url":"{{goldylocks-api-url}}consultasessao/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}consultasessao"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"730317c7-65a3-4aca-82ce-d618644e1bdd"},{"name":"Iniciar sessão de caixa","id":"bf7fe7d6-72ca-4606-847e-1e4cabdb5cdb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_utilizador","value":"2","description":"<p>ID do utilizador</p>\n","type":"text"},{"key":"id_caixa","value":"1","description":"<p>ID da caixa</p>\n","type":"text"},{"key":"valor_abertura","value":"25.00","description":"<p>Valor de caixa na abertura</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}abrirsessao/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}abrirsessao"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"bf7fe7d6-72ca-4606-847e-1e4cabdb5cdb"},{"name":"Fechar sessão de caixa","id":"d602ffbc-0690-4b9a-8c63-2c6115bf5708","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_utilizador","value":"2","description":"<p>ID do utilizador</p>\n","type":"text"},{"key":"id_caixa","value":"1","description":"<p>ID da caixa</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}fecharsessao/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}fecharsessao"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"d602ffbc-0690-4b9a-8c63-2c6115bf5708"}],"id":"f73be8eb-185c-499d-a3d8-88a59737e910","_postman_id":"f73be8eb-185c-499d-a3d8-88a59737e910","description":""},{"name":"Sistema","item":[{"name":"Status","id":"f0480538-0f56-4f73-977c-3a32841455c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}status/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}status"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"f0480538-0f56-4f73-977c-3a32841455c6"},{"name":"Definir variaveis de sessao PHP","id":"541dcf05-b366-4db8-9ebf-647e62945e20","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}sessao/?api={{api-token}}&valor=variavel_1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}sessao"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>definir variavel de sessao</p>\n","type":"text/plain"},"key":"valor","value":"variavel_1"}],"variable":[]}},"response":[],"_postman_id":"541dcf05-b366-4db8-9ebf-647e62945e20"},{"name":"Obter data do servidor","id":"5510c798-30c8-405e-86d5-19363bb7f1cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}data/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}data"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"5510c798-30c8-405e-86d5-19363bb7f1cc"},{"name":"Obter data e hora do servidor","id":"88162175-b574-4def-8a7c-7eec93bcfefe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}datahora/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}datahora"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"88162175-b574-4def-8a7c-7eec93bcfefe"},{"name":"Calcular data e hora intervalo","id":"b5e2c49e-a064-42c6-828c-16b9fb8542e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"datahora","value":"2020-01-30 14:15:00","description":"<p>timestamp data e hora</p>\n","type":"text"},{"key":"intervalo","value":"15","description":"<p>tempo de intervalo</p>\n","type":"text"},{"key":"tipo_intervalo","value":"minute","description":"<p>tipo de intervalo em ingles</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}calculardatahora/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}calculardatahora"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"b5e2c49e-a064-42c6-828c-16b9fb8542e6"},{"name":"Oter valores das configuracoes","id":"e4667caa-61ce-4d88-acaa-a76a6c08b41b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}configuracao/?api={{api-token}}&v=2020&p=serie_defeito","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}configuracao"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>definir o valor de uma opcao</p>\n","type":"text/plain"},"key":"v","value":"2020"},{"description":{"content":"<p>obter o valor de uma configuracao</p>\n","type":"text/plain"},"key":"p","value":"serie_defeito"}],"variable":[]}},"response":[],"_postman_id":"e4667caa-61ce-4d88-acaa-a76a6c08b41b"},{"name":"Verificações iniciais","id":"2c5c8960-c117-4e40-b908-27eaeb152fac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}checkup/?api={{api-token}}&avisos","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}checkup"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>Se não tem familias configuradas adiciona uma familia nova</p>\n","type":"text/plain"},"key":"avisos","value":""}],"variable":[]}},"response":[],"_postman_id":"2c5c8960-c117-4e40-b908-27eaeb152fac"},{"name":"Alterar o motor SQL das tabelas no MySQL","id":"312bce55-a011-428a-aea3-5dc52842995f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}setbdengine/?api={{api-token}}&p=innodb","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}setbdengine"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>motor a utilizar nas tabelas</p>\n","type":"text/plain"},"key":"p","value":"innodb"}],"variable":[]}},"response":[],"_postman_id":"312bce55-a011-428a-aea3-5dc52842995f"},{"name":"Verificacao ao schema da base de dados","id":"6c06f159-4d7b-43be-aff8-4cf17dc14d70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}schemacheck/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}schemacheck"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[{"id":"2268ec28-59f5-4012-b881-d780acc383de","name":"Verificacao ao schema da base de dados","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}schemacheck/?api={{api-token}}","host":["{{goldylocks-api-url}}schemacheck"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Date","value":"Mon, 30 Dec 2024 18:08:30 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"access-control-allow-headers","value":"*"},{"key":"expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"vary","value":"Accept-Encoding,User-Agent"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=w2Lwrg5PVEtC9xz%2FnCy%2F6CZN%2FzpWEm3NwXYE1tB0KcGcEZ5pRppctEOJp0Tla9pbmcwBUAz3b952aqgYNCSRNveixOMzmM78qNkHTjVL5gybELzBC9verWqSrSYQBJ9XY0igbJ4lyQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8fa3f9bece2c0073-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=36410&min_rtt=36057&rtt_var=4618&sent=25&recv=23&lost=0&retrans=0&sent_bytes=6508&recv_bytes=1906&delivery_rate=80890&cwnd=233&unsent_bytes=0&cid=e1393f9c9952e2d1&ts=14191&x=0\""}],"cookie":[],"responseTime":null,"body":"ok"}],"_postman_id":"6c06f159-4d7b-43be-aff8-4cf17dc14d70"},{"name":"Criar ficheiro schema para verificacao","id":"59b2ab8b-fb66-4d3b-a408-6c81eaf53d76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}criarschema/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criarschema"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[{"id":"642a7d94-e360-4d9f-b146-750512014960","name":"Verificacao ao schema da base de dados","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}schemacheck/?api={{api-token}}","host":["{{goldylocks-api-url}}schemacheck"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Date","value":"Mon, 30 Dec 2024 18:08:30 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"access-control-allow-headers","value":"*"},{"key":"expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"vary","value":"Accept-Encoding,User-Agent"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=w2Lwrg5PVEtC9xz%2FnCy%2F6CZN%2FzpWEm3NwXYE1tB0KcGcEZ5pRppctEOJp0Tla9pbmcwBUAz3b952aqgYNCSRNveixOMzmM78qNkHTjVL5gybELzBC9verWqSrSYQBJ9XY0igbJ4lyQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8fa3f9bece2c0073-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=36410&min_rtt=36057&rtt_var=4618&sent=25&recv=23&lost=0&retrans=0&sent_bytes=6508&recv_bytes=1906&delivery_rate=80890&cwnd=233&unsent_bytes=0&cid=e1393f9c9952e2d1&ts=14191&x=0\""}],"cookie":[],"responseTime":null,"body":"ok"}],"_postman_id":"59b2ab8b-fb66-4d3b-a408-6c81eaf53d76"},{"name":"Efectuar backup","id":"823a378f-ab31-4816-a83d-e0e09571ec19","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}backup/?api={{api-token}}&r=backup_2020.gz","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}backup"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>OPCIONAL - nome do ficheiro a eliminar</p>\n","type":"text/plain"},"key":"r","value":"backup_2020.gz"}],"variable":[]}},"response":[],"_postman_id":"823a378f-ab31-4816-a83d-e0e09571ec19"},{"name":"Limpar documentos em aberto","id":"ab4b830d-5bbf-465a-8c7d-77ff77022b2d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}limpardocumentosemaberto/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}limpardocumentosemaberto"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"ab4b830d-5bbf-465a-8c7d-77ff77022b2d"},{"name":"Limpar cache images documentos","id":"97a82078-d3bd-404f-b57c-ad3178a6e5f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}limparcachedocumentos/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}limparcachedocumentos"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"97a82078-d3bd-404f-b57c-ad3178a6e5f2"},{"name":"Checksum dos artigos e familias","id":"515f45d9-6a62-425b-bf8f-280ccefe22a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}checksumdados/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}checksumdados"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"515f45d9-6a62-425b-bf8f-280ccefe22a3"}],"id":"e400eeed-85c5-4c10-8717-12f97fbee1c2","_postman_id":"e400eeed-85c5-4c10-8717-12f97fbee1c2","description":""},{"name":"Sms","item":[{"name":"Adicionar equipamento envio SMS","id":"54e678cc-1c06-42ef-84a0-0113642f72c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"UUID","value":"aaaabbb333","description":"<p>identificador do equipamento na aplicação Goldyteam SMS</p>\n","type":"text"},{"key":"descricao","value":"Telemovel de Teste","description":"<p>descrição do dispositivo</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}adicionarequipamentosms/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}adicionarequipamentosms"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"54e678cc-1c06-42ef-84a0-0113642f72c6"},{"name":"Remover equipamento de envio de SMS","id":"a56a0dd5-3eeb-4e08-8f42-135e05796001","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"UUID","value":"aaaabbb333","description":"<p>identificador do equipamento na aplicação Goldyteam SMS</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}removerequipamentosms/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removerequipamentosms"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"a56a0dd5-3eeb-4e08-8f42-135e05796001"},{"name":"Obter todos os equipamentos de envio de SMS","id":"175dd876-6d35-4b7a-a3fa-62ca38e82647","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}equipamentossms/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}equipamentossms"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"175dd876-6d35-4b7a-a3fa-62ca38e82647"},{"name":"Envio em massa de mensagens","id":"31a85199-1fcd-43ef-ade5-f20837f421aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_modelo_mensagem","value":"14","type":"text"},{"key":"tipo_mensagem","value":"sms","description":"<p>sms | email</p>\n","type":"text"},{"key":"equipamento_sms","value":"smsbuzz","description":"<p>[Opcional] - UUID do equipamento a partir do GoldyteamSMS</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}enviomassamensagens/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}enviomassamensagens"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"31a85199-1fcd-43ef-ade5-f20837f421aa"},{"name":"Enviar SMS Copy","id":"70bf6a81-132d-43d6-a1b0-667d46971b59","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"equipamento","value":"aaaabbb333","description":"<p>identificador do equipamento na aplicação Goldyteam SMS</p>\n","type":"text"},{"key":"destino","value":"990990990,991991990","description":"<p>numeros de destino separados por virgulas</p>\n","type":"text"},{"key":"mensagem","value":"Mensagem de teste.","description":"<p>mensagem a enviar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}enviarsms/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}enviarsms"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"70bf6a81-132d-43d6-a1b0-667d46971b59"}],"id":"6bdca1d9-e525-47ee-937e-f467a72db1bf","_postman_id":"6bdca1d9-e525-47ee-937e-f467a72db1bf","description":""},{"name":"Stocks","item":[{"name":"Stock atual","id":"0660d495-83c0-47be-b5ec-b3342cb40087","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}stockactual/?api={{api-token}}&p=11111&armazem=12","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}stockactual"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do artigo</p>\n","type":"text/plain"},"key":"p","value":"11111"},{"description":{"content":"<p> stock do actual armazem</p>\n","type":"text/plain"},"key":"armazem","value":"12"}],"variable":[]}},"response":[],"_postman_id":"0660d495-83c0-47be-b5ec-b3342cb40087"},{"name":"Stock artigos por armazem","id":"d0251dda-f59e-4be5-9e38-360be15a3397","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}stockartigoarmazens/?api={{api-token}}&p=12313213&armazem=2","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}stockartigoarmazens"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do artigo</p>\n","type":"text/plain"},"key":"p","value":"12313213"},{"description":{"content":"<p> stock do actual armazem</p>\n","type":"text/plain"},"key":"armazem","value":"2"}],"variable":[]}},"response":[],"_postman_id":"d0251dda-f59e-4be5-9e38-360be15a3397"},{"name":"Efetuar o fecho de stock","id":"23ed532b-c547-4378-b6fa-9b7e4b72a3e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}fechostock/?api={{api-token}}&p=35876&i=IVA 23%&apenasnegativos=1&apenasdocumento=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}fechostock"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do Documento</p>\n","type":"text/plain"},"key":"p","value":"35876"},{"description":{"content":"<p>imposto por defeito</p>\n","type":"text/plain"},"key":"i","value":"IVA 23%"},{"description":{"content":"<p>0 - reinicia todos os artigos, 1 - apenas artigos com stock negativo</p>\n","type":"text/plain"},"key":"apenasnegativos","value":"1"},{"description":{"content":"<p>0 - todos os artigos, 1 - apenas artigos do documento são reiniciados</p>\n","type":"text/plain"},"key":"apenasdocumento","value":"1"}],"variable":[]}},"response":[],"_postman_id":"23ed532b-c547-4378-b6fa-9b7e4b72a3e7"},{"name":"Gerar ficheiro de inventarios AT","id":"627ff7f4-e822-4617-b957-1b016e547224","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}exportarcomunicacaoinventario/?api={{api-token}}&p=2022-12-31&versao=2_01","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}exportarcomunicacaoinventario"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>data do stock</p>\n","type":"text/plain"},"key":"p","value":"2022-12-31"},{"description":{"content":"<p>Versão AT: 1_02 ou 2_01</p>\n","type":"text/plain"},"key":"versao","value":"2_01"}],"variable":[]}},"response":[],"_postman_id":"627ff7f4-e822-4617-b957-1b016e547224"},{"name":"Atualizar stocks atuais dos artigos","id":"99e4ecbc-84b4-4cd4-9901-69bb625375d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}atualizarstocksatuais/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}atualizarstocksatuais"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[{"id":"2b64d4d7-0dca-437e-88d5-3eed789be16a","name":"Atualizar stocks atuais dos artigos","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}atualizarstocksatuais/?api={{api-token}}","host":["{{goldylocks-api-url}}atualizarstocksatuais"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 27 Nov 2023 15:56:03 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"*"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept-Encoding,User-Agent"}],"cookie":[],"responseTime":null,"body":"ok"}],"_postman_id":"99e4ecbc-84b4-4cd4-9901-69bb625375d1"}],"id":"3aa277af-c433-4d2b-848e-a91038884ad3","_postman_id":"3aa277af-c433-4d2b-848e-a91038884ad3","description":""},{"name":"Taloes","item":[{"name":"Obter modelos de talões","id":"f1c6b6f4-b1ac-4818-8cbf-3896f6fc00cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}obtermodelostaloes/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}obtermodelostaloes"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[{"id":"6d81a317-e7cd-4f89-be76-09e94e753966","name":"Obter modelos de taloes","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}obtermodelostaloes/?api={{api-token}}","host":["{{goldylocks-api-url}}obtermodelostaloes"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 08 Feb 2025 11:13:57 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"access-control-allow-headers","value":"*"},{"key":"vary","value":"Accept-Encoding,User-Agent"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=vi6KnrU8%2Fvx5ZiK4V8n0H9gJN48dekjynfvzX1CsIUcjxe5Rb5XmKmwFJgSduQCtiWN2%2FUawhAsb62k0IJK56iFK0x6csd0Eha3TB%2Fs%2BBL%2B83X61KQ8kYF24Ay0%2FahLfRZ62zPBaBQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90eb31803cac0e6c-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=38452&min_rtt=38349&rtt_var=10986&sent=5&recv=6&lost=0&retrans=0&sent_bytes=2994&recv_bytes=957&delivery_rate=75909&cwnd=33&unsent_bytes=0&cid=f250b165d7d450a2&ts=264&x=0\""}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id_modelo\": 62,\n        \"nome_modelo\": \"57mm_fecho_caixa\",\n        \"dados\": \"<center>\\r\\n<b>\\r\\n========== FECHO CAIXA ==========\\r\\n</b>\\r\\n</center>\\r\\n<p align=\\\"left\\\"><nome_empresa>\\r\\n<morada_empresa>\\r\\n<cp_empresa> <localidade_empresa>\\r\\nNif: <nif_empresa>\\r\\nTelefone: <telefone_empresa>\\r\\nTelemovel: <telemovel_empresa>\\r\\nEmail: <email_empresa>\\r\\nSite: <site_empresa>\\r\\n================================================\\r\\n<b>Caixa</b>\\r\\n<descricao_empresa_caixa>\\r\\n<morada_caixa>\\r\\n<cp_caixa> <localidade_caixa>\\r\\n================================================\\r\\n<caixa>\\r\\nFuncionario: <utilizador_caixa>\\r\\nAbertura: <datahora_abertura>\\r\\nFecho: <datahora_fecho>\\r\\n================================================\\r\\nId utilizador: <id_utilizador_caixa>\\r\\nUtilizador: <utilizador_caixa>\\r\\n================================================\\r\\nFundo de Maneio: <fundo_maneio> Eur\\r\\n================================================\\r\\nTotal Faturado: <total_faturado_caixa> Eur\\r\\n================================================\\r\\nTotal Recibos: <total_recibos_caixa> Eur\\r\\n================================================\\r\\nTotal Liquido: <total_liquido_caixa> Eur\\r\\n================================================\\r\\nTotal de Impostos: <total_impostos_caixa> Eur\\r\\n================================================\\r\\nTotal Devolucoes com Impostos: <total_devolucoes> Eur\\r\\n================================================\\r\\n<b>TOTAL CAIXA: <total_caixa></b> Eur\\r\\n<p align=\\\"left\\\">\\r\\n================================================\\r\\n\\r\\n<center>\\r\\n***** GOLDYLOCKS - Faturacao Online *****\\r\\n***** www.goldylocks.pt *****\\r\\n</center>\\r\\n<br>\"\n    },\n    {\n        \"id_modelo\": 64,\n        \"nome_modelo\": \"57mm_termica_recibo\",\n        \"dados\": \"<b><nome_empresa></b>\\r\\n<p align=\\\"left\\\"><morada_empresa>\\r\\n<p align=\\\"left\\\"><cp_empresa> <localidade_empresa>\\r\\n<p align=\\\"left\\\">NIF: <nif_empresa>\\r\\n==========================================\\r\\nData/Hora: <data_hora_documento>\\r\\n<tipo_documento> <serie_documento>/<numero_documento>\\r\\nNatureza: <natureza_documento>\\r\\n==========================================\\r\\nDados Cliente:\\r\\nNIF: <nif_cliente>\\r\\nNome: <nome_cliente>\\r\\nMorada: <morada_cliente>\\r\\nCP: <cp_cliente> \\r\\n==========================================\\r\\nDocumentos:\\r\\n<linhas_1>\\r\\n==========================================\\r\\n<center>\\r\\n<b>TOTAL Pago: <total_documento></b> Eur\\r\\n<modopagamento>\\r\\n</center>\\r\\n<p align=\\\"left\\\">==========================================</p>\\r\\nVendedor: <id_vendedor>\\r\\n<assinaturaAT>\\r\\n<dadosAT>\\r\\n<center>\\r\\n***** GOLDYLOCKS - Faturacao Online *****\\r\\n***** www.goldylocks.pt *****\\r\\nObrigado pela sua visita.\\r\\n</center>\\r\\n<br>\\r\\n</p>\"\n    },\n    {\n        \"id_modelo\": 63,\n        \"nome_modelo\": \"57mm_termica_venda\",\n        \"dados\": \"<b><nome_empresa></b>\\r\\n<p align=\\\"left\\\"><morada_empresa>\\r\\n<p align=\\\"left\\\"><cp_empresa> <localidade_empresa>\\r\\n<p align=\\\"left\\\">NIF: <nif_empresa>\\r\\n==========================================\\r\\nData/Hora: <data_hora_documento>\\r\\n<tipo_documento> <serie_documento>/<numero_documento>\\r\\nNatureza: <natureza_documento>\\r\\n==========================================\\r\\nDados Cliente:\\r\\nNIF: <nif_cliente>\\r\\nNome: <nome_cliente>\\r\\nMorada: <morada_cliente>\\r\\nCP: <cp_cliente> \\r\\n==========================================\\r\\nARTIGOS:\\r\\n<linhas_1>\\r\\n==========================================\\r\\n<center>\\r\\nTaxa --- Liq --- Imp\\r\\n<imposto-simples>\\r\\n***\\r\\nTotal Liquido: <total_liquido> Eur\\r\\nTotal Impostos: <total_impostos> Eur\\r\\n<b>TOTAL: <total_documento></b> Eur\\r\\n<modopagamento>\\r\\n<total_entregue>\\r\\n<troco> Eur\\r\\n</center>\\r\\n<p align=\\\"left\\\">==========================================</p>\\r\\nVendedor: <id_vendedor>\\r\\n<assinaturaAT>\\r\\n<dadosAT>\\r\\n<center>\\r\\n***** GOLDYLOCKS - Faturacao Online *****\\r\\n***** www.goldylocks.pt *****\\r\\nObrigado pela sua visita.\\r\\n</center>\\r\\n<br>\\r\\n</p>\"\n    },\n    {\n        \"id_modelo\": 52,\n        \"nome_modelo\": \"80mm_fecho_caixa\",\n        \"dados\": \"<center>\\r\\n<b>\\r\\n========== FECHO CAIXA ==========\\r\\n</b>\\r\\n</center>\\r\\n<p align=\\\"left\\\"><nome_empresa>\\r\\n<morada_empresa>\\r\\n<cp_empresa> <localidade_empresa>\\r\\nNif: <nif_empresa>\\r\\nTelefone: <telefone_empresa>\\r\\nTelemovel: <telemovel_empresa>\\r\\nEmail: <email_empresa>\\r\\nSite: <site_empresa>\\r\\n================================================\\r\\n<b>Caixa</b>\\r\\n<descricao_empresa_caixa>\\r\\n<morada_caixa>\\r\\n<cp_caixa> <localidade_caixa>\\r\\n================================================\\r\\n<caixa>\\r\\nFuncionario: <utilizador_caixa>\\r\\nAbertura: <datahora_abertura>\\r\\nFecho: <datahora_fecho>\\r\\n================================================\\r\\nId utilizador: <id_utilizador_caixa>\\r\\nUtilizador: <utilizador_caixa>\\r\\n================================================\\r\\nFundo de Maneio: <fundo_maneio> Eur\\r\\n================================================\\r\\nTotal Faturado: <total_faturado_caixa> Eur\\r\\n================================================\\r\\nTotal Recibos: <total_recibos_caixa> Eur\\r\\n================================================\\r\\nTotal Liquido: <total_liquido_caixa> Eur\\r\\n================================================\\r\\nTotal de Impostos: <total_impostos_caixa> Eur\\r\\n================================================\\r\\nTotal Devolucoes com Impostos: <total_devolucoes> Eur\\r\\n================================================\\r\\n<b>TOTAL CAIXA: <total_caixa></b> Eur\\r\\n<p align=\\\"left\\\">\\r\\n================================================\\r\\n\\r\\n<center>\\r\\n***** GOLDYLOCKS - Faturacao Online *****\\r\\n***** www.goldylocks.pt *****\\r\\n</center>\\r\\n<br>\\r\\n<br>\\r\\n<cut>\\r\\n<br>\"\n    },\n    {\n        \"id_modelo\": 61,\n        \"nome_modelo\": \"80mm_fecho_epson_termica\",\n        \"dados\": \"<center>\\r\\n<b>\\r\\n========== FECHO CAIXA ==========\\r\\n</b>\\r\\n</center>\\r\\n<p align=\\\"left\\\"><nome_empresa>\\r\\n<morada_empresa>\\r\\n<cp_empresa> <localidade_empresa>\\r\\nNif: <nif_empresa>\\r\\nTelefone: <telefone_empresa>\\r\\nTelemovel: <telemovel_empresa>\\r\\nEmail: <email_empresa>\\r\\nSite: <site_empresa>\\r\\n==========================================\\r\\n<b>Caixa</b>\\r\\n<descricao_empresa_caixa>\\r\\n<morada_caixa>\\r\\n<cp_caixa> <localidade_caixa>\\r\\n==========================================\\r\\n<caixa>\\r\\nFuncionario: <utilizador_caixa>\\r\\nAbertura: <datahora_abertura>\\r\\nFecho: <datahora_fecho>\\r\\n==========================================\\r\\nId utilizador: <id_utilizador_caixa>\\r\\nUtilizador: <utilizador_caixa>\\r\\n==========================================\\r\\nFundo de Maneio: <fundo_maneio> Eur\\r\\n==========================================\\r\\nTotal Faturado: <total_faturado_caixa> Eur\\r\\n==========================================\\r\\nTotal Recibos: <total_recibos_caixa> Eur\\r\\n==========================================\\r\\nTotal Liquido: <total_liquido_caixa> Eur\\r\\n==========================================\\r\\nTotal de Impostos: <total_impostos_caixa> Eur\\r\\n==========================================\\r\\nTotal Devolucoes com Impostos: <total_devolucoes> Eur\\r\\n==========================================\\r\\n<b>TOTAL CAIXA: <total_caixa></b> Eur\\r\\n<p align=\\\"left\\\">\\r\\n==========================================\\r\\n\\r\\n<center>\\r\\n***** GOLDYLOCKS - Faturacao Online *****\\r\\n***** www.goldylocks.pt *****\\r\\n</center>\\r\\n<br>\\r\\n<br>\\r\\n<cut>\\r\\n<br>\"\n    },\n    {\n        \"id_modelo\": 59,\n        \"nome_modelo\": \"80mm_recibo_epson_termica\",\n        \"dados\": \"<b><nome_empresa></b>\\r\\n<p align=\\\"left\\\"><morada_empresa>\\r\\n<p align=\\\"left\\\"><cp_empresa> <localidade_empresa>\\r\\n<p align=\\\"left\\\">NIF: <nif_empresa>\\r\\n=========================================\\r\\nData/Hora: <data_hora_documento>\\r\\n<tipo_documento> <serie_documento>/<numero_documento>\\r\\nNatureza: <natureza_documento>\\r\\n=========================================\\r\\nDados Cliente:\\r\\nNIF: <nif_cliente>\\r\\nNome: <nome_cliente>\\r\\nMorada: <morada_cliente>\\r\\nCP: <cp_cliente> \\r\\n=========================================\\r\\nDocumentos:\\r\\n<linhas_1>\\r\\n=========================================\\r\\n<center>\\r\\n<b>TOTAL Pago: <total_documento></b> Eur\\r\\n<modopagamento>\\r\\n</center>\\r\\n<p align=\\\"left\\\">=========================================</p>\\r\\nVendedor: <id_vendedor>\\r\\n<assinaturaAT>\\r\\n<dadosAT>\\r\\n<center>\\r\\n***** GOLDYLOCKS - Faturacao Online *****\\r\\n***** www.goldylocks.pt *****\\r\\nObrigado pela sua visita.\\r\\n</center>\\r\\n<cut>\\r\\n<br>\\r\\n<br>\\r\\n</p>\"\n    },\n    {\n        \"id_modelo\": 58,\n        \"nome_modelo\": \"80mm_recibo_venda\",\n        \"dados\": \"<b><nome_empresa></b>\\r\\n<p align=\\\"left\\\"><morada_empresa>\\r\\n<p align=\\\"left\\\"><cp_empresa> <localidade_empresa>\\r\\n<p align=\\\"left\\\">NIF: <nif_empresa>\\r\\n================================================\\r\\nData/Hora: <data_hora_documento>\\r\\n<tipo_documento> <serie_documento>/<numero_documento>\\r\\nNatureza: <natureza_documento>\\r\\n================================================\\r\\nDados Cliente:\\r\\nNIF: <nif_cliente>\\r\\nNome: <nome_cliente>\\r\\nMorada: <morada_cliente>\\r\\nCP: <cp_cliente> \\r\\n================================================\\r\\nDocumentos:\\r\\n<linhas_1>\\r\\n================================================\\r\\n<center>\\r\\n<b>TOTAL Pago: <total_documento></b> Eur\\r\\n<modopagamento>\\r\\n</center>\\r\\n<p align=\\\"left\\\">================================================</p>\\r\\nVendedor: <id_vendedor>\\r\\n<assinaturaAT>\\r\\n<dadosAT>\\r\\n<center>\\r\\n***** GOLDYLOCKS - Faturacao Online *****\\r\\n***** www.goldylocks.pt *****\\r\\nObrigado pela sua visita.\\r\\n</center>\\r\\n<cut>\\r\\n<br>\\r\\n<br>\\r\\n</p>\"\n    },\n    {\n        \"id_modelo\": 53,\n        \"nome_modelo\": \"80mm_termica_venda\",\n        \"dados\": \"<b><nome_empresa></b>\\r\\n<p align=\\\"left\\\"><morada_empresa>\\r\\n<p align=\\\"left\\\"><cp_empresa> <localidade_empresa>\\r\\n<p align=\\\"left\\\">NIF: <nif_empresa>\\r\\n================================================\\r\\nData/Hora: <data_hora_documento>\\r\\n<tipo_documento> <serie_documento>/<numero_documento>\\r\\nNatureza: <natureza_documento>\\r\\n================================================\\r\\nDados Cliente:\\r\\nNIF: <nif_cliente>\\r\\nNome: <nome_cliente>\\r\\nMorada: <morada_cliente>\\r\\nCP: <cp_cliente> \\r\\n================================================\\r\\nARTIGOS:\\r\\n<linhas_1>\\r\\n================================================\\r\\n<center>\\r\\nTaxa --- Liq --- Imp\\r\\n<imposto-simples>\\r\\n***\\r\\nTotal Liquido: <total_liquido> Eur\\r\\nTotal Impostos: <total_impostos> Eur\\r\\n<b>TOTAL: <total_documento></b> Eur\\r\\n<modopagamento>\\r\\n<total_entregue>\\r\\n<troco> Eur\\r\\n</center>\\r\\n<p align=\\\"left\\\">================================================</p>\\r\\nVendedor: <id_vendedor>\\r\\n<assinaturaAT>\\r\\n<dadosAT>\\r\\n<center>\\r\\n***** GOLDYLOCKS - Faturacao Online *****\\r\\n***** www.goldylocks.pt *****\\r\\nObrigado pela sua visita.\\r\\n</center>\\r\\n<cut>\\r\\n<br>\\r\\n<br>\\r\\n</p>\"\n    },\n    {\n        \"id_modelo\": 60,\n        \"nome_modelo\": \"80mm_venda_epson_termica\",\n        \"dados\": \"{\\\"imageMode\\\":\\\"raster\\\"}\\n<b><nome_empresa></b>\\n<p align=\\\"left\\\"><morada_empresa>\\n<p align=\\\"left\\\"><cp_empresa> <localidade_empresa>\\n<p align=\\\"left\\\">NIF: <nif_empresa>\\n==========================================\\n<texto_atcud>\\n<codigo_qr_documento_imagem>\\n==========================================\\nData/Hora: <data_hora_documento>\\n<tipo_documento> <serie_documento>/<numero_documento>\\nNatureza: <natureza_documento>\\n==========================================\\nDados Cliente:\\nNIF: <nif_cliente>\\nNome: <nome_cliente>\\nMorada: <morada_cliente>\\nCP: <cp_cliente> \\n==========================================\\nARTIGOS:\\n<linhas_1>\\n==========================================\\n<center>\\nTaxa --- Liq --- Imp\\n<imposto-simples>\\n***\\nTotal Liquido: <total_liquido> Eur\\nTotal Impostos: <total_impostos> Eur\\n<b>TOTAL: <total_documento></b> Eur\\n<modopagamento>\\n<total_entregue>\\n<troco> Eur\\n</center>\\n<p align=\\\"left\\\">==========================================</p>\\nVendedor: <id_vendedor>\\n<assinaturaAT>\\n<dadosAT>\\n<center>\\n***** GOLDYLOCKS - Faturacao Online *****\\n***** www.goldylocks.pt *****\\nObrigado pela sua visita.\\n</center>\\n<cut>\\n<br>\\n<br>\\n</p>\"\n    }\n]"}],"_postman_id":"f1c6b6f4-b1ac-4818-8cbf-3896f6fc00cb"},{"name":"Obter talao","id":"ddeb10b5-072f-4bb6-997d-bbe119009b11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}obtertalao/?api={{api-token}}&td=2&p=22020","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}obtertalao"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id tipo documento</p>\n","type":"text/plain"},"key":"td","value":"2"},{"description":{"content":"<p>id do documento</p>\n","type":"text/plain"},"key":"p","value":"22020"}],"variable":[]}},"response":[{"id":"a687b368-7cdb-40b1-88c8-04c6d6c67c64","name":"Obter talao","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}obtertalao/?api={{api-token}}&td=3&p=512","host":["{{goldylocks-api-url}}obtertalao"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"},{"key":"td","value":"3","description":"id tipo documento"},{"key":"p","value":"512","description":"id do documento"}]}},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Sat, 08 Feb 2025 11:07:53 GMT"},{"key":"Content-Type","value":"text/plain;charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"access-control-allow-headers","value":"*"},{"key":"vary","value":"Accept-Encoding,User-Agent"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=7Xengt%2FYysqJH9FzhkFWDU1MrgkcQUJT5vfkaNgCI0HKTmHxAwWmdnuJpd%2F0rWHBP5%2FI%2BLd4qx0IJOVRPdMgopGxeCCeQGdc%2FGlYd2NH76AvbbmLhhAfr4LvBBwPXcE0KDlkIagYqw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90eb2899cdd70a58-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=43669&min_rtt=37971&rtt_var=15268&sent=74&recv=72&lost=0&retrans=0&sent_bytes=8500&recv_bytes=2042&delivery_rate=115063&cwnd=38&unsent_bytes=0&cid=6f80474db6a6ef92&ts=64566&x=0\""}],"cookie":[],"responseTime":null,"body":"{\"imageMode\":\"raster\"}\n<b>Empresa Demonstrativa, Lda</b>\n<p align=\"left\">Rua de Teste, N.48\n<p align=\"left\">4000-123 Porto\n<p align=\"left\">NIF: 123456789\n==========================================\nATCUD:TESTE-10\n<qrcode_image>\n==========================================\nData/Hora: 2025-02-07 20:55:50\nFatura Simplificada GLA/10\nNatureza: Fatura Simplificada\n==========================================\nDados Cliente:\nNIF: Consumidor Final\nNome: \nMorada: \nCP:  \n==========================================\nARTIGOS:\n<p align=\"left\">Carlasberg  </p><p align=\"right\">1 x 3.57EUR  = 3.57EUR</p>\n==========================================\n<center>\nTaxa --- Liq --- Imp\n 23.00%  --- 2.90EUR --- 0.67EUR\n\n***\nTotal Liquido: 2.90 Eur\nTotal Impostos: 0.67 Eur\n<b>TOTAL: 3.57</b> Eur\nMultibanco: 3.57 Eur \nEntregue: 3.57 EUR\n| Troco: 0 Eur\n</center>\n<p align=\"left\">==========================================</p>\nVendedor: 2\nAF1G-Processado por programa certificado Nº1845/AT\n3 GLA/10\n<center>\n***** GOLDYLOCKS - Faturacao Online *****\n***** www.goldylocks.pt *****\nObrigado pela sua visita.\n</center>\n<cut>\n<br>\n<br>\n</p>"}],"_postman_id":"ddeb10b5-072f-4bb6-997d-bbe119009b11"},{"name":"Obter talao por defeito","id":"107e8c82-cfc7-4f7b-a200-11ad0440bc0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}obtertalaodefeito/?api={{api-token}}&nome=vendas-1-80mm","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}obtertalaodefeito"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"nome","value":"vendas-1-80mm"}],"variable":[]}},"response":[{"id":"8a27cef6-6986-442c-8df9-4c3c02e78d8a","name":"Obter talao por defeito","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{goldylocks-api-url}}obtertalaodefeito/?api={{api-token}}&nome=vendas-1-80mm","host":["{{goldylocks-api-url}}obtertalaodefeito"],"path":[""],"query":[{"key":"api","value":"{{api-token}}"},{"key":"nome","value":"vendas-1-80mm"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 08 Feb 2025 11:06:55 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-methods","value":"GET, PUT, POST, DELETE, OPTIONS"},{"key":"access-control-allow-headers","value":"*"},{"key":"vary","value":"Accept-Encoding,User-Agent"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=6svVwZXF92XEaZmqfHBMhetkbXTLYK9yN8bYoBhScAJkJLZi6FSfQj5Lc%2Fnm78k2XSFg%2FoenDHZz5NIk0vB9tZtfdELQxpL63SIAtKDPk83EjeGxyRxjBLxLGrL2HXjED3Nko1hQGg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"90eb27309a680a58-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"},{"key":"server-timing","value":"cfL4;desc=\"?proto=TCP&rtt=38471&min_rtt=38317&rtt_var=8347&sent=14&recv=14&lost=0&retrans=0&sent_bytes=5190&recv_bytes=1340&delivery_rate=76061&cwnd=35&unsent_bytes=0&cid=6f80474db6a6ef92&ts=6742&x=0\""}],"cookie":[],"responseTime":null,"body":"{\n    \"nome\": \"vendas-1-80mm\",\n    \"modelo_base64\": \"PGNlbnRlcj4NCjxsb2dvdGlwbz57IndpZHRoIjozNjAsImhlaWdodCI6MzYwfQ0KPGI+PG5vbWVfZW1wcmVzYT48L2I+DQpDb250cmlidWludGUgTsK6IDxuaWZfZW1wcmVzYT4NCjxtb3JhZGFfZW1wcmVzYT4NCjxjcF9lbXByZXNhPiA8bG9jYWxpZGFkZV9lbXByZXNhPg0KVGVsZiogPHRlbGVmb25lX2VtcHJlc2E+DQpFbWFpbCA8ZW1haWxfZW1wcmVzYT4NCg0KPGI+PHRpcG9fZG9jdW1lbnRvPiA8c2VyaWVfZG9jdW1lbnRvPi88bnVtZXJvX2RvY3VtZW50bz48L2I+DQo8dGV4dG9fYXRjdWQ+DQo8Y29kaWdvX3FyX2RvY3VtZW50b19pbWFnZW0+DQo8L2NlbnRlcj4NCkRhdGEvSG9yYTogPGRhdGFfaG9yYV9kb2N1bWVudG8+DQpOYXR1cmV6YTogPG5hdHVyZXphX2RvY3VtZW50byBbdGFtLWxlZnQ9MjQ7XT48ZGFkb3NBVD4NCkNsaWVudGU6IDxub21lX2NsaWVudGU+DQpNb3JhZGE6IDxtb3JhZGFfY2xpZW50ZSBbbWF4LWxlbmd0aD0yMDtdPiA8Y3BfY2xpZW50ZT4gPGNwX2NsaWVudGU+DQpDb250Lk7CujogPG5pZl9jbGllbnRlPg0KDQogPGI+QXJ0aWdvICAgICAgICBRdGQgICAgICAgICAgUHJlY28gICAgICAgIFZhbG9yPC9iPg0KX19fX19fX18gICAgIF9fX19fX19fICAgICBfX19fX19fXyAgICAgX19fX19fX18NCjxsaW5oYXM+PGxpbmhhX2Rlc2NyaWNhbz4NCjxsaW5oYV90YXhhIFtyb3VuZD0wXT4lIDxsaW5oYV9xdWFudGlkYWRlIFtyb3VuZD0wO3RhbS1yaWdodD0yMDtdPiB4IDxsaW5oYV9wcmVjb19pbXBvc3RvIFtyb3VuZD0yO10+ID0gPGxpbmhhX3RvdGFsX2xpbmhhX2NvbV9pbXBvc3RvcyBbcm91bmQ9Mjt0YW0tcmlnaHQ9MTA7XT4NCjwvbGluaGFzPg0KPGI+VE9UQUwuLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLjx0b3RhbF9kb2N1bWVudG8gW3RhbS1yaWdodD0xMDpyb3VuZD0yO10+IEVVUjwvYj4NCjx0b3RhbF9lbnRyZWd1ZT4NCjx0cm9jbz4NCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fDQpJbXBvc3Rvcw0KPGltcG9zdG8tbWQ+X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18NCjxhc3NpbmF0dXJhQVQ+DQoNCiogKENoYW1hZGEgcGFyYSBhIHJlZGUgZml4YSBuYWNpb25hbCkNCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fDQpPcHI6ICg8aWRfdmVuZGVkb3I+KSA8bm9tZV92ZW5kZWRvcj4NCjxjZW50ZXI+DQpPYnJpZ2FkbyAtIFZvbHRlIHNlbXByZQ0KKiB3d3cuZ29sZHlsb2Nrcy5wdCAqDQo8L2NlbnRlcj4NCjxicj4NCjxicj4NCjxicj4NCjxjdXQ+DQo8ZHJhd2VyX3A1X3Rlcm1pY2E+\"\n}"}],"_postman_id":"107e8c82-cfc7-4f7b-a200-11ad0440bc0e"},{"name":"Obter dados modelo de talao","id":"90d443b0-69eb-497b-96a4-1e5808580bbc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}obterDeterminadoTalao/?api={{api-token}}&p=3","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}obterDeterminadoTalao"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id modelo talao</p>\n","type":"text/plain"},"key":"p","value":"3"}],"variable":[]}},"response":[],"_postman_id":"90d443b0-69eb-497b-96a4-1e5808580bbc"},{"name":"Criar modelos de talões por defeito","id":"cf065411-4f4e-4d42-b4e3-2b0822750b65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}taloesdefeito/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}taloesdefeito"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"cf065411-4f4e-4d42-b4e3-2b0822750b65"}],"id":"ed092a6a-83a9-41dd-872e-114ba72c1475","_postman_id":"ed092a6a-83a9-41dd-872e-114ba72c1475","description":""},{"name":"Tipos de documentos","item":[{"name":"Obter tipos de documentos","id":"0980993d-acf1-48df-a020-0036e41e2c1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}tiposdocumento/?api={{api-token}}&tipo=venda","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}tiposdocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"disabled":true,"description":{"content":"<p>filtrar por natureza</p>\n","type":"text/plain"},"key":"natureza","value":"FT"},{"description":{"content":"<p>venda ou compra</p>\n","type":"text/plain"},"key":"tipo","value":"venda"},{"disabled":true,"description":{"content":"<p>ID do tipo documento</p>\n","type":"text/plain"},"key":"p","value":"2"}],"variable":[]}},"response":[],"_postman_id":"0980993d-acf1-48df-a020-0036e41e2c1b"},{"name":"Visualizar logotipo do tipo de documento","id":"a3883c76-219c-4c44-b63e-ebc798a34eb7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}logotipotipodocumento/?api={{api-token}}&p=2","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}logotipotipodocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do tipo de documento</p>\n","type":"text/plain"},"key":"p","value":"2"}],"variable":[]}},"response":[],"_postman_id":"a3883c76-219c-4c44-b63e-ebc798a34eb7"},{"name":"Remover logotipo do tipo de documento","id":"7f4b7d4c-1971-4050-85c7-23e4411e8af9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}removerlogotipotipodocumento/?api={{api-token}}&p=2","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removerlogotipotipodocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do tipo de documento</p>\n","type":"text/plain"},"key":"p","value":"2"}],"variable":[]}},"response":[],"_postman_id":"7f4b7d4c-1971-4050-85c7-23e4411e8af9"},{"name":"Obter series utilizaveis do tipo de documento","id":"709654b6-4a9a-4951-ba08-e07d3dcec50f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_tipo_documento","value":"2","type":"text"}]},"url":"{{goldylocks-api-url}}seriestipodocumento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}seriestipodocumento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"709654b6-4a9a-4951-ba08-e07d3dcec50f"},{"name":"Clonar tipo de documento","id":"1b7653dd-ae90-4e18-b891-4fde70292b53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_tipo_documento_origem","value":"2","type":"text"},{"key":"nova_descricao","value":"Fatura Clonada","type":"text"}]},"url":"{{goldylocks-api-url}}clonartipodocumento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}clonartipodocumento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"1b7653dd-ae90-4e18-b891-4fde70292b53"}],"id":"2633efcc-1f22-4559-8a72-6d5d5dab4563","_postman_id":"2633efcc-1f22-4559-8a72-6d5d5dab4563","description":""},{"name":"Tipos de unidades de artigos","item":[{"name":"Obter tipos de unidades de artigos","id":"3d64f24a-8219-4872-8def-b485fe581a1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{goldylocks-api-url}}tiposunidadesartigos/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}tiposunidadesartigos"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"3d64f24a-8219-4872-8def-b485fe581a1e"},{"name":"Obter tipo de unidades de artigo","id":"9afeb9bf-eb3f-4617-9f78-2b716673b063","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_tipo_unidade_artigo","value":"1","description":"<p>id do tipo de unidades de artigo</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}tipounidadeartigos/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}tipounidadeartigos"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"9afeb9bf-eb3f-4617-9f78-2b716673b063"},{"name":"Criar tipo de unidades de artigo","id":"5917924f-4e2c-4a8b-8815-b2a438455a51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"tipo_unidade","value":"Básica","description":"<p>descrição do tipo de unidades a criar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}criartipounidadeartigo/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criartipounidadeartigo"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"5917924f-4e2c-4a8b-8815-b2a438455a51"},{"name":"Editar tipo de unidades de artigo","id":"e2935968-1772-4577-833f-ac01f7798ba0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_tipo_unidade_artigo","value":"1","description":"<p>id do tipo de unidades a alterar</p>\n","type":"text"},{"key":"descricao","value":"Básica","description":"<p>descrição do tipo de unidades a criar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}alterartipounidadeartigo/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterartipounidadeartigo"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"e2935968-1772-4577-833f-ac01f7798ba0"},{"name":"Eliminar tipo de unidades de artigo","id":"ce05f6e3-b10b-42bf-9e22-7e14e8115f03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_tipo_unidade_artigo","value":"1","description":"<p>id do tipo de unidades a eliminar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}eliminartipounidadeartigo/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminartipounidadeartigo"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"ce05f6e3-b10b-42bf-9e22-7e14e8115f03"}],"id":"acb87a8c-35fd-4c2a-a227-dae16b5cd61b","_postman_id":"acb87a8c-35fd-4c2a-a227-dae16b5cd61b","description":""},{"name":"Tipos opções eventos","item":[{"name":"Criar tipo opção texto","id":"bae10445-d6ea-48b0-bba8-e0593e445fe0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"descricao","value":"Opção 1","description":"<p>Descrição da opção a criar</p>\n","type":"text"},{"key":"id_categoria","value":"1","description":"<p>ID da categoria</p>\n","type":"text"},{"key":"continuo","value":"cliente_especialidade","description":"<p>Condição continuidade registos</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}criartipoopcaoeventotexto/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criartipoopcaoeventotexto"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"bae10445-d6ea-48b0-bba8-e0593e445fe0"},{"name":"Alterar tipo opção texto","id":"b8ca80aa-9e60-4904-af20-219f6b07a2ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_tipo_opcao_evento","value":"1","description":"<p>ID do tipo de opção</p>\n","type":"text"},{"key":"descricao","value":"Opção 1","description":"<p>Descrição da opção a criar</p>\n","type":"text"},{"key":"id_categoria","value":"1","description":"<p>ID da categoria</p>\n","type":"text"},{"key":"continuo","value":"cliente_especialidade","description":"<p>Condição continuidade registos</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}alterartipoopcaoeventotexto/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterartipoopcaoeventotexto"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"b8ca80aa-9e60-4904-af20-219f6b07a2ac"},{"name":"Criar tipo opção imagem","id":"2293a869-6aba-4694-9bcf-1820a742dc82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"descricao","value":"Opção 1","description":"<p>Descrição da opção a criar</p>\n","type":"text"},{"key":"imagem","description":"<p>Ficheiro da imagem a utilizar como fundo</p>\n","type":"file","value":null},{"key":"id_categoria","value":"1","description":"<p>ID da categoria</p>\n","type":"text"},{"key":"continuo","value":"cliente_especialidade","description":"<p>Condição continuidade registos</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}criartipoopcaoeventoimagem/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criartipoopcaoeventoimagem"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"2293a869-6aba-4694-9bcf-1820a742dc82"},{"name":"Alterar tipo opção imagem","id":"6844fe83-de95-4854-a6cb-7b33c7fea42e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"imagem","description":"<p>Ficheiro da imagem a utilizar como fundo</p>\n","type":"file","value":null},{"key":"continuo","value":"cliente_especialidade","description":"<p>Condição continuidade registos</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}alterartipoopcaoeventoimagem/?api={{api-token}}&id_tipo_opcao_evento=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterartipoopcaoeventoimagem"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do tipo de opção</p>\n","type":"text/plain"},"key":"id_tipo_opcao_evento","value":"1"}],"variable":[]}},"response":[],"_postman_id":"6844fe83-de95-4854-a6cb-7b33c7fea42e"},{"name":"Obter imagem do tipo de opção do evento","id":"fd070486-e88b-4178-8a0b-2cd09c1c05f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{goldylocks-api-url}}imagemtipoopcaoevento/?api={{api-token}}&id_tipo_opcao_evento=42","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}imagemtipoopcaoevento"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>id do tipo de opção a obter a imagem</p>\n","type":"text/plain"},"key":"id_tipo_opcao_evento","value":"42"}],"variable":[]}},"response":[],"_postman_id":"fd070486-e88b-4178-8a0b-2cd09c1c05f3"},{"name":"Obter todos os tipos de opções","id":"ac399764-6d48-49f9-8c59-c2773316e409","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{goldylocks-api-url}}tiposopcoeseventos/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}tiposopcoeseventos"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"ac399764-6d48-49f9-8c59-c2773316e409"},{"name":"Obter tipo de opção de evento","id":"8270d9ae-1ccf-43b0-80d7-2b4145548995","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_tipo_opcao_evento","value":"1","description":"<p>ID do tipo de opção de evento</p>\n","type":"text"},{"key":"id_categoria","value":"1","description":"<p>ID da categoria</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}tipoopcaoevento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}tipoopcaoevento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"8270d9ae-1ccf-43b0-80d7-2b4145548995"},{"name":"Remover tipo de opção de evento","id":"8f32034b-efd4-4f3f-abab-95d1382be49e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_tipo_opcao_evento","value":"1","description":"<p>ID do tipo de opção de evento</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}removertipoopcaoevento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removertipoopcaoevento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"8f32034b-efd4-4f3f-abab-95d1382be49e"}],"id":"91ab4f28-44a8-4575-af50-529e0a525768","_postman_id":"91ab4f28-44a8-4575-af50-529e0a525768","description":""},{"name":"Transporte","item":[{"name":"Obter dados do transporte documento","id":"8190c584-650e-4c8b-b91d-44778c9efa41","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}transporte/?api={{api-token}}&p=22020","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}transporte"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da encomenda</p>\n","type":"text/plain"},"key":"p","value":"22020"}],"variable":[]}},"response":[],"_postman_id":"8190c584-650e-4c8b-b91d-44778c9efa41"},{"name":"Alterar transporte num documento","id":"5c09f29b-6a17-412b-a702-39ce9c137f46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"matricula","value":"","description":"<p>matricula do veiculo transportador</p>\n","type":"text"},{"key":"datahoraCarga","value":"","description":"<p>data e hora da Carga</p>\n","type":"text"},{"key":"moradaCarga","value":"","description":"<p>descarga da carga na morada</p>\n","type":"text"},{"key":"cpCarga","value":"","description":"<p>codigo postal da carga</p>\n","type":"text"},{"key":"localidadeCarga","value":"","description":"<p>localidade da carga</p>\n","type":"text"},{"key":"isoPaisCarga","value":"PT","description":"<p>ISO do pais a efetuar a carga</p>\n","type":"text"},{"key":"datahoraDescarga","value":"","description":"<p>data e hora da descarga na casa do cliente</p>\n","type":"text"},{"key":"moradaDescarga","value":"","description":"<p>morada do cliente para caraga</p>\n","type":"text"},{"key":"cpDescarga","value":"","description":"<p>codigo postal do cliente para carga</p>\n","type":"text"},{"key":"localidadeDescarga","value":"","description":"<p>localidade da carga para cliente</p>\n","type":"text"},{"key":"isoPaisDescarga","value":"PT","description":"<p>ISO do pais a efetuar a descarga</p>\n","type":"text"},{"key":"transportadora","value":"","description":"<p>nome da transportadora a utilizar</p>\n","type":"text"},{"key":"transportadora_numero_volumes","value":"","description":"<p>numero de volumes a enviar</p>\n","type":"text"},{"key":"transportadora_peso","value":"","description":"<p>peso total da mercadoria a enviar em kilos</p>\n","type":"text"},{"key":"transportadora_pessoa_contacto","value":"","description":"<p>nome da pessoa de contacto para entrega</p>\n","type":"text"},{"key":"transportadora_telefone_contacto","value":"","description":"<p>telefone de contacto para entrega</p>\n","type":"text"},{"key":"transportadora_email_contacto","value":"","description":"<p>email de contacto para entrega e notificações</p>\n","type":"text"},{"key":"transportadora_observacao","value":"","description":"<p>observação sobre a entrega</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}alterartransporte/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterartransporte"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"5c09f29b-6a17-412b-a702-39ce9c137f46"},{"name":"Tempo distancia do transporte","id":"ddb3853b-b15a-4315-b8b6-836a823c5071","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}tempodistanciatransporte/?api={{api-token}}&chaveAPIGoogle&moradaCarga&moradaDescarga&morada&searchCountry","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}tempodistanciatransporte"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>Mapa internacional da GOOGLE</p>\n","type":"text/plain"},"key":"chaveAPIGoogle","value":""},{"description":{"content":"<p>morada da carga</p>\n","type":"text/plain"},"key":"moradaCarga","value":""},{"description":{"content":"<p>morada da descarga</p>\n","type":"text/plain"},"key":"moradaDescarga","value":""},{"description":{"content":"<p>morada</p>\n","type":"text/plain"},"key":"morada","value":""},{"description":{"content":"<p>pesquisa do país do cliente</p>\n","type":"text/plain"},"key":"searchCountry","value":""}],"variable":[]}},"response":[],"_postman_id":"ddb3853b-b15a-4315-b8b6-836a823c5071"},{"name":"Remover transporte delivery","id":"0513721e-b255-4282-9a56-8018e656859c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_documento","value":"220","description":"<p>id documento a remover a viatura de delivery</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}removertransportedelivery/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removertransportedelivery"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"0513721e-b255-4282-9a56-8018e656859c"},{"name":"Obter dados transporte delivery de uma viatura","id":"e5c41ff2-41af-4f01-bbc1-ffb841992306","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{goldylocks-api-url}}dadostransportedelivery/?api={{api-token}}&id_viatura=1&id_estado=1&id_utilizador=3&convertidos=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}dadostransportedelivery"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>[opcional] - id da viatura a consultar</p>\n","type":"text/plain"},"key":"id_viatura","value":"1"},{"description":{"content":"<p>[opcional] - id do estado de documento a obter</p>\n","type":"text/plain"},"key":"id_estado","value":"1"},{"description":{"content":"<p>[opcional] - id do utilizador, se existir, não é necessário id_viatura</p>\n","type":"text/plain"},"key":"id_utilizador","value":"3"},{"description":{"content":"<p>[opcional] - 1 para obter apenas documentos já convertidos</p>\n","type":"text/plain"},"key":"convertidos","value":"1"}],"variable":[]}},"response":[],"_postman_id":"e5c41ff2-41af-4f01-bbc1-ffb841992306"}],"id":"1809704b-d6c1-4647-b7dc-8b19cca7ba80","_postman_id":"1809704b-d6c1-4647-b7dc-8b19cca7ba80","description":""},{"name":"Unidades artigos","item":[{"name":"Obter unidades artigos","id":"db132b9c-2013-4947-ab6e-093f371acfce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{goldylocks-api-url}}unidadesartigos/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}unidadesartigos"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"db132b9c-2013-4947-ab6e-093f371acfce"},{"name":"Obter unidade artigo","id":"06166702-6496-4bc2-9671-4fbd9d2097d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"unidade","value":"1","description":"<p>unidade do artigo a obter dados</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}obterunidadeartigo/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}obterunidadeartigo"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"06166702-6496-4bc2-9671-4fbd9d2097d6"},{"name":"Criar unidade de artigo","id":"7b44c62e-3fa7-4d0e-847f-0a73aa166a51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"unidade","value":"uni","description":"<p>unidade do artigo a obter dados</p>\n","type":"text"},{"key":"id_tipo_unidade","value":"1","description":"<p>id do tipo de unidade a criar</p>\n","type":"text"},{"key":"descricao","value":"Unidade","description":"<p>descrição da unidade a criar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}criarunidadeartigo/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criarunidadeartigo"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"7b44c62e-3fa7-4d0e-847f-0a73aa166a51"},{"name":"Alterar unidade de artigo","id":"2952248f-63f5-4f3d-83d7-3cf887c04848","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"unidade","value":"uni","description":"<p>unidade do artigo a obter dados</p>\n","type":"text"},{"key":"id_tipo_unidade","value":"1","description":"<p>id do tipo de unidade a criar</p>\n","type":"text"},{"key":"descricao","value":"Unidade","description":"<p>descrição da unidade a criar</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}alterarunidadeartigo/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterarunidadeartigo"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"2952248f-63f5-4f3d-83d7-3cf887c04848"},{"name":"Eliminar unidade de artigo","id":"2584069e-2fdd-436c-8105-27ce063b0475","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"unidade","value":"uni","description":"<p>unidade do artigo a obter dados</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}eliminarunidadeartigo/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarunidadeartigo"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"2584069e-2fdd-436c-8105-27ce063b0475"}],"id":"df330277-7638-4dc6-a340-c291ff30bb23","_postman_id":"df330277-7638-4dc6-a340-c291ff30bb23","description":""},{"name":"Utilizadores","item":[{"name":"Gerar token JWT a partir de dados de login","id":"324a4940-0b4c-40c2-8d40-5684eecc8d54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"username","value":"api","description":"<p>nome de utilizador</p>\n","type":"text"},{"key":"password","value":"admin1234","description":"<p>password</p>\n","type":"text"},{"key":"informacao","value":"{version:123}","description":"<p>informacao adicional em texto</p>\n","type":"text","uuid":"9c2133d5-83d4-43e9-bb3f-c066efced767"}]},"url":"{{goldylocks-api-url}}obtertoken/","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}obtertoken"],"query":[],"variable":[]}},"response":[],"_postman_id":"324a4940-0b4c-40c2-8d40-5684eecc8d54"},{"name":"Gerar token JWT a partir de dados do pin de utilizador","id":"2405921a-1958-4985-bfde-734c81552f38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"pin","value":"123456","description":"<p>PIN do utilizador</p>\n","type":"text"},{"key":"informacao","value":"{version:123}","description":"<p>Informação adicional em texto</p>\n","type":"text","uuid":"024a74c7-5ba7-4671-81c2-137975aa8524"}]},"url":"{{goldylocks-api-url}}obtertokenpin/","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}obtertokenpin"],"query":[],"variable":[]}},"response":[],"_postman_id":"2405921a-1958-4985-bfde-734c81552f38"},{"name":"Tokens de autenticação com sessão ativa","id":"567ea6ff-4dfd-4b7e-b23d-aa3af60b6ed0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}tokensativos/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}tokensativos"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"567ea6ff-4dfd-4b7e-b23d-aa3af60b6ed0"},{"name":"Desativar token ativo de sessão","id":"442ec10f-e5e7-4e13-8db0-b2b3c6af69cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{goldylocks-api-url}}removertokenativo/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removertokenativo"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"442ec10f-e5e7-4e13-8db0-b2b3c6af69cb"},{"name":"Utilizador","id":"85644fc7-2dde-4df7-8274-ea46dbf43053","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}utilizador/?api={{api-token}}&p=2","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}utilizador"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID do utilizador</p>\n","type":"text/plain"},"key":"p","value":"2"}],"variable":[]}},"response":[],"_postman_id":"85644fc7-2dde-4df7-8274-ea46dbf43053"},{"name":"Utilizadores","id":"b3083248-c522-42e4-b32b-9c768551dbed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}utilizadores/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}utilizadores"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"b3083248-c522-42e4-b32b-9c768551dbed"},{"name":"Update perfil","id":"73e545d6-d583-41d1-85dd-9b2c255f9d39","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}updateperfil/?api={{api-token}}&u=user&pin=123456&sa=password1234&n=Utilizador&p=novapassword1234","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}updateperfil"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>username</p>\n","type":"text/plain"},"key":"u","value":"user"},{"description":{"content":"<p>pin numerico</p>\n","type":"text/plain"},"key":"pin","value":"123456"},{"description":{"content":"<p>password atual do utilizador</p>\n","type":"text/plain"},"key":"sa","value":"password1234"},{"description":{"content":"<p>nome completo do utilizador</p>\n","type":"text/plain"},"key":"n","value":"Utilizador"},{"description":{"content":"<p>nova password a definir</p>\n","type":"text/plain"},"key":"p","value":"novapassword1234"}],"variable":[]}},"response":[],"_postman_id":"73e545d6-d583-41d1-85dd-9b2c255f9d39"},{"name":"Senha inicial","id":"d559950c-4f03-47f3-a0e7-a7ebd6d4c803","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"senhaAtual","value":"aaa11122","description":"<p>senha atual</p>\n","type":"text"},{"key":"senhaNova","value":"bbbb2222","description":"<p>senha nova</p>\n","type":"text"},{"key":"confiramacaoSenha","value":"bbbb2222","description":"<p>confirmacao de senha</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}senhainicial/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}senhainicial"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"d559950c-4f03-47f3-a0e7-a7ebd6d4c803"},{"name":"Imagem de perfil do utilizador","id":"3984987f-c654-412b-885a-913c8d39f5fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}imagemperfil/?api={{api-token}}&p=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}imagemperfil"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"p","value":"1"}],"variable":[]}},"response":[],"_postman_id":"3984987f-c654-412b-885a-913c8d39f5fe"},{"name":"Alterar imagem de perfil","id":"1599e848-efec-4872-8236-65d2dcb13534","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}alterarimagemperfil/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterarimagemperfil"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"1599e848-efec-4872-8236-65d2dcb13534"},{"name":"Eliminar imagem de pefil","id":"905bab23-7569-42bb-a3cd-355fa30b9a7d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}eliminarimagemperfil/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarimagemperfil"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"905bab23-7569-42bb-a3cd-355fa30b9a7d"},{"name":"Gerir utilizador","id":"bf65fdd4-078a-4c16-ab67-307da8bdead8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"u","value":"","description":"<p>username</p>\n","type":"text"},{"key":"p","value":"","description":"<p>password</p>\n","type":"text"},{"key":"n","value":"","description":"<p>nome de utilizador</p>\n","type":"text"},{"key":"sd","value":"","description":"<p>serie defeito</p>\n","type":"text"},{"key":"codigo_operador","value":"123123","description":"<p>código de operador de fitofarmacos</p>\n","type":"text"},{"key":"posto_defeito","value":"12","description":"<p>id do posto de impressão a utilizar</p>\n","type":"text"},{"key":"utiliza_caixa","value":"0","description":"<p>1- sim, 0-não</p>\n","type":"text"},{"key":"grupo","value":"1","description":"<p>id do grupo de permissões deste utilizador</p>\n","type":"text"},{"key":"comissao","value":"25","description":"<p>percentagem de comissão nas vendas deste utilizador</p>\n","type":"text"},{"key":"numero_mecanografico","value":"M123123","description":"<p>número mecanografico, medicina</p>\n","type":"text"},{"key":"especialidades","value":"[34,38,42]","description":"<p>array com as especialidades deste utilizador</p>\n","type":"text"},{"key":"ativo","value":"1","description":"<p>1 - ativo, 0 - sem acesso</p>\n","type":"text"},{"key":"id_armazem_defeito","value":"17","description":"<p>id do armazem por defeito deste utilizador</p>\n","type":"text"},{"key":"pin","value":"123456","description":"<p>PIN do utilizador</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}gerirutilizador/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}gerirutilizador"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"bf65fdd4-078a-4c16-ab67-307da8bdead8"},{"name":"Eliminar utilizador","id":"93e70560-4f7c-4b5b-8337-824d9ef5612b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}eliminarutilizador/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarutilizador"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"93e70560-4f7c-4b5b-8337-824d9ef5612b"},{"name":"Utilizadores ativos","id":"c179ca87-6f19-4f67-a5b3-8770d3da2506","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}utilizadoresactivos/?api={{api-token}}&api=&p","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}utilizadoresactivos"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"api","value":""},{"key":"p","value":""}],"variable":[]}},"response":[],"_postman_id":"c179ca87-6f19-4f67-a5b3-8770d3da2506"},{"name":"Utilizadores documentos","id":"a6a18545-9e33-4cc9-8639-945804ad0f87","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}utilizadoresdocumento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}utilizadoresdocumento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"a6a18545-9e33-4cc9-8639-945804ad0f87"},{"name":"Enviar mensagem utilizador","id":"88cd836e-f6f8-4509-9963-7eae342842da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"receptor","value":"","type":"text"},{"key":"mensagem","value":"","type":"text"},{"key":"url","value":"","type":"text"}]},"url":"{{goldylocks-api-url}}enviarmensagemutilizador/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}enviarmensagemutilizador"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"88cd836e-f6f8-4509-9963-7eae342842da"},{"name":"Verificar mensagem utilizador","id":"761e4b29-1611-4b93-86c0-ed5431d54fd1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}verificarmensagemutilizador/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}verificarmensagemutilizador"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"761e4b29-1611-4b93-86c0-ed5431d54fd1"},{"name":"Verificar mensagens por ler","id":"cca7fc71-7c40-4871-b607-b75c036e26d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}verificarmensagensporler/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}verificarmensagensporler"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"cca7fc71-7c40-4871-b607-b75c036e26d5"},{"name":"Grupos funcionarios","id":"d51a10f1-9c8c-4a0c-9e5e-998d02c1f7fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}gruposfuncionarios/?api={{api-token}}&reduzido=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}gruposfuncionarios"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"reduzido","value":"1"}],"variable":[]}},"response":[],"_postman_id":"d51a10f1-9c8c-4a0c-9e5e-998d02c1f7fe"},{"name":"Grupo funcionarios","id":"ee460088-5c90-4e83-8252-e8feba447656","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}grupofuncionarios/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}grupofuncionarios"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"ee460088-5c90-4e83-8252-e8feba447656"},{"name":"Gerir grupo funcionarios","id":"24afcdbc-6c2b-4407-af74-9440a3472f3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"grupo","value":"","description":"<p>grupo</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}gerirgrupofuncionarios/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}gerirgrupofuncionarios"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"24afcdbc-6c2b-4407-af74-9440a3472f3e"},{"name":"Gerir permissoes","id":"f5387a69-ecb3-4ac3-8f7e-e1dd30f0eb63","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"permissoes","value":"","description":"<p>permissoes</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}gerirpermissoes/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}gerirpermissoes"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"f5387a69-ecb3-4ac3-8f7e-e1dd30f0eb63"},{"name":"Tipos de documentos do grupo","id":"877ae0a1-ee1a-497d-908f-3f11af331af5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}tiposdocumentogrupo/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}tiposdocumentogrupo"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"877ae0a1-ee1a-497d-908f-3f11af331af5"},{"name":"Familias grupo","id":"2fa0dcf0-d335-44d5-9b6c-e0108241fb4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}familiasgrupo/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}familiasgrupo"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"2fa0dcf0-d335-44d5-9b6c-e0108241fb4a"},{"name":"Gerir permissoes do grupo","id":"0e7bb3ac-4a1e-40eb-b01c-7fbb51a538a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"tipos_documentos","value":"","description":"<p>tipo de documentos</p>\n","type":"text"},{"key":"grupos_clientes","value":"","description":"<p>grupo de clientes</p>\n","type":"text"},{"key":"series_documentos","value":"","description":"<p>serie de documentos</p>\n","type":"text"},{"key":"familias_artigos","value":"","description":"<p>artigos de familia</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}removergrupofuncionarios/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removergrupofuncionarios"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"0e7bb3ac-4a1e-40eb-b01c-7fbb51a538a8"},{"name":"Remover grupo de funcionarios","id":"9f8042fd-e44c-4860-ad29-f008249ac537","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}removergrupofuncionarios/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removergrupofuncionarios"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"9f8042fd-e44c-4860-ad29-f008249ac537"},{"name":"Grupos clientes grupo","id":"6430bafe-935c-4d42-91f6-360c9aff5293","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}gruposclientesgrupo/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}gruposclientesgrupo"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"6430bafe-935c-4d42-91f6-360c9aff5293"},{"name":"Series grupo","id":"5bafe1c8-35c2-4174-acac-66376e0ec503","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}seriesgrupo/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}seriesgrupo"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"5bafe1c8-35c2-4174-acac-66376e0ec503"},{"name":"Desativar tutorial","id":"3db42c84-e7cc-47a8-9452-f404dbbcbbb2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}desativartutorial/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}desativartutorial"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"3db42c84-e7cc-47a8-9452-f404dbbcbbb2"},{"name":"Login clientes plataformas externas","id":"c93221de-8cec-488e-a1b6-a93fa6c95316","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"username","value":"","description":"<p>username</p>\n","type":"text"},{"key":"password","value":"","description":"<p>password</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}loginsite/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}loginsite"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"c93221de-8cec-488e-a1b6-a93fa6c95316"}],"id":"efda3826-8abd-4389-a46e-aa874c6297f1","_postman_id":"efda3826-8abd-4389-a46e-aa874c6297f1","description":""},{"name":"Viaturas","item":[{"name":"Obter as viaturas existentes","id":"de66a050-d985-432c-8ff4-af99f6d1c4af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}viaturas/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}viaturas"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"de66a050-d985-432c-8ff4-af99f6d1c4af"},{"name":"Obter ultimo numero das viaturas","id":"76337c9a-63a0-4de4-84ed-66e2661dcbe4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}cod_viatura/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}cod_viatura"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"76337c9a-63a0-4de4-84ed-66e2661dcbe4"},{"name":"Criar viatura","id":"084acf32-29e9-4b54-9849-b14ba949baf3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_viatura","value":"","type":"text"},{"key":"descricao_viatura","value":"","type":"text"},{"key":"matricula","value":"","type":"text"},{"key":"id_utilizador","value":"","type":"text"},{"key":"id_zona","value":"","type":"text"}]},"url":"{{goldylocks-api-url}}criarviatura/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criarviatura"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"084acf32-29e9-4b54-9849-b14ba949baf3"},{"name":"Eliminar viatura","id":"4cd39af5-b633-4622-963c-66dd36b7203d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_viatura","value":"","type":"text"}]},"url":"{{goldylocks-api-url}}eliminarviatura/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarviatura"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"4cd39af5-b633-4622-963c-66dd36b7203d"}],"id":"d5e36ad3-043d-4231-b77b-c1d19bae9df2","_postman_id":"d5e36ad3-043d-4231-b77b-c1d19bae9df2","description":""},{"name":"Volumes Documento","item":[{"name":"Obter volumes de um documento","id":"e631ddbe-52e5-49fb-9257-77b2aea3b3a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}movimentosvolumesdocumento/?api={{api-token}}&id_documento=1","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}movimentosvolumesdocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"id_documento","value":"1"}],"variable":[]}},"response":[],"_postman_id":"e631ddbe-52e5-49fb-9257-77b2aea3b3a0"},{"name":"Obter detalhes sobre os volumes de um documento","id":"70d79d20-0f29-4d24-a0fb-8479c632dbd8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}estadovolumesdocumento/?api={{api-token}}&id_documento=31720","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}estadovolumesdocumento"],"query":[{"key":"api","value":"{{api-token}}"},{"key":"id_documento","value":"31720"}],"variable":[]}},"response":[],"_postman_id":"70d79d20-0f29-4d24-a0fb-8479c632dbd8"},{"name":"Adicionar movimento volume de um documento","id":"a30e46ae-ba35-41b5-a00f-b2c02226f7a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_movimento","value":"1","type":"text"},{"key":"numero_volume","value":"1","type":"text"},{"key":"quantidade","value":"1","type":"text"},{"key":"observacao","value":"teste de observacao","type":"text"}]},"url":"{{goldylocks-api-url}}adicionarmovimentovolume/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}adicionarmovimentovolume"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"a30e46ae-ba35-41b5-a00f-b2c02226f7a7"},{"name":"Remover movimento de volume","id":"af20e2d8-0da7-404a-be25-56d1cdd48fab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"uuid_movimento_volume","value":"3d6bde78-6618-4eb0-8bde-fd1c7155ae1d","type":"text"}]},"url":"{{goldylocks-api-url}}removermovimentovolume/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removermovimentovolume"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"af20e2d8-0da7-404a-be25-56d1cdd48fab"},{"name":"Remover volume do documento","id":"87a93ed3-587e-4317-aa42-fb0f2cc3804e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_documento","value":"1","type":"text"},{"key":"numero_volume","value":"1","type":"text"}]},"url":"{{goldylocks-api-url}}removervolumedocumento/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removervolumedocumento"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"87a93ed3-587e-4317-aa42-fb0f2cc3804e"}],"id":"8a190fcb-188c-42a4-9010-fa30b0b682d0","_postman_id":"8a190fcb-188c-42a4-9010-fa30b0b682d0","description":""},{"name":"Webstore","item":[{"name":"Paginas web store","id":"63bb5c87-c05e-4d81-bcee-8fb2a4011114","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}paginaswebstore/?api={{api-token}}&p=2","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}paginaswebstore"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da webstore</p>\n","type":"text/plain"},"key":"p","value":"2"}],"variable":[]}},"response":[],"_postman_id":"63bb5c87-c05e-4d81-bcee-8fb2a4011114"},{"name":"Pagina web store","id":"186e7041-d4fa-4216-a3b6-0f27a6edcd59","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}paginawebstore/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}paginawebstore"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"186e7041-d4fa-4216-a3b6-0f27a6edcd59"},{"name":"Gerir pagina web store","id":"8b86c8f6-c0c6-4a00-a76b-09c48a3258af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"titulo","value":"","description":"<p>titulo da pagina  à gerir na webstore</p>\n","type":"text"},{"key":"conteudo","value":"","description":"<p>conteudo da webstore</p>\n","type":"text"},{"key":"ordem","value":"","description":"<p>ordeem da webstore</p>\n","type":"text"},{"key":"webstore","value":"","description":"<p>webstore</p>\n","type":"text"},{"key":"categoria","value":"","description":"<p>categoria da webstore</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}gerirpaginawebstore/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}gerirpaginawebstore"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"8b86c8f6-c0c6-4a00-a76b-09c48a3258af"},{"name":"Remover pagina web store","id":"22d1633f-a113-4954-826a-417dfafcda49","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}removerpaginawebstore/?api={{api-token}}&p","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removerpaginawebstore"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID  da pagina WebStore</p>\n","type":"text/plain"},"key":"p","value":""}],"variable":[]}},"response":[],"_postman_id":"22d1633f-a113-4954-826a-417dfafcda49"},{"name":"Mudar ordem pagina web store","id":"c8064742-50c3-4aae-9e2a-ca14b08c4615","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}mudarordempaginawebstore/?api={{api-token}}&p","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}mudarordempaginawebstore"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da pagina webstore</p>\n","type":"text/plain"},"key":"p","value":""}],"variable":[]}},"response":[],"_postman_id":"c8064742-50c3-4aae-9e2a-ca14b08c4615"},{"name":"Webstore","id":"2d2d9e63-851b-47ec-983c-4f511689c46e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}webstore/?api={{api-token}}&w","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}webstore"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>nova webstore</p>\n","type":"text/plain"},"key":"w","value":""}],"variable":[]}},"response":[],"_postman_id":"2d2d9e63-851b-47ec-983c-4f511689c46e"},{"name":"Gerir webstore","id":"bf0a3257-b59d-42ea-97af-150b7fe7829d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"d","value":"","description":"<p>descrição</p>\n"},{"key":"u","value":"","description":"<p>url</p>\n"}],"url":"{{goldylocks-api-url}}gerirwebstore/?api={{api-token}}&p","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}gerirwebstore"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da webstore</p>\n","type":"text/plain"},"key":"p","value":""}],"variable":[]}},"response":[],"_postman_id":"bf0a3257-b59d-42ea-97af-150b7fe7829d"},{"name":"Total familias webstore","id":"b52f66b6-9cca-4599-9c75-1788df0b400a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}totalfamiliaswebstore/?api={{api-token}}&p","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}totalfamiliaswebstore"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da webstore</p>\n","type":"text/plain"},"key":"p","value":""}],"variable":[]}},"response":[],"_postman_id":"b52f66b6-9cca-4599-9c75-1788df0b400a"},{"name":"Total artigos webstore","id":"704bba59-e0a4-4af2-ac0a-795436755ca5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}totalartigoswebstore/?api={{api-token}}&p","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}totalartigoswebstore"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da webstore</p>\n","type":"text/plain"},"key":"p","value":""}],"variable":[]}},"response":[],"_postman_id":"704bba59-e0a4-4af2-ac0a-795436755ca5"},{"name":"Total clientes webstore","id":"c9ef9734-9ef5-4514-b3b3-14faa90360ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}totalclienteswebstore/?api={{api-token}}&p","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}totalclienteswebstore"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da webstore</p>\n","type":"text/plain"},"key":"p","value":""}],"variable":[]}},"response":[],"_postman_id":"c9ef9734-9ef5-4514-b3b3-14faa90360ca"},{"name":"Eliminar webstore","id":"d7bbfb75-b576-4447-a01c-af1cfedd4405","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}eliminarwebstore/?api={{api-token}}&p","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarwebstore"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>elimina o ID da webstore</p>\n","type":"text/plain"},"key":"p","value":""}],"variable":[]}},"response":[],"_postman_id":"d7bbfb75-b576-4447-a01c-af1cfedd4405"},{"name":"Perfil cliente","id":"30a417f8-1417-4a26-8fc3-32b5b5b21a36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}perfilcliente/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}perfilcliente"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"30a417f8-1417-4a26-8fc3-32b5b5b21a36"},{"name":"Editar perfil cliente","id":"ec89d593-5cb8-40f4-94ce-dfac0729a9a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"","description":"<p>email</p>\n","type":"text"},{"key":"telemovel","value":"","description":"<p>telemovel </p>\n","type":"text"},{"key":"passwordAntiga","value":"","description":"<p>password antiga</p>\n","type":"text"},{"key":"passwordNova","value":"","description":"<p>password nova</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}editarperfilcliente/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}editarperfilcliente"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"ec89d593-5cb8-40f4-94ce-dfac0729a9a0"},{"name":"Recuperar senha webstore","id":"c313390e-15e3-4297-959e-2f52ee4ceb49","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"","description":"<p>email</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}recuperarsenhawebstore/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}recuperarsenhawebstore"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"c313390e-15e3-4297-959e-2f52ee4ceb49"},{"name":"Familias webstore","id":"c316128b-edb6-41e3-89ca-075b555d2c50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}familiaswebstore/?api={{api-token}}&p","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}familiaswebstore"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da webstore</p>\n","type":"text/plain"},"key":"p","value":""}],"variable":[]}},"response":[],"_postman_id":"c316128b-edb6-41e3-89ca-075b555d2c50"},{"name":"Gerir familia webstore","id":"1ab196e0-57d5-4345-b3ad-fa36fc08a70d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}gerirfamiliawebstore/?api={{api-token}}&p&e&w","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}gerirfamiliawebstore"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da familia</p>\n","type":"text/plain"},"key":"p","value":""},{"description":{"content":"<p>eliminar familia webstore</p>\n","type":"text/plain"},"key":"e","value":""},{"description":{"content":"<p>ID da webstore</p>\n","type":"text/plain"},"key":"w","value":""}],"variable":[]}},"response":[],"_postman_id":"1ab196e0-57d5-4345-b3ad-fa36fc08a70d"},{"name":"Visitas webstore","id":"534e34c8-4635-46a0-9268-bec23022f811","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{goldylocks-api-url}}visitaswebstore/?api={{api-token}}&di and df&agrupar&webstore&artigo= &familia&limite","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}visitaswebstore"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>data e hora de visitas na webstore</p>\n","type":"text/plain"},"key":"di and df","value":""},{"description":{"content":"<p>agrupar webstore</p>\n","type":"text/plain"},"key":"agrupar","value":""},{"description":{"content":"<p>webstore</p>\n","type":"text/plain"},"key":"webstore","value":""},{"description":{"content":"<p>artigo</p>\n","type":"text/plain"},"key":"artigo","value":" "},{"description":{"content":"<p>filtro de familia</p>\n","type":"text/plain"},"key":"familia","value":""},{"description":{"content":"<p>condições de limites</p>\n","type":"text/plain"},"key":"limite","value":""}],"variable":[]}},"response":[],"_postman_id":"534e34c8-4635-46a0-9268-bec23022f811"},{"name":"Estado webstore","id":"3b98ec7b-4cc4-49da-a8de-8a8c6f4e9c45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}estadowebstore/?api={{api-token}}&p","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}estadowebstore"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da webstore</p>\n","type":"text/plain"},"key":"p","value":""}],"variable":[]}},"response":[],"_postman_id":"3b98ec7b-4cc4-49da-a8de-8a8c6f4e9c45"},{"name":"Guardar preferencias webstore","id":"04ee5da2-7470-40c4-886e-e0b3a531f6bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_tipo_documento","value":"","description":"<p>ID do tipo  documento</p>\n","type":"text"},{"key":"serie_defeito","value":"","description":"<p>serie por defeito</p>\n","type":"text"},{"key":"linha_preco","value":"","description":"<p>linha de preço </p>\n","type":"text"},{"key":"utilizador_documentos","value":"","description":"<p>utlizador de documentos</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}guardarpreferenciaswebstore/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}guardarpreferenciaswebstore"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"04ee5da2-7470-40c4-886e-e0b3a531f6bb"},{"name":"Email confirmação","id":"7919edfa-8127-461e-b8bc-ca78681bc33a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"idCliente","value":"","description":"<p>ID do cliente</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}emailconfirmacao/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}emailconfirmacao"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"7919edfa-8127-461e-b8bc-ca78681bc33a"},{"name":"Alterar ou mostrar o logotipo actual da webstore","id":"a2c5c553-da52-44ee-b90c-c2a279172844","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}logotipowebstore/?api={{api-token}}&postLogotipo&p&webstore","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}logotipowebstore"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>logotipo da webstore</p>\n","type":"text/plain"},"key":"postLogotipo","value":""},{"description":{"content":"<p>ID da familia</p>\n","type":"text/plain"},"key":"p","value":""},{"description":{"content":"<p>ID da webstore</p>\n","type":"text/plain"},"key":"webstore","value":""}],"variable":[]}},"response":[],"_postman_id":"a2c5c553-da52-44ee-b90c-c2a279172844"},{"name":"Alterar ou mostrar o logotipo actual da webstore","id":"396c4459-cb36-4f2e-8a06-5d87af033de3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}faviconwebstore/?api={{api-token}}&p&webstore","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}faviconwebstore"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da familia</p>\n","type":"text/plain"},"key":"p","value":""},{"description":{"content":"<p>ID da webstore</p>\n","type":"text/plain"},"key":"webstore","value":""}],"variable":[]}},"response":[],"_postman_id":"396c4459-cb36-4f2e-8a06-5d87af033de3"},{"name":"Registar newsletter","id":"b23e4ecd-574c-46fc-bf73-883120e9805e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"","description":"<p>email</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}registarnewsletter/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}registarnewsletter"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"b23e4ecd-574c-46fc-bf73-883120e9805e"},{"name":"Remover newsletter","id":"12f6d5e8-6442-4f9b-b64d-47433cfd31c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"","description":"<p>email</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}removernewsletter/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}removernewsletter"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"12f6d5e8-6442-4f9b-b64d-47433cfd31c9"},{"name":"Total registos newsletter","id":"c355cb91-0d0d-49d6-af82-7870b1cc2442","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}totalregistosnewsletter/?api={{api-token}}&webstore=2","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}totalregistosnewsletter"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>novo ID da webstore</p>\n","type":"text/plain"},"key":"webstore","value":"2"}],"variable":[]}},"response":[],"_postman_id":"c355cb91-0d0d-49d6-af82-7870b1cc2442"},{"name":"Registos newsletter","id":"79f196f1-34b9-4746-a758-bcd9b4b543eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}registosnewsletter/?api={{api-token}}&p and idWebstore&webstore&csv","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}registosnewsletter"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>ID da webstore</p>\n","type":"text/plain"},"key":"p and idWebstore","value":""},{"description":{"content":"<p>novo ID da webstore</p>\n","type":"text/plain"},"key":"webstore","value":""},{"description":{"content":"<p>email registado na data</p>\n","type":"text/plain"},"key":"csv","value":""}],"variable":[]}},"response":[],"_postman_id":"79f196f1-34b9-4746-a758-bcd9b4b543eb"},{"name":"Webstores","id":"dbee7ff2-1ba6-4217-85a0-c349e023040b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}webstores/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}webstores"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"dbee7ff2-1ba6-4217-85a0-c349e023040b"}],"id":"c9a33f95-da87-4645-b227-517a446d99bf","_postman_id":"c9a33f95-da87-4645-b227-517a446d99bf","description":""},{"name":"Zonas","item":[{"name":"Obter zona","id":"58562963-d968-4c14-9c72-c334974852d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"id_zona","value":"55","description":"<p>id da zona a obter dados</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}zona/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}zona"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"58562963-d968-4c14-9c72-c334974852d6"},{"name":"Obter zonas existentes","id":"a2d8ad2d-ad4b-4fb4-9b76-f409dabb40c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}zonas/?api={{api-token}}&q&p","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}zonas"],"query":[{"key":"api","value":"{{api-token}}"},{"description":{"content":"<p>exibe ID da zona </p>\n","type":"text/plain"},"key":"q","value":""},{"description":{"content":"<p>ID da zona</p>\n","type":"text/plain"},"key":"p","value":""}],"variable":[]}},"response":[],"_postman_id":"a2d8ad2d-ad4b-4fb4-9b76-f409dabb40c6"},{"name":"Obter ultimo numero das zonas","id":"71f86d43-b189-42d1-b715-50c2bb8a3664","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}cod_zonas/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}cod_zonas"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"71f86d43-b189-42d1-b715-50c2bb8a3664"},{"name":"Criar zona","id":"250db08c-9ab5-4567-86ba-3391b326edb9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"nome_zona","value":"Nome da zona","description":"<p>nome da zona</p>\n","type":"text"},{"key":"latitude","value":"0","description":"<p>latitude central</p>\n","type":"text"},{"key":"longitude","value":"0","description":"<p>longitude central</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}criarzona/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}criarzona"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"250db08c-9ab5-4567-86ba-3391b326edb9"},{"name":"Editar zona","id":"0dcbdc4c-513c-4e98-9e17-5e933c9bf412","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_zona","value":"31","description":"<p>id da zona a editar</p>\n","type":"text"},{"key":"nome_zona","value":"Nome da zona","description":"<p>nome da zona</p>\n","type":"text"},{"key":"latitude","value":"41.45646","description":"<p>latitude central</p>\n","type":"text"},{"key":"longitude","value":"-8.4564654","description":"<p>longitude central</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}alterarzona/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}alterarzona"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"0dcbdc4c-513c-4e98-9e17-5e933c9bf412"},{"name":"Eliminar zona","id":"6371d1f1-06d9-480a-a24d-30d195d49f5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id_zona","value":"","description":"<p>ID da zona</p>\n","type":"text"}]},"url":"{{goldylocks-api-url}}eliminarzona/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}eliminarzona"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"6371d1f1-06d9-480a-a24d-30d195d49f5b"}],"id":"62d36c38-063b-4ef9-aaea-6bf011ea171a","_postman_id":"62d36c38-063b-4ef9-aaea-6bf011ea171a","description":""},{"name":"Zonas fiscais","item":[{"name":"Obter zonas fiscais","id":"13d39577-1bda-4722-81d3-6ef7f9e4b73c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{goldylocks-api-url}}zonasfiscais/?api={{api-token}}","urlObject":{"path":[""],"host":["{{goldylocks-api-url}}zonasfiscais"],"query":[{"key":"api","value":"{{api-token}}"}],"variable":[]}},"response":[],"_postman_id":"13d39577-1bda-4722-81d3-6ef7f9e4b73c"}],"id":"3942c2e6-eeea-4280-8515-5e2464c9dbd8","_postman_id":"3942c2e6-eeea-4280-8515-5e2464c9dbd8","description":""},{"name":"New Request","id":"8d4f3405-7fa6-42cd-8625-69ee2e420479","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"8d4f3405-7fa6-42cd-8625-69ee2e420479"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"5df13721-bdd2-4e00-b1aa-f1c77068786d"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"00a2ae56-e96d-4fc9-ac58-b9dba4d8a409"}}]}