curl -X GET "https://raad.burgerland.nl/api/v2/events?id=&title=&fragment=&location=&description=&publicationDate=&publicationDate_from=&publicationDate_to=&startDate=&startDate_from=&startDate_to=&endDate=&endDate_from=&endDate_to=&startTime=&startTime_from=&startTime_to=&endTime=&endTime_from=&endTime_to=&confidential=&offset=&limit=&sort="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.EventsApi;
import java.io.File;
import java.util.*;
public class EventsApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: OAuth2
OAuth OAuth2 = (OAuth) defaultClient.getAuthentication("OAuth2");
OAuth2.setAccessToken("YOUR ACCESS TOKEN");
EventsApi apiInstance = new EventsApi();
Long id = 789; // Long | unique identifier of event
String title = title_example; // String | title of event
String fragment = fragment_example; // String | url friendly title
String location = location_example; // String | lcoation of event
String description = description_example; // String | description of event
date publicationDate = 2013-10-20; // date | date of publication
date publicationDateFrom = 2013-10-20; // date | Filter on publicationDate that is equals or creater than value
date publicationDateTo = 2013-10-20; // date | Filter on publicationDate that is equals or smaller than value
date startDate = 2013-10-20; // date | date when event starts
date startDateFrom = 2013-10-20; // date | Filter on startDate that is equals or greater than value
date startDateTo = 2013-10-20; // date | Filter on startDate_from that is equals or smaller than value
date endDate = 2013-10-20; // date | date when event ends
date endDateFrom = 2013-10-20; // date | Filter on endDate that is equals or greater than value
date endDateTo = 2013-10-20; // date | Filter on endDate that is equals or smaller than value
String startTime = startTime_example; // String | time when event starts
String startTimeFrom = startTimeFrom_example; // String | Filter on startTime that is equals or greater than value
String startTimeTo = startTimeTo_example; // String | Filter on startTime that is equals or smaller than value
String endTime = endTime_example; // String | time when event ends
String endTimeFrom = endTimeFrom_example; // String | Filter on endTime that is equals or greater than value
String endTimeTo = endTimeTo_example; // String | Filter on endTime that is equals or smaller than value
Long confidential = 789; // Long | Filter on confidentiality, 0 is public and 1 is confidential
Integer offset = 56; // Integer | The number of items to skip before starting to collect the result set
Integer limit = 56; // Integer | The numbers of items to return
String sort = sort_example; // String | Example sort orders:
* `name_asc` - String ascending, from a to z
* `name_desc` - String descending, from z to a
* `id_asc` - ID ascending, 1 to 99999
* `id_desc` - ID descending, 99999 to 1
try {
array[Event] result = apiInstance.getEvents(id, title, fragment, location, description, publicationDate, publicationDateFrom, publicationDateTo, startDate, startDateFrom, startDateTo, endDate, endDateFrom, endDateTo, startTime, startTimeFrom, startTimeTo, endTime, endTimeFrom, endTimeTo, confidential, offset, limit, sort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling EventsApi#getEvents");
e.printStackTrace();
}
}
}
import io.swagger.client.api.EventsApi;
public class EventsApiExample {
public static void main(String[] args) {
EventsApi apiInstance = new EventsApi();
Long id = 789; // Long | unique identifier of event
String title = title_example; // String | title of event
String fragment = fragment_example; // String | url friendly title
String location = location_example; // String | lcoation of event
String description = description_example; // String | description of event
date publicationDate = 2013-10-20; // date | date of publication
date publicationDateFrom = 2013-10-20; // date | Filter on publicationDate that is equals or creater than value
date publicationDateTo = 2013-10-20; // date | Filter on publicationDate that is equals or smaller than value
date startDate = 2013-10-20; // date | date when event starts
date startDateFrom = 2013-10-20; // date | Filter on startDate that is equals or greater than value
date startDateTo = 2013-10-20; // date | Filter on startDate_from that is equals or smaller than value
date endDate = 2013-10-20; // date | date when event ends
date endDateFrom = 2013-10-20; // date | Filter on endDate that is equals or greater than value
date endDateTo = 2013-10-20; // date | Filter on endDate that is equals or smaller than value
String startTime = startTime_example; // String | time when event starts
String startTimeFrom = startTimeFrom_example; // String | Filter on startTime that is equals or greater than value
String startTimeTo = startTimeTo_example; // String | Filter on startTime that is equals or smaller than value
String endTime = endTime_example; // String | time when event ends
String endTimeFrom = endTimeFrom_example; // String | Filter on endTime that is equals or greater than value
String endTimeTo = endTimeTo_example; // String | Filter on endTime that is equals or smaller than value
Long confidential = 789; // Long | Filter on confidentiality, 0 is public and 1 is confidential
Integer offset = 56; // Integer | The number of items to skip before starting to collect the result set
Integer limit = 56; // Integer | The numbers of items to return
String sort = sort_example; // String | Example sort orders:
* `name_asc` - String ascending, from a to z
* `name_desc` - String descending, from z to a
* `id_asc` - ID ascending, 1 to 99999
* `id_desc` - ID descending, 99999 to 1
try {
array[Event] result = apiInstance.getEvents(id, title, fragment, location, description, publicationDate, publicationDateFrom, publicationDateTo, startDate, startDateFrom, startDateTo, endDate, endDateFrom, endDateTo, startTime, startTimeFrom, startTimeTo, endTime, endTimeFrom, endTimeTo, confidential, offset, limit, sort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling EventsApi#getEvents");
e.printStackTrace();
}
}
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure OAuth2 access token for authorization: (authentication scheme: OAuth2)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];
Long *id = 789; // unique identifier of event (optional)
String *title = title_example; // title of event (optional)
String *fragment = fragment_example; // url friendly title (optional)
String *location = location_example; // lcoation of event (optional)
String *description = description_example; // description of event (optional)
date *publicationDate = 2013-10-20; // date of publication (optional)
date *publicationDateFrom = 2013-10-20; // Filter on publicationDate that is equals or creater than value (optional)
date *publicationDateTo = 2013-10-20; // Filter on publicationDate that is equals or smaller than value (optional)
date *startDate = 2013-10-20; // date when event starts (optional)
date *startDateFrom = 2013-10-20; // Filter on startDate that is equals or greater than value (optional)
date *startDateTo = 2013-10-20; // Filter on startDate_from that is equals or smaller than value (optional)
date *endDate = 2013-10-20; // date when event ends (optional)
date *endDateFrom = 2013-10-20; // Filter on endDate that is equals or greater than value (optional)
date *endDateTo = 2013-10-20; // Filter on endDate that is equals or smaller than value (optional)
String *startTime = startTime_example; // time when event starts (optional)
String *startTimeFrom = startTimeFrom_example; // Filter on startTime that is equals or greater than value (optional)
String *startTimeTo = startTimeTo_example; // Filter on startTime that is equals or smaller than value (optional)
String *endTime = endTime_example; // time when event ends (optional)
String *endTimeFrom = endTimeFrom_example; // Filter on endTime that is equals or greater than value (optional)
String *endTimeTo = endTimeTo_example; // Filter on endTime that is equals or smaller than value (optional)
Long *confidential = 789; // Filter on confidentiality, 0 is public and 1 is confidential (optional)
Integer *offset = 56; // The number of items to skip before starting to collect the result set (optional)
Integer *limit = 56; // The numbers of items to return (optional)
String *sort = sort_example; // Example sort orders:
* `name_asc` - String ascending, from a to z
* `name_desc` - String descending, from z to a
* `id_asc` - ID ascending, 1 to 99999
* `id_desc` - ID descending, 99999 to 1
(optional)
EventsApi *apiInstance = [[EventsApi alloc] init];
[apiInstance getEventsWith:id
title:title
fragment:fragment
location:location
description:description
publicationDate:publicationDate
publicationDateFrom:publicationDateFrom
publicationDateTo:publicationDateTo
startDate:startDate
startDateFrom:startDateFrom
startDateTo:startDateTo
endDate:endDate
endDateFrom:endDateFrom
endDateTo:endDateTo
startTime:startTime
startTimeFrom:startTimeFrom
startTimeTo:startTimeTo
endTime:endTime
endTimeFrom:endTimeFrom
endTimeTo:endTimeTo
confidential:confidential
offset:offset
limit:limit
sort:sort
completionHandler: ^(array[Event] output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var OpenRaadsinformatieApi = require('open_raadsinformatie_api');
var defaultClient = OpenRaadsinformatieApi.ApiClient.instance;
// Configure OAuth2 access token for authorization: OAuth2
var OAuth2 = defaultClient.authentications['OAuth2'];
OAuth2.accessToken = "YOUR ACCESS TOKEN"
var api = new OpenRaadsinformatieApi.EventsApi()
var opts = {
'id': 789, // {{Long}} unique identifier of event
'title': title_example, // {{String}} title of event
'fragment': fragment_example, // {{String}} url friendly title
'location': location_example, // {{String}} lcoation of event
'description': description_example, // {{String}} description of event
'publicationDate': 2013-10-20, // {{date}} date of publication
'publicationDateFrom': 2013-10-20, // {{date}} Filter on publicationDate that is equals or creater than value
'publicationDateTo': 2013-10-20, // {{date}} Filter on publicationDate that is equals or smaller than value
'startDate': 2013-10-20, // {{date}} date when event starts
'startDateFrom': 2013-10-20, // {{date}} Filter on startDate that is equals or greater than value
'startDateTo': 2013-10-20, // {{date}} Filter on startDate_from that is equals or smaller than value
'endDate': 2013-10-20, // {{date}} date when event ends
'endDateFrom': 2013-10-20, // {{date}} Filter on endDate that is equals or greater than value
'endDateTo': 2013-10-20, // {{date}} Filter on endDate that is equals or smaller than value
'startTime': startTime_example, // {{String}} time when event starts
'startTimeFrom': startTimeFrom_example, // {{String}} Filter on startTime that is equals or greater than value
'startTimeTo': startTimeTo_example, // {{String}} Filter on startTime that is equals or smaller than value
'endTime': endTime_example, // {{String}} time when event ends
'endTimeFrom': endTimeFrom_example, // {{String}} Filter on endTime that is equals or greater than value
'endTimeTo': endTimeTo_example, // {{String}} Filter on endTime that is equals or smaller than value
'confidential': 789, // {{Long}} Filter on confidentiality, 0 is public and 1 is confidential
'offset': 56, // {{Integer}} The number of items to skip before starting to collect the result set
'limit': 56, // {{Integer}} The numbers of items to return
'sort': sort_example // {{String}} Example sort orders:
* `name_asc` - String ascending, from a to z
* `name_desc` - String descending, from z to a
* `id_asc` - ID ascending, 1 to 99999
* `id_desc` - ID descending, 99999 to 1
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.getEvents(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class getEventsExample
{
public void main()
{
// Configure OAuth2 access token for authorization: OAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new EventsApi();
var id = 789; // Long | unique identifier of event (optional)
var title = title_example; // String | title of event (optional)
var fragment = fragment_example; // String | url friendly title (optional)
var location = location_example; // String | lcoation of event (optional)
var description = description_example; // String | description of event (optional)
var publicationDate = 2013-10-20; // date | date of publication (optional)
var publicationDateFrom = 2013-10-20; // date | Filter on publicationDate that is equals or creater than value (optional)
var publicationDateTo = 2013-10-20; // date | Filter on publicationDate that is equals or smaller than value (optional)
var startDate = 2013-10-20; // date | date when event starts (optional)
var startDateFrom = 2013-10-20; // date | Filter on startDate that is equals or greater than value (optional)
var startDateTo = 2013-10-20; // date | Filter on startDate_from that is equals or smaller than value (optional)
var endDate = 2013-10-20; // date | date when event ends (optional)
var endDateFrom = 2013-10-20; // date | Filter on endDate that is equals or greater than value (optional)
var endDateTo = 2013-10-20; // date | Filter on endDate that is equals or smaller than value (optional)
var startTime = startTime_example; // String | time when event starts (optional)
var startTimeFrom = startTimeFrom_example; // String | Filter on startTime that is equals or greater than value (optional)
var startTimeTo = startTimeTo_example; // String | Filter on startTime that is equals or smaller than value (optional)
var endTime = endTime_example; // String | time when event ends (optional)
var endTimeFrom = endTimeFrom_example; // String | Filter on endTime that is equals or greater than value (optional)
var endTimeTo = endTimeTo_example; // String | Filter on endTime that is equals or smaller than value (optional)
var confidential = 789; // Long | Filter on confidentiality, 0 is public and 1 is confidential (optional)
var offset = 56; // Integer | The number of items to skip before starting to collect the result set (optional)
var limit = 56; // Integer | The numbers of items to return (optional)
var sort = sort_example; // String | Example sort orders:
* `name_asc` - String ascending, from a to z
* `name_desc` - String descending, from z to a
* `id_asc` - ID ascending, 1 to 99999
* `id_desc` - ID descending, 99999 to 1
(optional)
try
{
array[Event] result = apiInstance.getEvents(id, title, fragment, location, description, publicationDate, publicationDateFrom, publicationDateTo, startDate, startDateFrom, startDateTo, endDate, endDateFrom, endDateTo, startTime, startTimeFrom, startTimeTo, endTime, endTimeFrom, endTimeTo, confidential, offset, limit, sort);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling EventsApi.getEvents: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2
Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new Swagger\Client\ApiEventsApi();
$id = 789; // Long | unique identifier of event
$title = title_example; // String | title of event
$fragment = fragment_example; // String | url friendly title
$location = location_example; // String | lcoation of event
$description = description_example; // String | description of event
$publicationDate = 2013-10-20; // date | date of publication
$publicationDateFrom = 2013-10-20; // date | Filter on publicationDate that is equals or creater than value
$publicationDateTo = 2013-10-20; // date | Filter on publicationDate that is equals or smaller than value
$startDate = 2013-10-20; // date | date when event starts
$startDateFrom = 2013-10-20; // date | Filter on startDate that is equals or greater than value
$startDateTo = 2013-10-20; // date | Filter on startDate_from that is equals or smaller than value
$endDate = 2013-10-20; // date | date when event ends
$endDateFrom = 2013-10-20; // date | Filter on endDate that is equals or greater than value
$endDateTo = 2013-10-20; // date | Filter on endDate that is equals or smaller than value
$startTime = startTime_example; // String | time when event starts
$startTimeFrom = startTimeFrom_example; // String | Filter on startTime that is equals or greater than value
$startTimeTo = startTimeTo_example; // String | Filter on startTime that is equals or smaller than value
$endTime = endTime_example; // String | time when event ends
$endTimeFrom = endTimeFrom_example; // String | Filter on endTime that is equals or greater than value
$endTimeTo = endTimeTo_example; // String | Filter on endTime that is equals or smaller than value
$confidential = 789; // Long | Filter on confidentiality, 0 is public and 1 is confidential
$offset = 56; // Integer | The number of items to skip before starting to collect the result set
$limit = 56; // Integer | The numbers of items to return
$sort = sort_example; // String | Example sort orders:
* `name_asc` - String ascending, from a to z
* `name_desc` - String descending, from z to a
* `id_asc` - ID ascending, 1 to 99999
* `id_desc` - ID descending, 99999 to 1
try {
$result = $api_instance->getEvents($id, $title, $fragment, $location, $description, $publicationDate, $publicationDateFrom, $publicationDateTo, $startDate, $startDateFrom, $startDateTo, $endDate, $endDateFrom, $endDateTo, $startTime, $startTimeFrom, $startTimeTo, $endTime, $endTimeFrom, $endTimeTo, $confidential, $offset, $limit, $sort);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EventsApi->getEvents: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::EventsApi;
# Configure OAuth2 access token for authorization: OAuth2
$WWW::SwaggerClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';
my $api_instance = WWW::SwaggerClient::EventsApi->new();
my $id = 789; # Long | unique identifier of event
my $title = title_example; # String | title of event
my $fragment = fragment_example; # String | url friendly title
my $location = location_example; # String | lcoation of event
my $description = description_example; # String | description of event
my $publicationDate = 2013-10-20; # date | date of publication
my $publicationDateFrom = 2013-10-20; # date | Filter on publicationDate that is equals or creater than value
my $publicationDateTo = 2013-10-20; # date | Filter on publicationDate that is equals or smaller than value
my $startDate = 2013-10-20; # date | date when event starts
my $startDateFrom = 2013-10-20; # date | Filter on startDate that is equals or greater than value
my $startDateTo = 2013-10-20; # date | Filter on startDate_from that is equals or smaller than value
my $endDate = 2013-10-20; # date | date when event ends
my $endDateFrom = 2013-10-20; # date | Filter on endDate that is equals or greater than value
my $endDateTo = 2013-10-20; # date | Filter on endDate that is equals or smaller than value
my $startTime = startTime_example; # String | time when event starts
my $startTimeFrom = startTimeFrom_example; # String | Filter on startTime that is equals or greater than value
my $startTimeTo = startTimeTo_example; # String | Filter on startTime that is equals or smaller than value
my $endTime = endTime_example; # String | time when event ends
my $endTimeFrom = endTimeFrom_example; # String | Filter on endTime that is equals or greater than value
my $endTimeTo = endTimeTo_example; # String | Filter on endTime that is equals or smaller than value
my $confidential = 789; # Long | Filter on confidentiality, 0 is public and 1 is confidential
my $offset = 56; # Integer | The number of items to skip before starting to collect the result set
my $limit = 56; # Integer | The numbers of items to return
my $sort = sort_example; # String | Example sort orders:
* `name_asc` - String ascending, from a to z
* `name_desc` - String descending, from z to a
* `id_asc` - ID ascending, 1 to 99999
* `id_desc` - ID descending, 99999 to 1
eval {
my $result = $api_instance->getEvents(id => $id, title => $title, fragment => $fragment, location => $location, description => $description, publicationDate => $publicationDate, publicationDateFrom => $publicationDateFrom, publicationDateTo => $publicationDateTo, startDate => $startDate, startDateFrom => $startDateFrom, startDateTo => $startDateTo, endDate => $endDate, endDateFrom => $endDateFrom, endDateTo => $endDateTo, startTime => $startTime, startTimeFrom => $startTimeFrom, startTimeTo => $startTimeTo, endTime => $endTime, endTimeFrom => $endTimeFrom, endTimeTo => $endTimeTo, confidential => $confidential, offset => $offset, limit => $limit, sort => $sort);
print Dumper($result);
};
if ($@) {
warn "Exception when calling EventsApi->getEvents: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: OAuth2
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# create an instance of the API class
api_instance = swagger_client.EventsApi()
id = 789 # Long | unique identifier of event (optional)
title = title_example # String | title of event (optional)
fragment = fragment_example # String | url friendly title (optional)
location = location_example # String | lcoation of event (optional)
description = description_example # String | description of event (optional)
publicationDate = 2013-10-20 # date | date of publication (optional)
publicationDateFrom = 2013-10-20 # date | Filter on publicationDate that is equals or creater than value (optional)
publicationDateTo = 2013-10-20 # date | Filter on publicationDate that is equals or smaller than value (optional)
startDate = 2013-10-20 # date | date when event starts (optional)
startDateFrom = 2013-10-20 # date | Filter on startDate that is equals or greater than value (optional)
startDateTo = 2013-10-20 # date | Filter on startDate_from that is equals or smaller than value (optional)
endDate = 2013-10-20 # date | date when event ends (optional)
endDateFrom = 2013-10-20 # date | Filter on endDate that is equals or greater than value (optional)
endDateTo = 2013-10-20 # date | Filter on endDate that is equals or smaller than value (optional)
startTime = startTime_example # String | time when event starts (optional)
startTimeFrom = startTimeFrom_example # String | Filter on startTime that is equals or greater than value (optional)
startTimeTo = startTimeTo_example # String | Filter on startTime that is equals or smaller than value (optional)
endTime = endTime_example # String | time when event ends (optional)
endTimeFrom = endTimeFrom_example # String | Filter on endTime that is equals or greater than value (optional)
endTimeTo = endTimeTo_example # String | Filter on endTime that is equals or smaller than value (optional)
confidential = 789 # Long | Filter on confidentiality, 0 is public and 1 is confidential (optional)
offset = 56 # Integer | The number of items to skip before starting to collect the result set (optional)
limit = 56 # Integer | The numbers of items to return (optional)
sort = sort_example # String | Example sort orders:
* `name_asc` - String ascending, from a to z
* `name_desc` - String descending, from z to a
* `id_asc` - ID ascending, 1 to 99999
* `id_desc` - ID descending, 99999 to 1
(optional)
try:
api_response = api_instance.get_events(id=id, title=title, fragment=fragment, location=location, description=description, publicationDate=publicationDate, publicationDateFrom=publicationDateFrom, publicationDateTo=publicationDateTo, startDate=startDate, startDateFrom=startDateFrom, startDateTo=startDateTo, endDate=endDate, endDateFrom=endDateFrom, endDateTo=endDateTo, startTime=startTime, startTimeFrom=startTimeFrom, startTimeTo=startTimeTo, endTime=endTime, endTimeFrom=endTimeFrom, endTimeTo=endTimeTo, confidential=confidential, offset=offset, limit=limit, sort=sort)
pprint(api_response)
except ApiException as e:
print("Exception when calling EventsApi->getEvents: %s\n" % e)