API de Dependencias

Obtén la lista de dependencias

Esta es la lista de dependencias (o compradores).

  • Url: http://www.contratosabiertos.cdmx.gob.mx/api/dependencias/todas
  • Método: GET
  • Respuesta: [
    {
    "id":1,
    "local_id":"0901",
    "uri":"http:\/\/www.contratosabiertos.cdmx.gob.mx",
    "name":"SECRETAR\u00cdA DE FINANZAS",
    "address_id":null,
    "contact_point_id":null,
    "created_at":"2016-05-03 21:46:33",
    "updated_at":"2016-05-03 21:46:33"
    },..
    ]

Obtén la relación entre dependencias y proveedores

Este endpoint contiene un resumen de la relación de las dependencias con cada proveedor.

  • Url: http://www.contratosabiertos.cdmx.gob.mx/api/dependencia-proveedor/{page?}
  • Método: GET
  • Respuesta: [
    {
    "id":21,
    "provider_id":21,
    "buyer_id":1,
    "tender_num":1,
    "award_num":1,
    "budget":9742882,
    "contract_budget":9742882,
    "created_at":"2016-05-15 23:44:17",
    "updated_at":"2016-05-15 23:44:17",
    "buyer":
    {
    "id":1,
    "local_id":"0901",
    "uri":"http:\/\/www.contratosabiertos.cdmx.gob.mx",
    "name":"SECRETAR\u00cdA DE FINANZAS",
    "address_id":null,
    "contact_point_id":null,
    "created_at":"2016-05-03 21:46:33",
    "updated_at":"2016-05-03 21:46:33"
    },
    "provider":
    {
    "id":21,
    "rfc":"SMI680112PG9",
    "name":"SERVICIOS MEXICANOS DE INGENIERIA",
    "total":null,
    "street":"AVENIDA COYOACAN",
    "locality":"BENITO JUAREZ",
    "region":"DF",
    "zip":"03100",
    "country":"MX",
    "contact_name":"ING. CARLOS DAVID SANCHEZ PE\u00d1ALOZA",
    "email":"atecion.clientes@semicmex.com.mx",
    "phone":"55756287",
    "fax":"55756287",
    "url":"WWW.SEMICMEX.COM.MX",
    "created_at":"2016-05-03 21:46:48",
    "updated_at":"2016-05-12 04:46:30",
    "tender_num":1,
    "award_num":1,
    "budget":9742882.48,
    "contract_budget":9742882.48
    }
    }, ...
    ]