The endpoint for managing your organization's stance (Support, Oppose, Neutral, etc.) on a piece of legislation. Stances may be associated with a bill, amendment, vote, regulation, document, docket, project, or article.
Creating or updating a stance (POST): the following fields are required on every POST:
data_type — the QuorumDataType value describing what the stance is for (e.g. 2 for bill, 3 for vote, 4 for amendment). This disambiguates which related object the stance points to.organization — the URI of the organization the stance belongs to (e.g. /api/organization/1/).last_user — the URI of the API user recording the stance (e.g. /api/user/1/).bill, amendment, vote, regulation, etc. — matching the data_type. The correct related-object field for a given data_type is that type's related_field.POST missing any of these required fields returns HTTP 422.(organization, related_object) pair, the POST is treated as an update for stance, archived, and last_user — you do not need to look up the existing record first.
| amendment_id | integer <int64> The newamendment with which this legislativestance is associated. NOTE: Parameter accepts additional qualifiers appended to the end: |
| archived | boolean |
| article | integer <int64> NOTE: Parameter accepts additional qualifiers appended to the end: |
| bill_id | integer <int64> The newbill with which this legislativestance is associated. NOTE: Parameter accepts additional qualifiers appended to the end: |
| docket_id | integer <int64> The docket with which this legislativestance is associated. NOTE: Parameter accepts additional qualifiers appended to the end: |
| document_id | integer <int64> The newdocument with which this legislativestance is associated. NOTE: Parameter accepts additional qualifiers appended to the end: |
| id | integer <int64> Quorum ID (Primary Key) |
| project_id | integer <int64> The project with which this legislativestance is associated. NOTE: Parameter accepts additional qualifiers appended to the end: |
| regulation_id | integer <int64> The regulation with which this legislativestance is associated. NOTE: Parameter accepts additional qualifiers appended to the end: |
| stance | integer <int64> NOTE: Parameter accepts additional qualifiers appended to the end: See the Enumeration Documentation CSV file located at Quorum_API_Enumeration_Values.csv, name LegislativeStanceType, for an explanation of values. |
| vote_id | integer <int64> The vote with which this legislativestance is associated. NOTE: Parameter accepts additional qualifiers appended to the end: |
| 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). |
LegislativeStance retrieved successfully
improperly configured request
authorization failure
internal server error
{- "_extra": { },
- "amendment": "/api/newamendment/1/",
- "amendment_id": "/api/newamendment/1/",
- "archived": false,
- "article": 0,
- "bill": "/api/newbill/1/",
- "bill_id": "/api/newbill/1/",
- "created": "2019-08-24T14:15:22Z",
- "data_type": 2,
- "docket": "/api/regulationdocket/1/",
- "document": "/api/newdocument/1/",
- "document_id": "/api/newdocument/1/",
- "id": 0,
- "last_user": "/api/user/1/",
- "organization": "/api/organization/1/",
- "project": "/api/project/1/",
- "regulation": "/api/regulation/1/",
- "resource_uri": "string",
- "stance": 0,
- "stance_type": 1,
- "updated": "2019-08-24T14:15:22Z",
- "vote": "/api/vote/1/",
- "vote_id": "/api/vote/1/"
}| archived | boolean |
| last_user_id | string <{"id": QUORUM_ID}> The quorumuser with which this legislativestance is associated. |
| stance | integer <int64> See the Enumeration Documentation CSV file located at Quorum_API_Enumeration_Values.csv, name LegislativeStanceType, for an explanation of values. |
LegislativeStance retrieved successfully
improperly configured request
authorization failure
internal server error
{- "archived": true,
- "last_user_id": "string",
- "stance": 0
}{- "_extra": { },
- "amendment": "/api/newamendment/1/",
- "amendment_id": "/api/newamendment/1/",
- "archived": false,
- "article": 0,
- "bill": "/api/newbill/1/",
- "bill_id": "/api/newbill/1/",
- "created": "2019-08-24T14:15:22Z",
- "data_type": 2,
- "docket": "/api/regulationdocket/1/",
- "document": "/api/newdocument/1/",
- "document_id": "/api/newdocument/1/",
- "id": 0,
- "last_user": "/api/user/1/",
- "organization": "/api/organization/1/",
- "project": "/api/project/1/",
- "regulation": "/api/regulation/1/",
- "resource_uri": "string",
- "stance": 0,
- "stance_type": 1,
- "updated": "2019-08-24T14:15:22Z",
- "vote": "/api/vote/1/",
- "vote_id": "/api/vote/1/"
}LegislativeStance retrieved successfully
improperly configured request
authorization failure
internal server error
{- "_extra": { },
- "amendment": "/api/newamendment/1/",
- "amendment_id": "/api/newamendment/1/",
- "archived": false,
- "article": 0,
- "bill": "/api/newbill/1/",
- "bill_id": "/api/newbill/1/",
- "created": "2019-08-24T14:15:22Z",
- "data_type": 2,
- "docket": "/api/regulationdocket/1/",
- "document": "/api/newdocument/1/",
- "document_id": "/api/newdocument/1/",
- "id": 0,
- "last_user": "/api/user/1/",
- "organization": "/api/organization/1/",
- "project": "/api/project/1/",
- "regulation": "/api/regulation/1/",
- "resource_uri": "string",
- "stance": 0,
- "stance_type": 1,
- "updated": "2019-08-24T14:15:22Z",
- "vote": "/api/vote/1/",
- "vote_id": "/api/vote/1/"
}| archived | boolean |
| last_user_id | string <{"id": QUORUM_ID}> The quorumuser with which this legislativestance is associated. |
| stance | integer <int64> See the Enumeration Documentation CSV file located at Quorum_API_Enumeration_Values.csv, name LegislativeStanceType, for an explanation of values. |
LegislativeStance retrieved successfully
improperly configured request
authorization failure
internal server error
{- "archived": true,
- "last_user_id": "string",
- "stance": 0
}{- "_extra": { },
- "amendment": "/api/newamendment/1/",
- "amendment_id": "/api/newamendment/1/",
- "archived": false,
- "article": 0,
- "bill": "/api/newbill/1/",
- "bill_id": "/api/newbill/1/",
- "created": "2019-08-24T14:15:22Z",
- "data_type": 2,
- "docket": "/api/regulationdocket/1/",
- "document": "/api/newdocument/1/",
- "document_id": "/api/newdocument/1/",
- "id": 0,
- "last_user": "/api/user/1/",
- "organization": "/api/organization/1/",
- "project": "/api/project/1/",
- "regulation": "/api/regulation/1/",
- "resource_uri": "string",
- "stance": 0,
- "stance_type": 1,
- "updated": "2019-08-24T14:15:22Z",
- "vote": "/api/vote/1/",
- "vote_id": "/api/vote/1/"
}