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. |
fraTidspunkt | Set the starting point | Only retrieve events having created timestamp newer or equal to this. ISO timestamp format. Example value |
...
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 | ||
---|---|---|
| ||
<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.