Every major change on a document is recorded as an event (hendelse). For monitoring a portfolio of document, events will give you a good way to handle post processing.
List events
«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.