DocumentInput

PropertyTypeMandatory/OptionalMaximum character length/limitDescription
FileNamestringMandatoryShould be less than or equal to 260 characters.Provide only the file name and extension, not path (ex: test.txt)
DocumentTypeIdint MandatoryShould be less than or equal to 260 characters.Available document type Ids are listed in DocumentType
Url string Mandatory if Data is not givenNot relevantA url of a document (ex: http://martinfowler.com/articles/nosql-intro-original.pdf)
Datastring  Mandatory if Url is not givenNot relevantBase 64 encoded data
Titlestring MandatoryShould be less than or equal to 260 characters.The title of the document.
Description string OptionalShould be less than or equal to 260 characters.The description of the document
OrderNumber string  MandatoryShould be less than or equal to 50 characters.The job order associated with the document 

IsVisibleInBoligmappa

boolean OptionalNot relevantIf set to True, the document is made visible to the property owner in Boligmappa.no 

FolderName 

string  
Not relevant

(Not in use)

ProfessionId

int MandatoryNot relevantAvailable profession ids are available at ProfessionType. Users are allowed to use only the professions registered for their company.

BuildingId 

longOptional
Buildings related to the document can be tagged by providing the building id. The available buildings can be retrieved using the LookupMorePropertyDetailsByMatrikkel web method.

RoomIds

List<long> OptionalNot relevantRooms relevant to the document can be tagged by providing the room id. The available rooms can be retrieved using the GetRoomsInformation web method.

DeviceId

long OptionalNot relevantDevices relevant to the document can be tagged by providing the device id. The available devices can be retrieved using the GetDevices web method.
ChapterTagIdsList<int>OptionalNot relevantChapters 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
ApartmentTagIdsList<int>OptionalNot relevantApartments relevant to the document can be tagged by providing the apartment tag ids. Available apartment tags can be retrieved using the GetApartmentTagsForProject web method. (This field should be a List<long> according to the database design. Since number of integration partners have integrated this web method already, we cannot change the implementation immediately as it may break current integrations)