inlamning
Submit an annual report for review and electronic signing
The service receives an electronic annual report and checks that it is properly formatted
/inlamning/{token}
Usage and SDK Samples
curl -X post "https://api.bolagsverket.se/lamna-in-arsredovisning/v1.0/inlamning/{token}"
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 token = token_example; // UUID | Token for submission
InlamningAnrop anropsobjekt = ; // InlamningAnrop | Other information and the annual report
try {
InlamningOK result = apiInstance.inlamning(token, 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 token = token_example; // UUID | Token for submission
InlamningAnrop anropsobjekt = ; // InlamningAnrop | Other information and the annual report
try {
InlamningOK result = apiInstance.inlamning(token, anropsobjekt);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InlamningApi#inlamning");
e.printStackTrace();
}
}
}
UUID *token = token_example; // Token for submission
InlamningAnrop *anropsobjekt = ; // Other information and the annual report
InlamningApi *apiInstance = [[InlamningApi alloc] init];
// Submit an annual report for review and electronic signing
[apiInstance inlamningWith:token
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 token = token_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(token, 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 token = token_example; // UUID | Token for submission
var anropsobjekt = new InlamningAnrop(); // InlamningAnrop | Other information and the annual report
try
{
// Submit an annual report for review and electronic signing
InlamningOK result = apiInstance.inlamning(token, 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();
$token = token_example; // UUID | Token for submission
$anropsobjekt = ; // InlamningAnrop | Other information and the annual report
try {
$result = $api_instance->inlamning($token, $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 $token = token_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(token => $token, 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()
token = token_example # UUID | Token for submission
anropsobjekt = # InlamningAnrop | Other information and the annual report
try:
# Submit an annual report for review and electronic signing
api_response = api_instance.inlamning(token, anropsobjekt)
pprint(api_response)
except ApiException as e:
print("Exception when calling InlamningApi->inlamning: %s\n" % e)
Parameters
Path parameters
Name | Description |
---|---|
token* |
Body parameters
Name | Description |
---|---|
anropsobjekt * |