action fec_get_schedules_schedule_b_sub_id { label: "get_schedules_schedule_b_sub_id" description: "\nSchedule B filings describe itemized disbursements. This data\nexplains how committees and other filers spend their money. These figures are\nreported as part of forms F3, F3X and F3P.\n\nThe data is divided in two-year periods, called `two_year_transaction_period`, which\nis derived from the `report_year` submitted of the corresponding form. If no value is supplied, the results will\ndefault to the most recent two-year period that is named after the ending,\neven-numbered year.\n\nDue to the large quantity of Schedule B filings, this endpoint is not paginated by\npage number. Instead, you can request the next page of results by adding the values in\nthe `last_indexes` object from `pagination` to the URL of your last request. For\nexample, when sorting by `disbursement_date`, you might receive a page of\nresults with the following pagination information:\n\n```\npagination: {\n pages: 965191,\n per_page: 20,\n count: 19303814,\n last_indexes: {\n last_index: \"230906248\",\n last_disbursement_date: \"2014-07-04\"\n }\n}\n```\n\nTo fetch the next page of sorted results, append `last_index=230906248` and\n`last_disbursement_date=2014-07-04` to the URL. We strongly advise paging through\nthese results by using the sort indices (defaults to sort by disbursement date, e.g.\n`last_disbursement_date`), otherwise some resources may be unintentionally filtered out.\nThis resource uses keyset pagination to improve query performance\nand these indices are required to properly page through this large dataset.\n\nNote: because the Schedule B data includes many records, counts for\nlarge result sets are approximate; you will want to page through the records until no records are returned.\n" provider: fec method: GET path: "/schedules/schedule_b/{sub_id}/" encoding: json input: { type: "object" properties: { api_key: { type: "string" } committee_id: { type: "array" items: { type: "string" } } disbursement_description: { type: "array" items: { type: "string" } } disbursement_purpose_category: { type: "array" items: { type: "string" } } image_number: { type: "array" items: { type: "string" } } last_disbursement_amount: { type: "number" format: "float" } last_disbursement_date: { type: "string" format: "date" } last_index: { type: "integer" format: "int32" } line_number: { type: "string" } max_amount: { type: "string" } max_date: { type: "string" format: "date" } max_image_number: { type: "string" } min_amount: { type: "string" } min_date: { type: "string" format: "date" } min_image_number: { type: "string" } per_page: { type: "integer" format: "int32" } recipient_city: { type: "array" items: { type: "string" } } recipient_committee_id: { type: "array" items: { type: "string" } } recipient_name: { type: "array" items: { type: "string" } } recipient_state: { type: "array" items: { type: "string" } } sort: { type: "string" } sort_hide_null: { type: "boolean" } sort_null_only: { type: "boolean" } spender_committee_designation: { type: "array" items: { type: "string" enum: ["", "A", "J", "P", "U", "B", "D"] } } spender_committee_org_type: { type: "array" items: { type: "string" enum: ["", "C", "L", "M", "T", "V", "W"] } } spender_committee_type: { type: "array" items: { type: "string" enum: ["", "C", "D", "E", "H", "I", "N", "O", "P", "Q", "S", "U", "V", "W", "X", "Y", "Z"] } } sub_id: { type: "string" } two_year_transaction_period: { type: "array" items: { type: "integer" format: "int32" } } } required: ["api_key", "sub_id"] additionalProperties: false } output: { type: "object" additionalProperties: true } }