Instituciones

Punto de acceso

El API de Instituciones es accesible a través de las siguientes acciones:

Consulta https://www.transparencia.gob.sv/api/v1/institutions.json

Parámetros permitidos para la búsqueda

Nombre Descripción Ejemplo
start_at Fecha de creación desde https://www.transparencia.gob.sv/api/v1/institutions.json?start_at=2018-01-01
end_at Fecha de creación hasta https://www.transparencia.gob.sv/api/v1/institutions.json?end_at=2018-01-31
per_page Cantidad de registros por página (Valor por defecto: 100) https://www.transparencia.gob.sv/api/v1/institutions.json?per_page=100
page Número de página solicitada (Valor por defecto: 1) https://www.transparencia.gob.sv/api/v1/institutions.json?page=1

Estos parámetros pueden combinarse para realizarse alguna consulta más compleja:

https://www.transparencia.gob.sv/api/v1/institutions.json?end_at=2017-12-31&page=2&per_page=200&start_at=2012-01-01

Esquema de la tabla

Considere los campos character varying con una longitud de 255 carácteres

Nombre Tipo
id integer
name character varying
acronym character varying
avatar_file_name character varying
avatar_content_type character varying
avatar_file_size integer
avatar_updated_at timestamp without time zone
created_at timestamp without time zone
updated_at timestamp without time zone
institution_type_id integer
standard_category_id integer
enabled boolean
accepts_online_requests boolean
administrative_document_type integer
certification_amount numeric(12,2)
reproduction_amount numeric(12,2)
external_transparency_site_url character varying
facebook_url character varying
facebook_username character varying
officer_email character varying
officer_name character varying
twitter_url character varying
twitter_username character varying
website_url character varying
officer_designation_date date
administrative_document_file_name character varying
administrative_document_content_type character varying
administrative_document_file_size integer
administrative_document_updated_at timestamp without time zone
officer_designation_file_name character varying
officer_designation_content_type character varying
officer_designation_file_size integer
officer_designation_updated_at timestamp without time zone
score numeric(5,2)
rating_report_file_name character varying
rating_report_content_type character varying
rating_report_file_size integer
rating_report_updated_at timestamp without time zone
flickr_username character varying
flickr_url character varying
youtube_username character varying
youtube_url character varying
slug character varying