API för att hämta årsredovisningshändelser

Handelser

handelser

Hämta årsredovisningshändelser för aktiebolag.

Tjänsten levererar händelser som man redan prenumererar på och som man behöver hämta på nytt, t.ex. om de inte nått fram.


/handelser

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://api.bolagsverket.se/hamta-arsredovisningshandelser/v2.0/handelser" \
 -d '{
  "orgnr" : [ "orgnr", "orgnr" ],
  "fromtidpunkt" : "2000-01-23T04:56:07.000+00:00",
  "tomtidpunkt" : "2000-01-23T04:56:07.000+00:00",
  "url" : "url"
}'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.HandelserApi;

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

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

        // Create an instance of the API class
        HandelserApi apiInstance = new HandelserApi();
        HandelserAnrop anropsobjekt = ; // HandelserAnrop | 

        try {
            HandelserOK result = apiInstance.handelser(anropsobjekt);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling HandelserApi#handelser");
            e.printStackTrace();
        }
    }
}
import org.openapitools.client.api.HandelserApi;

public class HandelserApiExample {
    public static void main(String[] args) {
        HandelserApi apiInstance = new HandelserApi();
        HandelserAnrop anropsobjekt = ; // HandelserAnrop | 

        try {
            HandelserOK result = apiInstance.handelser(anropsobjekt);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling HandelserApi#handelser");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
HandelserApi *apiInstance = [[HandelserApi alloc] init];
HandelserAnrop *anropsobjekt = ; // 

// Hämta årsredovisningshändelser för aktiebolag.
[apiInstance handelserWith:anropsobjekt
              completionHandler: ^(HandelserOK output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var ApiFrAttHmtaRsredovisningshndelser = require('api_fr_att_hmta_rsredovisningshndelser');

// Create an instance of the API class
var api = new ApiFrAttHmtaRsredovisningshndelser.HandelserApi()
var anropsobjekt = ; // {HandelserAnrop} 

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

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

            // Create an instance of the API class
            var apiInstance = new HandelserApi();
            var anropsobjekt = new HandelserAnrop(); // HandelserAnrop | 

            try {
                // Hämta årsredovisningshändelser för aktiebolag.
                HandelserOK result = apiInstance.handelser(anropsobjekt);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling HandelserApi.handelser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\HandelserApi();
$anropsobjekt = ; // HandelserAnrop | 

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

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::HandelserApi->new();
my $anropsobjekt = WWW::OPenAPIClient::Object::HandelserAnrop->new(); # HandelserAnrop | 

eval {
    my $result = $api_instance->handelser(anropsobjekt => $anropsobjekt);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling HandelserApi->handelser: $@\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.HandelserApi()
anropsobjekt =  # HandelserAnrop | 

try:
    # Hämta årsredovisningshändelser för aktiebolag.
    api_response = api_instance.handelser(anropsobjekt)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling HandelserApi->handelser: %s\n" % e)
extern crate HandelserApi;

pub fn main() {
    let anropsobjekt = ; // HandelserAnrop

    let mut context = HandelserApi::Context::default();
    let result = client.handelser(anropsobjekt, &context).wait();

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

Scopes

Parameters

Body parameters
Name Description
anropsobjekt *

URL och organisationsnummer

Responses