...
The two resources can be manipulated exactly as all other resources.
When a new Remark is posted with attachments in the JSON the source field must be before of the attachments field.
Some examples
Create a new remark with a file attached:
...
{ "attachments": [ { "file":"small file 2", "fileName":"test2.txt" } ] }
...
Properties
Property | Type | Length | Mandatory | Description | Comments | ||||
---|---|---|---|---|---|---|---|---|---|
remark | String | Yes | |||||||
remarkTitle | String | ||||||||
source | Integer | ||||||||
attachments | Array of /Attachment | ||||||||
remarks | Array of /Remark |