API for information and status about public companies

Information

arendestatus

Get case status for organization

The service delivers information about the latest event related to the annual report for an organization.


/arendestatus/{orgnr}

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://api.bolagsverket.se/hamta-arsredovisningsinformation/v1.3/arendestatus/{orgnr}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.InformationApi;

import java.io.File;
import java.util.*;

public class InformationApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        InformationApi apiInstance = new InformationApi();
        String orgnr = orgnr_example; // String | Organization number for the organization. Ten digits, no hyphen

        try {
            Arendestatus result = apiInstance.arendestatus(orgnr);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InformationApi#arendestatus");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.InformationApi;

public class InformationApiExample {
    public static void main(String[] args) {
        InformationApi apiInstance = new InformationApi();
        String orgnr = orgnr_example; // String | Organization number for the organization. Ten digits, no hyphen

        try {
            Arendestatus result = apiInstance.arendestatus(orgnr);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InformationApi#arendestatus");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
InformationApi *apiInstance = [[InformationApi alloc] init];
String *orgnr = orgnr_example; // Organization number for the organization. Ten digits, no hyphen (default to null)

// Get case status for organization
[apiInstance arendestatusWith:orgnr
              completionHandler: ^(Arendestatus output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var ApiForInformationAndStatusAboutPublicCompanies = require('api_for_information_and_status_about_public_companies');

// Create an instance of the API class
var api = new ApiForInformationAndStatusAboutPublicCompanies.InformationApi()
var orgnr = orgnr_example; // {String} Organization number for the organization. Ten digits, no hyphen

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.arendestatus(orgnr, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class arendestatusExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new InformationApi();
            var orgnr = orgnr_example;  // String | Organization number for the organization. Ten digits, no hyphen (default to null)

            try {
                // Get case status for organization
                Arendestatus result = apiInstance.arendestatus(orgnr);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling InformationApi.arendestatus: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\InformationApi();
$orgnr = orgnr_example; // String | Organization number for the organization. Ten digits, no hyphen

try {
    $result = $api_instance->arendestatus($orgnr);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InformationApi->arendestatus: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::InformationApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::InformationApi->new();
my $orgnr = orgnr_example; # String | Organization number for the organization. Ten digits, no hyphen

eval {
    my $result = $api_instance->arendestatus(orgnr => $orgnr);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InformationApi->arendestatus: $@\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.InformationApi()
orgnr = orgnr_example # String | Organization number for the organization. Ten digits, no hyphen (default to null)

try:
    # Get case status for organization
    api_response = api_instance.arendestatus(orgnr)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InformationApi->arendestatus: %s\n" % e)
extern crate InformationApi;

pub fn main() {
    let orgnr = orgnr_example; // String

    let mut context = InformationApi::Context::default();
    let result = client.arendestatus(orgnr, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
orgnr*
String
Organization number for the organization. Ten digits, no hyphen
Required

Responses


grunduppgifter

Get basic information about organization

The service delivers information about organizations. The information is suitable for preparing annual reports.


/grunduppgifter/{orgnr}

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://api.bolagsverket.se/hamta-arsredovisningsinformation/v1.3/grunduppgifter/{orgnr}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.InformationApi;

import java.io.File;
import java.util.*;

public class InformationApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        InformationApi apiInstance = new InformationApi();
        String orgnr = orgnr_example; // String | Organization number for the organization. Ten digits, no hyphen

        try {
            Grunduppgifter result = apiInstance.grunduppgifter(orgnr);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InformationApi#grunduppgifter");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.InformationApi;

public class InformationApiExample {
    public static void main(String[] args) {
        InformationApi apiInstance = new InformationApi();
        String orgnr = orgnr_example; // String | Organization number for the organization. Ten digits, no hyphen

        try {
            Grunduppgifter result = apiInstance.grunduppgifter(orgnr);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InformationApi#grunduppgifter");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
InformationApi *apiInstance = [[InformationApi alloc] init];
String *orgnr = orgnr_example; // Organization number for the organization. Ten digits, no hyphen (default to null)

// Get basic information about organization
[apiInstance grunduppgifterWith:orgnr
              completionHandler: ^(Grunduppgifter output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var ApiForInformationAndStatusAboutPublicCompanies = require('api_for_information_and_status_about_public_companies');

// Create an instance of the API class
var api = new ApiForInformationAndStatusAboutPublicCompanies.InformationApi()
var orgnr = orgnr_example; // {String} Organization number for the organization. Ten digits, no hyphen

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.grunduppgifter(orgnr, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class grunduppgifterExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new InformationApi();
            var orgnr = orgnr_example;  // String | Organization number for the organization. Ten digits, no hyphen (default to null)

            try {
                // Get basic information about organization
                Grunduppgifter result = apiInstance.grunduppgifter(orgnr);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling InformationApi.grunduppgifter: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\InformationApi();
$orgnr = orgnr_example; // String | Organization number for the organization. Ten digits, no hyphen

try {
    $result = $api_instance->grunduppgifter($orgnr);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InformationApi->grunduppgifter: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::InformationApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::InformationApi->new();
my $orgnr = orgnr_example; # String | Organization number for the organization. Ten digits, no hyphen

eval {
    my $result = $api_instance->grunduppgifter(orgnr => $orgnr);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InformationApi->grunduppgifter: $@\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.InformationApi()
orgnr = orgnr_example # String | Organization number for the organization. Ten digits, no hyphen (default to null)

try:
    # Get basic information about organization
    api_response = api_instance.grunduppgifter(orgnr)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InformationApi->grunduppgifter: %s\n" % e)
extern crate InformationApi;

pub fn main() {
    let orgnr = orgnr_example; // String

    let mut context = InformationApi::Context::default();
    let result = client.grunduppgifter(orgnr, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
orgnr*
String
Organization number for the organization. Ten digits, no hyphen
Required

Responses