Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Every major change on a document is recorded as an event (hendelse). For monitoring a portfolio of document, events should be used in stead of polling for status on each document. Event monitoring is available in beta and production using the webservice HendelseWs (currently in version 6).

...

Parameter

Purpose

Description

fraHendelsesId

Set the starting point

required

Will return events with eventId greater than or equal to this value.

maxAntall

Limit the number of events

required

Maximum number of events to return.

statuser

Filter events

Only fetch events for this list of document statuses. See below for example statuses.

typer

Filter events

Only fetch events for these event types. See below for example event types

kilde

Filter events

Some customers use both the webservice and GUI in Etinglysing. kilde allows you to fetch events for documents created through the webservice (INTEGRASJON), the GUI (NETTLESER) or both (ALLE). If omitted, events from both sources will be returned.

fraTidspunkt

Set the starting point

Only retrieve events having created timestamp newer or equal to this. ISO timestamp format. Example value 2021-11-16T16:22:09.321+01:00.

...

Field

Description

id

EventId

type

Event type (see below for examples)

dokumentId

DocumentId in Etinglysing

eksternEierId

Document owner departmentId May be null

nyStatus

New status

gammelStatus

Old status. May be null

beskrivelse

Status description in Norwegian

opprettet

Event created timestamp

eksterntOpprettetDokument

True if document is created by using the DocumentWS webservice.

dokumentRef

The document reference at the event time

oppdragsId

Assignment ID that the document may be assigned to May be null

dokumentType

The type of document.

...

Code Block
languagexml
<v6:listHendelser>
    <fraHendelsesId>0</fraHendelsesId>
    <maxAntall>50</maxAntall>
    <statuser>TINGLYSING_FEILET</statuser>
    <statuser>TINGLYST</statuser>
    <typer>STATUSOVERGANG</typer>
    <fraTidspunkt>2023-01-01T00:00:01</fraTidspunkt>
</v6:listHendelser>

If you have implemented collaboration with brokers and are sending mortgage documents to brokers, you will need to fetch events MOTTATT_AV_MEGLER and SAMHANDLING_FEILET as well.