noark5_create_saksmappe
Create a new saksmappe (case file) under an arkivdel by supplying the parent URL and title. Optionally specify case year and attributes such as status, owner, or journal unit for precise record management.
Instructions
Create a new saksmappe (case file) under an arkivdel.
Args: parent_url: The self-href URL of the parent arkivdel. tittel: The title of the case file. saksaar: Optional case year. Set to 0 or omit to let the server auto-assign. attributes: Optional JSON object with additional fields. All optional: sakssekvensnummer, saksdato, administrativEnhet, referanseAdministrativEnhet, saksansvarlig, referanseSaksansvarlig, journalenhet, saksstatus, utlaantDato, utlaantTil, referanseUtlaantTil. Also inherits from Mappe: mappeID, offentligTittel, beskrivelse, noekkelord, dokumentmedium, oppbevaringssted, avsluttetDato, avsluttetAv, referanseAvsluttetAv.
Returns details of the created saksmappe including its URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tittel | Yes | ||
| saksaar | No | ||
| attributes | No | {} | |
| parent_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |