asnRequestContactImage

Request an image of a contact

This operation requests the normal (or 'small') Image of a contact. The caller sends
a known hash of an already existing image to the server, so that the server can determine
that the client get the stored image (the hash is not equal) or reponds to the client, that the image has not changed (hash is equal).
If there is no image, no image is returned.

ArgumentType: AsnRequestContactImageArgument

AsnRequestContactImageArgument is an Object

Name Type Optional Comment
netDatabaseContactID AsnNetDatabaseContactID The contact identity of the contact of which the client wants to check or get the image of.

u8sKnownHash string If the client has an image already, it sends its hash so the server can determine if the image has changed.

optionalParams AsnOptionalParameters yes No optional parameters yet.

ResultType: AsnRequestContactImageResult

AsnRequestContactImageResult is an Object

Name Type Optional Comment
iResult number EnumRequestImageResult - result of the call, if there is a new image, no image at all or the image hash has not changed.

sImageData string yes If an image is send to the client, this field contains the binary data of the image.

u8sImageHash string yes If an image is send to the client, this field contains the corresponding hash value for that image.

optionalParams AsnOptionalParameters yes No optional paramaters yet.

ErrorType: AsnRequestError

AsnRequestError is an Object

Name Type Optional Comment
iErrorDetail number A number representing the error

u8sErrorString string A string representing the error

optionalParams AsnOptionalParameters yes No optional params yet

Version 7