| File object (JSON) |
| _id | ObjectID | Id |
| filename | String | Filename |
| fileId | ObjectID | Id used to reference to file on file server |
| size | Integer | Size of the file in bytes |
| filetype | String | Filetype: png, jpg, gif, xls, xlsx, doc, docx, pdf, ppt, pptx, txt, csv |
| folder | ObjectId | Reference to the folder which contains this file |
| employee | ObjectID | Id of employee who added the file |
| customer | ObjectID | Id of the customer the file was added to |
| type | String | Type of file: PORTING, INTERNET, AUDIO, IMAGE, DOC, FOLDER, OTHER |
| width | Integer | If image, then this is the width in pixels |
| height | Integer | If image, then this is the height in pixels |
| description | String | Optional description for the file, e.g. 'Porting of 81808888' |
| date | ISODate | Date and time when the file was added |
| lastUpdated | ISODate | Date and time when the file was last updated/edited |
| accessLevel | Enum | Determines who can access the file. “ALL”, “CUSTOMER”, “EMPLOYEE”, “RESELLER” |
| url | String | URL to access the file from, if the file is stored on type DOC, IMAGE or AUDIO. Remember to add ?token=<token> if file is protected. |