Skip to main content

List subquotas

GET /api/chamber_of_deputies/subquota/ Returns a list of all subquotas. Subquotas are the official expense categories defined by the CEAP (Quota for Exercising Parliamentary Activity) program. Every reimbursement belongs to one subquota. Examples of subquotas include meal expenses, fuel and lubricants, airline tickets, postal services, and publication of parliamentary activity.
q
string
Case-insensitive LIKE filter applied to the subquota description. Returns all subquotas whose name contains the given string.
count
number
required
Total number of subquotas matching the query.
next
string
URL of the next page of results, or null if this is the last page.
previous
string
URL of the previous page of results, or null if this is the first page.
results
object[]
required
Array of subquota objects.

Examples

List all subquotas
curl "https://jarbas.serenata.ai/api/chamber_of_deputies/subquota/"
Search by name
curl "https://jarbas.serenata.ai/api/chamber_of_deputies/subquota/?q=meal"
Example response
{
  "count": 2,
  "next": null,
  "previous": null,
  "results": [
    {
      "subquota_number": 13,
      "subquota_description": "Congressperson's meal"
    },
    {
      "subquota_number": 14,
      "subquota_description": "Meal for staff"
    }
  ]
}
Use the subquota_number values returned here as the subquota_number filter on the reimbursements endpoint to retrieve all reimbursements in a given expense category.

Build docs developers (and LLMs) love