POST (Service Name 'v2InsertExternalFile')
(NOTE: Non-Mandatory elements may be missing, but existing elements must be in the correct order as listed below)
Red = Mandatory
Blue = Date Formats (Must be yyyy-MM-dd)
Agent Association: Code can be obtained from GET (Following contract):
|DiaryDescription||Description of the file uploaded in plain english|
|DiaryFileExtension||As the file image gets uploaded as a Base64 string we require a file extension to apply the program association to the file type (e.g. 'PDF') (NOTE: Do not put a period (.) in front of the extension).|
Group Association: Code can be obtained from GET (Following contract):
Image stored as string (Base64 Encoded)
You can use a site like http://www.dailycoding.com/utils/converter/imagetobase64.aspx to test encoding input.
This is to confirm if the document can be displayed to the 'Owner', 'Tenancy' or 'Supplier' in through the 'Owner Portal' ('true' or 'false').
NOTE: If it is not supplied it is assumed to be 'false'
Must be one of the following values...
Depending on what the 'DiaryType' value is, this is the appropriate code for the type
owner = OwnerCode (e.g. RBOW000043)
These codes can be retrieved from their associated contracts (e.g. GetViewAllDetailedOwner etc...)