Visma Background API

The Background API from Visma — 2 operation(s) for background.

Operations 2

GET /v1/background/{requestId} Gets the state of a previously started background API operation #
GET /v1/background/{requestId}/content Gets the response content, if any, of a previously started background API… #

Documentation

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/visma-background-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

visma-background-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Visma.net ERP Background API
  version: v1
servers:
- url: https://api.finance.visma.net
tags:
- name: Background
paths:
  /v1/background/{requestId}:
    get:
      tags:
      - Background
      summary: Gets the state of a previously started background API operation
      operationId: Background_GetBackgroundApiOperationByrequestId
      parameters:
      - name: requestId
        in: path
        description: ''
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BackgroundRequestStateDto'
            text/json:
              schema:
                $ref: '#/components/schemas/BackgroundRequestStateDto'
        '403':
          description: State request was not done by same company/user as for the background operation request.
          content:
            application/json: {}
            text/json: {}
        '404':
          description: No background operation state was found.
          content:
            application/json: {}
            text/json: {}
      security:
      - interactiveapi: []
  /v1/background/{requestId}/content:
    get:
      tags:
      - Background
      summary: Gets the response content, if any, of a previously started background API…
      operationId: Background_GetBackgroundApiOperationContentByrequestId
      parameters:
      - name: requestId
        in: path
        description: ''
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Gets response content for a finished background operation, if any.
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
        '403':
          description: State request was not done by same company/user as for the background operation request.
          content:
            application/json: {}
            text/json: {}
        '404':
          description: No background operation response content was found.
          content:
            application/json: {}
            text/json: {}
        '410':
          description: State for background operation has been removed after 24 hours.
          content:
            application/json: {}
            text/json: {}
      security:
      - interactiveapi: []
components:
  schemas:
    BackgroundRequestStateDto:
      type: object
      properties:
        id:
          type: string
          description: '

            Identifies a started background API operation'
        status:
          type: string
          description: '

            Current status of a background API operation. Possible values are ''Started'', ''Finished'' and ''Failed''.'
        statusCode:
          type: integer
          description: '

            The Http Status Code of the finished background API operation. Value is 0 when operation is not done.'
          format: int32
        receivedUtc:
          type: string
          description: '

            Time when background API operation was requested'
          format: date-time
        startedUtc:
          type: string
          description: '

            Time when processing of background API operation was started'
          format: date-time
        finishedUtc:
          type: string
          description: '

            Time when background API operation was finished processing'
          format: date-time
        webhookAddress:
          type: string
          description: '

            The webhook uri used to notify when background API operation is finished, or ''none'' if no notification is configured'
        errorMessage:
          type: string
          description: '

            Any error message during processing of background API operation request. Note that any error response from the actual endpoint can be obtained by calling the ContentLocation address from the webhook notifaction response or the background state document.'
        reference:
          type: string
        originalUri:
          type: string
          description: '

            The endpoint that was requested to be processed as a background API operation.'
        hasResponseContent:
          type: boolean
          description: '

            Indicates whether or not the background API operation ended with a response content. Value is updated only when background API operation is finished.'
        hasRequestContent:
          type: boolean
          description: '

            Indicates whether or not the background API operation request has a request content.'
        contentLocation:
          type: string
          description: '

            The uri from where the client can get the response from the background API operation, if any is available.'
          readOnly: true
        responseHeaders:
          type: object
          additionalProperties:
            type: string
          description: '

            Any response headers from the finished background API operation.'
  securitySchemes:
    interactiveapi:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://connect.visma.com/connect/authorize
          tokenUrl: https://connect.visma.com/connect/token
          scopes:
            vismanet_erp_interactive_api:read: vismanet_erp_interactive_api:read
            vismanet_erp_interactive_api:update: vismanet_erp_interactive_api:update
            vismanet_erp_interactive_api:create: vismanet_erp_interactive_api:create
            vismanet_erp_interactive_api:delete: vismanet_erp_interactive_api:delete
            vismanet_erp_interactive_api:ui-extension: vismanet_erp_interactive_api:ui-extension