Implementacion documentacion postman
This commit is contained in:
19
README.md
19
README.md
@@ -30,13 +30,26 @@ Para consumir la api de forma exterior que valida y/o consulta cedula o ruc.
|
||||
npm i cors --save
|
||||
```
|
||||
|
||||
### Modulo control de origenes
|
||||
## Documentación
|
||||
### Swagger
|
||||
aun no implementada.
|
||||
|
||||
### configuracion
|
||||
rquisitos previos para desplegar revisar el archivo de configuracion: Proyecto/src/config.js
|
||||
ouerto configurado previamente es 3001 puesde cambiarlo en config.js
|
||||
http://localhost:3001/
|
||||
|
||||
### Postman
|
||||
`APP-SIGMA` también pone a disposición de los usuarios una colección de llamadas y ejemplos que se encuentra en la ruta **/src/data/.postman_collection.json**.
|
||||
|
||||
|
||||
### Uso de Icono y funetes.
|
||||
los iconos se usado son de font awesome
|
||||
buscar iconos
|
||||
(https://fontawesome.com/search)
|
||||
|
||||
|
||||
## Autores
|
||||
| .[]([https://github.com/telcotronics](https://github.com/telcotronics)).
|
||||
| []([https://github.com/telcotronics](https://github.com/telcotronics))
|
||||
|-|
|
||||
| .[@Telcotronics](https://github.com/telcotronics). |
|
||||
| [@Telcotronics](https://github.com/telcotronics) |
|
||||
153
src/data/APP_SIGMA_NODE.postman_collection.json
Normal file
153
src/data/APP_SIGMA_NODE.postman_collection.json
Normal file
@@ -0,0 +1,153 @@
|
||||
{
|
||||
"info": {
|
||||
"_postman_id": "1710a3ae-fba9-4526-8084-a066897ddadd",
|
||||
"name": "APP_SIGMA_NODE",
|
||||
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
|
||||
"_exporter_id": "11858928"
|
||||
},
|
||||
"item": [
|
||||
{
|
||||
"name": "APP_SIGMA",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"header": [],
|
||||
"url": {
|
||||
"raw": ""
|
||||
}
|
||||
},
|
||||
"response": []
|
||||
},
|
||||
{
|
||||
"name": "actualiza image item",
|
||||
"protocolProfileBehavior": {
|
||||
"disableBodyPruning": true
|
||||
},
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"header": [],
|
||||
"body": {
|
||||
"mode": "raw",
|
||||
"raw": "",
|
||||
"options": {
|
||||
"raw": {
|
||||
"language": "json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"url": {
|
||||
"raw": "http://localhost:4000/actualizaImgItem?json_img=TEH00419A1",
|
||||
"protocol": "http",
|
||||
"host": [
|
||||
"localhost"
|
||||
],
|
||||
"port": "4000",
|
||||
"path": [
|
||||
"actualizaImgItem"
|
||||
],
|
||||
"query": [
|
||||
{
|
||||
"key": "json_img",
|
||||
"value": "TEH00419A1"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"response": []
|
||||
},
|
||||
{
|
||||
"name": "consulta precios",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"header": [],
|
||||
"url": {
|
||||
"raw": "http://localhost:8080/consultaItemsPrecios?consulta=cama&gp_precio=VENTAS_WEB",
|
||||
"protocol": "http",
|
||||
"host": [
|
||||
"localhost"
|
||||
],
|
||||
"port": "8080",
|
||||
"path": [
|
||||
"consultaItemsPrecios"
|
||||
],
|
||||
"query": [
|
||||
{
|
||||
"key": "consulta",
|
||||
"value": "cama"
|
||||
},
|
||||
{
|
||||
"key": "gp_precio",
|
||||
"value": "VENTAS_WEB"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"response": []
|
||||
},
|
||||
{
|
||||
"name": "consulta grupo de precios",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"header": [],
|
||||
"url": {
|
||||
"raw": "http://192.168.10.100:8080/gp_precios",
|
||||
"protocol": "http",
|
||||
"host": [
|
||||
"192",
|
||||
"168",
|
||||
"10",
|
||||
"100"
|
||||
],
|
||||
"port": "8080",
|
||||
"path": [
|
||||
"gp_precios"
|
||||
]
|
||||
}
|
||||
},
|
||||
"response": []
|
||||
},
|
||||
{
|
||||
"name": "buscar cliente SRI",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"header": [],
|
||||
"url": {
|
||||
"raw": "localhost:3001/busquedaSRI?ruc=1722237896001",
|
||||
"host": [
|
||||
"localhost"
|
||||
],
|
||||
"port": "3001",
|
||||
"path": [
|
||||
"busquedaSRI"
|
||||
],
|
||||
"query": [
|
||||
{
|
||||
"key": "ruc",
|
||||
"value": "1722237896001"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"response": []
|
||||
},
|
||||
{
|
||||
"name": "buscar cliente en sri-online",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"header": [],
|
||||
"url": {
|
||||
"raw": "https://sri-en-linea.com/ruc/1722237896001",
|
||||
"protocol": "https",
|
||||
"host": [
|
||||
"sri-en-linea",
|
||||
"com"
|
||||
],
|
||||
"path": [
|
||||
"ruc",
|
||||
"1722237896001"
|
||||
]
|
||||
}
|
||||
},
|
||||
"response": []
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user