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
197252e9
Commit
197252e9
authored
Apr 02, 2019
by
Cristian_Camargo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new file
parent
e512c980
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
365 additions
and
0 deletions
+365
-0
medicamentos-utilidades.json
apigee/medicamentos-utilidades.json
+365
-0
No files found.
apigee/medicamentos-utilidades.json
0 → 100644
View file @
197252e9
{
"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 servicios de medicamentos utilidades."
,
"version"
:
"1.0.0"
,
"title"
:
"Utilidades Medicamentos"
,
"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-medicamentos-utilidades"
,
"description"
:
"Servicios varios relacionados con medicamentos."
}
],
"paths"
:
{
"/v1/medicamentos/utilidades/notificaciones"
:
{
"post"
:
{
"tags"
:
[
"cols-medicamentos-utilidades"
],
"summary"
:
"Servicio para envio notificaciones push y SMS."
,
"description"
:
"Servicio para el envio de notificaciones push y SMS al cliente."
,
"operationId"
:
"notificacionMedicamento"
,
"responses"
:
{
"200"
:
{
"description"
:
"Operación exitosa"
,
"content"
:
{
"application/json"
:
{
"schema"
:
{
"$ref"
:
"#/components/schemas/notificacionMedicamentoResponse"
}
}
}
},
"400"
:
{
"description"
:
"Estado inválido"
}
},
"security"
:
[
{
"apigee_auth"
:
[
"write:apigee"
,
"read:apigee"
]
}
],
"requestBody"
:
{
"$ref"
:
"#/components/requestBodies/notificacionMedicamentoRequestBody"
}
}
},
"/v1/medicamentos/utilidades/horarios"
:
{
"get"
:
{
"tags"
:
[
"cols-medicamentos-utilidades"
],
"summary"
:
"Obtener de horarios"
,
"description"
:
"Obtener informacion de los horarios."
,
"operationId"
:
"horarioMedicamento"
,
"responses"
:
{
"200"
:
{
"description"
:
"Operación exitosa"
,
"content"
:
{
"application/json"
:
{
"schema"
:
{
"$ref"
:
"#/components/schemas/horarioMedicamentoResponse"
}
}
}
},
"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"
}
},
"resultadoNotificacion"
:
{
"type"
:
"object"
,
"properties"
:
{
"codigo"
:
{
"type"
:
"string"
,
"description"
:
"Código del resultado"
},
"descripcion"
:
{
"type"
:
"string"
,
"description"
:
"Descripción del resultado"
},
"mensaje"
:
{
"type"
:
"string"
,
"description"
:
"Mensaje de la notificacion."
}
},
"xml"
:
{
"name"
:
"resultado"
}
},
"estadoNotificacion"
:
{
"type"
:
"object"
,
"properties"
:
{
"descripcion"
:
{
"type"
:
"string"
,
"description"
:
"Descripcion del estado."
}
},
"xml"
:
{
"name"
:
"estadoNotificacion"
}
},
"externoNotificacion"
:
{
"type"
:
"object"
,
"properties"
:
{
"documento"
:
{
"$ref"
:
"#/components/schemas/documentoNotificacion"
}
},
"xml"
:
{
"name"
:
"usuarioNotificacion"
}
},
"notificacionMedicamentoRequest"
:
{
"type"
:
"object"
,
"properties"
:
{
"notificacion"
:
{
"$ref"
:
"#/components/schemas/notificacionNotificacion"
}
},
"xml"
:
{
"name"
:
"notificacionMedicamentoRequest"
}
},
"notificacionNotificacion"
:
{
"type"
:
"object"
,
"properties"
:
{
"pedido"
:
{
"$ref"
:
"#/components/schemas/pedidoNotificacion"
},
"usuario"
:
{
"$ref"
:
"#/components/schemas/usuarioNotificacion"
},
"externo"
:
{
"$ref"
:
"#/components/schemas/externoNotificacion"
},
"estado"
:
{
"$ref"
:
"#/components/schemas/estadoNotificacion"
}
},
"xml"
:
{
"name"
:
"notificacionNotificacion"
}
},
"usuarioNotificacion"
:
{
"type"
:
"object"
,
"properties"
:
{
"documento"
:
{
"$ref"
:
"#/components/schemas/documentoNotificacion"
},
"telefono"
:
{
"type"
:
"string"
,
"description"
:
"Telefono del usuario."
}
},
"xml"
:
{
"name"
:
"usuarioNotificacion"
}
},
"pedidoNotificacion"
:
{
"type"
:
"object"
,
"properties"
:
{
"id"
:
{
"type"
:
"number"
,
"description"
:
"Numero de identificacion del pedido."
}
},
"xml"
:
{
"name"
:
"pedidoNotificacion"
}
},
"documentoNotificacion"
:
{
"type"
:
"object"
,
"properties"
:
{
"tipo"
:
{
"type"
:
"string"
,
"description"
:
"Tipo de documento."
},
"numero"
:
{
"type"
:
"number"
,
"description"
:
"Número de identificación del documento."
}
},
"xml"
:
{
"name"
:
"documentoNotificacion"
}
},
"horario"
:
{
"type"
:
"object"
,
"properties"
:
{
"id"
:
{
"type"
:
"number"
,
"description"
:
"Numero de identificacion del horario."
},
"rango"
:
{
"type"
:
"string"
,
"description"
:
"Rango del horario."
}
},
"xml"
:
{
"name"
:
"horario"
}
},
"respuestaNotificacion"
:
{
"type"
:
"object"
,
"properties"
:
{
"pedido"
:
{
"$ref"
:
"#/components/schemas/pedidoNotificacion"
},
"usuario"
:
{
"$ref"
:
"#/components/schemas/usuarioNotificacion"
}
},
"xml"
:
{
"name"
:
"respuestaNotificacion"
}
},
"obtenerHorario"
:
{
"type"
:
"object"
,
"properties"
:
{
"horario"
:
{
"type"
:
"array"
,
"items"
:{
"$ref"
:
"#/components/schemas/horario"
}
}
},
"xml"
:
{
"name"
:
"obtenerHorario"
}
},
"horarioMedicamentoResponse"
:
{
"type"
:
"object"
,
"required"
:
[
"resultado"
],
"properties"
:
{
"resultado"
:
{
"type"
:
"array"
,
"xml"
:
{
"name"
:
"resultado"
},
"items"
:
{
"$ref"
:
"#/components/schemas/resultado"
}
},
"obtenerHorario"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/components/schemas/obtenerHorario"
}
}
}
},
"notificacionMedicamentoResponse"
:
{
"type"
:
"object"
,
"required"
:
[
"resultado"
],
"properties"
:
{
"resultado"
:
{
"type"
:
"array"
,
"xml"
:
{
"name"
:
"resultado"
},
"items"
:
{
"$ref"
:
"#/components/schemas/resultadoNotificacion"
}
},
"respuestaNotificacion"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/components/schemas/respuestaNotificacion"
}
}
}
}
},
"requestBodies"
:
{
"notificacionMedicamentoRequestBody"
:
{
"content"
:
{
"application/json"
:
{
"schema"
:
{
"$ref"
:
"#/components/schemas/notificacionMedicamentoRequest"
}
}
},
"description"
:
"Información de la fórmula médica"
,
"required"
:
true
}
},
"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