VM-API-ONLINE

Operations
Validate Token

API para para validar el JWT enviado al correo del usuario

Validar el JWT enviado al correo del usuario
POST /api/validateToken

Authentication

Oauth2

Request body

Filtros para validar el JWT

Examples
{
    "fecha": "2020-01-13",
    "hora": "10:00:00",
    "datos": {
        "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImNhcmxvcy5kbHMuMTk5MkBnbWFpbC5jb20iLCJjb2RpZ28iOjYxNjQ1NCwiaWF0IjoxNTg3NzEwMzU4LCJleHAiOjE1ODc3MTM5NTgsImF1ZCI6Ind3d3cudmVuZGVtYXMuY29tIiwiaXNzIjoiVmVuZGVtYXMiLCJzdWIiOiJjYXJsb3MuZGxzLjE5OTJAZ21haWwuY29tIn0.Wo1ybkg3FNWjM_Sjwqm5sBpVeCyNhdFUY41PH76h_RY"
    }
}

Responses

200 200

EXITO

204 204

NO EXISTEN DATOS

401 401

TOKEN INVÁLIDO

500 500

ERROR INTERNO

Validate Username

API para obtener los datos de usuario

Obtener los datos de usuario segun el email o el telefono
POST /api/validateByUsername

Authentication

Oauth2

Request body

Filtros para obtener las transacciones

Examples
{
    "fecha": "2020-01-13",
    "hora": "10:00:00",
    "datos": {
        "username": "987654321"
    }
}

Responses

200 200

EXITO

204 204

NO EXISTEN DATOS

401 401

TOKEN INVÁLIDO

500 500

ERROR INTERNO

Authorize

API para obtener los datos de usuario y generar codigo de 6 dígitos

Obtener un codigo de 6 dígitos si es que existen datos y que este se envie al telefono o al email
POST /api/authorize

Authentication

Oauth2

Request body

Filtros para obtener los estados de cuenta

Examples
{
    "fecha": "2020-01-13",
    "hora": "10:00:00",
    "datos": {
        "email": "correo@mail.com",
        "telefono": "987654321"
    }
}

Responses

200 200

EXITO

204 204

NO EXISTEN DATOS

401 401

TOKEN INVÁLIDO

500 500

ERROR INTERNO

Type Definitions
AccessToken
Object
token
string required
ResponseGeneric
Object
fecha
string
Example:
2019-11-28
hora
string
Example:
16:07:58
codigoRespuesta
string
Example:
00
mensajeRespuesta
string
Example:
EXITO
operacion
string
Example:
ResponseValidateToken
Object
fecha
string
Example:
2019-11-28
hora
string
Example:
16:07:58
codigoRespuesta
string
Example:
00
mensajeRespuesta
string
Example:
EXITO
operacion
string
Example:
ResponseValidateUsername
Object
fecha
string
Example:
2019-11-28
hora
string
Example:
16:07:58
codigoRespuesta
string
Example:
00
mensajeRespuesta
string
Example:
EXITO
operacion
string
Example:
ResponseAuthorize
Object
fecha
string
Example:
2019-11-28
hora
string
Example:
16:07:58
codigoRespuesta
string
Example:
00
mensajeRespuesta
string
Example:
EXITO
operacion
string
Example:
abonos
datos
string
Example:
OK
Response204
Object
fecha
string
Example:
2019-11-28
hora
string
Example:
16:07:58
codigoRespuesta
string
Example:
15
mensajeRespuesta
string
Example:
NO EXISTEN DATOS
operacion
string
Example:
abonos
datos
string
Example:
{}
Response401
Object
fecha
string
Example:
2019-11-28
hora
string
Example:
16:07:58
codigoRespuesta
string
Example:
12
mensajeRespuesta
string
Example:
TOKEN INVÁLIDO
operacion
string
Example:
abonos
datos
string
Example:
{}
Response500
Object
fecha
string
Example:
2019-11-28
hora
string
Example:
16:07:58
codigoRespuesta
string
Example:
10
mensajeRespuesta
string
Example:
ERROR INTERNO
operacion
string
Example:
abonos
datos
string
Example:
{}
DatosGeneric
Object
lista
Array
Object
paginado
DatosValidateToken
Object
email
string
Example:
correo@mail.com
codigo
string
Example:
123456
DatosValidateUsername
Object
idToken
string
Example:
token
string
Example:
codigonbo
string
Example:
email
string
Example:
telefono
string
Example:
tipodoc
string
Example:
numdoc
string
Example:
cantidad
integer
Example:
0
Paginado
Object
totalRegistros
integer
Example:
10
totalPaginas
integer
Example:
5
FilterValidateToken
Object
fecha
string
Example:
2020-01-13
hora
string
Example:
10:00:00
datos
Object
token
string
Example:
FilterValidateUsername
Object
fecha
string
Example:
2020-01-13
hora
string
Example:
10:00:00
datos
Object
username
string
Example:
FilterAuthorize
Object
fecha
string
Example:
2020-01-13
hora
string
Example:
10:00:00
datos
Object
email
string
Example:
correo@mail.com
telefono
string
Example:
987654321