attachmentAddPartRequest

Extends: authRequest
Namespace: (default namespace)
XML Schema: ns0.xsd

XML

Elements

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 iddescriptionpreview
0any fileno
1image jpegyes
2image pngyes
3image gifyes
4video mp4yes
5audio mp4no
6locationyes
7contactyes
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

JSON

property type description
attachmentKey attachmentKey (string) The newly created attachment key
typeId typeId (int) The type id of the attachment
type iddescriptionpreview
0any fileno
1image jpegyes
2image pngyes
3image gifyes
4video mp4yes
5audio mp4no
6locationyes
7contactyes
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