userContactSync
Namespace: |
(default namespace) |
XML Schema: |
ns0.xsd |
Message Synchronization Object
Used to synchronize a message from server to device and vice versa.
XML
Elements
name (type) |
min/max occurs |
description |
operation (int)
|
1/1 |
The sync operation for this message
0 .. update
1 .. insert
2 .. delete
|
contactId (int)
|
1/1 |
The contact id of the contact
The contact id will be zero for new contacts from the device otherwise the contact id must be greater than zero.
|
deviceContactId (int)
|
1/1 |
The device contact id of the message
The device contact id will be zero for new contacts from the server otherwise the device contact id must be greater than zero.
|
name (string)
|
0/1 |
The name of the contact. (64 chars allowed, more will be truncated)
|
msisdns (string)
|
0/unbounded |
The msisdn's in international format (+4367612345678) - for short codes (6567).
|
msisdnsType (string)
|
0/unbounded |
The type (mobile, work, home, ...) for the msisdn at the same array position.
The array size must be the same than msisdns or null.
|
contactGroups (string)
|
0/unbounded |
The contact group names for this contact
|
avatarMimeType (int)
|
0/1 |
The mime type of the avatar
0 .. jpeg
1 .. png
|
avatarData (string)
|
0/1 |
The avatar data of the contact base64 encoded.
The maximum size of an avatar is 10 KB.
|
JSON
property |
type |
description |
operation |
operation (int)
|
The sync operation for this message
0 .. update
1 .. insert
2 .. delete
|
contactId |
contactId (int)
|
The contact id of the contact
The contact id will be zero for new contacts from the device otherwise the contact id must be greater than zero.
|
deviceContactId |
deviceContactId (int)
|
The device contact id of the message
The device contact id will be zero for new contacts from the server otherwise the device contact id must be greater than zero.
|
name |
name (string)
|
The name of the contact. (64 chars allowed, more will be truncated)
|
msisdns |
array of msisdns (string)
|
The msisdn's in international format (+4367612345678) - for short codes (6567).
|
msisdnsType |
array of msisdnsType (string)
|
The type (mobile, work, home, ...) for the msisdn at the same array position.
The array size must be the same than msisdns or null.
|
contactGroups |
array of contactGroups (string)
|
The contact group names for this contact
|
avatarMimeType |
avatarMimeType (int)
|
The mime type of the avatar
0 .. jpeg
1 .. png
|
avatarData |
avatarData (string)
|
The avatar data of the contact base64 encoded.
The maximum size of an avatar is 10 KB.
|