{ "info": { "name": "EFC Microservice API v2", "description": "Colección de ejemplos básicos para probar los endpoints principales de api/api_v2", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "Procesar Pedimento Completo", "request": { "method": "POST", "header": [{ "key": "Content-Type", "value": "application/json" }], "url": { "raw": "http://localhost:8001/api/v2/services/pedimento_completo", "protocol": "http", "host": ["localhost"], "port": "8001", "path": ["api", "v2", "services", "pedimento_completo"] }, "body": { "mode": "raw", "raw": "{\n \"pedimento\": {\n \"id\": \"PED123\",\n \"pedimento\": \"1234567\",\n \"pedimento_app\": \"1234567\",\n \"aduana\": \"640\",\n \"patente\": \"1234\",\n \"organizacion\": \"ORG1\"\n },\n \"credencial\": {\n \"user\": \"usuario\",\n \"password\": \"pass\",\n \"id\": \"CRED001\"\n }\n}" } } }, { "name": "Procesar Partida", "request": { "method": "POST", "header": [{ "key": "Content-Type", "value": "application/json" }], "url": { "raw": "http://localhost:8001/api/v2/services/partida/", "protocol": "http", "host": ["localhost"], "port": "8001", "path": ["api", "v2", "services", "partida", ""] }, "body": { "mode": "raw", "raw": "{\n \"partida\": {\"id\": 1, \"numero\": 1},\n \"pedimento\": {\"id\": \"PED123\", \"pedimento\": \"1234567\", \"pedimento_app\": \"1234567\", \"aduana\": \"640\", \"patente\": \"1234\", \"organizacion\": \"ORG1\"},\n \"credencial\": {\"user\": \"usuario\", \"password\": \"pass\", \"id\": \"CRED001\"}\n}" } } }, { "name": "Procesar Remesa", "request": { "method": "POST", "header": [{ "key": "Content-Type", "value": "application/json" }], "url": { "raw": "http://localhost:8001/api/v2/services/remesas/", "protocol": "http", "host": ["localhost"], "port": "8001", "path": ["api", "v2", "services", "remesas", ""] }, "body": { "mode": "raw", "raw": "{\n \"pedimento\": {\"id\": \"PED123\", \"pedimento\": \"1234567\", \"pedimento_app\": \"1234567\", \"aduana\": \"640\", \"patente\": \"1234\", \"organizacion\": \"ORG1\"},\n \"credencial\": {\"user\": \"usuario\", \"password\": \"pass\", \"id\": \"CRED001\"}\n}" } } }, { "name": "Procesar Acuse Individual", "request": { "method": "POST", "header": [{ "key": "Content-Type", "value": "application/json" }], "url": { "raw": "http://localhost:8001/api/v2/services/acuse/", "protocol": "http", "host": ["localhost"], "port": "8001", "path": ["api", "v2", "services", "acuse", ""] }, "body": { "mode": "raw", "raw": "{\n \"edoc\": {\"id\": 1, \"numero_edocument\": \"EDOC001\"},\n \"pedimento\": {\"id\": \"PED123\", \"pedimento\": \"1234567\", \"pedimento_app\": \"1234567\", \"aduana\": \"640\", \"patente\": \"1234\", \"organizacion\": \"ORG1\"},\n \"credencial\": {\"user\": \"usuario\", \"password\": \"pass\", \"id\": \"CRED001\"}\n}" } } }, { "name": "Procesar Acuse Masivo", "request": { "method": "POST", "header": [{ "key": "Content-Type", "value": "application/json" }], "url": { "raw": "http://localhost:8001/api/v2/services/all/acuse/pedimento/", "protocol": "http", "host": ["localhost"], "port": "8001", "path": ["api", "v2", "services", "all", "acuse", "pedimento", ""] }, "body": { "mode": "raw", "raw": "{\n \"edocs\": [{\"id\": 1, \"numero_edocument\": \"EDOC001\"}],\n \"pedimento\": {\"id\": \"PED123\", \"pedimento\": \"1234567\", \"pedimento_app\": \"1234567\", \"aduana\": \"640\", \"patente\": \"1234\", \"organizacion\": \"ORG1\"},\n \"credencial\": {\"user\": \"usuario\", \"password\": \"pass\", \"id\": \"CRED001\"}\n}" } } }, { "name": "Procesar COVE Individual", "request": { "method": "POST", "header": [{ "key": "Content-Type", "value": "application/json" }], "url": { "raw": "http://localhost:8001/api/v2/services/cove/", "protocol": "http", "host": ["localhost"], "port": "8001", "path": ["api", "v2", "services", "cove", ""] }, "body": { "mode": "raw", "raw": "{\n \"cove\": {\"id\": 1, \"cove\": \"COVE001\"},\n \"pedimento\": {\"id\": \"PED123\", \"pedimento\": \"1234567\", \"pedimento_app\": \"1234567\", \"aduana\": \"640\", \"patente\": \"1234\", \"organizacion\": \"ORG1\"},\n \"credencial\": {\"user\": \"usuario\", \"password\": \"pass\", \"id\": \"CRED001\"}\n}" } } }, { "name": "Procesar COVEs Masivo", "request": { "method": "POST", "header": [{ "key": "Content-Type", "value": "application/json" }], "url": { "raw": "http://localhost:8001/api/v2/services/all/coves", "protocol": "http", "host": ["localhost"], "port": "8001", "path": ["api", "v2", "services", "all", "coves"] }, "body": { "mode": "raw", "raw": "{\n \"coves\": [{\"id\": 1, \"cove\": \"COVE001\"}],\n \"pedimento\": {\"id\": \"PED123\", \"pedimento\": \"1234567\", \"pedimento_app\": \"1234567\", \"aduana\": \"640\", \"patente\": \"1234\", \"organizacion\": \"ORG1\"},\n \"credencial\": {\"user\": \"usuario\", \"password\": \"pass\", \"id\": \"CRED001\"}\n}" } } }, { "name": "Procesar Acuse COVE Individual", "request": { "method": "POST", "header": [{ "key": "Content-Type", "value": "application/json" }], "url": { "raw": "http://localhost:8001/api/v2/services/acuse/cove/", "protocol": "http", "host": ["localhost"], "port": "8001", "path": ["api", "v2", "services", "acuse", "cove", ""] }, "body": { "mode": "raw", "raw": "{\n \"cove\": {\"id\": 1, \"cove\": \"COVE001\"},\n \"pedimento\": {\"id\": \"PED123\", \"pedimento\": \"1234567\", \"pedimento_app\": \"1234567\", \"aduana\": \"640\", \"patente\": \"1234\", \"organizacion\": \"ORG1\"},\n \"credencial\": {\"user\": \"usuario\", \"password\": \"pass\", \"id\": \"CRED001\"}\n}" } } }, { "name": "Procesar Acuse COVEs Masivo", "request": { "method": "POST", "header": [{ "key": "Content-Type", "value": "application/json" }], "url": { "raw": "http://localhost:8001/api/v2/services/all/acuse/cove/", "protocol": "http", "host": ["localhost"], "port": "8001", "path": ["api", "v2", "services", "all", "acuse", "cove", ""] }, "body": { "mode": "raw", "raw": "{\n \"coves\": [{\"id\": 1, \"cove\": \"COVE001\"}],\n \"pedimento\": {\"id\": \"PED123\", \"pedimento\": \"1234567\", \"pedimento_app\": \"1234567\", \"aduana\": \"640\", \"patente\": \"1234\", \"organizacion\": \"ORG1\"},\n \"credencial\": {\"user\": \"usuario\", \"password\": \"pass\", \"id\": \"CRED001\"}\n}" } } }, { "name": "Procesar Edoc Individual", "request": { "method": "POST", "header": [{ "key": "Content-Type", "value": "application/json" }], "url": { "raw": "http://localhost:8001/api/v2/services/download/edoc/", "protocol": "http", "host": ["localhost"], "port": "8001", "path": ["api", "v2", "services", "download", "edoc", ""] }, "body": { "mode": "raw", "raw": "{\n \"edoc\": {\"id\": 1, \"numero_edocument\": \"EDOC001\"},\n \"pedimento\": {\"id\": \"PED123\", \"pedimento\": \"1234567\", \"pedimento_app\": \"1234567\", \"aduana\": \"640\", \"patente\": \"1234\", \"organizacion\": \"ORG1\"},\n \"credencial\": {\"user\": \"usuario\", \"password\": \"pass\", \"id\": \"CRED001\"}\n}" } } }, { "name": "Procesar Edocs Masivo", "request": { "method": "POST", "header": [{ "key": "Content-Type", "value": "application/json" }], "url": { "raw": "http://localhost:8001/api/v2/services/download/all/edocs/", "protocol": "http", "host": ["localhost"], "port": "8001", "path": ["api", "v2", "services", "download", "all", "edocs", ""] }, "body": { "mode": "raw", "raw": "{\n \"edocs\": [{\"id\": 1, \"numero_edocument\": \"EDOC001\"}],\n \"pedimento\": {\"id\": \"PED123\", \"pedimento\": \"1234567\", \"pedimento_app\": \"1234567\", \"aduana\": \"640\", \"patente\": \"1234\", \"organizacion\": \"ORG1\"},\n \"credencial\": {\"user\": \"usuario\", \"password\": \"pass\", \"id\": \"CRED001\"}\n}" } } }, { "name": "Consultar Estado de Tarea", "request": { "method": "GET", "header": [], "url": { "raw": "http://localhost:8001/api/v2/async/task-status/{{task_id}}", "protocol": "http", "host": ["localhost"], "port": "8001", "path": ["api", "v2", "async", "task-status", "{{task_id}}"] } } }, { "name": "Cancelar Tarea", "request": { "method": "DELETE", "header": [], "url": { "raw": "http://localhost:8001/api/v2/async/task/{{task_id}}", "protocol": "http", "host": ["localhost"], "port": "8001", "path": ["api", "v2", "async", "task", "{{task_id}}"] } } } ] }