API för att hämta grunduppgifter och ärendestatus

Information

arendestatus

Hämta ärendestatus för organisation

Tjänsten levererar information om senaste händelse som rör årsredovisningen för en organisation.


/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 | Organisationsnummer för organisationen. Tio siffror, inget bindestreck

        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 | Organisationsnummer för organisationen. Tio siffror, inget bindestreck

        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; // Organisationsnummer för organisationen. Tio siffror, inget bindestreck (default to null)

// Hämta ärendestatus för organisation
[apiInstance arendestatusWith:orgnr
              completionHandler: ^(Arendestatus output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var ApiFrAttHmtaGrunduppgifterOchRendestatus = require('api_fr_att_hmta_grunduppgifter_och_rendestatus');

// Create an instance of the API class
var api = new ApiFrAttHmtaGrunduppgifterOchRendestatus.InformationApi()
var orgnr = orgnr_example; // {String} Organisationsnummer för organisationen. Tio siffror, inget bindestreck

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 | Organisationsnummer för organisationen. Tio siffror, inget bindestreck (default to null)

            try {
                // Hämta ärendestatus för organisation
                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 | Organisationsnummer för organisationen. Tio siffror, inget bindestreck

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 | Organisationsnummer för organisationen. Tio siffror, inget bindestreck

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 | Organisationsnummer för organisationen. Tio siffror, inget bindestreck (default to null)

try:
    # Hämta ärendestatus för organisation
    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
Organisationsnummer för organisationen. Tio siffror, inget bindestreck
Required

Responses


grunduppgifter

Hämta grunduppgifter om organisation

Tjänsten levererar information om organisationer. Informationen lämpar sig för upprättande av årsredovisningar.


/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 | Organisationsnummer för organisationen. Tio siffror, inget bindestreck

        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 | Organisationsnummer för organisationen. Tio siffror, inget bindestreck

        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; // Organisationsnummer för organisationen. Tio siffror, inget bindestreck (default to null)

// Hämta grunduppgifter om organisation
[apiInstance grunduppgifterWith:orgnr
              completionHandler: ^(Grunduppgifter output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var ApiFrAttHmtaGrunduppgifterOchRendestatus = require('api_fr_att_hmta_grunduppgifter_och_rendestatus');

// Create an instance of the API class
var api = new ApiFrAttHmtaGrunduppgifterOchRendestatus.InformationApi()
var orgnr = orgnr_example; // {String} Organisationsnummer för organisationen. Tio siffror, inget bindestreck

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 | Organisationsnummer för organisationen. Tio siffror, inget bindestreck (default to null)

            try {
                // Hämta grunduppgifter om organisation
                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 | Organisationsnummer för organisationen. Tio siffror, inget bindestreck

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 | Organisationsnummer för organisationen. Tio siffror, inget bindestreck

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 | Organisationsnummer för organisationen. Tio siffror, inget bindestreck (default to null)

try:
    # Hämta grunduppgifter om organisation
    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
Organisationsnummer för organisationen. Tio siffror, inget bindestreck
Required

Responses