Retrieve multiple Vote results based on search critera passed as GET Arguments
get/api/vote/
The endpoint for Votes (on Bills).
Securityapi_key and user_name
Request
query Parameters
all_votes
Array of integers <int64>
The newpersons that are associated with this vote.
NOTE: Parameter accepts additional qualifiers appended to the end: all_votes__overlaps - The value for the record has one or more values in common with the provided array parameter (comma-separated values).
category
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: category__in - The value for the record is in the provided array parameter (comma-separated values). category__isnull - The value for the record is null (if true) or is not null.
See the Enumeration Documentation CSV file located at Quorum_API_Enumeration_Values.csv, name VoteCategory, for an explanation of values.
Enum:12345678910111213141516
chamber
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: chamber__in - The value for the record is in the provided array parameter (comma-separated values).
See the Enumeration Documentation CSV file located at Quorum_API_Enumeration_Values.csv, name CongressChamber, for an explanation of values.
Enum:1234
created
string <date-time>
NOTE: Parameter accepts additional qualifiers appended to the end: created__year, created__month, created__day - The value for the record matches the provided year/month/day (note that week_day, hour, minute, and second are also available following similar patterns).
democrat_result
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: democrat_result__in - The value for the record is in the provided array parameter (comma-separated values). democrat_result__isnull - The value for the record is null (if true) or is not null.
See the Enumeration Documentation CSV file located at Quorum_API_Enumeration_Values.csv, name VoteResultType, for an explanation of values.
Enum:12345
id
integer <int64>
Quorum ID (Primary Key)
majority_result
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: majority_result__in - The value for the record is in the provided array parameter (comma-separated values). majority_result__isnull - The value for the record is null (if true) or is not null.
See the Enumeration Documentation CSV file located at Quorum_API_Enumeration_Values.csv, name VoteResultType, for an explanation of values.
Enum:12345
number
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: number__in - The value for the record is in the provided array parameter (comma-separated values). number__gt, number__gte, number__lt, number__lte - The value for the record is greater than/less than (or equal to) the provided parameter.
question
string
NOTE: Parameter accepts additional qualifiers appended to the end: question__in - The value for the record is in the provided array parameter (comma-separated values). question__contains, question__icontains - The value for the record contains the string provided as a parameter within it (partial match). (Use 'icontains' for matching to be done case-insensitive) question__startswith, question__istartswith - The value for the record starts with the string provided as a parameter. (Use 'istartswith' for matching to be done case-insensitive) question__endswith, question__iendswith - The value for the record ends with the string provided as a parameter within it (partial match). (Use 'iendswith' for matching to be done case-insensitive) question__iexact - The value for the record is a case-insensitive exact match to the provided parameter.
question_details
string
NOTE: Parameter accepts additional qualifiers appended to the end: question_details__in - The value for the record is in the provided array parameter (comma-separated values). question_details__contains, question_details__icontains - The value for the record contains the string provided as a parameter within it (partial match). (Use 'icontains' for matching to be done case-insensitive) question_details__startswith, question_details__istartswith - The value for the record starts with the string provided as a parameter. (Use 'istartswith' for matching to be done case-insensitive) question_details__endswith, question_details__iendswith - The value for the record ends with the string provided as a parameter within it (partial match). (Use 'iendswith' for matching to be done case-insensitive) question_details__iexact - The value for the record is a case-insensitive exact match to the provided parameter. question_details__isnull - The value for the record is null (if true) or is not null.
region
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: region__in - The value for the record is in the provided array parameter (comma-separated values).
The legsession with which this vote is associated.
NOTE: Parameter accepts additional qualifiers appended to the end: region_session__in - The value for the record is in the provided array parameter (comma-separated values). region_session__isnull - The value for the record is null (if true) or is not null.
related_amendment_id
integer <int64>
The newamendment with which this vote is associated.
NOTE: Parameter accepts additional qualifiers appended to the end: related_amendment__in - The value for the record is in the provided array parameter (comma-separated values). related_amendment__isnull - The value for the record is null (if true) or is not null.
related_bill_id
integer <int64>
The newbill with which this vote is associated.
NOTE: Parameter accepts additional qualifiers appended to the end: related_bill__in - The value for the record is in the provided array parameter (comma-separated values). related_bill__isnull - The value for the record is null (if true) or is not null.
republican_result
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: republican_result__in - The value for the record is in the provided array parameter (comma-separated values). republican_result__isnull - The value for the record is null (if true) or is not null.
See the Enumeration Documentation CSV file located at Quorum_API_Enumeration_Values.csv, name VoteResultType, for an explanation of values.
Enum:12345
required
string
NOTE: Parameter accepts additional qualifiers appended to the end: required__in - The value for the record is in the provided array parameter (comma-separated values). required__contains, required__icontains - The value for the record contains the string provided as a parameter within it (partial match). (Use 'icontains' for matching to be done case-insensitive) required__startswith, required__istartswith - The value for the record starts with the string provided as a parameter. (Use 'istartswith' for matching to be done case-insensitive) required__endswith, required__iendswith - The value for the record ends with the string provided as a parameter within it (partial match). (Use 'iendswith' for matching to be done case-insensitive) required__iexact - The value for the record is a case-insensitive exact match to the provided parameter.
result
string
NOTE: Parameter accepts additional qualifiers appended to the end: result__in - The value for the record is in the provided array parameter (comma-separated values). result__contains, result__icontains - The value for the record contains the string provided as a parameter within it (partial match). (Use 'icontains' for matching to be done case-insensitive) result__startswith, result__istartswith - The value for the record starts with the string provided as a parameter. (Use 'istartswith' for matching to be done case-insensitive) result__endswith, result__iendswith - The value for the record ends with the string provided as a parameter within it (partial match). (Use 'iendswith' for matching to be done case-insensitive) result__iexact - The value for the record is a case-insensitive exact match to the provided parameter.
result_type
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: result_type__in - The value for the record is in the provided array parameter (comma-separated values). result_type__isnull - The value for the record is null (if true) or is not null.
See the Enumeration Documentation CSV file located at Quorum_API_Enumeration_Values.csv, name VoteResultType, for an explanation of values.
Enum:12345
session
string
NOTE: Parameter accepts additional qualifiers appended to the end: session__in - The value for the record is in the provided array parameter (comma-separated values). session__contains, session__icontains - The value for the record contains the string provided as a parameter within it (partial match). (Use 'icontains' for matching to be done case-insensitive) session__startswith, session__istartswith - The value for the record starts with the string provided as a parameter. (Use 'istartswith' for matching to be done case-insensitive) session__endswith, session__iendswith - The value for the record ends with the string provided as a parameter within it (partial match). (Use 'iendswith' for matching to be done case-insensitive) session__iexact - The value for the record is a case-insensitive exact match to the provided parameter.
total_all
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: total_all__in - The value for the record is in the provided array parameter (comma-separated values). total_all__gt, total_all__gte, total_all__lt, total_all__lte - The value for the record is greater than/less than (or equal to) the provided parameter.
total_dem_all
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: total_dem_all__in - The value for the record is in the provided array parameter (comma-separated values). total_dem_all__gt, total_dem_all__gte, total_dem_all__lt, total_dem_all__lte - The value for the record is greater than/less than (or equal to) the provided parameter.
total_dem_minus
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: total_dem_minus__in - The value for the record is in the provided array parameter (comma-separated values). total_dem_minus__gt, total_dem_minus__gte, total_dem_minus__lt, total_dem_minus__lte - The value for the record is greater than/less than (or equal to) the provided parameter.
total_dem_other
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: total_dem_other__in - The value for the record is in the provided array parameter (comma-separated values). total_dem_other__gt, total_dem_other__gte, total_dem_other__lt, total_dem_other__lte - The value for the record is greater than/less than (or equal to) the provided parameter.
total_dem_plus
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: total_dem_plus__in - The value for the record is in the provided array parameter (comma-separated values). total_dem_plus__gt, total_dem_plus__gte, total_dem_plus__lt, total_dem_plus__lte - The value for the record is greater than/less than (or equal to) the provided parameter.
total_minus
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: total_minus__in - The value for the record is in the provided array parameter (comma-separated values). total_minus__gt, total_minus__gte, total_minus__lt, total_minus__lte - The value for the record is greater than/less than (or equal to) the provided parameter.
total_other
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: total_other__in - The value for the record is in the provided array parameter (comma-separated values). total_other__gt, total_other__gte, total_other__lt, total_other__lte - The value for the record is greater than/less than (or equal to) the provided parameter.
total_plus
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: total_plus__in - The value for the record is in the provided array parameter (comma-separated values). total_plus__gt, total_plus__gte, total_plus__lt, total_plus__lte - The value for the record is greater than/less than (or equal to) the provided parameter.
total_rep_all
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: total_rep_all__in - The value for the record is in the provided array parameter (comma-separated values). total_rep_all__gt, total_rep_all__gte, total_rep_all__lt, total_rep_all__lte - The value for the record is greater than/less than (or equal to) the provided parameter.
total_rep_minus
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: total_rep_minus__in - The value for the record is in the provided array parameter (comma-separated values). total_rep_minus__gt, total_rep_minus__gte, total_rep_minus__lt, total_rep_minus__lte - The value for the record is greater than/less than (or equal to) the provided parameter.
total_rep_other
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: total_rep_other__in - The value for the record is in the provided array parameter (comma-separated values). total_rep_other__gt, total_rep_other__gte, total_rep_other__lt, total_rep_other__lte - The value for the record is greater than/less than (or equal to) the provided parameter.
total_rep_plus
integer <int64>
NOTE: Parameter accepts additional qualifiers appended to the end: total_rep_plus__in - The value for the record is in the provided array parameter (comma-separated values). total_rep_plus__gt, total_rep_plus__gte, total_rep_plus__lt, total_rep_plus__lte - The value for the record is greater than/less than (or equal to) the provided parameter.
vote_type
string
NOTE: Parameter accepts additional qualifiers appended to the end: vote_type__in - The value for the record is in the provided array parameter (comma-separated values). vote_type__contains, vote_type__icontains - The value for the record contains the string provided as a parameter within it (partial match). (Use 'icontains' for matching to be done case-insensitive) vote_type__startswith, vote_type__istartswith - The value for the record starts with the string provided as a parameter. (Use 'istartswith' for matching to be done case-insensitive) vote_type__endswith, vote_type__iendswith - The value for the record ends with the string provided as a parameter within it (partial match). (Use 'iendswith' for matching to be done case-insensitive) vote_type__iexact - The value for the record is a case-insensitive exact match to the provided parameter.
advanced_search
string
Perform an advanced text search on the datset with the provided text. This search will use the most comprehensive search method available on the requested endpoint, but can take slightly longer to return results.
limit
integer <int64>
Default: 20
The number of records to return (for pagination).
offset
integer <int64>
Default: 0
The number of records to offset the start of the data being returned (for pagination).