public DistrictList getByOfficeState( String officeId, String stateId) throws VoteSmartException, VoteSmartErrorException {
    """
	This method grabs district IDs according to the office and state.
	
	@param officeId
	@param stateId
	@return {@link DistrictList}:
    """
		return api.query("District.getByOfficeState", new ArgMap("officeId", officeId, "stateId", stateId), DistrictList.class );
	}
public DistrictList getByOfficeState( String officeId, String stateId) throws VoteSmartException, VoteSmartErrorException {
		return api.query("District.getByOfficeState", new ArgMap("officeId", officeId, "stateId", stateId), DistrictList.class );
	}
public DistrictList getByOfficeState ( String officeId , String stateId ) throws VoteSmartException , VoteSmartErrorException { return api . query ( "District.getByOfficeState" , new ArgMap ( "officeId" , officeId , "stateId" , stateId ) , DistrictList . class ) ; }
This method grabs district IDs according to the office and state.

@param officeId
@param stateId
@return {@link DistrictList}:
This method grabs district IDs according to the office and state .