We have released new versions of our C# clients. There are some backward-incompatible changes, so please read carefully. For any questions, please reach out to support@documaster.com
NugGet packages that are changed:
Documaster.WebApi.Client.Noark5 (2.0.0)
Documaster.WebApi.Client.Common (2.0.0)
Documaster.WebApi.Client.IDP (3.0.0)
Major changes in all packages:
- The .NET version was bumped to .NET 8
- The dependency to Newtonsoft.Json was removed.
- Started using System.Text.Json for serialization and deserialization.
- External dependencies were upgraded to latest version.
Changes in the entity model in Documaster.WebApi.Client.Noark5:
[Backwards-incompatible] Changed the type DateTime? to DateOnly? for the properties below:
- Arkivdel.ArkivperiodeStartDato
- Arkivdel.ArkivperiodeSluttDato
- All record classes: DokumentetsDato, Forfallsdato, OffentlighetsvurdertDato
[Backwards-incompatible] Changed the type DateTime to DateOnly for the following properties:
- Presedens.PresedensDato
[Backwards-incompatible] Changed the type DateTime? to DateOnly for the following properties:
- Saksmappe.Saksdato
- Moetemappe.Moetedato
- All record classes: RegistreringsDato
[Backwards-incompatible] Changed the type of required number properties with default values from int? to int:
- Journalpost: Journalpostnummer, Journalsekvensnummer, Journalaar
- All files classes: Saksaar, Sakssekvensnummer,
Changed optional string and int properties from string and int to string? and int?
- Arkiv, Arkivskaper, Arkivdel, Klasse: Beskrivelse
- Klassifikasjonssystem: Beskrivelse, Klassifikasjonstype
- All files: OffentligTittel, Beskrivelse
- SaksMappe: Prefiks
- Moetemappe: Moetested
- All records: OffentligTittel, Beskrivelse, Forfatter, Journalansvarlig, JournalansvarligBrukerIdent
- Journalpost: Prefiks
- Moeteregistrering: Saksnummer
- Korrespondansepart: Saksbehandler
- Sakspart: SakspartIdent
- Moetedeltaker: Funksjon
- All common fields of Korrespondansepart and Sakspart: Postadresse, Postnummer, Poststed, Land, Epostadresse, Telefonnummer, Kontaktperson, Foedselsnummer, Dnummer and Organisasjonsnummer
- Dokument: Beskrivelse, Forfatter
- Dokumentversjon: FormatDetaljer
- Dokumentflyt: FlytMerknad
- Addresse: Postnr, Poststed, Nummer, Adressekode, AlternativAdresse,
- Bygning: BygningsStatus, BygningsType, BygningsendringsType, Koordinatsystem, KoordX, KoordY, KoordZ, EtasjeNummer, Etasjeplan, Bygningsnavn, BruksenhetLoepenr
- Eiendom: Fnr, Snr, Bruksnavn, Beskrivelse
- Plan: PlanKommunenummer, PlanLandskode, PlanFylkesnummer, Plannavn and Beskrivelse
- Presedens: Beskrivelse, PresedensGodkjentAv, PresedensGodkjentAvBrukerIdent
New additions in the entity model:
- Added DateOnly? property OverlappingsperiodeSluttdato to Arkivdel.
- Added 4 new read-only properties Kassasjonsvedtak, Kassasjonshjemmel, Bevaringstid and ForventetKassasjonsDato for disposable entities: Klass, Dokument, all file and record classes.
- Added read-only text properties KassertAv and KassertAvBrukerIdent to Dokument.
- Added read-only enum properties Publiseringsstatus and EeInnsynStatus to all record classes.
- Added new optional string properties Plan.Beskrivelse, Eindom.Beskrivelse and Addresse.Beskrivelse