Bill Summary

The endpoint for summaries of Bills.

Retrieve multiple Bill Summaries based on search critera passed as GET Arguments

get/newbillsummary/
Securityapi_key and username
Request
query Parameters
bill_id
integer <int64>

The newbill with which this billsummary is associated.

NOTE: Parameter accepts additional qualifiers appended to the end:
bill__in - The value for the record is in the provided array parameter (comma-separated values).

dehydrate
Array of strings

Option to provide additional detail for certain fields, either by expanding those fields with additional details from the related model or by substituting more informative values for the actual database values.
resource_uri - expand resource_uri with additional details.
NOTE: This parameter can accept one or more comma-separated values; it is not limited to a single value.

Items Value: "resource_uri"
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).

Responses
200

NewBillSummary retrieved successfully

400

improperly configured request

401

authorization failure

500

internal server error

Response samples
application/json
{
  • "_extra": { },
  • "bill": "/api/newbill/1/",
  • "content": "string",
  • "id": 0,
  • "modified": "2019-08-24T14:15:22Z",
  • "resource_uri": "string"
}

Retrieve information on a single Bill Summary

get/newbillsummary/{id}/
Securityapi_key and username
Request
path Parameters
id
required
integer <int64>

Quorum ID (Primary Key)

query Parameters
dehydrate
Array of strings

Option to provide additional detail for certain fields, either by expanding those fields with additional details from the related model or by substituting more informative values for the actual database values.
resource_uri - expand resource_uri with additional details.
NOTE: This parameter can accept one or more comma-separated values; it is not limited to a single value.

Items Value: "resource_uri"
Responses
200

NewBillSummary retrieved successfully

400

improperly configured request

401

authorization failure

500

internal server error

Response samples
application/json
{
  • "_extra": { },
  • "bill": "/api/newbill/1/",
  • "content": "string",
  • "id": 0,
  • "modified": "2019-08-24T14:15:22Z",
  • "resource_uri": "string"
}