From 96437e547e2a50c9fc97df96420e22acb917f15a Mon Sep 17 00:00:00 2001 From: Cristian Camargo Date: Wed, 8 May 2019 19:53:34 +0000 Subject: [PATCH] Update credito-tarjeta.json --- apigee/credito-tarjeta.json | 215 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 214 insertions(+), 1 deletion(-) diff --git a/apigee/credito-tarjeta.json b/apigee/credito-tarjeta.json index 28c86a1..946d1f6 100644 --- a/apigee/credito-tarjeta.json +++ b/apigee/credito-tarjeta.json @@ -91,6 +91,50 @@ } ] } + }, + "/v2/credito/bolsillos/{cardNumber}": { + "get": { + "tags": [ + "cols-credito-bolsillo" + ], + "summary": " información del estado de cada bolsillo de la Tarjeta Multiservicios", + "description": "Servicio para obtener la información del estado de cada bolsillo de la Tarjeta Multiservicios.", + "operationId": "getConsultaEstado", + "parameters": [ + { + "name": "cardNumber", + "in": "path", + "description": "Número de la tarjeta Multiservicios.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Operación exitosa", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EstadoPorTarjetaResponse" + } + } + } + }, + "400": { + "description": "Estado inválido" + } + }, + "security": [ + { + "apigee_auth": [ + "write:apigee", + "read:apigee" + ] + } + ] + } }, "/v2/credito/bolsillos/movimiento": { "get": { @@ -350,7 +394,69 @@ } ] } - } + }, + "/v2/credito/bolsillos/movimientos/debito": { + "get": { + "tags": [ + "cols-credito-bolsillo" + ], + "summary": "Consulta pago del bolsillo de la tarjeta débito.", + "description": "Obtener informacion del pago del bolsillo de la tarjeta débito.", + "operationId": "movimientoBolsilloDebito", + "parameters": [ + { + "name": "numTarjeta", + "in": "query", + "description": "Numero de la tarjeta del cliente.", + "required": true, + "schema": { + "type": "number" + } + }, + { + "name": "codBolsillo", + "in": "query", + "description": "Codigo de bolsillo.", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "rangoTiempo", + "in": "query", + "description": "Rango de tiempo.", + "required": true, + "schema": { + "type": "number" + } + } + ], + "responses": { + "200": { + "description": "Operación exitosa", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/consultaPagoBolsilloDebitoResponse" + } + } + } + }, + "400": { + "description": "Estado inválido" + } + }, + "security": [ + { + "apigee_auth": [ + "write:apigee", + "read:apigee" + ] + } + ] + } + }, }, "externalDocs": { "description": "Encontrar más información en EnterpriseArchitect", @@ -583,6 +689,9 @@ "format":"date-time", "description": "Fecha de limite de pago de la tarjeta" }, + "movimiento": { + "$ref":"#/components/schemas/movimiento" + }, "estado": { "$ref":"#/components/schemas/estado" }, @@ -687,7 +796,13 @@ "codigo": { "type": "string", "description": "Codigo de movimiento." + }, + "fecha": { + "type": "string", + "format": "date-time", + "description": "Fecha de movimiento." } + }, "xml": { "name": "movimiento" @@ -870,6 +985,42 @@ "name": "sistema" } }, + "item": { + "type": "object", + "properties": { + "codigoBolsillo": { + "type": "integer", + "description": "Código identificador." + }, + "descripcionEstadoBolsillo": { + "type": "integer", + "description": "Estado del bolsillo." + }, + "descripcionEstadoTarjeta": { + "type": "string", + "description": "Estado de la tarjeta." + }, + "descripcionTipoTarjeta": { + "type": "string", + "description": "Descripción tipo de tarjeta." + }, + "estadoBolsillo": { + "type": "integer", + "description": "Código de estado de bolsillo." + }, + "estadoTarjeta": { + "type": "integer", + "description": "Estado de la tarjeta." + }, + "tipoTarjeta": { + "type": "integer", + "description": "Tipo de tarjeta." + } + }, + "xml": { + "name": "sistema" + } + }, "alturaMora": { "type": "object", "properties": { @@ -1013,6 +1164,45 @@ } } }, + "consultaPagoBolsilloDebitoResponse": { + "type": "object", + "required": [ + "resultado" + ], + "properties": { + "resultado": { + "type": "array", + "xml": { + "name": "resultado" + }, + "items": { + "$ref": "#/components/schemas/resultado" + } + }, + "BolsilloDebito": { + "type": "array", + "items": { + "$ref": "#/components/schemas/consultaPagoBolsilloDebito" + } + } + } + }, + "consultaPagoBolsilloDebito":{ + "type":"object", + "properties":{ + + "establecimiento":{ + "type":"string", + "description":"Establecimiento" + }, + + "tarjeta":{ + "$ref": "#/components/schemas/tarjetaCompleto" + } + } + } + , + "consultaTarjetaDocumentoResponse": { "type": "object", "required": [ @@ -1060,6 +1250,29 @@ } } }, + "EstadoPorTarjetaResponse": { + "type": "object", + "required": [ + "resultado" + ], + "properties": { + "resultado": { + "type": "array", + "xml": { + "name": "resultado" + }, + "items": { + "$ref": "#/components/schemas/resultado" + } + }, + "arrayBolsillos": { + "type": "array", + "items": { + "$ref": "#/components/schemas/item" + } + } + } + }, "obtenerCupoResponse": { "type": "object", "required": [ -- libgit2 0.26.0