...
«listHendelser» returns a list of events from the given eventid (fraHendelsesId). The service takes a list of parameter to limit the result.
Params:
Parameter | Description |
---|---|
fraHendelsesId | eventid to start from |
maxAntall | maximum number of events |
statuser | limit to certain WsDokumentStatus-types |
typer | event types as defined in WsHendelsesType |
kunEksterne | True: Only documents created by using the DocumentWS. |
Response:
Type | Description |
---|---|
id | event id |
type | one of WsHendelsesType |
dokumentId | documentid in www.etinglysing.no |
eksternEierId | document owner |
nyStatus | new status |
gammelStatus | old status |
beskrivelse | status description in Norwegian |
opprettet | event date |
eksterntOpprettetDokument | document is created by using DocumentWS |
dokumentRef | the document reference at the event time |
oppdragsId | oppdragsid in www.etinglysing.no |
List events with status
«listHendelserMedStatus» returns a list of events from the given eventID (fraHendelsesId). Attached to each event is the status of the document, as delivered in getStatus.
Migrating from version 5 to 6 of Hendelse
The only change from version 5 to 6 is that all values defined as enum
in version 5 is changed to type String
in version 6. This allows us to add additional code/status values as the standardization process continues to add new integration possibilities between the banks and the brokers. To make a resilient integration with the Hendelse API, you should not fail if you receive a new value, but rather log it and add support for it as you need.