{ "info": { "_postman_id": "40bf8373-8a0c-4011-b21b-077e9226371a", "name": "Exporta V2", "description": "É possível comunicar-se diretamente com nossa API utilizando requisições HTTPS. Para realizar a assinatura das notas, é necessário cadastrar o certificado digital, modelo A1, no Manager SaaS. Os dados de autenticação para consumir a API e acessar o Maager SaaS são os que você cadastrou na sua Conta do Manager SaaS.\n\n \n\nPara emissão de NF-e, o Manager SaaS possui como principais rotas disponíveis:\n\nEnviar\nConsultar\nImprimir\nCancelar (quando necessário)", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "Criar protocolo", "event": [ { "listen": "test", "script": { "exec": [ "var jsonData = JSON.parse(responseBody);\r", "postman.setEnvironmentVariable(\"protocolo\", jsonData.protocolo);\r", "//console.log(jsonData.protocolo);\r", "\r", "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "username", "value": "admin", "type": "string" }, { "key": "password", "value": "00C61C5024437F7B97DB46C11008617D", "type": "string" }, { "key": "showPassword", "value": false, "type": "boolean" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{ \"dataInicial\": \"2021-01-27\",\"dataFinal\": \"2021-01-28\",\"pdf\": false,\"serie\": \"123\", \"numeroInicial\": \"1\",\"numeroFinal\": \"2\"}" }, "url": { "raw": "https://managersaas.tecnospeed.com.br:8081/api/v2/nfe/exporta?grupo=tecnospeed&cnpj=08187168000160", "protocol": "https", "host": [ "managersaas", "tecnospeed", "com", "br" ], "port": "8081", "path": [ "api", "v2", "nfe", "exporta" ], "query": [ { "key": "grupo", "value": "tecnospeed" }, { "key": "cnpj", "value": "08187168000160" } ] } }, "response": [] }, { "name": "Consultar protocolo", "request": { "auth": { "type": "basic", "basic": [ { "key": "username", "value": "admin", "type": "string" }, { "key": "password", "value": "00C61C5024437F7B97DB46C11008617D", "type": "string" }, { "key": "showPassword", "value": false, "type": "boolean" } ] }, "method": "GET", "header": [ { "key": "content-Type", "value": "application/json", "type": "text" } ], "url": { "raw": "https://managersaas.tecnospeed.com.br:8081/api/v2/nfe/exporta/:protocol?grupo=tecnospeed&cnpj=08187168000160", "protocol": "https", "host": [ "managersaas", "tecnospeed", "com", "br" ], "port": "8081", "path": [ "api", "v2", "nfe", "exporta", ":protocol" ], "query": [ { "key": "grupo", "value": "tecnospeed" }, { "key": "cnpj", "value": "08187168000160" } ], "variable": [ { "key": "protocol", "value": "{{protocolo}}" } ] } }, "response": [] }, { "name": "Baixar XML", "request": { "auth": { "type": "basic", "basic": [ { "key": "username", "value": "admin", "type": "string" }, { "key": "password", "value": "00C61C5024437F7B97DB46C11008617D", "type": "string" }, { "key": "showPassword", "value": false, "type": "boolean" } ] }, "method": "GET", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" } ], "url": { "raw": "https://managersaas.tecnospeed.com.br:8081/api/v2/nfe/exporta/:protocol/xml?grupo=SeuGrupo&cnpj=08187168000160", "protocol": "https", "host": [ "managersaas", "tecnospeed", "com", "br" ], "port": "8081", "path": [ "api", "v2", "nfe", "exporta", ":protocol", "xml" ], "query": [ { "key": "grupo", "value": "SeuGrupo" }, { "key": "cnpj", "value": "08187168000160" } ], "variable": [ { "key": "protocol", "value": "{{protocolo}}" } ] }, "description": "Nesse passo será realizado o dowload dos xml's solicitados." }, "response": [] } ] }