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
d2178be3
Commit
d2178be3
authored
May 22, 2019
by
Cristian_Camargo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new file
parent
c2f70c8d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
224 additions
and
0 deletions
+224
-0
afiliaciones-afiliado-basico.json
apigee/afiliaciones-afiliado-basico.json
+224
-0
No files found.
apigee/afiliaciones-afiliado-basico.json
0 → 100644
View file @
d2178be3
{
"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 de afiliaciones y afiliados."
,
"version"
:
"1.0.0"
,
"title"
:
"Afiliaciones afiliado basico"
,
"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-afiliaciones-validador"
,
"description"
:
"Consulta de afiliaciones a través del validador."
}
],
"paths"
:
{
"/v2/afiliacion/validador/personas/basico"
:
{
"get"
:
{
"tags"
:
[
"cols-afiliaciones-validador"
],
"summary"
:
"Información basica del afiliado "
,
"description"
:
"Retorna la información detallada de un afiliado a la caja."
,
"operationId"
:
"validadorAfiliado"
,
"parameters"
:
[
{
"name"
:
"tipoId"
,
"in"
:
"query"
,
"description"
:
"<table border='1' width='10px'> <thead> <tr> <td colspan='2'><center>Tipos de identificación</center></td> </tr> </thead> <tr> <th>TipoID</th> <th>Descripción</th> </tr> <tr> <td>CO1C</td> <td>Cédula</td> </tr> <tr> <td>CO1N</td> <td>Nit</td> </tr> <tr> <td>CO1E</td> <td>Cédula de extranjería</td> </tr> <tr> <td>CO1T</td> <td>Tarjeta de identidad</td> </tr> <tr> <td>CO1L</td> <td>Registro Civil</td> </tr> <tr> <td>CO1P</td> <td>Pasaporte</td> </tr> <tr> <td>CO1D</td> <td>Carnet Diplomático</td> </tr> <tr> <td>CO1S</td> <td>Sin identificación del exterior</td> </tr> <tr> <td>CO1V</td> <td>Permiso Especial de Permanencia</td> </tr> <tr> <td>CO1X</td> <td>Tarjeta de extranjería</td> </tr> </table>"
,
"required"
:
true
,
"schema"
:
{
"type"
:
"string"
}
},
{
"name"
:
"numeroId"
,
"in"
:
"query"
,
"description"
:
"Numero de documento."
,
"required"
:
true
,
"schema"
:
{
"type"
:
"string"
}
}
],
"responses"
:
{
"200"
:
{
"description"
:
"Operación exitosa"
,
"content"
:
{
"application/json"
:
{
"schema"
:
{
"$ref"
:
"#/components/schemas/validadorResponse"
}
}
}
},
"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"
}
},
"afiliacion"
:
{
"type"
:
"object"
,
"properties"
:
{
"fechaAfiliacion"
:
{
"type"
:
"string"
,
"description"
:
"fecha de afiliación"
},
"categoria"
:
{
"type"
:
"string"
,
"description"
:
"Categoría"
}
},
"xml"
:
{
"name"
:
"afiliado"
}
},
"validadorResponse"
:
{
"type"
:
"object"
,
"required"
:
[
"resultado"
],
"properties"
:
{
"estado"
:{
"type"
:
"string"
,
"description"
:
"Estado del servicio"
},
"mensaje"
:{
"type"
:
"string"
,
"description"
:
"Mensaje del servicio"
},
"data"
:
{
"type"
:
"array"
,
"items"
:{
"$ref"
:
"#/components/schemas/afiliadoValidador"
}
}
}
},
"afiliadoValidador"
:
{
"type"
:
"object"
,
"properties"
:
{
"afiliado"
:
{
"$ref"
:
"#/components/schemas/validador"
}
}
},
"validador"
:
{
"type"
:
"object"
,
"properties"
:
{
"numeroDocumento"
:{
"type"
:
"string"
,
"description"
:
"Número de documento del afiliado"
},
"tipoDocumento"
:{
"type"
:
"string"
,
"description"
:
"Número de documento del afiliado"
},
"primerNombre"
:{
"type"
:
"string"
,
"description"
:
"primer nombre del afiliado"
},
"segundoNombre"
:{
"type"
:
"string"
,
"description"
:
"segundo nombre del afiliado"
},
"primerApellido"
:{
"type"
:
"string"
,
"description"
:
"primer apellido del afiliado"
},
"segundoApellido"
:{
"type"
:
"string"
,
"description"
:
"Segundo apellido del afiliado"
},
"fechaNacimiento"
:{
"type"
:
"string"
,
"description"
:
"Fecha de nacimiento del afiliado"
},
"genero"
:{
"type"
:
"string"
,
"description"
:
"Código de género del afiliado"
},
"estadoCivil"
:{
"type"
:
"string"
,
"description"
:
"Código de estado civil"
},
"estado"
:{
"type"
:
"string"
,
"description"
:
"Estado del Afiliado"
},
"afiliacion"
:{
"$ref"
:
"#/components/schemas/afiliacion"
}
}
},
},
"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