action parliament_get_bill { label: "Return a Bill." provider: parliament method: GET path: "/api/v1/Bills/{billId}" encoding: json input: { type: "object" properties: { billId: { type: "integer" format: "int32" } } required: ["billId"] additionalProperties: false } output: { type: "object" properties: { agent: { type: "object" properties: { address: { type: "string" } email: { type: "string" } name: { type: "string" } phoneNo: { type: "string" } website: { type: "string" } } additionalProperties: false } billId: { type: "integer" format: "int32" } billTypeId: { type: "integer" format: "int32" } billWithdrawn: { type: "string" format: "date-time" } currentHouse: { type: "string" enum: ["All", "Commons", "Lords", "Unassigned"] } currentStage: { type: "object" properties: { abbreviation: { type: "string" } description: { type: "string" } house: { type: "string" enum: ["All", "Commons", "Lords", "Unassigned"] } id: { type: "integer" format: "int32" } sessionId: { type: "integer" format: "int32" } sortOrder: { type: "integer" format: "int32" } stageId: { type: "integer" format: "int32" } stageSittings: { type: "array" items: { type: "object" properties: { billId: { type: "integer" format: "int32" } billStageId: { type: "integer" format: "int32" } date: { type: "string" format: "date-time" } id: { type: "integer" format: "int32" } stageId: { type: "integer" format: "int32" } } additionalProperties: false } } } additionalProperties: false } includedSessionIds: { type: "array" items: { type: "integer" format: "int32" } } introducedSessionId: { type: "integer" format: "int32" } isAct: { type: "boolean" } isDefeated: { type: "boolean" } lastUpdate: { type: "string" format: "date-time" } longTitle: { type: "string" } originatingHouse: { type: "string" enum: ["All", "Commons", "Lords", "Unassigned"] } petitionInformation: { type: "string" } petitioningPeriod: { type: "string" } promoters: { type: "array" items: { type: "object" properties: { organisationName: { type: "string" } organisationUrl: { type: "string" } } additionalProperties: false } } shortTitle: { type: "string" } sponsors: { type: "array" items: { type: "object" properties: { member: { type: "object" properties: { house: { type: "string" enum: ["All", "Commons", "Lords", "Unassigned"] } memberFrom: { type: "string" } memberId: { type: "integer" format: "int32" } memberPage: { type: "string" } memberPhoto: { type: "string" } name: { type: "string" } party: { type: "string" } partyColour: { type: "string" } } additionalProperties: false } organisation: { type: "object" properties: { name: { type: "string" } url: { type: "string" } } additionalProperties: false } sortOrder: { type: "integer" format: "int32" } } additionalProperties: false } } summary: { type: "string" } } additionalProperties: false } }