Retrieves a filterable list of legislative processes. Returns up to 64 processes per request, which can be filtered by various criteria including time range, parliament, and electoral period.
curl -X GET \
-H "Accept: application/json" \
"http://localhost/api/v2/vorgang?since=2024-01-01T00:00Z&until=2024-12-31T23:59:59Z&p=&wp=56&person=person_example&fach=fach_example&org=org_example&vgtyp=&page=56&per_page=56"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.UnauthorisiertApi;
import java.io.File;
import java.util.*;
public class UnauthorisiertApiExample {
public static void main(String[] args) {
// Create an instance of the API class
UnauthorisiertApi apiInstance = new UnauthorisiertApi();
Date ifModifiedSince = 2024-01-01T00:00Z; // Date | Return only elements that were modified after the specified timestamp. If nothing was modified, returns 304 Not Modified.
Date since = 2024-01-01T00:00Z; // Date | Filter results to include only items updated on or after this timestamp (inclusive lower bound)
Date until = 2024-12-31T23:59:59Z; // Date | Filter results to include only items updated on or before this timestamp (inclusive upper bound)
Parlament p = ; // Parlament | Filter by parliament code. Returns only items related to the specified parliament (e.g., 'BT' for Bundestag).
Integer wp = 56; // Integer | Filter by electoral period number. Returns only items from the specified electoral period.
String person = person_example; // String | Filter by author name substring. Returns items where an author's name contains this string (case-insensitive).
String fach = fach_example; // String | Filter by author's professional field. Returns items where an author has the specified professional expertise.
String org = org_example; // String | Filter by author organization. Returns items where an author belongs to the specified organization.
Vorgangstyp vgtyp = ; // Vorgangstyp | Filter by legislative process type. Returns only items of the specified process type.
Integer page = 56; // Integer | Page number for paginated results. Starts at 1.
Integer perPage = 56; // Integer | Number of items to return per page. Maximum value is capped at server-defined limit.
try {
array[vorgang] result = apiInstance.vorgangGet(ifModifiedSince, since, until, p, wp, person, fach, org, vgtyp, page, perPage);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling UnauthorisiertApi#vorgangGet");
e.printStackTrace();
}
}
}
import 'package:openapi/api.dart';
final api_instance = DefaultApi();
final Date ifModifiedSince = new Date(); // Date | Return only elements that were modified after the specified timestamp. If nothing was modified, returns 304 Not Modified.
final Date since = new Date(); // Date | Filter results to include only items updated on or after this timestamp (inclusive lower bound)
final Date until = new Date(); // Date | Filter results to include only items updated on or before this timestamp (inclusive upper bound)
final Parlament p = new Parlament(); // Parlament | Filter by parliament code. Returns only items related to the specified parliament (e.g., 'BT' for Bundestag).
final Integer wp = new Integer(); // Integer | Filter by electoral period number. Returns only items from the specified electoral period.
final String person = new String(); // String | Filter by author name substring. Returns items where an author's name contains this string (case-insensitive).
final String fach = new String(); // String | Filter by author's professional field. Returns items where an author has the specified professional expertise.
final String org = new String(); // String | Filter by author organization. Returns items where an author belongs to the specified organization.
final Vorgangstyp vgtyp = new Vorgangstyp(); // Vorgangstyp | Filter by legislative process type. Returns only items of the specified process type.
final Integer page = new Integer(); // Integer | Page number for paginated results. Starts at 1.
final Integer perPage = new Integer(); // Integer | Number of items to return per page. Maximum value is capped at server-defined limit.
try {
final result = await api_instance.vorgangGet(ifModifiedSince, since, until, p, wp, person, fach, org, vgtyp, page, perPage);
print(result);
} catch (e) {
print('Exception when calling DefaultApi->vorgangGet: $e\n');
}
import org.openapitools.client.api.UnauthorisiertApi;
public class UnauthorisiertApiExample {
public static void main(String[] args) {
UnauthorisiertApi apiInstance = new UnauthorisiertApi();
Date ifModifiedSince = 2024-01-01T00:00Z; // Date | Return only elements that were modified after the specified timestamp. If nothing was modified, returns 304 Not Modified.
Date since = 2024-01-01T00:00Z; // Date | Filter results to include only items updated on or after this timestamp (inclusive lower bound)
Date until = 2024-12-31T23:59:59Z; // Date | Filter results to include only items updated on or before this timestamp (inclusive upper bound)
Parlament p = ; // Parlament | Filter by parliament code. Returns only items related to the specified parliament (e.g., 'BT' for Bundestag).
Integer wp = 56; // Integer | Filter by electoral period number. Returns only items from the specified electoral period.
String person = person_example; // String | Filter by author name substring. Returns items where an author's name contains this string (case-insensitive).
String fach = fach_example; // String | Filter by author's professional field. Returns items where an author has the specified professional expertise.
String org = org_example; // String | Filter by author organization. Returns items where an author belongs to the specified organization.
Vorgangstyp vgtyp = ; // Vorgangstyp | Filter by legislative process type. Returns only items of the specified process type.
Integer page = 56; // Integer | Page number for paginated results. Starts at 1.
Integer perPage = 56; // Integer | Number of items to return per page. Maximum value is capped at server-defined limit.
try {
array[vorgang] result = apiInstance.vorgangGet(ifModifiedSince, since, until, p, wp, person, fach, org, vgtyp, page, perPage);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling UnauthorisiertApi#vorgangGet");
e.printStackTrace();
}
}
}
// Create an instance of the API class
UnauthorisiertApi *apiInstance = [[UnauthorisiertApi alloc] init];
Date *ifModifiedSince = 2024-01-01T00:00Z; // Return only elements that were modified after the specified timestamp. If nothing was modified, returns 304 Not Modified. (optional) (default to null)
Date *since = 2024-01-01T00:00Z; // Filter results to include only items updated on or after this timestamp (inclusive lower bound) (optional) (default to null)
Date *until = 2024-12-31T23:59:59Z; // Filter results to include only items updated on or before this timestamp (inclusive upper bound) (optional) (default to null)
Parlament *p = ; // Filter by parliament code. Returns only items related to the specified parliament (e.g., 'BT' for Bundestag). (optional) (default to null)
Integer *wp = 56; // Filter by electoral period number. Returns only items from the specified electoral period. (optional) (default to null)
String *person = person_example; // Filter by author name substring. Returns items where an author's name contains this string (case-insensitive). (optional) (default to null)
String *fach = fach_example; // Filter by author's professional field. Returns items where an author has the specified professional expertise. (optional) (default to null)
String *org = org_example; // Filter by author organization. Returns items where an author belongs to the specified organization. (optional) (default to null)
Vorgangstyp *vgtyp = ; // Filter by legislative process type. Returns only items of the specified process type. (optional) (default to null)
Integer *page = 56; // Page number for paginated results. Starts at 1. (optional) (default to 1)
Integer *perPage = 56; // Number of items to return per page. Maximum value is capped at server-defined limit. (optional) (default to 32)
[apiInstance vorgangGetWith:ifModifiedSince
since:since
until:until
p:p
wp:wp
person:person
fach:fach
org:org
vgtyp:vgtyp
page:page
perPage:perPage
completionHandler: ^(array[vorgang] output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var LtzfApi = require('ltzf_api');
// Create an instance of the API class
var api = new LtzfApi.UnauthorisiertApi()
var opts = {
'ifModifiedSince': 2024-01-01T00:00Z, // {Date} Return only elements that were modified after the specified timestamp. If nothing was modified, returns 304 Not Modified.
'since': 2024-01-01T00:00Z, // {Date} Filter results to include only items updated on or after this timestamp (inclusive lower bound)
'until': 2024-12-31T23:59:59Z, // {Date} Filter results to include only items updated on or before this timestamp (inclusive upper bound)
'p': , // {Parlament} Filter by parliament code. Returns only items related to the specified parliament (e.g., 'BT' for Bundestag).
'wp': 56, // {Integer} Filter by electoral period number. Returns only items from the specified electoral period.
'person': person_example, // {String} Filter by author name substring. Returns items where an author's name contains this string (case-insensitive).
'fach': fach_example, // {String} Filter by author's professional field. Returns items where an author has the specified professional expertise.
'org': org_example, // {String} Filter by author organization. Returns items where an author belongs to the specified organization.
'vgtyp': , // {Vorgangstyp} Filter by legislative process type. Returns only items of the specified process type.
'page': 56, // {Integer} Page number for paginated results. Starts at 1.
'perPage': 56 // {Integer} Number of items to return per page. Maximum value is capped at server-defined limit.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.vorgangGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class vorgangGetExample
{
public void main()
{
// Create an instance of the API class
var apiInstance = new UnauthorisiertApi();
var ifModifiedSince = 2024-01-01T00:00Z; // Date | Return only elements that were modified after the specified timestamp. If nothing was modified, returns 304 Not Modified. (optional) (default to null)
var since = 2024-01-01T00:00Z; // Date | Filter results to include only items updated on or after this timestamp (inclusive lower bound) (optional) (default to null)
var until = 2024-12-31T23:59:59Z; // Date | Filter results to include only items updated on or before this timestamp (inclusive upper bound) (optional) (default to null)
var p = new Parlament(); // Parlament | Filter by parliament code. Returns only items related to the specified parliament (e.g., 'BT' for Bundestag). (optional) (default to null)
var wp = 56; // Integer | Filter by electoral period number. Returns only items from the specified electoral period. (optional) (default to null)
var person = person_example; // String | Filter by author name substring. Returns items where an author's name contains this string (case-insensitive). (optional) (default to null)
var fach = fach_example; // String | Filter by author's professional field. Returns items where an author has the specified professional expertise. (optional) (default to null)
var org = org_example; // String | Filter by author organization. Returns items where an author belongs to the specified organization. (optional) (default to null)
var vgtyp = new Vorgangstyp(); // Vorgangstyp | Filter by legislative process type. Returns only items of the specified process type. (optional) (default to null)
var page = 56; // Integer | Page number for paginated results. Starts at 1. (optional) (default to 1)
var perPage = 56; // Integer | Number of items to return per page. Maximum value is capped at server-defined limit. (optional) (default to 32)
try {
array[vorgang] result = apiInstance.vorgangGet(ifModifiedSince, since, until, p, wp, person, fach, org, vgtyp, page, perPage);
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling UnauthorisiertApi.vorgangGet: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\UnauthorisiertApi();
$ifModifiedSince = 2024-01-01T00:00Z; // Date | Return only elements that were modified after the specified timestamp. If nothing was modified, returns 304 Not Modified.
$since = 2024-01-01T00:00Z; // Date | Filter results to include only items updated on or after this timestamp (inclusive lower bound)
$until = 2024-12-31T23:59:59Z; // Date | Filter results to include only items updated on or before this timestamp (inclusive upper bound)
$p = ; // Parlament | Filter by parliament code. Returns only items related to the specified parliament (e.g., 'BT' for Bundestag).
$wp = 56; // Integer | Filter by electoral period number. Returns only items from the specified electoral period.
$person = person_example; // String | Filter by author name substring. Returns items where an author's name contains this string (case-insensitive).
$fach = fach_example; // String | Filter by author's professional field. Returns items where an author has the specified professional expertise.
$org = org_example; // String | Filter by author organization. Returns items where an author belongs to the specified organization.
$vgtyp = ; // Vorgangstyp | Filter by legislative process type. Returns only items of the specified process type.
$page = 56; // Integer | Page number for paginated results. Starts at 1.
$perPage = 56; // Integer | Number of items to return per page. Maximum value is capped at server-defined limit.
try {
$result = $api_instance->vorgangGet($ifModifiedSince, $since, $until, $p, $wp, $person, $fach, $org, $vgtyp, $page, $perPage);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling UnauthorisiertApi->vorgangGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::UnauthorisiertApi;
# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::UnauthorisiertApi->new();
my $ifModifiedSince = 2024-01-01T00:00Z; # Date | Return only elements that were modified after the specified timestamp. If nothing was modified, returns 304 Not Modified.
my $since = 2024-01-01T00:00Z; # Date | Filter results to include only items updated on or after this timestamp (inclusive lower bound)
my $until = 2024-12-31T23:59:59Z; # Date | Filter results to include only items updated on or before this timestamp (inclusive upper bound)
my $p = ; # Parlament | Filter by parliament code. Returns only items related to the specified parliament (e.g., 'BT' for Bundestag).
my $wp = 56; # Integer | Filter by electoral period number. Returns only items from the specified electoral period.
my $person = person_example; # String | Filter by author name substring. Returns items where an author's name contains this string (case-insensitive).
my $fach = fach_example; # String | Filter by author's professional field. Returns items where an author has the specified professional expertise.
my $org = org_example; # String | Filter by author organization. Returns items where an author belongs to the specified organization.
my $vgtyp = ; # Vorgangstyp | Filter by legislative process type. Returns only items of the specified process type.
my $page = 56; # Integer | Page number for paginated results. Starts at 1.
my $perPage = 56; # Integer | Number of items to return per page. Maximum value is capped at server-defined limit.
eval {
my $result = $api_instance->vorgangGet(ifModifiedSince => $ifModifiedSince, since => $since, until => $until, p => $p, wp => $wp, person => $person, fach => $fach, org => $org, vgtyp => $vgtyp, page => $page, perPage => $perPage);
print Dumper($result);
};
if ($@) {
warn "Exception when calling UnauthorisiertApi->vorgangGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint
# Create an instance of the API class
api_instance = openapi_client.UnauthorisiertApi()
ifModifiedSince = 2024-01-01T00:00Z # Date | Return only elements that were modified after the specified timestamp. If nothing was modified, returns 304 Not Modified. (optional) (default to null)
since = 2024-01-01T00:00Z # Date | Filter results to include only items updated on or after this timestamp (inclusive lower bound) (optional) (default to null)
until = 2024-12-31T23:59:59Z # Date | Filter results to include only items updated on or before this timestamp (inclusive upper bound) (optional) (default to null)
p = # Parlament | Filter by parliament code. Returns only items related to the specified parliament (e.g., 'BT' for Bundestag). (optional) (default to null)
wp = 56 # Integer | Filter by electoral period number. Returns only items from the specified electoral period. (optional) (default to null)
person = person_example # String | Filter by author name substring. Returns items where an author's name contains this string (case-insensitive). (optional) (default to null)
fach = fach_example # String | Filter by author's professional field. Returns items where an author has the specified professional expertise. (optional) (default to null)
org = org_example # String | Filter by author organization. Returns items where an author belongs to the specified organization. (optional) (default to null)
vgtyp = # Vorgangstyp | Filter by legislative process type. Returns only items of the specified process type. (optional) (default to null)
page = 56 # Integer | Page number for paginated results. Starts at 1. (optional) (default to 1)
perPage = 56 # Integer | Number of items to return per page. Maximum value is capped at server-defined limit. (optional) (default to 32)
try:
api_response = api_instance.vorgang_get(ifModifiedSince=ifModifiedSince, since=since, until=until, p=p, wp=wp, person=person, fach=fach, org=org, vgtyp=vgtyp, page=page, perPage=perPage)
pprint(api_response)
except ApiException as e:
print("Exception when calling UnauthorisiertApi->vorgangGet: %s\n" % e)
extern crate UnauthorisiertApi;
pub fn main() {
let ifModifiedSince = 2024-01-01T00:00Z; // Date
let since = 2024-01-01T00:00Z; // Date
let until = 2024-12-31T23:59:59Z; // Date
let p = ; // Parlament
let wp = 56; // Integer
let person = person_example; // String
let fach = fach_example; // String
let org = org_example; // String
let vgtyp = ; // Vorgangstyp
let page = 56; // Integer
let perPage = 56; // Integer
let mut context = UnauthorisiertApi::Context::default();
let result = client.vorgangGet(ifModifiedSince, since, until, p, wp, person, fach, org, vgtyp, page, perPage, &context).wait();
println!("{:?}", result);
}