inlamning
Submit an annual report to the separate space belonging to the user for review and electronic signing
The service checks that the electronic annual report is well-formed and stores it in the separate space belonging to the user. If the document passes inspection and the flag mobiltbankid is false, no further action is needed from the client (the annual report should be signed later using the web page). If the document passes inspection and the flag mobiltbankid is set to true, a transaction for direct electronic signing is created and the annual report is received after signing has completed. Please note that in this case the API call returns a code 202 immediately (before the annual report has been signed). The calling software should poll the /inlamning-status operation to ensure that signing is successful.
/inlamning/{inlamningtoken}
Usage and SDK Samples
curl -X post "https://api.bolagsverket.se/lamna-in-arsredovisning/v1.3/inlamning/{inlamningtoken}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.InlamningApi;
import java.io.File;
import java.util.*;
public class InlamningApiExample {
public static void main(String[] args) {
InlamningApi apiInstance = new InlamningApi();
UUID inlamningtoken = inlamningtoken_example; // UUID | Token for submission
InlamningAnrop anropsobjekt = ; // InlamningAnrop | Other information and the annual report
try {
InlamningOK result = apiInstance.inlamning(inlamningtoken, anropsobjekt);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InlamningApi#inlamning");
e.printStackTrace();
}
}
}
import io.swagger.client.api.InlamningApi;
public class InlamningApiExample {
public static void main(String[] args) {
InlamningApi apiInstance = new InlamningApi();
UUID inlamningtoken = inlamningtoken_example; // UUID | Token for submission
InlamningAnrop anropsobjekt = ; // InlamningAnrop | Other information and the annual report
try {
InlamningOK result = apiInstance.inlamning(inlamningtoken, anropsobjekt);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InlamningApi#inlamning");
e.printStackTrace();
}
}
}
UUID *inlamningtoken = inlamningtoken_example; // Token for submission
InlamningAnrop *anropsobjekt = ; // Other information and the annual report
InlamningApi *apiInstance = [[InlamningApi alloc] init];
// Submit an annual report to the separate space belonging to the user for review and electronic signing
[apiInstance inlamningWith:inlamningtoken
anropsobjekt:anropsobjekt
completionHandler: ^(InlamningOK output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var ApiForElectronicAnnualReports = require('api_for_electronic_annual_reports');
var api = new ApiForElectronicAnnualReports.InlamningApi()
var inlamningtoken = inlamningtoken_example; // {UUID} Token for submission
var anropsobjekt = ; // {InlamningAnrop} Other information and the annual report
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.inlamning(inlamningtoken, anropsobjekt, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class inlamningExample
{
public void main()
{
var apiInstance = new InlamningApi();
var inlamningtoken = inlamningtoken_example; // UUID | Token for submission
var anropsobjekt = new InlamningAnrop(); // InlamningAnrop | Other information and the annual report
try
{
// Submit an annual report to the separate space belonging to the user for review and electronic signing
InlamningOK result = apiInstance.inlamning(inlamningtoken, anropsobjekt);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling InlamningApi.inlamning: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\InlamningApi();
$inlamningtoken = inlamningtoken_example; // UUID | Token for submission
$anropsobjekt = ; // InlamningAnrop | Other information and the annual report
try {
$result = $api_instance->inlamning($inlamningtoken, $anropsobjekt);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling InlamningApi->inlamning: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::InlamningApi;
my $api_instance = WWW::SwaggerClient::InlamningApi->new();
my $inlamningtoken = inlamningtoken_example; # UUID | Token for submission
my $anropsobjekt = WWW::SwaggerClient::Object::InlamningAnrop->new(); # InlamningAnrop | Other information and the annual report
eval {
my $result = $api_instance->inlamning(inlamningtoken => $inlamningtoken, anropsobjekt => $anropsobjekt);
print Dumper($result);
};
if ($@) {
warn "Exception when calling InlamningApi->inlamning: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.InlamningApi()
inlamningtoken = inlamningtoken_example # UUID | Token for submission
anropsobjekt = # InlamningAnrop | Other information and the annual report
try:
# Submit an annual report to the separate space belonging to the user for review and electronic signing
api_response = api_instance.inlamning(inlamningtoken, anropsobjekt)
pprint(api_response)
except ApiException as e:
print("Exception when calling InlamningApi->inlamning: %s\n" % e)
Parameters
Name | Description |
---|---|
inlamningtoken* |
Name | Description |
---|---|
anropsobjekt * |