English

Counts the number of Audits that were logged between two dates.

Parameter startdatum – Start date (inclusive) from which audits are fetched. Given in the form yyyy-MM-ddTHH:mm:ss.SSSZ as a dateTime object. For example: 2020-10-01T00:00:00.000Z

Parameter slutdatum – End date (inclusive) until which audits are fetched. Given in the form yyyy-MM-ddTHH:mm:ss.SSSZ as a dateTime object. For example: 2020-10-05T00:00:00.000Z, if audits up until and including 2020-10-05 are desired.

Returns the type HaemtaHaendelseloggarRes which contains the number of fetched audits and an array of AuditRecord objects containing information about the audits.

The function cannot be called unless the following configuration is set to true:

capitex_boendekalkyl_applikationsservice_aktivera_haemtahaendelseloggarmellandatum

Swedish

Hämtar alla händelseloggar (audits) mellan angivna datum.

Inparameter startdatum – Startdatum (inklusive) från vilket händelseloggar hämtas. Anges på formen yyyy-MM-ddTHH:mm:ss.SSSZ som dateTime objekt. Exempelvis: 2020-10-01T00:00:00.000Z

Inparameter slutdatum – Slutdatum (inklusive) till vilket händelseloggar hämtas. Anges på formen yyyy-MM-ddTHH:mm:ss.SSSZ som dateTime objekt. Exempelvis: 2020-10-05T00:00:00.000Z, om loggar fram till och med 2020-10-05 önskas.

Returvärdet är av typen HaemtaHaendelseloggarRes som innehåller antalet hämtade händelseloggar samt en array av AuditRecord information för händelseloggarna.

För att funktionen ska gå att anropa måste följande inställning sättas till true:

capitex_boendekalkyl_applikationsservice_aktivera_haemtahaendelseloggarmellandatum