EntityAttachment Message
The EntityAttachment message is generated to send pictures/signatures.
This message is always sent in conjunction with an Entity message as pictures/signature are also questionnaire answers, but cannot be included in the questionnaire property of Entity message
The data field of an EntityAttachment message always contains the properties described below
Property | Nullable | Type | Description |
|---|---|---|---|
base64 | false | string | A Base64 encoded string containing the attachment |
key | false | string | The key of the question in the questionnaire. Each pictures/signature question has a unique key. The key can be used to distinguish between different types of pictures/signatures for the same Entity. For example, a picture of damaged goods might have the |
base64 | false | string | The MIME-type of the base64 encoded attachment. By default, both pictures and signatures are sent using MIME-type |
number | false | integer | An incrementing counter for the number of attachments sent for the combination of |
Example
The example below contains the 2nd damage picture taken for an Entity