Download OpenAPI specification:
What the directory login package adds to the published contract when it is installed (see WebVision\Adsum\Core\Shared\Api\Contract\OpenApiDocument): the connection of identity providers of type ldap, which the core's provider operations carry, and the sync of directory entries. Linted on its own.
The sync runs in the background; poll getLdapSyncRun. A dry run only reports. A run that would block more than a fifth of the linked accounts stops with status massBlockPrevented before blocking anyone and notifies the admins; start it again with confirmMassBlock to go ahead.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| dryRun | boolean Default: false |
| confirmMassBlock | boolean Default: false |
{- "dryRun": false,
- "confirmMassBlock": false
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "providerId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "status": "requested",
- "dryRun": true,
- "confirmMassBlock": true,
- "counts": {
- "read": 0,
- "linked": 0,
- "updated": 0,
- "unmatched": 0,
- "blocked": 0,
- "unblocked": 0,
- "roleRefusals": 0,
- "errors": 0
}, - "errors": [
- {
- "entry": "string",
- "message": "string"
}
], - "requestedAt": "2026-10-01T08:15:00+02:00",
- "startedAt": "2026-10-01T08:15:00+02:00",
- "finishedAt": "2026-10-01T08:15:00+02:00"
}| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "items": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "providerId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "status": "requested",
- "dryRun": true,
- "confirmMassBlock": true,
- "counts": {
- "read": 0,
- "linked": 0,
- "updated": 0,
- "unmatched": 0,
- "blocked": 0,
- "unblocked": 0,
- "roleRefusals": 0,
- "errors": 0
}, - "errors": [
- {
- "entry": "string",
- "message": "string"
}
], - "requestedAt": "2026-10-01T08:15:00+02:00",
- "startedAt": "2026-10-01T08:15:00+02:00",
- "finishedAt": "2026-10-01T08:15:00+02:00"
}
]
}Write-backs that did not succeed yet, with the attributes they write (never their values), their attempts and the last error; each is retried with a growing pause, ten times at most.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "items": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "entryId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "attributes": [
- "string"
], - "attempts": 0,
- "lastError": "string",
- "nextAttemptAt": "2026-10-01T08:15:00+02:00",
- "createdAt": "2026-10-01T08:15:00+02:00"
}
]
}| runId required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "providerId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "status": "requested",
- "dryRun": true,
- "confirmMassBlock": true,
- "counts": {
- "read": 0,
- "linked": 0,
- "updated": 0,
- "unmatched": 0,
- "blocked": 0,
- "unblocked": 0,
- "roleRefusals": 0,
- "errors": 0
}, - "errors": [
- {
- "entry": "string",
- "message": "string"
}
], - "requestedAt": "2026-10-01T08:15:00+02:00",
- "startedAt": "2026-10-01T08:15:00+02:00",
- "finishedAt": "2026-10-01T08:15:00+02:00"
}In the provider's OU for new entries, disabled in Active Directory and without any password attribute; enabling it and its first password stay with the directory's own processes. The employee is linked to it.
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
Uuid (string) or null The provider to create the entry in; without it, the company's only directory provider with an OU for new entries. | |
| employeeId required | string <uuid> (Uuid) |
{- "providerId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "providerId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "dn": "string",
- "login": "string",
- "state": "linked",
- "values": {
- "property1": "string",
- "property2": "string"
}, - "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
}The entries of the company's directory providers that the sync could not match to an employee by work e-mail address or personnel number, with their name and e-mail to create the employee or link one.
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
{- "items": [
- {
- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "providerId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "dn": "string",
- "login": "string",
- "state": "linked",
- "values": {
- "property1": "string",
- "property2": "string"
}, - "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
}
]
}The employee's account is used, or created without a password; the directory checks its password.
| id required | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b |
| Company-Id | string <uuid> (Uuid) Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403. |
| employeeId required | string <uuid> (Uuid) |
{- "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
}{- "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "providerId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
- "dn": "string",
- "login": "string",
- "state": "linked",
- "values": {
- "property1": "string",
- "property2": "string"
}, - "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
}