Muestra las diferencias entre dos versiones de la página.
| Ambos lados, revisión anterior Revisión previa Próxima revisión | Revisión previa | ||
|
ada:howto:sicoferp:factory:sicoferpscriptsdb:fe:utilities:configurador_facturacion:services [2022/07/13 15:05] 192.168.175.62 |
ada:howto:sicoferp:factory:sicoferpscriptsdb:fe:utilities:configurador_facturacion:services [2022/07/13 17:01] (actual) 192.168.175.62 |
||
|---|---|---|---|
| Línea 8: | Línea 8: | ||
| ===== Contenido ===== | ===== Contenido ===== | ||
| - | * [[#Autenticación]] | + | * [[Autenticación]] |
| - | * [[#Configuración Usuario Empresa]] | + | * [[Configuración Usuario Empresa]] |
| + | * [[fe Certificado Archivo]] | ||
| + | * [[fe Certificado Info]] | ||
| + | * [[fe Configuración Cliente]] | ||
| + | * [[fe Paso a Producción]] | ||
| ---- | ---- | ||
| - | ==== Autentgkjhkicación ==== | + | * [[Schemas]] |
| - | + | ||
| - | 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:confi32.png?400 | Autenticación}} | + | |
| - | + | ||
| - | == POST == | + | |
| - | /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 lista de empresas== | + | |
| - | /apiRestConfig/v1/listEmpresasl/{ping} | + | |
| - | + | ||
| - | Datos que retorna Al ejecutar la petición Get con parámetro {ping} | + | |
| - | + | ||
| - | { | + | |
| - | "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== | + | |
| - | /apiRestConfig/v1/listFe/{config} | + | |
| - | + | ||
| - | Datos que retorna Al ejecutar la petición Get con parámetro {config} | + | |
| - | + | ||
| - | { | + | |
| - | "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" | + | |
| - | } | + | |
| ---- | ---- | ||
| - | ==== Configuración Usuario Empresa ==== | ||
| - | |||
| - | {{ :ada:howto:sicoferp:factory:sicoferpscriptsdb:fe:utilities:configurador_facturacion:confi33.png?400 | | ||
| - | Configuración Usuario Empresa}} | ||
| - | |||
| - | == POST addEmpresasConexion== | ||
| - | |||
| - | /apiRestConfig/v1/addEmpresasConexion | ||
| - | |||
| - | Datos de entrada para ejecutar la petición del servicio. | ||
| - | |||
| - | { | ||
| - | "codigoCliente": "string", | ||
| - | "codigoMempresa": "string", | ||
| - | "dbIp": "string", | ||
| - | "dbName": "string", | ||
| - | "dbPort": 0, | ||
| - | "dbPswd": "string", | ||
| - | "dbUser": "string", | ||
| - | "dianEstado": "string", | ||
| - | "dianFecha": "2022-07-13T14:45:47.619Z", | ||
| - | "dianIdSoftware": "string", | ||
| - | "dianNombreSoftware": "string", | ||
| - | "dianPin": "string", | ||
| - | "dianPsw": "string", | ||
| - | "dianUrl": "string", | ||
| - | "dianUsuario": "string", | ||
| - | "emailNotify": "string", | ||
| - | "emailNotifyCc": "string", | ||
| - | "environmentService": "string", | ||
| - | "estado": "string", | ||
| - | "fechaRegistro": "2022-07-13T14:45:47.619Z", | ||
| - | "formUserLogin": "string", | ||
| - | "formUserPassword": "string", | ||
| - | "hashSetPruebas": "string", | ||
| - | "id": 0, | ||
| - | "modoValidacionPruebas": 0, | ||
| - | "multiempresa": "string", | ||
| - | "nameService": "string", | ||
| - | "neUrl": "string", | ||
| - | "nevUrl": "string", | ||
| - | "nitCliente": 0, | ||
| - | "numeracionUrl": "string", | ||
| - | "pathImagenAceptacion": "string", | ||
| - | "profileexecutionid": 0, | ||
| - | "pswdService": "string", | ||
| - | "tipoSoftware": "string", | ||
| - | "tokenService": "string", | ||
| - | "typeClient": "string", | ||
| - | "typeService": "string", | ||
| - | "urlService": "string", | ||
| - | "urlValAceptacion": "string", | ||
| - | "urlValAceptacionForm": "string", | ||
| - | "userService": "string", | ||
| - | "userlogin": "string", | ||
| - | "usuarioRegistro": "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-13T15:00:48.554Z", | ||
| - | "lstObjectResponse": [ | ||
| - | { | ||
| - | "codigoCliente": "string", | ||
| - | "codigoMempresa": "string", | ||
| - | "dbIp": "string", | ||
| - | "dbName": "string", | ||
| - | "dbPort": 0, | ||
| - | "dbPswd": "string", | ||
| - | "dbUser": "string", | ||
| - | "dianEstado": "string", | ||
| - | "dianFecha": "2022-07-13T15:00:48.554Z", | ||
| - | "dianIdSoftware": "string", | ||
| - | "dianNombreSoftware": "string", | ||
| - | "dianPin": "string", | ||
| - | "dianPsw": "string", | ||
| - | "dianUrl": "string", | ||
| - | "dianUsuario": "string", | ||
| - | "emailNotify": "string", | ||
| - | "emailNotifyCc": "string", | ||
| - | "environmentService": "string", | ||
| - | "estado": "string", | ||
| - | "fechaRegistro": "2022-07-13T15:00:48.554Z", | ||
| - | "formUserLogin": "string", | ||
| - | "formUserPassword": "string", | ||
| - | "hashSetPruebas": "string", | ||
| - | "id": 0, | ||
| - | "modoValidacionPruebas": 0, | ||
| - | "multiempresa": "string", | ||
| - | "nameService": "string", | ||
| - | "neUrl": "string", | ||
| - | "nevUrl": "string", | ||
| - | "nitCliente": 0, | ||
| - | "numeracionUrl": "string", | ||
| - | "pathImagenAceptacion": "string", | ||
| - | "profileexecutionid": 0, | ||
| - | "pswdService": "string", | ||
| - | "tipoSoftware": "string", | ||
| - | "tokenService": "string", | ||
| - | "typeClient": "string", | ||
| - | "typeService": "string", | ||
| - | "urlService": "string", | ||
| - | "urlValAceptacion": "string", | ||
| - | "urlValAceptacionForm": "string", | ||
| - | "userService": "string", | ||
| - | "userlogin": "string", | ||
| - | "usuarioRegistro": "string" | ||
| - | } | ||
| - | ], | ||
| - | "msg": "string", | ||
| - | "objectResponse": { | ||
| - | "codigoCliente": "string", | ||
| - | "codigoMempresa": "string", | ||
| - | "dbIp": "string", | ||
| - | "dbName": "string", | ||
| - | "dbPort": 0, | ||
| - | "dbPswd": "string", | ||
| - | "dbUser": "string", | ||
| - | "dianEstado": "string", | ||
| - | "dianFecha": "2022-07-13T15:00:48.554Z", | ||
| - | "dianIdSoftware": "string", | ||
| - | "dianNombreSoftware": "string", | ||
| - | "dianPin": "string", | ||
| - | "dianPsw": "string", | ||
| - | "dianUrl": "string", | ||
| - | "dianUsuario": "string", | ||
| - | "emailNotify": "string", | ||
| - | "emailNotifyCc": "string", | ||
| - | "environmentService": "string", | ||
| - | "estado": "string", | ||
| - | "fechaRegistro": "2022-07-13T15:00:48.554Z", | ||
| - | "formUserLogin": "string", | ||
| - | "formUserPassword": "string", | ||
| - | "hashSetPruebas": "string", | ||
| - | "id": 0, | ||
| - | "modoValidacionPruebas": 0, | ||
| - | "multiempresa": "string", | ||
| - | "nameService": "string", | ||
| - | "neUrl": "string", | ||
| - | "nevUrl": "string", | ||
| - | "nitCliente": 0, | ||
| - | "numeracionUrl": "string", | ||
| - | "pathImagenAceptacion": "string", | ||
| - | "profileexecutionid": 0, | ||
| - | "pswdService": "string", | ||
| - | "tipoSoftware": "string", | ||
| - | "tokenService": "string", | ||
| - | "typeClient": "string", | ||
| - | "typeService": "string", | ||
| - | "urlService": "string", | ||
| - | "urlValAceptacion": "string", | ||
| - | "urlValAceptacionForm": "string", | ||
| - | "userService": "string", | ||
| - | "userlogin": "string", | ||
| - | "usuarioRegistro": "string" | ||
| - | }, | ||
| - | "token": "string" | ||
| - | } | ||
| - | |||
| - | == GET empresasById == | ||
| - | |||
| - | /apiRestConfig/v1/empresasById/{id} | ||
| - | |||
| - | Datos que retorna la petición. | ||
| - | |||
| - | { | ||
| - | "codigoHttp": 0, | ||
| - | "estadoTx": true, | ||
| - | "fechaOperacion": "2022-07-13T15:05:00.447Z", | ||
| - | "lstObjectResponse": [ | ||
| - | { | ||
| - | "codigoCliente": "string", | ||
| - | "codigoMempresa": "string", | ||
| - | "dbIp": "string", | ||
| - | "dbName": "string", | ||
| - | "dbPort": 0, | ||
| - | "dbPswd": "string", | ||
| - | "dbUser": "string", | ||
| - | "dianEstado": "string", | ||
| - | "dianFecha": "2022-07-13T15:05:00.447Z", | ||
| - | "dianIdSoftware": "string", | ||
| - | "dianNombreSoftware": "string", | ||
| - | "dianPin": "string", | ||
| - | "dianPsw": "string", | ||
| - | "dianUrl": "string", | ||
| - | "dianUsuario": "string", | ||
| - | "emailNotify": "string", | ||
| - | "emailNotifyCc": "string", | ||
| - | "environmentService": "string", | ||
| - | "estado": "string", | ||
| - | "fechaRegistro": "2022-07-13T15:05:00.447Z", | ||
| - | "formUserLogin": "string", | ||
| - | "formUserPassword": "string", | ||
| - | "hashSetPruebas": "string", | ||
| - | "id": 0, | ||
| - | "modoValidacionPruebas": 0, | ||
| - | "multiempresa": "string", | ||
| - | "nameService": "string", | ||
| - | "neUrl": "string", | ||
| - | "nevUrl": "string", | ||
| - | "nitCliente": 0, | ||
| - | "numeracionUrl": "string", | ||
| - | "pathImagenAceptacion": "string", | ||
| - | "profileexecutionid": 0, | ||
| - | "pswdService": "string", | ||
| - | "tipoSoftware": "string", | ||
| - | "tokenService": "string", | ||
| - | "typeClient": "string", | ||
| - | "typeService": "string", | ||
| - | "urlService": "string", | ||
| - | "urlValAceptacion": "string", | ||
| - | "urlValAceptacionForm": "string", | ||
| - | "userService": "string", | ||
| - | "userlogin": "string", | ||
| - | "usuarioRegistro": "string" | ||
| - | } | ||
| - | ], | ||
| - | "msg": "string", | ||
| - | "objectResponse": { | ||
| - | "codigoCliente": "string", | ||
| - | "codigoMempresa": "string", | ||
| - | "dbIp": "string", | ||
| - | "dbName": "string", | ||
| - | "dbPort": 0, | ||
| - | "dbPswd": "string", | ||
| - | "dbUser": "string", | ||
| - | "dianEstado": "string", | ||
| - | "dianFecha": "2022-07-13T15:05:00.447Z", | ||
| - | "dianIdSoftware": "string", | ||
| - | "dianNombreSoftware": "string", | ||
| - | "dianPin": "string", | ||
| - | "dianPsw": "string", | ||
| - | "dianUrl": "string", | ||
| - | "dianUsuario": "string", | ||
| - | "emailNotify": "string", | ||
| - | "emailNotifyCc": "string", | ||
| - | "environmentService": "string", | ||
| - | "estado": "string", | ||
| - | "fechaRegistro": "2022-07-13T15:05:00.447Z", | ||
| - | "formUserLogin": "string", | ||
| - | "formUserPassword": "string", | ||
| - | "hashSetPruebas": "string", | ||
| - | "id": 0, | ||
| - | "modoValidacionPruebas": 0, | ||
| - | "multiempresa": "string", | ||
| - | "nameService": "string", | ||
| - | "neUrl": "string", | ||
| - | "nevUrl": "string", | ||
| - | "nitCliente": 0, | ||
| - | "numeracionUrl": "string", | ||
| - | "pathImagenAceptacion": "string", | ||
| - | "profileexecutionid": 0, | ||
| - | "pswdService": "string", | ||
| - | "tipoSoftware": "string", | ||
| - | "tokenService": "string", | ||
| - | "typeClient": "string", | ||
| - | "typeService": "string", | ||
| - | "urlService": "string", | ||
| - | "urlValAceptacion": "string", | ||
| - | "urlValAceptacionForm": "string", | ||
| - | "userService": "string", | ||
| - | "userlogin": "string", | ||
| - | "usuarioRegistro": "string" | ||
| - | }, | ||
| - | "token": "string" | ||
| - | } | ||
| - | |||