IAM Core

Visma Enterprise Plus

On this page

Visma has a very oldfashioned approach to APIs, where they need to install the API on a per customer basis (for a fee, of course), and the API is xml based. After getting the API installed, the below configuration inputs are provided by Visma:

Configuration inputs

Example screenshot

Company ID

DescriptionThe company in Visma Enterprise that the connector will get data for. If you have multiple companies, add multiple connectors.
Technical / API namecompanyid
Example value:1

FQDN

DescriptionThe fully qualified domain name of the API
Technical / API namefqdn
Example value:utkanten-kommune.enterprise.visma.no

Client ID

DescriptionThe client id of the connection
Technical / API nameclientid
Example value:Kommune_Fortytwo

Client Secret

DescriptionThe secret of the client id
Technical / API nameclientsecret
Example value:Abc123

Connector object types

Object typeContents
personEmployees, including starters and terminated employees
positionThe positions of the employees
unitThe organization chart, including a synthetic root node with the external id chart

Example sync rules

The below sections contain example attribute flows for sync rules:

Position

Connector object typeposition
Core object typerelationship
JSON
[
  {
    "$type": "string",
    "value": {
      "$type": "attribute",
      "attribute": "PositionInfo/PositionCode/Name"
    },
    "joinPriority": null,
    "targetAttributeName": "title",
    "nullFlow": false
  },
  {
    "$type": "string",
    "value": {
      "$type": "constant",
      "value": "position"
    },
    "joinPriority": null,
    "targetAttributeName": "type",
    "nullFlow": false
  },
  {
    "$type": "datetime",
    "value": {
      "$type": "todatetime",
      "input": {
        "$type": "attribute",
        "attribute": "PositionStartDate"
      },
      "format": null
    },
    "targetAttributeName": "startDate",
    "nullFlow": false
  },
  {
    "$type": "datetime",
    "value": {
      "$type": "todatetime",
      "input": {
        "$type": "regexswitch",
        "value": {
          "$type": "attribute",
          "attribute": "PositionEndDate"
        },
        "default": {
          "$type": "attribute",
          "attribute": "PositionEndDate"
        },
        "cases": [
          {
            "pattern": "0001-01-01T00:00:00",
            "value": {
              "$type": "null"
            }
          }
        ]
      },
      "format": null
    },
    "targetAttributeName": "endDate",
    "nullFlow": false
  },
  {
    "$type": "reference",
    "value": {
      "$type": "asreference",
      "objectType": "unit",
      "referencedAttribute": null,
      "input": {
        "$type": "attribute",
        "attribute": "Chart/Unit/Id"
      }
    },
    "targetAttributeName": "orgUnit",
    "nullFlow": false
  },
  {
    "$type": "string",
    "value": {
      "$type": "externalid"
    },
    "joinPriority": 1,
    "targetAttributeName": "anchor1",
    "nullFlow": false
  },
  {
    "$type": "reference",
    "value": {
      "$type": "asreference",
      "objectType": "person",
      "referencedAttribute": null,
      "input": {
        "$type": "attribute",
        "attribute": "PersonIdHrm"
      }
    },
    "targetAttributeName": "identity",
    "nullFlow": false
  },
  {
    "$type": "string",
    "value": {
      "$type": "attribute",
      "attribute": "Employment/EmployeeId"
    },
    "joinPriority": null,
    "targetAttributeName": "employeeId",
    "nullFlow": false
  },
  {
    "$type": "string",
    "value": {
      "$type": "attribute",
      "attribute": "PositionInfo/PositionType/Value"
    },
    "joinPriority": null,
    "targetAttributeName": "subType",
    "nullFlow": false
  },
  {
    "$type": "string",
    "value": {
      "$type": "attribute",
      "attribute": "PositionInfo/PublicPositionCode/Value"
    },
    "joinPriority": null,
    "targetAttributeName": "positionCode",
    "nullFlow": false
  },
  {
    "$type": "string",
    "value": {
      "$type": "attribute",
      "attribute": "Employment/Category/Description"
    },
    "joinPriority": null,
    "targetAttributeName": "category",
    "nullFlow": false
  },
  {
    "$type": "double",
    "value": {
      "$type": "attribute",
      "attribute": "PositionPercentage"
    },
    "targetAttributeName": "employmentPercentage",
    "nullFlow": false
  },
  {
    "$type": "reference",
    "value": {
      "$type": "asreference",
      "objectType": "person",
      "referencedAttribute": null,
      "input": {
        "$type": "attribute",
        "attribute": "Chart/Unit/Manager/Id"
      }
    },
    "targetAttributeName": "manager",
    "nullFlow": false
  }
]

