{ "uuid": "f525d646-3762-43b1-8d2f-f3cce1b157d6", "lastMigration": 29, "name": "Cnab Online", "endpointPrefix": "v1", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "5ba19cf7-362b-41b7-9ffc-2d548516788e", "documentation": "Faz o upload de um arquivo", "method": "post", "endpoint": "file", "responses": [ { "uuid": "79afcaa1-8ff3-4753-bb74-bc8a65c7c8e5", "body": "", "latency": 0, "statusCode": 200, "label": "Informações básicas do arquivo", "headers": [ { "key": "Content-Type", "value": "multipart/form-data" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "670df7a3-deb0-4507-81b0-a2a1764b366c", "body": "", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "multipart/form-data" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "1bedb0be-05e5-4dce-bf4b-afc02ef28fa4", "documentation": "Retorna as informações básicas de um arquivo previamente processado", "method": "get", "endpoint": "file/:fileId", "responses": [ { "uuid": "830dffc3-db5d-4046-af46-96ca0e8b582a", "body": "{\n \"data\": {\n \"attributes\": {\n \"account_number\": \"\",\n \"bank_code\": {{faker 'number.int' max=99999}},\n \"bank_name\": \"\",\n \"company_name\": \"\",\n \"generation_date\": \"{{date '2019' (now) 'yyyy-MM-dd'}}\",\n \"name\": \"\"\n },\n \"id\": \"\",\n \"type\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Informações básicas do arquivo", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b666b512-00d1-4267-b951-042ec83c8b01", "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "38741e28-5412-4207-814e-969d9c105898", "documentation": "Retorna todas as linhas e seus respectivos campos (de forma não processada, apenas indicando os campos reconhecidos)", "method": "get", "endpoint": "file/:fileId/lines", "responses": [ { "uuid": "73766cdd-8713-4807-b98f-d638b7dcb6d2", "body": "{\n \"data\": [\n {\n \"attributes\": {\n \"identified_fields\": [\n {\n \"end\": {{faker 'number.int' max=99999}},\n \"name\": \"\",\n \"start\": {{faker 'number.int' max=99999}},\n \"value\": \"\"\n }\n ],\n \"raw_text\": \"\"\n },\n \"id\": \"\",\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Informações básicas do arquivo", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "80deddd5-9c0a-47fc-a2c3-276698a21ed4", "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "01845de8-dc5b-4b8e-8efa-6fbf21cc814a", "documentation": "Retorna as informações de baixa de boletos e outros tipos de ocorrências", "method": "get", "endpoint": "file/:fileId/occurrences", "responses": [ { "uuid": "dd6b347b-92b2-411d-a852-befdfee70a67", "body": "{\n \"data\": [\n {\n \"attributes\": {\n \"agency\": \"\",\n \"bank_tax\": {{faker 'number.int' max=99999}},\n \"charged_agency\": \"\",\n \"code\": \"\",\n \"code_name\": \"\",\n \"credit_date\": \"\",\n \"discount_value\": {{faker 'number.int' max=99999}},\n \"document_number\": \"\",\n \"due_date\": \"\",\n \"iof_tax\": {{faker 'number.int' max=99999}},\n \"is_dda\": \"\",\n \"is_payment\": {{faker 'datatype.boolean'}},\n \"is_rejected_payment\": {{faker 'datatype.boolean'}},\n \"liquidation_code\": \"\",\n \"liquidation_description\": \"\",\n \"mulct_value\": \"\",\n \"occurrence_date\": \"\",\n \"others_credits_value\": {{faker 'number.int' max=99999}},\n \"our_number\": \"\",\n \"payer_allegation\": \"\",\n \"rebate_value\": {{faker 'number.int' max=99999}},\n \"received_value\": {{faker 'number.int' max=99999}},\n \"sequencial_number\": {{faker 'number.int' max=99999}},\n \"title_value\": {{faker 'number.int' max=99999}},\n \"wallet\": \"\"\n },\n \"id\": {{faker 'number.int' max=99999}},\n \"type\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Informações básicas do arquivo", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "663c8e38-34cd-4dd1-93b1-c3bfa7c97901", "body": "{\n \"errors\": [\n {\n \"detail\": \"\",\n \"title\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "5ba19cf7-362b-41b7-9ffc-2d548516788e" }, { "type": "route", "uuid": "1bedb0be-05e5-4dce-bf4b-afc02ef28fa4" }, { "type": "route", "uuid": "38741e28-5412-4207-814e-969d9c105898" }, { "type": "route", "uuid": "01845de8-dc5b-4b8e-8efa-6fbf21cc814a" } ] }