Visma Work Day Overrides API

Operations for managing work day overrides for employees. Work day override allows to specify different working times/duration for specific days.

Operations 3

GET /v2/workdayoverrides Get work day overrides #
POST /v2/workdayoverrides Create a work day override #
GET /v2/workdayoverrides/{workDayOverrideId} Get work day override by unique identifier #

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-workdayoverrides-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-workdayoverrides-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Spiris Lön API V2 Work Day Overrides API
  description: Visit our complete Spiris Lön/Cloud Payroll API docs for how to get started, more information about authentication, error handling, query customization and more.
  contact:
    email: api@spiris.se
  version: v2
servers:
- url: https://vlsapi.vismaonline.com/
tags:
- name: WorkDayOverrides
  description: Operations for managing work day overrides for employees. Work day override allows to specify different working times/duration for specific days.
paths:
  /v2/workdayoverrides:
    get:
      tags:
      - WorkDayOverrides
      summary: Get work day overrides
      description: Get all work day overrides or add query parameters to filter the results. The response will include a collection of matched work day overrides with their information such as unique identifier, date, working times/duration, etc.
      responses:
        '200':
          description: Request successful
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedResponseOfWorkDayOverrideResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommonExtendedBadRequest'
      operationId: getV2Workdayoverrides
      x-operation-id-source: derived
    post:
      tags:
      - WorkDayOverrides
      summary: Create a work day override
      description: Create a new work day override for an employee. The work day override will be registered based on the supplied information.
      requestBody:
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/WorkDayOverrideRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkDayOverrideResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommonExtendedBadRequest'
      operationId: postV2Workdayoverrides
      x-operation-id-source: derived
  /v2/workdayoverrides/{workDayOverrideId}:
    get:
      tags:
      - WorkDayOverrides
      summary: Get work day override by unique identifier
      description: Get work day override by specific identifier. The response will include a work day override (if it's found) information such as unique identifier, date, working times/duration, etc.
      parameters:
      - name: workDayOverrideId
        in: path
        description: Work day override unique identifier
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Request successful
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkDayOverrideResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommonExtendedBadRequest'
      operationId: getV2WorkdayoverridesByWorkDayOverrideId
      x-operation-id-source: derived
components:
  schemas:
    CommonPaginationMetadata:
      required:
      - CurrentPage
      - PageSize
      - ServerTimeUtc
      - TotalNumberOfPages
      - TotalNumberOfResults
      type: object
      properties:
        CurrentPage:
          type: integer
          description: The current page number
          format: int32
        PageSize:
          type: integer
          description: The number of results per page
          format: int32
        TotalNumberOfPages:
          type: integer
          description: The total number of pages available
          format: int32
        TotalNumberOfResults:
          type: integer
          description: The total number of results available for the query
          format: int32
        ServerTimeUtc:
          type: string
          description: The date-time notation as defined by RFC 3339, section 5.6  2017-07-21T17:32:28Z
          format: date-time
      additionalProperties: false
    CommonError:
      type: object
      properties:
        Field:
          type:
          - string
          - 'null'
        ErrorCode:
          type:
          - string
          - 'null'
        Message:
          type:
          - string
          - 'null'
        Key:
          type:
          - string
          - 'null'
      additionalProperties: false
    PaginatedResponseOfWorkDayOverrideResponse:
      required:
      - Data
      - Meta
      type: object
      properties:
        Meta:
          allOf:
          - $ref: '#/components/schemas/CommonPaginationMetadata'
        Data:
          type: array
          items:
            $ref: '#/components/schemas/WorkDayOverrideResponse'
      additionalProperties: false
    WorkDayOverrideResponse:
      type: object
      properties:
        Id:
          type: string
          description: Unique identifier provided by VLS
          format: uuid
        EmployeeId:
          type: string
          description: The unique identifier of the employee that the work day is registered for
          format: uuid
        DateToOverride:
          type: string
          description: Date that is overriden
          format: date-time
        StartTime:
          type:
          - string
          - 'null'
          description: 'Work day start time (format: HH:mm). Null indicates a free day.'
        EndTime:
          type:
          - string
          - 'null'
          description: 'Work day end time (format: HH:mm). Null indicates a free day.'
        LunchBreakId:
          type:
          - string
          - 'null'
          description: Unique identifier of a lunch break
          format: uuid
        FirstCoffeeBreakId:
          type:
          - string
          - 'null'
          description: Unique identifier of a first coffee break
          format: uuid
        SecondCoffeeBreakId:
          type:
          - string
          - 'null'
          description: Unique identifier of a second coffee break
          format: uuid
        FullTimeStartTime:
          type:
          - string
          - 'null'
          description: 'Full-time work day start time (format: HH:mm)'
        FullTimeEndTime:
          type:
          - string
          - 'null'
          description: 'Full-time work day end time (format: HH:mm)'
        FullTimeLunchBreakId:
          type:
          - string
          - 'null'
          description: Unique identifier of a lunch break for full-time work day
          format: uuid
        FullTimeFirstCoffeeBreakId:
          type:
          - string
          - 'null'
          description: Unique identifier of a first coffee break for full-time work day
          format: uuid
        FullTimeSecondCoffeeBreakId:
          type:
          - string
          - 'null'
          description: Unique identifier of a second coffee break for full-time work day
          format: uuid
        CreatedUtc:
          type: string
          description: Timestamp indicating when the work day override was created (UTC)
          format: date-time
        ModifiedUtc:
          type: string
          description: Timestamp indicating when the work day override was last modified (UTC)
          format: date-time
      additionalProperties: false
    CommonExtendedBadRequest:
      type: object
      properties:
        ErrorCode:
          type: integer
          format: int32
        DeveloperErrorMessage:
          type:
          - string
          - 'null'
        ErrorId:
          type: string
          format: uuid
        Errors:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/CommonError'
      additionalProperties: false
    WorkDayOverrideRequest:
      required:
      - DateToOverride
      - EmployeeId
      type: object
      properties:
        EmployeeId:
          type: string
          description: 'The unique identifier of the employee that the work day override should be registered for. Source: Get from /v2/employees'
          format: uuid
        DateToOverride:
          type: string
          description: Date that should be overriden
          format: date-time
        StartTime:
          type:
          - string
          - 'null'
          description: 'Work day start time (format: HH:mm). Null indicates a free day.'
        EndTime:
          type:
          - string
          - 'null'
          description: 'Work day end time (format: HH:mm). Null indicates a free day.'
        LunchBreakId:
          type:
          - string
          - 'null'
          description: Unique identifier of a lunch break, if any
          format: uuid
        FirstCoffeeBreakId:
          type:
          - string
          - 'null'
          description: Unique identifier of a first coffee break, if any
          format: uuid
        SecondCoffeeBreakId:
          type:
          - string
          - 'null'
          description: Unique identifier of a second coffee break, if any
          format: uuid
        FullTimeStartTime:
          type:
          - string
          - 'null'
          description: 'Full-time work day start time (format: HH:mm)'
        FullTimeEndTime:
          type:
          - string
          - 'null'
          description: 'Full-time work day end time (format: HH:mm)'
        FullTimeLunchBreakId:
          type:
          - string
          - 'null'
          description: Unique identifier of a lunch break for full-time work day, if any
          format: uuid
        FullTimeFirstCoffeeBreakId:
          type:
          - string
          - 'null'
          description: Unique identifier of a first coffee break for full-time work day, if any
          format: uuid
        FullTimeSecondCoffeeBreakId:
          type:
          - string
          - 'null'
          description: Unique identifier of a second coffee break for full-time work day, if any
          format: uuid
      additionalProperties: false