Reference for https://budget.lis.virginia.gov/BudgetPortalWebService/Budget.Bills.3.ListOfPart12YearSessionBillNumberTypeSecretariatItems/{SESSIONYEAR}/{SESSIONTYPE}/{BILLNUMBER}/{BILLTYPE}/{BILLPART}/{SECRETARIATSHORTNAME}/
This service returns a list of Items associated with a particular Year, Session, Bill Number, Bill Type, Bill Part and Secretariat for Parts 1 and 2
Url: https://budget.lis.virginia.gov/BudgetPortalWebService/Budget.Bills.3.ListOfPart12YearSessionBillNumberTypeSecretariatItems/{SESSIONYEAR}/{SESSIONTYPE}/{BILLNUMBER}/{BILLTYPE}/{BILLPART}/{SECRETARIATSHORTNAME}/
HTTP Method: GET
Message direction | Format | Body |
---|---|---|
Request | N/A | The Request body is empty. |
Response | Xml | Example,Schema |
Response | Json | Example |
The following is an example response Xml body:
<SecretariatWebService xmlns="http://schemas.datacontract.org/2004/07/"> <SecretariatName>String content</SecretariatName> <ShortName>String content</ShortName> <BudgetPart>String content</BudgetPart> <BudgetRound>String content</BudgetRound> <BienniumY1>String content</BienniumY1> <BienniumY2>String content</BienniumY2> <TotalsYear1>String content</TotalsYear1> <TotalsYear2>String content</TotalsYear2> <AmendedTotalsYear1>String content</AmendedTotalsYear1> <AmendedTotalsYear2>String content</AmendedTotalsYear2> <ResponsibleAgencies> <ResponsibleAgencyWebService> <ResponsibleAgencyName>String content</ResponsibleAgencyName> <ResponsibleAgencyShortName>String content</ResponsibleAgencyShortName> <AmendedResponsibleAgencyName>String content</AmendedResponsibleAgencyName> <AgencyItems> <AgencyWebService> <AgencyName>String content</AgencyName> <AgencyShortName>String content</AgencyShortName> <AgencyCode>String content</AgencyCode> <SecretariatShortName>String content</SecretariatShortName> <ResponsibleAgencyShortName>String content</ResponsibleAgencyShortName> <FY1>String content</FY1> <FY2>String content</FY2> <AmendedFY1>String content</AmendedFY1> <AmendedFY2>String content</AmendedFY2> <SumSufficient>true</SumSufficient> <AmendedSumSufficient>true</AmendedSumSufficient> <NewItem>true</NewItem> <StrickenItem>true</StrickenItem> <AmendedAgencyName>String content</AmendedAgencyName> <PartNum>String content</PartNum> <ExpenseItemID>String content</ExpenseItemID> <ExpenseItemNumber>String content</ExpenseItemNumber> <Program>String content</Program> <ProgramCode>String content</ProgramCode> <AmendedProgram>String content</AmendedProgram> <AmendedProgramCode>String content</AmendedProgramCode> <TotalDollarsSubAgyFY1>String content</TotalDollarsSubAgyFY1> <TotalDollarsSubAgyFY2>String content</TotalDollarsSubAgyFY2> <TotalAmendedDollarsSubAgyFY1>String content</TotalAmendedDollarsSubAgyFY1> <TotalAmendedDollarsSubAgyFY2>String content</TotalAmendedDollarsSubAgyFY2> <IsSumSufEstAt>true</IsSumSufEstAt> <AmendedIsSumSufEstAt>true</AmendedIsSumSufEstAt> <IsNotSetOut>true</IsNotSetOut> <IsOmitted>true</IsOmitted> </AgencyWebService> <AgencyWebService> <AgencyName>String content</AgencyName> <AgencyShortName>String content</AgencyShortName> <AgencyCode>String content</AgencyCode> <SecretariatShortName>String content</SecretariatShortName> <ResponsibleAgencyShortName>String content</ResponsibleAgencyShortName> <FY1>String content</FY1> <FY2>String content</FY2> <AmendedFY1>String content</AmendedFY1> <AmendedFY2>String content</AmendedFY2> <SumSufficient>true</SumSufficient> <AmendedSumSufficient>true</AmendedSumSufficient> <NewItem>true</NewItem> <StrickenItem>true</StrickenItem> <AmendedAgencyName>String content</AmendedAgencyName> <PartNum>String content</PartNum> <ExpenseItemID>String content</ExpenseItemID> <ExpenseItemNumber>String content</ExpenseItemNumber> <Program>String content</Program> <ProgramCode>String content</ProgramCode> <AmendedProgram>String content</AmendedProgram> <AmendedProgramCode>String content</AmendedProgramCode> <TotalDollarsSubAgyFY1>String content</TotalDollarsSubAgyFY1> <TotalDollarsSubAgyFY2>String content</TotalDollarsSubAgyFY2> <TotalAmendedDollarsSubAgyFY1>String content</TotalAmendedDollarsSubAgyFY1> <TotalAmendedDollarsSubAgyFY2>String content</TotalAmendedDollarsSubAgyFY2> <IsSumSufEstAt>true</IsSumSufEstAt> <AmendedIsSumSufEstAt>true</AmendedIsSumSufEstAt> <IsNotSetOut>true</IsNotSetOut> <IsOmitted>true</IsOmitted> </AgencyWebService> </AgencyItems> </ResponsibleAgencyWebService> <ResponsibleAgencyWebService> <ResponsibleAgencyName>String content</ResponsibleAgencyName> <ResponsibleAgencyShortName>String content</ResponsibleAgencyShortName> <AmendedResponsibleAgencyName>String content</AmendedResponsibleAgencyName> <AgencyItems> <AgencyWebService> <AgencyName>String content</AgencyName> <AgencyShortName>String content</AgencyShortName> <AgencyCode>String content</AgencyCode> <SecretariatShortName>String content</SecretariatShortName> <ResponsibleAgencyShortName>String content</ResponsibleAgencyShortName> <FY1>String content</FY1> <FY2>String content</FY2> <AmendedFY1>String content</AmendedFY1> <AmendedFY2>String content</AmendedFY2> <SumSufficient>true</SumSufficient> <AmendedSumSufficient>true</AmendedSumSufficient> <NewItem>true</NewItem> <StrickenItem>true</StrickenItem> <AmendedAgencyName>String content</AmendedAgencyName> <PartNum>String content</PartNum> <ExpenseItemID>String content</ExpenseItemID> <ExpenseItemNumber>String content</ExpenseItemNumber> <Program>String content</Program> <ProgramCode>String content</ProgramCode> <AmendedProgram>String content</AmendedProgram> <AmendedProgramCode>String content</AmendedProgramCode> <TotalDollarsSubAgyFY1>String content</TotalDollarsSubAgyFY1> <TotalDollarsSubAgyFY2>String content</TotalDollarsSubAgyFY2> <TotalAmendedDollarsSubAgyFY1>String content</TotalAmendedDollarsSubAgyFY1> <TotalAmendedDollarsSubAgyFY2>String content</TotalAmendedDollarsSubAgyFY2> <IsSumSufEstAt>true</IsSumSufEstAt> <AmendedIsSumSufEstAt>true</AmendedIsSumSufEstAt> <IsNotSetOut>true</IsNotSetOut> <IsOmitted>true</IsOmitted> </AgencyWebService> <AgencyWebService> <AgencyName>String content</AgencyName> <AgencyShortName>String content</AgencyShortName> <AgencyCode>String content</AgencyCode> <SecretariatShortName>String content</SecretariatShortName> <ResponsibleAgencyShortName>String content</ResponsibleAgencyShortName> <FY1>String content</FY1> <FY2>String content</FY2> <AmendedFY1>String content</AmendedFY1> <AmendedFY2>String content</AmendedFY2> <SumSufficient>true</SumSufficient> <AmendedSumSufficient>true</AmendedSumSufficient> <NewItem>true</NewItem> <StrickenItem>true</StrickenItem> <AmendedAgencyName>String content</AmendedAgencyName> <PartNum>String content</PartNum> <ExpenseItemID>String content</ExpenseItemID> <ExpenseItemNumber>String content</ExpenseItemNumber> <Program>String content</Program> <ProgramCode>String content</ProgramCode> <AmendedProgram>String content</AmendedProgram> <AmendedProgramCode>String content</AmendedProgramCode> <TotalDollarsSubAgyFY1>String content</TotalDollarsSubAgyFY1> <TotalDollarsSubAgyFY2>String content</TotalDollarsSubAgyFY2> <TotalAmendedDollarsSubAgyFY1>String content</TotalAmendedDollarsSubAgyFY1> <TotalAmendedDollarsSubAgyFY2>String content</TotalAmendedDollarsSubAgyFY2> <IsSumSufEstAt>true</IsSumSufEstAt> <AmendedIsSumSufEstAt>true</AmendedIsSumSufEstAt> <IsNotSetOut>true</IsNotSetOut> <IsOmitted>true</IsOmitted> </AgencyWebService> </AgencyItems> </ResponsibleAgencyWebService> </ResponsibleAgencies> </SecretariatWebService>
The following is an example response Json body:
{ "SecretariatName":"String content", "ShortName":"String content", "BudgetPart":"String content", "BudgetRound":"String content", "BienniumY1":"String content", "BienniumY2":"String content", "TotalsYear1":"String content", "TotalsYear2":"String content", "AmendedTotalsYear1":"String content", "AmendedTotalsYear2":"String content", "ResponsibleAgencies":[{ "ResponsibleAgencyName":"String content", "ResponsibleAgencyShortName":"String content", "AmendedResponsibleAgencyName":"String content", "AgencyItems":[{ "AgencyName":"String content", "AgencyShortName":"String content", "AgencyCode":"String content", "SecretariatShortName":"String content", "ResponsibleAgencyShortName":"String content", "FY1":"String content", "FY2":"String content", "AmendedFY1":"String content", "AmendedFY2":"String content", "SumSufficient":true, "AmendedSumSufficient":true, "NewItem":true, "StrickenItem":true, "AmendedAgencyName":"String content", "PartNum":"String content", "ExpenseItemID":"String content", "ExpenseItemNumber":"String content", "Program":"String content", "ProgramCode":"String content", "AmendedProgram":"String content", "AmendedProgramCode":"String content", "TotalDollarsSubAgyFY1":"String content", "TotalDollarsSubAgyFY2":"String content", "TotalAmendedDollarsSubAgyFY1":"String content", "TotalAmendedDollarsSubAgyFY2":"String content", "IsSumSufEstAt":true, "AmendedIsSumSufEstAt":true, "IsNotSetOut":true, "IsOmitted":true }] }] }
The following is the response Xml Schema:
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:complexType name="SecretariatWebService"> <xs:sequence> <xs:element minOccurs="0" name="SecretariatName" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ShortName" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="BudgetPart" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="BudgetRound" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="BienniumY1" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="BienniumY2" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="TotalsYear1" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="TotalsYear2" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="AmendedTotalsYear1" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="AmendedTotalsYear2" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ResponsibleAgencies" nillable="true" type="tns:ArrayOfResponsibleAgencyWebService" /> </xs:sequence> </xs:complexType> <xs:element name="SecretariatWebService" nillable="true" type="tns:SecretariatWebService" /> <xs:complexType name="ArrayOfResponsibleAgencyWebService"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="ResponsibleAgencyWebService" nillable="true" type="tns:ResponsibleAgencyWebService" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfResponsibleAgencyWebService" nillable="true" type="tns:ArrayOfResponsibleAgencyWebService" /> <xs:complexType name="ResponsibleAgencyWebService"> <xs:sequence> <xs:element minOccurs="0" name="ResponsibleAgencyName" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ResponsibleAgencyShortName" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="AmendedResponsibleAgencyName" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="AgencyItems" nillable="true" type="tns:ArrayOfAgencyWebService" /> </xs:sequence> </xs:complexType> <xs:element name="ResponsibleAgencyWebService" nillable="true" type="tns:ResponsibleAgencyWebService" /> <xs:complexType name="ArrayOfAgencyWebService"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="AgencyWebService" nillable="true" type="tns:AgencyWebService" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfAgencyWebService" nillable="true" type="tns:ArrayOfAgencyWebService" /> <xs:complexType name="AgencyWebService"> <xs:sequence> <xs:element minOccurs="0" name="AgencyName" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="AgencyShortName" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="AgencyCode" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="SecretariatShortName" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ResponsibleAgencyShortName" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="FY1" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="FY2" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="AmendedFY1" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="AmendedFY2" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="SumSufficient" type="xs:boolean" /> <xs:element minOccurs="0" name="AmendedSumSufficient" type="xs:boolean" /> <xs:element minOccurs="0" name="NewItem" type="xs:boolean" /> <xs:element minOccurs="0" name="StrickenItem" type="xs:boolean" /> <xs:element minOccurs="0" name="AmendedAgencyName" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="PartNum" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ExpenseItemID" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ExpenseItemNumber" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Program" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ProgramCode" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="AmendedProgram" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="AmendedProgramCode" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="TotalDollarsSubAgyFY1" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="TotalDollarsSubAgyFY2" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="TotalAmendedDollarsSubAgyFY1" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="TotalAmendedDollarsSubAgyFY2" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="IsSumSufEstAt" type="xs:boolean" /> <xs:element minOccurs="0" name="AmendedIsSumSufEstAt" type="xs:boolean" /> <xs:element minOccurs="0" name="IsNotSetOut" type="xs:boolean" /> <xs:element minOccurs="0" name="IsOmitted" type="xs:boolean" /> </xs:sequence> </xs:complexType> <xs:element name="AgencyWebService" nillable="true" type="tns:AgencyWebService" /> </xs:schema>
Additional response Xml Schemas:
<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="anyType" nillable="true" type="xs:anyType" /> <xs:element name="anyURI" nillable="true" type="xs:anyURI" /> <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" /> <xs:element name="boolean" nillable="true" type="xs:boolean" /> <xs:element name="byte" nillable="true" type="xs:byte" /> <xs:element name="dateTime" nillable="true" type="xs:dateTime" /> <xs:element name="decimal" nillable="true" type="xs:decimal" /> <xs:element name="double" nillable="true" type="xs:double" /> <xs:element name="float" nillable="true" type="xs:float" /> <xs:element name="int" nillable="true" type="xs:int" /> <xs:element name="long" nillable="true" type="xs:long" /> <xs:element name="QName" nillable="true" type="xs:QName" /> <xs:element name="short" nillable="true" type="xs:short" /> <xs:element name="string" nillable="true" type="xs:string" /> <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" /> <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" /> <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" /> <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" /> <xs:element name="char" nillable="true" type="tns:char" /> <xs:simpleType name="char"> <xs:restriction base="xs:int" /> </xs:simpleType> <xs:element name="duration" nillable="true" type="tns:duration" /> <xs:simpleType name="duration"> <xs:restriction base="xs:duration"> <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" /> <xs:minInclusive value="-P10675199DT2H48M5.4775808S" /> <xs:maxInclusive value="P10675199DT2H48M5.4775807S" /> </xs:restriction> </xs:simpleType> <xs:element name="guid" nillable="true" type="tns:guid" /> <xs:simpleType name="guid"> <xs:restriction base="xs:string"> <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" /> </xs:restriction> </xs:simpleType> <xs:attribute name="FactoryType" type="xs:QName" /> <xs:attribute name="Id" type="xs:ID" /> <xs:attribute name="Ref" type="xs:IDREF" /> </xs:schema>
<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema"> <tns:element name="schema"> <tns:complexType /> </tns:element> </tns:schema>