List obras
Query parameters
Page number (1-indexed). Enables paginated mode when provided alongside
limit.Results per page. Clamped between
1 and 500.Column to sort by. Allowed values:
n, designacion_y_ubicacion, sup_de_obra_m2, entidad_contratante, mes_basico_de_contrato, iniciacion, contrato_mas_ampliaciones, certificado_a_la_fecha, saldo_a_certificar, segun_contrato, prorrogas_acordadas, plazo_total, plazo_transc, porcentaje, updated_at.Sort direction:
asc or desc.Filter by completion status. Accepted values:
completed (porcentaje = 100) or in-process (porcentaje < 100).Full-text search across
designacion_y_ubicacion, entidad_contratante, mes_basico_de_contrato, iniciacion, and numeric fields.Minimum surface area (m²).
Maximum surface area (m²).
Minimum completion percentage.
Maximum completion percentage.
Filter by one or more contracting entities. Repeat the parameter for multiple values:
?entidad=MUNICIPIO&entidad=PROVINCIA.Filter
mes_basico_de_contrato by year substring.Filter
iniciacion by year substring.Response
Array of obra objects.
Present only when
page or limit query params are supplied.false if the tenant database does not yet have the on_finish_* columns (older schema).- Request
- Response
Bulk upsert obras
porcentaje < 100 to porcentaje = 100, an obra.completed workflow event is emitted and any configured flujo actions are executed.
Request body
Full array of obras to persist. Each item must conform to the obra schema.
Response
Always
true on success.- Request
- Response
Get a single obra
Path parameters
UUID of the obra.
Response
The obra object. See field definitions under List obras.
- Request
- Response
Replace a single obra
porcentaje transitions to 100.
Path parameters
UUID of the obra.
Request body
All obra fields (same schema as the bulk PUT body items, excludingn as identifier — the id path param is authoritative).
Response
Always
true on success.Partially update a single obra
porcentaje transitions to or from 100.
Path parameters
UUID of the obra.
Request body
Any subset of obra fields.Response
Always
true on success.- Request
- Response
Delete a single obra
Path parameters
UUID of the obra.
Response
Always
true on success.Bulk patch obras
PUT /api/obras, this endpoint does not delete obras absent from the payload. Defaults are applied to newly created obras.
Request body
Array of obra objects to upsert. Each item must include either
id (UUID) or a positive n value as identifier. Minimum 1 item.Response
Always
true on success.Number of obras processed.
Whether
on_finish_* columns are available in this tenant’s schema.Get certificates for an obra
Path parameters
UUID of the obra.
Response
Array of certificate objects.
Sum of all certificate amounts.
Create a certificate for an obra
Path parameters
UUID of the obra.
Request body
Expedient number.
Certificate sequence number.
Certificate amount.
Billing month.
Certificate status.
Response
The newly created certificate object.
Get findings for an obra
Path parameters
UUID of the obra.
Query parameters
Optional period key to scope findings to a specific reporting period.
Response
Array of finding objects. Structure depends on the reporting rules configured for the tenant.
Get material orders for an obra
Path parameters
UUID of the obra.
Response
Array of material order objects.
Create a material order for an obra
Path parameters
UUID of the obra.
Request body
Order number.
Requestor name.
Manager name.
Supplier name.
Storage bucket for attached document.
Storage path for attached document.
Line items. Must contain at least one item.
Response
Always
true on success.