statistikallmanankomstdatum
Retrieves general statistics for annual reports based on arrival date.
The service delivers general statistics for annual reports regarding limited companies, which have been submitted on paper or digitally to the Swedish Companies Registration Office.
/statistik/allman/ankomstdatum
Usage and SDK Samples
curl -X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://api.bolagsverket.se/hamta-arsredovisningsstatistik/v1.0/statistik/allman/ankomstdatum" \
-d '{
"startDatum" : "2024-01-01T00:00:00.000+00:00",
"stoppDatum" : "2024-02-01T00:00:00.000+00:00"
}'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.StatistikApi;
import java.io.File;
import java.util.*;
public class StatistikApiExample {
public static void main(String[] args) {
// Create an instance of the API class
StatistikApi apiInstance = new StatistikApi();
StatistikAnrop anropsobjekt = ; // StatistikAnrop |
try {
StatistikResponse result = apiInstance.statistikallmanankomstdatum(anropsobjekt);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling StatistikApi#statistikallmanankomstdatum");
e.printStackTrace();
}
}
}
import org.openapitools.client.api.StatistikApi;
public class StatistikApiExample {
public static void main(String[] args) {
StatistikApi apiInstance = new StatistikApi();
StatistikAnrop anropsobjekt = ; // StatistikAnrop |
try {
StatistikResponse result = apiInstance.statistikallmanankomstdatum(anropsobjekt);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling StatistikApi#statistikallmanankomstdatum");
e.printStackTrace();
}
}
}
// Create an instance of the API class
StatistikApi *apiInstance = [[StatistikApi alloc] init];
StatistikAnrop *anropsobjekt = ; //
// Retrieves general statistics for annual reports based on arrival date.
[apiInstance statistikallmanankomstdatumWith:anropsobjekt
completionHandler: ^(StatistikResponse output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var ApiToRetrieveAnnualReportStatistics = require('api_to_retrieve_annual_report_statistics');
// Create an instance of the API class
var api = new ApiToRetrieveAnnualReportStatistics.StatistikApi()
var anropsobjekt = ; // {StatistikAnrop}
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.statistikallmanankomstdatum(anropsobjekt, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class statistikallmanankomstdatumExample
{
public void main()
{
// Create an instance of the API class
var apiInstance = new StatistikApi();
var anropsobjekt = new StatistikAnrop(); // StatistikAnrop |
try {
// Retrieves general statistics for annual reports based on arrival date.
StatistikResponse result = apiInstance.statistikallmanankomstdatum(anropsobjekt);
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling StatistikApi.statistikallmanankomstdatum: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\StatistikApi();
$anropsobjekt = ; // StatistikAnrop |
try {
$result = $api_instance->statistikallmanankomstdatum($anropsobjekt);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling StatistikApi->statistikallmanankomstdatum: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::StatistikApi;
# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::StatistikApi->new();
my $anropsobjekt = WWW::OPenAPIClient::Object::StatistikAnrop->new(); # StatistikAnrop |
eval {
my $result = $api_instance->statistikallmanankomstdatum(anropsobjekt => $anropsobjekt);
print Dumper($result);
};
if ($@) {
warn "Exception when calling StatistikApi->statistikallmanankomstdatum: $@\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.StatistikApi()
anropsobjekt = # StatistikAnrop |
try:
# Retrieves general statistics for annual reports based on arrival date.
api_response = api_instance.statistikallmanankomstdatum(anropsobjekt)
pprint(api_response)
except ApiException as e:
print("Exception when calling StatistikApi->statistikallmanankomstdatum: %s\n" % e)
extern crate StatistikApi;
pub fn main() {
let anropsobjekt = ; // StatistikAnrop
let mut context = StatistikApi::Context::default();
let result = client.statistikallmanankomstdatum(anropsobjekt, &context).wait();
println!("{:?}", result);
}
Scopes
Parameters
| Name | Description |
|---|---|
| anropsobjekt * |
Start and stop dates for the search interval. |