TenantDocumentInput
Property | Type | Description | ||
---|---|---|---|---|
FileName | string | Mandatory | Not Relevant | Provide only the file name and extension, not path (ex: test.txt) |
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 |
Title | string | Mandatory | Should be less than or equal to 260 characters. | The title of the document. |
Description | string | Optional | Should be less than or equal to 260 characters. | The description of the document |
OrderNumber | string  | Mandatory | Not Relevant | The job order associated with the document |
IsVisibleInBoligmappa | boolean | Optional | Not Relevant | If set to True, the document is made visible to the tenant company directors in Boligmappa.no |
ProfessionId | int | Mandatory | Not Relevant | Available profession ids are listed below. Users are allowed to use only the professions registered for their company. If user put -1 as proffession Id, the logged in user's proffesion Id will be tagged to the document |
RoomIds | List<long> | Optional | Not Relevant | Rooms relevant to the document can be tagged by providing the room id. The available rooms can be retrieved using the GetRoomsForTenant web method. |
DeviceId | long | Optional | Not Relevant | Devices relevant to the document can be tagged by providing the device id. The available devices can be retrieved using the GetDevicesForTenant web method. |
ChapterTagIds | List<int> | Optional | Not Relevant | Chapters relevant to the document can be tagged by providing the chapter tag ids. Available chapter tags can be retrieved using the GetChapterTags web method. Refer Chapter Tags. |