{ "info": { "_postman_id": "7af29f76-58a7-491a-ad86-2648a363a1c1", "name": "AudioValid", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "Archivo", "item": [ { "name": "/v1/archivo", "request": { "method": "GET", "header": [ { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" } ], "url": { "raw": "{{url}}/v1/archivo?ciudad=prueba&estacion=100_3HMO&fecha=2020-02-10", "host": [ "{{url}}" ], "path": [ "v1", "archivo" ], "query": [ { "key": "ciudad", "value": "prueba" }, { "key": "estacion", "value": "100_3HMO" }, { "key": "fecha", "value": "2020-02-10" } ] } }, "response": [] } ], "event": [ { "listen": "prerequest", "script": { "id": "0dc70370-33a7-4420-ae11-6d1eaa580175", "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "id": "40872341-a603-4002-a30b-6682164e4675", "type": "text/javascript", "exec": [ "" ] } } ], "protocolProfileBehavior": {} }, { "name": "Audio", "item": [ { "name": "/v1/audio", "request": { "method": "GET", "header": [ { "key": "Content-Type", "name": "Content-Type", "value": "application/x-www-form-urlencoded", "type": "text" }, { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" } ], "url": { "raw": "{{url}}/v1/audio", "host": [ "{{url}}" ], "path": [ "v1", "audio" ] } }, "response": [] }, { "name": "/v1/audio/crear", "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "value": "application/json", "type": "text" }, { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"clave\": \"TVP0212020\",\n\t\"dependencia\": \"PROFECO\",\n\t\"nombre\": \"TVP0212020_PROFECO_RC2020_TV_REVISTA_No_08.mp3\",\n\t\"ruta\": \"/ruta/firebase/storage/-abcdef\",\n\t\"duracion\": 0\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{url}}/v1/audio/crear?=", "host": [ "{{url}}" ], "path": [ "v1", "audio", "crear" ], "query": [ { "key": "", "value": "" } ] } }, "response": [] }, { "name": "/v1/audio/editar", "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "value": "application/json", "type": "text" }, { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"clave\": \"TVP0212020\",\n\t\"dependencia\": \"PROFECO\",\n\t\"nombre\": \"TVP0212020_PROFECO_RC2020_TV_REVISTA_No_08.mp3\",\n\t\"ruta\": \"/ruta/firebase/storage/-abcdef\",\n\t\"duracion\": 0\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{url}}/v1/audio/editar?id=1", "host": [ "{{url}}" ], "path": [ "v1", "audio", "editar" ], "query": [ { "key": "id", "value": "1" } ] } }, "response": [] } ], "event": [ { "listen": "prerequest", "script": { "id": "59ebf22b-3770-4969-afa4-efc5c0c52e7a", "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "id": "c11cb9df-f9bf-4e2b-ba12-6560a349ff1e", "type": "text/javascript", "exec": [ "" ] } } ], "protocolProfileBehavior": {} }, { "name": "Bitacora", "item": [ { "name": "/v1/bitacora", "request": { "method": "GET", "header": [ { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" }, { "key": "Content-Type", "value": "application/json", "type": "text" } ], "url": { "raw": "{{url}}/v1/bitacora?idCiudad=prueba", "host": [ "{{url}}" ], "path": [ "v1", "bitacora" ], "query": [ { "key": "idCiudad", "value": "prueba" } ] } }, "response": [] }, { "name": "/v1/bitacora/eliminar", "request": { "method": "POST", "header": [ { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" }, { "key": "Content-Type", "value": "application/json", "type": "text" } ], "url": { "raw": "{{url}}/v1/bitacora/eliminar?id=1983", "host": [ "{{url}}" ], "path": [ "v1", "bitacora", "eliminar" ], "query": [ { "key": "id", "value": "1983" } ] } }, "response": [] } ], "protocolProfileBehavior": {} }, { "name": "Calendario", "item": [ { "name": "/v1/calendario/reiniciar-estado", "request": { "method": "POST", "header": [ { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" }, { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"id\": 577\n}" }, "url": { "raw": "{{url}}/v1/calendario/reiniciar-estado", "host": [ "{{url}}" ], "path": [ "v1", "calendario", "reiniciar-estado" ] } }, "response": [] } ], "protocolProfileBehavior": {} }, { "name": "Campaña", "item": [ { "name": "/v1/campana", "request": { "method": "GET", "header": [ { "key": "Content-Type", "name": "Content-Type", "value": "application/x-www-form-urlencoded", "type": "text" }, { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" } ], "url": { "raw": "{{url}}/v1/campana", "host": [ "{{url}}" ], "path": [ "v1", "campana" ] } }, "response": [] }, { "name": "/v1/campana/ordenes", "request": { "method": "GET", "header": [ { "key": "Content-Type", "name": "Content-Type", "value": "application/x-www-form-urlencoded", "type": "text" }, { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" } ], "url": { "raw": "{{url}}/v1/campana/ordenes", "host": [ "{{url}}" ], "path": [ "v1", "campana", "ordenes" ] } }, "response": [] }, { "name": "/v1/campana/crear", "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "value": "application/json", "type": "text" }, { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"estado\": \"SONORA\",\n\t\"siglas\": \"XENW-AM\",\n\t\"orden\": \"DTORT/0241/2020\",\n\t\"tipo\": \"FISCAL\",\n\t\"pautas\": [\n\t\t{\n\t\t\t\"clave\": \"RDF3662019\",\n\t\t\t\"dependencia\": \"COFECE\",\n\t\t\t\"campana\": \"La COFECE Trabaja en tu Favor\",\n\t\t\t\"version\": \"Panaderias\",\n\t\t\t\"duracion\": 30,\n\t\t\t\"fecha\": [\n\t\t\t\t\"2020-02-18 06:00:00\",\n\t\t\t\t\"2020-02-18 07:00:00\"\n\t\t\t],\n\t\t\t\"repeticiones\": 1\n\t\t}\n\t]\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{url}}/v1/campana?id=2&expand=pautas", "host": [ "{{url}}" ], "path": [ "v1", "campana" ], "query": [ { "key": "id", "value": "2" }, { "key": "expand", "value": "pautas" } ] } }, "response": [] }, { "name": "/v1/campana/agregar-eventos", "request": { "method": "POST", "header": [ { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" }, { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"fechas\": [1589090500]\n}" }, "url": { "raw": "{{url}}/v1/campana/agregar-eventos?idPauta=27", "host": [ "{{url}}" ], "path": [ "v1", "campana", "agregar-eventos" ], "query": [ { "key": "idPauta", "value": "27" } ] } }, "response": [] }, { "name": "/v1/campana/agregar-encontrado", "request": { "method": "POST", "header": [ { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" }, { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"fecha\": 1588763511,\n \"id\": 577\n}" }, "url": { "raw": "{{url}}/v1/campana/agregar-encontrado", "host": [ "{{url}}" ], "path": [ "v1", "campana", "agregar-encontrado" ] } }, "response": [] }, { "name": "/v1/campana/eliminar-encontrado", "request": { "method": "POST", "header": [ { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" }, { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"fecha\": 1588763511,\n \"id\": 577\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{url}}/v1/campana/eliminar-encontrado", "host": [ "{{url}}" ], "path": [ "v1", "campana", "eliminar-encontrado" ] } }, "response": [] }, { "name": "/v1/campana/crear-manual", "request": { "method": "POST", "header": [ { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" }, { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"folio\": \"folio-test\",\n \"audio\": 25,\n \"ciudad\": [],\n \"fecha\": []\n}" }, "url": { "raw": "{{url}}/v1/campana/crear-manual", "host": [ "{{url}}" ], "path": [ "v1", "campana", "crear-manual" ] } }, "response": [] }, { "name": "/v1/calendario/reiniciar-estado", "request": { "method": "POST", "header": [ { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" }, { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\r\n \"id\": 593\r\n}" }, "url": { "raw": "/v1/calendario/reiniciar-estado", "path": [ "v1", "calendario", "reiniciar-estado" ] } }, "response": [] } ], "event": [ { "listen": "prerequest", "script": { "id": "96717d5a-25be-4297-9f0a-cad64ff62f3e", "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "id": "b5da3ee2-234a-4c47-9035-12c353a43803", "type": "text/javascript", "exec": [ "" ] } } ], "protocolProfileBehavior": {} }, { "name": "Ciudad", "item": [ { "name": "/v1/ciudad", "request": { "method": "GET", "header": [ { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" } ], "url": { "raw": "{{url}}/v1/ciudad?expand=estaciones", "host": [ "{{url}}" ], "path": [ "v1", "ciudad" ], "query": [ { "key": "expand", "value": "estaciones" } ] } }, "response": [] }, { "name": "/v1/ciudad/editar", "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" }, { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"idEstado\": \"CIUDAD DE MEXICO\"\n}" }, "url": { "raw": "{{url}}/v1/ciudad/editar?id=VhTifIvKH8", "host": [ "{{url}}" ], "path": [ "v1", "ciudad", "editar" ], "query": [ { "key": "id", "value": "VhTifIvKH8" } ] } }, "response": [] }, { "name": "/v1/ciudad/bitacora", "request": { "method": "POST", "header": [ { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" }, { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"comentario\": \"comentario de prueba\"\n}" }, "url": { "raw": "{{url}}/v1/ciudad/bitacora?id=prueba", "host": [ "{{url}}" ], "path": [ "v1", "ciudad", "bitacora" ], "query": [ { "key": "id", "value": "prueba" } ] } }, "response": [] }, { "name": "/v1/ciudad/calidad", "request": { "method": "GET", "header": [], "url": { "raw": "" } }, "response": [] }, { "name": "/v1/ciudad/generar", "request": { "method": "POST", "header": [ { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" }, { "key": "Content-Type", "value": "application/json", "type": "text" } ], "url": { "raw": "/v1/ciudad/generar", "path": [ "v1", "ciudad", "generar" ] } }, "response": [] }, { "name": "/v1/ciudad/calidad-estacion", "request": { "method": "POST", "header": [ { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" }, { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\r\n \"calidad\": \"bad\",\r\n \"comentario\": \"comentario de prueba\",\r\n \"estacion\": 707\r\n}" }, "url": { "raw": "{{url}}/v1/ciudad/calidad-estacion?id=prueba", "host": [ "{{url}}" ], "path": [ "v1", "ciudad", "calidad-estacion" ], "query": [ { "key": "id", "value": "prueba" } ] } }, "response": [] }, { "name": "/v1/ciudad/asignar-estaciones", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" }, { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\r\n \"estaciones\": [708, 707, 712]\r\n}" }, "url": { "raw": "{{url}}/v1/ciudad/asignar-estaciones?id=prueba", "host": [ "{{url}}" ], "path": [ "v1", "ciudad", "asignar-estaciones" ], "query": [ { "key": "id", "value": "prueba" } ] } }, "response": [] } ], "protocolProfileBehavior": {} }, { "name": "Cuenta", "item": [ { "name": "/v1/cuenta/iniciar-sesion", "event": [ { "listen": "test", "script": { "id": "65208194-2de4-4eea-8bcc-32bd229e6461", "exec": [ "var jsonData = pm.response.json();", "if(jsonData[\"token\"] !== undefined && jsonData[\"token\"] !== \"\") {", " pm.environment.set(\"token\", jsonData[\"token\"]);", "}" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"correo\": \"hquijada@edesarrollos.com\",\n\t\"clave\": \"hquijada\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{url}}/v1/cuenta/iniciar-sesion", "host": [ "{{url}}" ], "path": [ "v1", "cuenta", "iniciar-sesion" ] } }, "response": [] }, { "name": "/v1/cuenta/recuperar", "event": [ { "listen": "test", "script": { "id": "331bd18d-b951-4f9c-aba9-e031e1b344d7", "exec": [ "var jsonData = pm.response.json();", "if(jsonData[\"token\"] !== undefined && jsonData[\"token\"] !== \"\") {", " pm.environment.set(\"token\", jsonData[\"token\"]);", "}" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"correo\": \"hquijada@edesarrollos.com\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "{{url}}/v1/cuenta/recuperar", "host": [ "{{url}}" ], "path": [ "v1", "cuenta", "recuperar" ] } }, "response": [] } ], "protocolProfileBehavior": {} }, { "name": "Dependencia", "item": [ { "name": "/v1/dependencia", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" }, { "key": "Accept", "value": "application/json", "type": "text" }, { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"nombre\": \"RTC\"\n}" }, "url": { "raw": "{{url}}/v1/dependencia?expand=ciudades", "host": [ "{{url}}" ], "path": [ "v1", "dependencia" ], "query": [ { "key": "expand", "value": "ciudades" } ] } }, "response": [ { "name": "/v1/entidad", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" }, { "key": "Accept", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"nombre\": \"RTC\"\n}" }, "url": { "raw": "{{url}}/v1/entidad", "host": [ "{{url}}" ], "path": [ "v1", "entidad" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Tue, 18 Feb 2020 16:51:12 GMT" }, { "key": "Server", "value": "Apache/2.4.18 (Ubuntu)" }, { "key": "Vary", "value": "Accept" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Transfer-Encoding", "value": "chunked" }, { "key": "Content-Type", "value": "application/json; charset=UTF-8" } ], "cookie": [], "body": "[\n {\n \"id\": 1,\n \"nombre\": \"RTC\"\n }\n]" } ] }, { "name": "/v1/dependencia/crear", "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" }, { "key": "Accept", "value": "application/json", "type": "text" }, { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"idEntidad\": 1,\n\t\"nombre\": \"Ejemplo\",\n\t\"ciudades\": [\n\t\t\"beqWHWk7YkB1\",\n\t\t\"PruebaSubida\"\n\t]\n}" }, "url": { "raw": "{{url}}/v1/dependencia/crear", "host": [ "{{url}}" ], "path": [ "v1", "dependencia", "crear" ] } }, "response": [ { "name": "/v1/entidad", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" }, { "key": "Accept", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"nombre\": \"RTC\"\n}" }, "url": { "raw": "{{url}}/v1/entidad", "host": [ "{{url}}" ], "path": [ "v1", "entidad" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Tue, 18 Feb 2020 16:51:12 GMT" }, { "key": "Server", "value": "Apache/2.4.18 (Ubuntu)" }, { "key": "Vary", "value": "Accept" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Transfer-Encoding", "value": "chunked" }, { "key": "Content-Type", "value": "application/json; charset=UTF-8" } ], "cookie": [], "body": "[\n {\n \"id\": 1,\n \"nombre\": \"RTC\"\n }\n]" } ] }, { "name": "/v1/dependencia/editar", "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" }, { "key": "Accept", "value": "application/json", "type": "text" }, { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"idEntidad\": 1,\n\t\"nombre\": \"Ejemplo\",\n\t\"ciudades\": [\n\t\t\"PruebaSubida\"\n\t]\n}" }, "url": { "raw": "{{url}}/v1/dependencia/editar?id=1&expand=ciudades", "host": [ "{{url}}" ], "path": [ "v1", "dependencia", "editar" ], "query": [ { "key": "id", "value": "1" }, { "key": "expand", "value": "ciudades" } ] } }, "response": [ { "name": "/v1/entidad", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" }, { "key": "Accept", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"nombre\": \"RTC\"\n}" }, "url": { "raw": "{{url}}/v1/entidad", "host": [ "{{url}}" ], "path": [ "v1", "entidad" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Tue, 18 Feb 2020 16:51:12 GMT" }, { "key": "Server", "value": "Apache/2.4.18 (Ubuntu)" }, { "key": "Vary", "value": "Accept" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Transfer-Encoding", "value": "chunked" }, { "key": "Content-Type", "value": "application/json; charset=UTF-8" } ], "cookie": [], "body": "[\n {\n \"id\": 1,\n \"nombre\": \"RTC\"\n }\n]" } ] } ], "event": [ { "listen": "prerequest", "script": { "id": "b1c69096-7475-4765-811f-a2da30209416", "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "id": "f8f7d2d8-9bc0-4a58-864c-2cbf12cc5f0c", "type": "text/javascript", "exec": [ "" ] } } ], "protocolProfileBehavior": {} }, { "name": "Entidad", "item": [ { "name": "/v1/entidad", "request": { "method": "GET", "header": [ { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" } ], "url": { "raw": "{{url}}/v1/entidad?id=1", "host": [ "{{url}}" ], "path": [ "v1", "entidad" ], "query": [ { "key": "id", "value": "1" } ] } }, "response": [] }, { "name": "/v1/entidad/crear", "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" }, { "key": "Accept", "value": "application/json", "type": "text" }, { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"nombre\": \"RTC\"\n}" }, "url": { "raw": "{{url}}/v1/entidad/crear", "host": [ "{{url}}" ], "path": [ "v1", "entidad", "crear" ] } }, "response": [ { "name": "/v1/entidad", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" }, { "key": "Accept", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"nombre\": \"RTC\"\n}" }, "url": { "raw": "{{url}}/v1/entidad", "host": [ "{{url}}" ], "path": [ "v1", "entidad" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Tue, 18 Feb 2020 16:51:12 GMT" }, { "key": "Server", "value": "Apache/2.4.18 (Ubuntu)" }, { "key": "Vary", "value": "Accept" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Transfer-Encoding", "value": "chunked" }, { "key": "Content-Type", "value": "application/json; charset=UTF-8" } ], "cookie": [], "body": "[\n {\n \"id\": 1,\n \"nombre\": \"RTC\"\n }\n]" } ] }, { "name": "/v1/entidad/editar", "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" }, { "key": "Accept", "value": "application/json", "type": "text" }, { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"nombre\": \"RTC\"\n}" }, "url": { "raw": "{{url}}/v1/entidad/editar?id=1", "host": [ "{{url}}" ], "path": [ "v1", "entidad", "editar" ], "query": [ { "key": "id", "value": "1" } ] } }, "response": [ { "name": "/v1/entidad", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" }, { "key": "Accept", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"nombre\": \"RTC\"\n}" }, "url": { "raw": "{{url}}/v1/entidad", "host": [ "{{url}}" ], "path": [ "v1", "entidad" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Date", "value": "Tue, 18 Feb 2020 16:51:12 GMT" }, { "key": "Server", "value": "Apache/2.4.18 (Ubuntu)" }, { "key": "Vary", "value": "Accept" }, { "key": "Keep-Alive", "value": "timeout=5, max=100" }, { "key": "Connection", "value": "Keep-Alive" }, { "key": "Transfer-Encoding", "value": "chunked" }, { "key": "Content-Type", "value": "application/json; charset=UTF-8" } ], "cookie": [], "body": "[\n {\n \"id\": 1,\n \"nombre\": \"RTC\"\n }\n]" } ] } ], "event": [ { "listen": "prerequest", "script": { "id": "93a6c0e7-de84-456d-8652-ba53f98285b9", "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "id": "46cd0ee5-c770-4e8b-b1eb-3143f2cf3672", "type": "text/javascript", "exec": [ "" ] } } ], "protocolProfileBehavior": {} }, { "name": "Estación", "item": [ { "name": "/v1/estacion", "request": { "auth": { "type": "noauth" }, "method": "GET", "header": [ { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" }, { "key": "Content-Type", "name": "Content-Type", "value": "application/json", "type": "text" } ], "url": { "raw": "{{url}}/v1/estacion", "host": [ "{{url}}" ], "path": [ "v1", "estacion" ] } }, "response": [] }, { "name": "/v1/estacion/crear", "request": { "auth": { "type": "noauth" }, "method": "POST", "header": [ { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" }, { "key": "Content-Type", "name": "Content-Type", "value": "application/json", "type": "text" } ], "url": { "raw": "{{url}}/v1/estacion/crear", "host": [ "{{url}}" ], "path": [ "v1", "estacion", "crear" ] } }, "response": [] }, { "name": "/v1/estacion/editar", "request": { "auth": { "type": "noauth" }, "method": "POST", "header": [ { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" }, { "key": "Content-Type", "name": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"estado\": \"CIUDAD DE MEXICO\",\n\t\"clave\": \"100_3HMO\",\n\t\"siglas\": \"XXXX\",\n\t\"frecuencia\": 100.3\n}" }, "url": { "raw": "{{url}}/v1/estacion/editar?id=1", "host": [ "{{url}}" ], "path": [ "v1", "estacion", "editar" ], "query": [ { "key": "id", "value": "1" } ] } }, "response": [] } ], "event": [ { "listen": "prerequest", "script": { "id": "23c9b407-d81e-413d-961d-660a402fd1af", "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "id": "5864df79-f6fa-4407-be0f-c121a8a82efd", "type": "text/javascript", "exec": [ "" ] } } ], "protocolProfileBehavior": {} }, { "name": "Estado", "item": [ { "name": "/v1/estado", "request": { "auth": { "type": "noauth" }, "method": "GET", "header": [ { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" } ], "url": { "raw": "{{url}}/v1/estado", "host": [ "{{url}}" ], "path": [ "v1", "estado" ] } }, "response": [] }, { "name": "/v1/estado/crear", "request": { "auth": { "type": "noauth" }, "method": "POST", "header": [ { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" }, { "key": "Content-Type", "name": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"id\": \"CIUDAD DE MEXICO\"\n}" }, "url": { "raw": "{{url}}/v1/estado/crear", "host": [ "{{url}}" ], "path": [ "v1", "estado", "crear" ] } }, "response": [] }, { "name": "/v1/estado/editar", "request": { "method": "POST", "header": [ { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" }, { "key": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\r\n \"nombresAlternos\": [ \"DF\" ]\r\n}" }, "url": { "raw": "{{url}}/v1/estado/editar?id=DISTRITO%20FEDERAL", "host": [ "{{url}}" ], "path": [ "v1", "estado", "editar" ], "query": [ { "key": "id", "value": "DISTRITO%20FEDERAL" } ] } }, "response": [] } ], "event": [ { "listen": "prerequest", "script": { "id": "bd245b2e-9cc7-4001-a3c2-0ff8808867ec", "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "id": "d8aff6b5-6ec4-4bf4-b3c9-4517247b46d1", "type": "text/javascript", "exec": [ "" ] } } ], "protocolProfileBehavior": {} }, { "name": "Perfil", "item": [ { "name": "/v1/perfil", "request": { "method": "GET", "header": [ { "key": "Content-Type", "name": "Content-Type", "value": "application/x-www-form-urlencoded", "type": "text" }, { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" } ], "url": { "raw": "{{url}}/v1/perfil", "host": [ "{{url}}" ], "path": [ "v1", "perfil" ] } }, "response": [] }, { "name": "/v1/perfil/editar", "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" }, { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"nombre\": \"Hugo Quijada García\"\n}" }, "url": { "raw": "{{url}}/v1/perfil/editar", "host": [ "{{url}}" ], "path": [ "v1", "perfil", "editar" ] } }, "response": [] } ], "protocolProfileBehavior": {} }, { "name": "Usuario", "item": [ { "name": "/v1/usuario", "request": { "method": "GET", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/x-www-form-urlencoded" }, { "key": "Authorization", "type": "text", "value": "Bearer {{token}}" } ], "url": { "raw": "{{url}}/v1/usuario", "host": [ "{{url}}" ], "path": [ "v1", "usuario" ] } }, "response": [] }, { "name": "/v1/usuario/crear", "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" }, { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"idEntidad\": null,\n \"nombre\": \"Rafael Soto Bernal\",\n \"correo\": \"rsotobernal@edesarrollos.com\",\n \"clave\": \"aquí va la contraseña\",\n \"rol\": 1,\n \"permiso\": [\n 7,\n 7,\n 3,\n 5,\n 7,\n 5,\n 3,\n 3,\n 3,\n 1,\n 1,\n 1\n ],\n \"dependencias\": []\n}" }, "url": { "raw": "{{url}}/v1/usuario/crear", "host": [ "{{url}}" ], "path": [ "v1", "usuario", "crear" ] } }, "response": [] }, { "name": "/v1/usuario/editar", "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "text" }, { "key": "Authorization", "value": "Bearer {{token}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"idEntidad\": null,\n \"nombre\": \"Rafael Soto Bernal\",\n \"correo\": \"rsotobernal@edesarrollos.com\",\n \"clave\": \"aquí va la contraseña\",\n \"rol\": 1,\n \"permiso\": [\n 7,\n 7,\n 3,\n 5,\n 7,\n 5,\n 3,\n 3,\n 3,\n 1,\n 1,\n 1\n ],\n \"dependencias\": []\n}" }, "url": { "raw": "{{url}}/v1/usuario/editar?id=2", "host": [ "{{url}}" ], "path": [ "v1", "usuario", "editar" ], "query": [ { "key": "id", "value": "2" } ] } }, "response": [] } ], "protocolProfileBehavior": {} }, { "name": "Reporte", "item": [ { "name": "/v1/reporte/:idCampana", "request": { "method": "GET", "header": [], "url": { "raw": "{{url}}/v1/reporte/2", "host": [ "{{url}}" ], "path": [ "v1", "reporte", "2" ] } }, "response": [] }, { "name": "/v1/reporte/archivo/:idCampana", "request": { "method": "GET", "header": [], "url": { "raw": "{{url}}/v1/reporte/archivo/2?formato=pdf", "host": [ "{{url}}" ], "path": [ "v1", "reporte", "archivo", "2" ], "query": [ { "key": "formato", "value": "pdf" } ] } }, "response": [] }, { "name": "/v1/reporte/archivo/:idCampana?columnas=[]", "request": { "method": "GET", "header": [], "url": { "raw": "{{url}}/v1/reporte/archivo/2?columnas=fecha,clave,transmitido", "host": [ "{{url}}" ], "path": [ "v1", "reporte", "archivo", "2" ], "query": [ { "key": "columnas", "value": "fecha,clave,transmitido" } ] } }, "response": [] }, { "name": "/v1/reporte/estacion", "request": { "method": "GET", "header": [], "url": { "raw": "{{url}}/v1/reporte/estacion?estacion=405&inicio=2020-05-01&fin=2020-05-30", "host": [ "{{url}}" ], "path": [ "v1", "reporte", "estacion" ], "query": [ { "key": "estacion", "value": "405" }, { "key": "inicio", "value": "2020-05-01" }, { "key": "fin", "value": "2020-05-30" } ] } }, "response": [] }, { "name": "/v1/reporte/estacion/archivo", "request": { "method": "GET", "header": [], "url": { "raw": "{{url}}/v1/reporte/estacion/archivo?estacion=405&inicio=2020-05-01&fin=2020-05-30&formato=excel", "host": [ "{{url}}" ], "path": [ "v1", "reporte", "estacion", "archivo" ], "query": [ { "key": "estacion", "value": "405" }, { "key": "inicio", "value": "2020-05-01" }, { "key": "fin", "value": "2020-05-30" }, { "key": "formato", "value": "excel" } ] } }, "response": [] } ], "protocolProfileBehavior": {} }, { "name": "Permisos", "item": [ { "name": "/v1/permiso", "request": { "method": "GET", "header": [], "url": { "raw": "{{url}}/v1/permiso/", "host": [ "{{url}}" ], "path": [ "v1", "permiso", "" ] } }, "response": [] } ], "protocolProfileBehavior": {} }, { "name": "/v1/info/por-caja", "request": { "method": "GET", "header": [], "url": { "raw": "{{url}}/v1/info/por-caja", "host": [ "{{url}}" ], "path": [ "v1", "info", "por-caja" ] } }, "response": [] } ], "event": [ { "listen": "prerequest", "script": { "id": "407c6117-143d-41b5-b375-bcd2eb0af8db", "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "id": "5d735f92-de15-4d0e-b99f-3bfc845eb7e1", "type": "text/javascript", "exec": [ "" ] } } ], "protocolProfileBehavior": {} }