Person

Connector object typeperson
Core object typeidentity
JSON
[
  {
    "$type": "string",
    "value": {
      "$type": "attribute",
      "attribute": "FamilyName"
    },
    "joinPriority": null,
    "targetAttributeName": "lastName",
    "nullFlow": false
  },
  {
    "$type": "string",
    "value": {
      "$type": "attribute",
      "attribute": "GivenName"
    },
    "joinPriority": null,
    "targetAttributeName": "firstName",
    "nullFlow": false
  },
  {
    "$type": "string",
    "value": {
      "$type": "attribute",
      "attribute": "ContactInfo/MobilePhone"
    },
    "joinPriority": null,
    "targetAttributeName": "mobile",
    "nullFlow": false
  },
  {
    "$type": "string",
    "value": {
      "$type": "join",
      "inputs": [
        {
          "$type": "attribute",
          "attribute": "GivenName"
        },
        {
          "$type": "constant",
          "value": " "
        },
        {
          "$type": "attribute",
          "attribute": "FamilyName"
        }
      ]
    },
    "joinPriority": null,
    "targetAttributeName": "displayName",
    "nullFlow": false
  },
  {
    "$type": "string",
    "value": {
      "$type": "attribute",
      "attribute": "Ssn"
    },
    "joinPriority": 1,
    "targetAttributeName": "nin",
    "nullFlow": false
  },
  {
    "$type": "string",
    "value": {
      "$type": "attribute",
      "attribute": "ContactInfo/PrivateMobilePhone"
    },
    "joinPriority": null,
    "targetAttributeName": "privateMobile",
    "nullFlow": false
  },
  {
    "$type": "string",
    "value": {
      "$type": "attribute",
      "attribute": "ContactInfo/PrivateEmail"
    },
    "joinPriority": null,
    "targetAttributeName": "privateEmail",
    "nullFlow": false
  },
  {
    "$type": "string",
    "value": {
      "$type": "attribute",
      "attribute": "PostalAddress/CountryCode"
    },
    "joinPriority": null,
    "targetAttributeName": "countryCode",
    "nullFlow": false
  }
]

Unit

Connector object typeunit
Core object typeorgUnit
JSON
[
  {
    "$type": "string",
    "value": {
      "$type": "attribute",
      "attribute": "Name"
    },
    "joinPriority": null,
    "targetAttributeName": "displayName",
    "nullFlow": false
  },
  {
    "$type": "string",
    "value": {
      "$type": "constant",
      "value": "company"
    },
    "joinPriority": null,
    "targetAttributeName": "type",
    "nullFlow": false
  },
  {
    "$type": "string",
    "value": {
      "$type": "attribute",
      "attribute": "UnitType"
    },
    "joinPriority": null,
    "targetAttributeName": "subType",
    "nullFlow": false
  },
  {
    "$type": "reference",
    "value": {
      "$type": "asreference",
      "objectType": "unit",
      "referencedAttribute": "Kode",
      "input": {
        "$type": "attribute",
        "attribute": "Parentid"
      }
    },
    "targetAttributeName": "parent",
    "nullFlow": false
  },
  {
    "$type": "string",
    "value": {
      "$type": "externalid"
    },
    "joinPriority": 1,
    "targetAttributeName": "anchor1",
    "nullFlow": false
  },
  {
    "$type": "reference",
    "value": {
      "$type": "asreference",
      "objectType": "person",
      "referencedAttribute": "PersonIdHrm",
      "input": {
        "$type": "attribute",
        "attribute": "Manager/Id"
      }
    },
    "targetAttributeName": "manager",
    "nullFlow": false
  },
  {
    "$type": "multivaluedreference",
    "value": {
      "$type": "asmultivaluedreference",
      "objectType": "person",
      "referencedAttribute": null,
      "input": {
        "$type": "tostrings",
        "attribute": "Id",
        "input": {
          "$type": "multivaluedobjectattribute",
          "attribute": "EmployeesProperty",
          "input": {
            "$type": "whereattributev2",
            "attribute": {
              "$type": "constant",
              "value": "Id"
            },
            "value": {
              "$type": "constant",
              "value": "7"
            },
            "input": {
              "$type": "multivaluedobjectattribute",
              "attribute": "Roles",
              "input": null
            }
          }
        }
      }
    },
    "targetAttributeName": "deputies",
    "nullFlow": false
  }
]
Last updated 13 November 2026 Edit this page on GitHub
Esc