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
5352befa
Commit
5352befa
authored
Mar 11, 2019
by
Edwin Ferreira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new file
parent
04c3aa87
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
272 additions
and
0 deletions
+272
-0
tecnologia-localizacion.json
apigee/tecnologia-localizacion.json
+272
-0
No files found.
apigee/tecnologia-localizacion.json
0 → 100644
View file @
5352befa
{
"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 lo tecnologia."
,
"version"
:
"1.0.0"
,
"title"
:
"Tecnologia localizacion"
,
"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-tecnologia-localizacion"
,
"description"
:
"Consulta de localizacion de una direccion."
}
],
"paths"
:
{
"/v1/tecnologia/localizacion"
:
{
"get"
:
{
"tags"
:
[
"cols-tecnologia-localizacion"
],
"summary"
:
"Consulta georeferencia"
,
"description"
:
"Obtener informacion de la ubicacion de una direccion"
,
"operationId"
:
"obtenerGeoReferencia"
,
"parameters"
:
[
{
"name"
:
"codDane"
,
"in"
:
"query"
,
"description"
:
"Codigo DANE de la ciudad."
,
"required"
:
true
,
"schema"
:
{
"type"
:
"string"
}
},
{
"name"
:
"dir"
,
"in"
:
"query"
,
"description"
:
"Direccion del lugar."
,
"required"
:
true
,
"schema"
:
{
"type"
:
"string"
}
}
],
"responses"
:
{
"200"
:
{
"description"
:
"Operación exitosa"
,
"content"
:
{
"application/json"
:
{
"schema"
:
{
"$ref"
:
"#/components/schemas/obtenerGeoReferenciaResponse"
}
}
}
},
"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"
}
},
"localidad"
:
{
"type"
:
"object"
,
"properties"
:
{
"nombre"
:
{
"type"
:
"string"
,
"description"
:
"Nombre de localidad."
}
},
"xml"
:
{
"name"
:
"localidad"
}
},
"coordenadasGeograficas"
:
{
"type"
:
"object"
,
"properties"
:
{
"latitud"
:
{
"type"
:
"string"
,
"description"
:
"Latitud de la direccion principal."
},
"longitud"
:
{
"type"
:
"string"
,
"description"
:
"Longitud de la direccion principal."
}
},
"xml"
:
{
"name"
:
"coordenadasGeograficas"
}
},
"ubicacionP"
:
{
"type"
:
"object"
,
"properties"
:
{
"tipo"
:
{
"type"
:
"string"
,
"description"
:
"Barrio de ubicacion principal."
},
"localidad"
:
{
"$ref"
:
"#/components/schemas/localidad"
},
"barrio"
:
{
"type"
:
"string"
,
"description"
:
"Barrio de ubicacion principal."
},
"estrato"
:
{
"type"
:
"string"
,
"description"
:
"Estrato de ubicacion principal."
},
"manzana"
:
{
"type"
:
"string"
,
"description"
:
"Manzana de ubicacion principal."
},
"eqmz"
:
{
"type"
:
"string"
,
"description"
:
"Eqmz de ubicacion principal."
},
"zona"
:
{
"type"
:
"array"
,
"items"
:
{}
}
},
"xml"
:
{
"name"
:
"ubicacion[0]"
}
},
"direccion"
:
{
"type"
:
"object"
,
"properties"
:
{
"localidad"
:
{
"$ref"
:
"#/components/schemas/localidad"
},
"coordenadasGeograficas"
:
{
"$ref"
:
"#/components/schemas/coordenadasGeograficas"
},
"ubicacion"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/components/schemas/ubicacionP"
}
},
"barrioTraducido"
:
{
"type"
:
"string"
,
"description"
:
"Nombre del barrio de la direccion principal."
},
"direccionPrincipal"
:
{
"type"
:
"string"
,
"description"
:
"Direccion principal traducida."
},
"direccionSecundaria"
:
{
"type"
:
"string"
,
"description"
:
"Direccion alterna."
},
"codigo"
:
{
"type"
:
"string"
,
"description"
:
"Codigo de la direccion."
},
"codigoEncontrado"
:
{
"type"
:
"string"
,
"description"
:
"Codigo encontrado de la direccion."
}
},
"xml"
:
{
"name"
:
"direccion"
}
},
"obtenerGeoReferencia"
:
{
"type"
:
"object"
,
"properties"
:
{
"direccion"
:
{
"$ref"
:
"#/components/schemas/direccion"
},
"estado"
:
{
"type"
:
"string"
,
"description"
:
"Estado."
},
"fuente"
:
{
"type"
:
"string"
,
"description"
:
"Fuente."
}
},
"xml"
:
{
"name"
:
"obtenerGeoReferencia"
}
},
"obtenerGeoReferenciaResponse"
:
{
"type"
:
"object"
,
"required"
:
[
"resultado"
],
"properties"
:
{
"resultado"
:
{
"type"
:
"array"
,
"xml"
:
{
"name"
:
"resultado"
},
"items"
:
{
"$ref"
:
"#/components/schemas/resultado"
}
},
"obtenerGeoReferencia"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/components/schemas/obtenerGeoReferencia"
}
}
}
}
},
"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