|
|
@@ -1,6 +1,6 @@
|
|
|
{
|
|
|
"info": {
|
|
|
- "_postman_id": "e420d1be-c89d-4d49-8a1f-939fefd6a896",
|
|
|
+ "_postman_id": "c14b5073-c601-4687-9ad9-519a14ddee15",
|
|
|
"name": "AudioValid",
|
|
|
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
|
|
|
},
|
|
|
@@ -225,6 +225,67 @@
|
|
|
"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",
|
|
|
@@ -1356,6 +1417,186 @@
|
|
|
}
|
|
|
],
|
|
|
"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": {}
|
|
|
}
|
|
|
],
|
|
|
"event": [
|