Muestra las diferencias entre dos versiones de la página.
| Próxima revisión | Revisión previa | ||
|
ada:howto:sicoferp:factory:sicoferpscriptsdb:fe:utilities:configurador_facturacion:autenticacion [2022/07/13 15:17] 192.168.175.62 creado |
ada:howto:sicoferp:factory:sicoferpscriptsdb:fe:utilities:configurador_facturacion:autenticacion [2022/07/13 19:40] (actual) 192.168.175.62 |
||
|---|---|---|---|
| Línea 1: | Línea 1: | ||
| - | ====== Título 1 ====== | + | ==== Autenticación ==== |
| + | |||
| + | A continuación se muestran los métodos para hacer las peticiones al web service de autenticación. | ||
| + | |||
| + | [[ada:howto:sicoferp:factory:sicoferpscriptsdb:fe:utilities:configurador_facturacion:services |←Volver atras]] | ||
| + | |||
| + | {{ :ada:howto:sicoferp:factory:sicoferpscriptsdb:fe:utilities:configurador_facturacion:confi32.png?400 | Autenticación}} | ||
| + | |||
| + | ==== Contenido ==== | ||
| + | * [[#POST autentication]] | ||
| + | * [[#GET listEmpresas]] | ||
| + | * [[#GET listFe]] | ||
| + | |||
| + | |||
| + | ---- | ||
| + | |||
| + | == POST autentication == | ||
| + | /apiRestConfig/v1/autentication | ||
| + | |||
| + | |||
| + | Los siguientes son los datos de entrada para ejecutar la petición del servicio. | ||
| + | |||
| + | { | ||
| + | "codigoEmpresa": "string", | ||
| + | "pass": "string", | ||
| + | "ping": "string", | ||
| + | "user": "string" | ||
| + | } | ||
| + | |||
| + | Datos que retorna al ejecutar la petición, este mensaje retorna siempre y cuando el la respuesta del servicio devuelva código 200. | ||
| + | |||
| + | { | ||
| + | "codigoHttp": 0, | ||
| + | "estadoTx": true, | ||
| + | "fechaOperacion": "2022-07-13T14:26:39.346Z", | ||
| + | "lstObjectResponse": [ | ||
| + | "string" | ||
| + | ], | ||
| + | "msg": "string", | ||
| + | "objectResponse": "string", | ||
| + | "token": "string" | ||
| + | } | ||
| + | |||
| + | |||
| + | ---- | ||
| + | |||
| + | |||
| + | == GET listEmpresas == | ||
| + | /apiRestConfig/v1/listEmpresasl/{ping} | ||
| + | |||
| + | == Parametros == | ||
| + | |||
| + | ^ Nombre ^ Tipo de dato ^ Requerido ^ Descripción ^ | ||
| + | | ping | string | * | ping | | ||
| + | |||
| + | Datos que retorna al ejecutar la petición. | ||
| + | |||
| + | { | ||
| + | "codigoHttp": 0, | ||
| + | "estadoTx": true, | ||
| + | "fechaOperacion": "2022-07-13T14:30:23.837Z", | ||
| + | "lstObjectResponse": [ | ||
| + | { | ||
| + | "codigo_EMPRESA": "string", | ||
| + | "codigo_MEMPRESA": "string", | ||
| + | "col0": "string", | ||
| + | "nit_EMPRESA": "string", | ||
| + | "nombre_EMPRESA": "string", | ||
| + | "usuario_EMPRESA": "string" | ||
| + | } | ||
| + | ], | ||
| + | "msg": "string", | ||
| + | "objectResponse": { | ||
| + | "codigo_EMPRESA": "string", | ||
| + | "codigo_MEMPRESA": "string", | ||
| + | "col0": "string", | ||
| + | "nit_EMPRESA": "string", | ||
| + | "nombre_EMPRESA": "string", | ||
| + | "usuario_EMPRESA": "string" | ||
| + | }, | ||
| + | "token": "string" | ||
| + | } | ||
| + | |||
| + | |||
| + | ---- | ||
| + | |||
| + | |||
| + | == GET listFe == | ||
| + | /apiRestConfig/v1/listFe/{config} | ||
| + | |||
| + | == Parametros == | ||
| + | |||
| + | ^ Nombre ^ Tipo de dato ^ Requerido ^ Descripción ^ | ||
| + | | config | string | * | config | | ||
| + | |||
| + | Datos que retorna al ejecutar la petición. | ||
| + | |||
| + | { | ||
| + | "codigoHttp": 0, | ||
| + | "estadoTx": true, | ||
| + | "fechaOperacion": "2022-07-13T14:35:31.777Z", | ||
| + | "lstObjectResponse": [ | ||
| + | { | ||
| + | "code": "string", | ||
| + | "description": "string" | ||
| + | } | ||
| + | ], | ||
| + | "msg": "string", | ||
| + | "objectResponse": { | ||
| + | "code": "string", | ||
| + | "description": "string" | ||
| + | }, | ||
| + | "token": "string" | ||
| + | } | ||