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
05daef47
Commit
05daef47
authored
Aug 22, 2019
by
robert.barrazaga@colsubsidio.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Se agrega el servicio actualizarMembresia.
parent
2ca69671
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
90 additions
and
1 deletions
+90
-1
recreacionyturismo-afiliados.json
apigee/recreacionyturismo-afiliados.json
+90
-1
No files found.
apigee/recreacionyturismo-afiliados.json
View file @
05daef47
...
@@ -27,9 +27,49 @@
...
@@ -27,9 +27,49 @@
{
{
"name"
:
"cols-recreacionyturismo-afiliados"
,
"name"
:
"cols-recreacionyturismo-afiliados"
,
"description"
:
"Informacion de afiliados."
"description"
:
"Informacion de afiliados."
},
{
"name"
:
"cols-recreacionyturismo-gestionclientes"
,
"description"
:
"Servicios para el manejo de clientes y sus membresías"
}
}
],
],
"paths"
:
{
"paths"
:
{
"/api/v1/recreacionyturismo/hoteles/gestionclientes/membresias"
:{
"put"
:
{
"tags"
:
[
"cols-recreacionyturismo-gestionclientes"
],
"summary"
:
"Actualiza el estado de una membresía"
,
"description"
:
"Dado un número de cliente le actualiza el estaedo de su membresia"
,
"operationId"
:
"actualizarMembresia.v1"
,
"responses"
:
{
"200"
:
{
"description"
:
"Operación exitosa"
,
"content"
:
{
"application/json"
:
{
"schema"
:
{
"$ref"
:
"#/components/schemas/actualizarMembresiaResponse"
}
}
}
},
"400"
:
{
"description"
:
"Solicitud inválida"
}
},
"security"
:
[
{
"apigee_auth"
:
[
"write:apigee"
,
"read:apigee"
]
}
],
"requestBody"
:
{
"$ref"
:
"#/components/requestBodies/actualizarMembresiaRequestBody"
}
}
},
"/v1/recreacionyturismo/afiliados/clientes"
:
{
"/v1/recreacionyturismo/afiliados/clientes"
:
{
"post"
:
{
"post"
:
{
"tags"
:
[
"tags"
:
[
...
@@ -1122,7 +1162,7 @@
...
@@ -1122,7 +1162,7 @@
}
}
},
},
"direccionTitularDocumento"
:{
"direccionTitularDocumento"
:{
"type"
:
"object"
,
"type"
:
"object"
,
"properties"
:
{
"properties"
:
{
"tipo"
:{
"tipo"
:{
...
@@ -2254,6 +2294,14 @@
...
@@ -2254,6 +2294,14 @@
}
}
}
}
},
},
"actualizarMembresiaRequest"
:
{
"type"
:
"object"
,
"properties"
:
{
"membresia"
:
{
"$ref"
:
"#/components/schemas/membresia"
}
}
},
"consultarDatosClienteResponse"
:
{
"consultarDatosClienteResponse"
:
{
"type"
:
"object"
,
"type"
:
"object"
,
"required"
:
[
"required"
:
[
...
@@ -2300,6 +2348,23 @@
...
@@ -2300,6 +2348,23 @@
}
}
}
}
},
},
"actualizarMembresiaResponse"
:
{
"type"
:
"object"
,
"required"
:
[
"resultado"
],
"properties"
:
{
"resultado"
:
{
"type"
:
"array"
,
"xml"
:
{
"name"
:
"resultado"
},
"items"
:
{
"$ref"
:
"#/components/schemas/resultado"
}
}
}
},
"obtenerCliente"
:
{
"obtenerCliente"
:
{
"type"
:
"object"
,
"type"
:
"object"
,
"properties"
:
{
"properties"
:
{
...
@@ -2552,6 +2617,19 @@
...
@@ -2552,6 +2617,19 @@
}
}
}
}
},
},
"membresia"
:
{
"type"
:
"object"
,
"properties"
:
{
"id"
:
{
"type"
:
"string"
,
"description"
:
"Identificador de la membresia"
},
"estado"
:
{
"type"
:
"string"
,
"description"
:
"<table border='1' width='10px'> <thead> <tr> <td colspan='2'><center>Tipos de estado</center></td> </tr> </thead> <tr> <th>Id</th> <th>Descripción</th> </tr> <tr> <td>ACTIVO</td> <td>Activa la membresía</td> </tr> <tr> <td>INACTIVO</td> <td>Inactiva la membresía</td></tr> </table>"
}
}
},
"consultaCotizacionIdResponse"
:
{
"consultaCotizacionIdResponse"
:
{
"type"
:
"object"
,
"type"
:
"object"
,
"required"
:
[
"required"
:
[
...
@@ -3502,6 +3580,17 @@
...
@@ -3502,6 +3580,17 @@
"description"
:
"Informacion para registrar clientes"
,
"description"
:
"Informacion para registrar clientes"
,
"required"
:
true
"required"
:
true
},
},
"actualizarMembresiaRequestBody"
:
{
"content"
:
{
"application/json"
:
{
"schema"
:
{
"$ref"
:
"#/components/schemas/actualizarMembresiaRequest"
}
}
},
"description"
:
"Informacion para registrar clientes"
,
"required"
:
true
},
"inscribirMembresiaRequestBody"
:
{
"inscribirMembresiaRequestBody"
:
{
"content"
:
{
"content"
:
{
"application/json"
:
{
"application/json"
:
{
...
...
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