StakeholderDocumentInput
Property | Type | Mandatory/Optional | Maximum character length/limit | Description |
---|---|---|---|---|
FileName | string | Mandatory | Should be less than or equal to 260 characters. | Provide only the file name and extension, not path (ex: test.txt) |
Title | string | Mandatory | Should be less than or equal to 260 characters. | The title of the document. |
DocumentTypeId | int | Mandatory | Should be less than or equal to 260 characters. | Available document type Ids are listed in DocumentType |
Url | string | Mandatory if Data is not given | Not relevant | A url of a document (ex: http://martinfowler.com/articles/nosql-intro-original.pdf) |
Data | string | Mandatory if Url is not given | Not relevant | Base 64 encoded data |
Description | string | Optional | Should be less than or equal to 260 characters. | The description of the document |
IsVisibleToStakeholder | boolean | Optional | Not relevant | If set to True, the document is made visible to the property owner in Boligmappa.no |
ProfessionId | int | Mandatory | Not relevant | Available profession ids are available at ProfessionType. Users are allowed to use only the professions registered for their company. |