name (type) |
min/max occurs |
description |
attachmentKey (string)
|
1/1 |
The newly created attachment key
|
typeId (int)
|
1/1 |
The type id of the attachment
type id | description | preview |
0 | any file | no |
1 | image jpeg | yes |
2 | image png | yes |
3 | image gif | yes |
4 | video mp4 | yes |
5 | audio mp4 | no |
6 | location | yes |
7 | contact | yes |
|
fileName (string)
|
0/1 |
The file name of the attachment part
|
fileSize (int)
|
1/1 |
The file size of the attachment part
The maximal file size is 20Mb.
|
preview (boolean)
|
1/1 |
True if a preview is available to upload
|
properties (string)
|
0/1 |
Sets the properties which depends on the type in json format.
location:
{
lat: 41.40338,
lng: 2.5646
}
contact:
{
name: "Ben",
surName: "Becker",
}
others: properties are ignored
|
property |
type |
description |
attachmentKey |
attachmentKey (string)
|
The newly created attachment key
|
typeId |
typeId (int)
|
The type id of the attachment
type id | description | preview |
0 | any file | no |
1 | image jpeg | yes |
2 | image png | yes |
3 | image gif | yes |
4 | video mp4 | yes |
5 | audio mp4 | no |
6 | location | yes |
7 | contact | yes |
|
fileName |
fileName (string)
|
The file name of the attachment part
|
fileSize |
fileSize (int)
|
The file size of the attachment part
The maximal file size is 20Mb.
|
preview |
preview (boolean)
|
True if a preview is available to upload
|
properties |
properties (string)
|
Sets the properties which depends on the type in json format.
location:
{
lat: 41.40338,
lng: 2.5646
}
contact:
{
name: "Ben",
surName: "Becker",
}
others: properties are ignored
|