DomusPro / Documentation / Datatype: Document

Document

An association document
Da: Foreningsdokument

Changelog
=========

Version 3.0
-----------

Added fields:
description
budgetStartDate
importantDate
subrogation
loanLimitation
originalFilename

A document represents data about the document. It does not contain the actual binary data, this is done in the File object.
documentTypeId
Type: string

Internal Id of the document type.
The name of the types might change over time, but this ID will be constant.

documentTypeName
Type: string

The documenttype as a string

draft
Type: boolean

If this is a draft, this is set to TRUE.

notes
Type: string

deleted
Type: boolean

If this is set, then the document is deleted and can no logner be retrieved, and should also be
deleted in the comsuming end of the webservice.

heldDate
Type: string

If this documents is a meeting minute, this field will contain the date of the meeting
Format: YYYY-MM-DD

signed
Type: boolean

Indicates whether this document is signed or not. Will be TRUE or FALSE.
If not set (NULL), then the status is unknown or not relevant

signedDate
Type: string

If signed, this will will contain the date it was signed.
Format: YYYY-MM-DD

fileName
Type: string

Filename of the actual file

originalFileName
Type: string

The filename the file had originally when sent to domuspro. This filename might contain invalid characters,
or have cryptic names.

fileToken
Type: string

Filetoken used for later fileretrieval
The token is used in the fetchFile method of the documentService to fetch the actual binary data. The token is
valid for one hour.
It is valid only for one retrieval of the document and is then invalidated

description
Type: string

Da: Udvidet beskrivelse såfremt dokumenttypen er "Andet"

budgetStartDate
Type: string

Da: Første dato i regnskabsåret for budgettet, bruges ifm. dokumenttypen "Budget, separat"

Format: YYYY-MM-DD

importantDate
Type: string

Da: Feltet angiver en vigtig dato ifm. dokumenter af typen "Andet"

Format: YYYY-MM-DD

subrogation
Type: boolean

Da: Indtrædelsesret, benyttes kun ifm. dokumenter af typen "Vedtægter"

loanLimitation
Type: boolean

Da: Lånebegrænsning, benyttes kun ifm. dokumenter af typen "Vedtægter"