| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Id of the document. Should be 0 for new instance. |
integer |
Required |
| CategoryId |
Id of the document category. |
integer |
Required |
| OwnerId |
The internal id of the person who has done the registration (The Access user id). When the person is not the same as the logged on employee, then the logged on employee must be authorized in Plancare2 to store information on behalf of the given person. The ownerId may not be changed by the user of the API. |
integer |
Required |
| Name |
The name of the document. |
string |
Required |
| FileName |
The original full path to the document. Please note that backslashes should be escaped (see RFC7159). Example: The Windows path to C:\Temp\LogFile.Text should be passed as C:\\Temp\\LogFile.Text. |
string |
Required |
| FileSize |
Binary size of the document. |
integer |
- |
| DateCreated |
Date / time the document is stored the first time. |
date |
- |