Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 the attachments field.

When getting an attachment, data can be encoded in base64, but also unencoded. Attachments added from the API will be encoded and attachment added from the Java VMS client may be unencoded.

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
1022885889