Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
swagger
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
external
swagger
Commits
d7da0a25
Commit
d7da0a25
authored
Mar 07, 2019
by
Edwin Ferreira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new file
parent
f63ca02e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
206 additions
and
0 deletions
+206
-0
credito-tarjeta.json
apigee/credito-tarjeta.json
+206
-0
No files found.
apigee/credito-tarjeta.json
0 → 100644
View file @
d7da0a25
{
"openapi"
:
"3.0.0"
,
"servers"
:
[
{
"description"
:
"Calidad"
,
"url"
:
"https://colsubsidio-test.apigee.net/api"
},
{
"description"
:
"Producción"
,
"url"
:
"https://colsubsidio-prod.apigee.net/api"
}
],
"info"
:
{
"description"
:
"Información de los servicios del producto credito."
,
"version"
:
"1.0.0"
,
"title"
:
"Credito tarjeta"
,
"termsOfService"
:
"http://172.16.95.36/wiki/index.php/T%C3%A9rminos_de_servicio_Swagger"
,
"contact"
:
{
"email"
:
"operacionesti@colsubsidio.com"
},
"license"
:
{
"name"
:
"Colsubsidio"
,
"url"
:
"http://172.16.95.36/wiki/index.php/T%C3%A9rminos_de_servicio_Swagger"
}
},
"tags"
:
[
{
"name"
:
"cols-credito-bolsillo"
,
"description"
:
"Consulta tarjeta"
}
],
"paths"
:
{
"/v2/credito/bolsillos"
:
{
"get"
:
{
"tags"
:
[
"cols-credito-bolsillo"
],
"summary"
:
"Consulta saldo disponible"
,
"description"
:
"Obtener informacion del saldo disponible"
,
"operationId"
:
"getConsultaBolsillo"
,
"parameters"
:
[
{
"name"
:
"tipoId"
,
"in"
:
"query"
,
"description"
:
"Tipo de identificacion."
,
"required"
:
true
,
"schema"
:
{
"type"
:
"string"
}
},
{
"name"
:
"numId"
,
"in"
:
"query"
,
"description"
:
"Número de documento de identificación."
,
"required"
:
true
,
"schema"
:
{
"type"
:
"string"
}
},
{
"name"
:
"codBolsillo"
,
"in"
:
"query"
,
"description"
:
"Codigo de bolsillo."
,
"required"
:
true
,
"schema"
:
{
"type"
:
"string"
}
}
],
"responses"
:
{
"200"
:
{
"description"
:
"Operación exitosa"
,
"content"
:
{
"application/json"
:
{
"schema"
:
{
"$ref"
:
"#/components/schemas/getConsultaBolsilloResponse"
}
}
}
},
"400"
:
{
"description"
:
"Estado inválido"
}
},
"security"
:
[
{
"apigee_auth"
:
[
"write:apigee"
,
"read:apigee"
]
}
]
}
}
},
"externalDocs"
:
{
"description"
:
"Encontrar más información en EnterpriseArchitect"
,
"url"
:
"http://172.16.95.36/wiki/index.php/Enterprise_Architect"
},
"components"
:
{
"schemas"
:
{
"resultado"
:
{
"type"
:
"object"
,
"properties"
:
{
"codigo"
:
{
"type"
:
"string"
,
"description"
:
"Código del resultado"
},
"descripcion"
:
{
"type"
:
"string"
,
"description"
:
"Descripción del resultado"
}
},
"xml"
:
{
"name"
:
"resultado"
}
},
"tarjeta"
:
{
"type"
:
"object"
,
"properties"
:
{
"tipo"
:
{
"type"
:
"number"
,
"description"
:
"Tipo de tarjeta"
},
"numero"
:
{
"type"
:
"number"
,
"description"
:
"Numero de tarjeta"
},
"activacion"
:
{
"type"
:
"string"
,
"description"
:
"Fecha de activacion de tarjeta"
},
"descripcion"
:
{
"type"
:
"string"
,
"description"
:
"Descripcion del tipo de tarjeta"
}
},
"xml"
:
{
"name"
:
"tarjeta"
}
},
"consultaBolsillo"
:
{
"type"
:
"object"
,
"properties"
:
{
"tarjeta"
:
{
"$ref"
:
"#/components/schemas/tarjeta"
},
"fecha"
:
{
"type"
:
"string"
,
"description"
:
"Fecha actual"
},
"saldo"
:
{
"type"
:
"string"
,
"description"
:
"Saldo disponible"
},
"codigo"
:
{
"type"
:
"string"
,
"description"
:
"Codigo de bolsillo"
}
},
"xml"
:
{
"name"
:
"consultaBolsillo"
}
},
"getConsultaBolsilloResponse"
:
{
"type"
:
"object"
,
"required"
:
[
"resultado"
],
"properties"
:
{
"resultado"
:
{
"type"
:
"array"
,
"xml"
:
{
"name"
:
"resultado"
},
"items"
:
{
"$ref"
:
"#/components/schemas/resultado"
}
},
"consultaBolsillo"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/components/schemas/consultaBolsillo"
}
}
}
}
},
"requestBodies"
:
{},
"securitySchemes"
:
{
"apigee_auth"
:
{
"type"
:
"oauth2"
,
"flows"
:
{
"clientCredentials"
:
{
"tokenUrl"
:
"https://colsubsidio-test.apigee.net/oauth/client_credential/accesstoken?grant_type=client_credentials"
,
"scopes"
:
{
"write:apigee"
:
"Permisos de escritura"
,
"read:apigee"
:
"Permisos de lectura"
}
}
}
}
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment