Request an large image of a contact.
With the operation asnRequestLargeProfileImage can request a large image of a contact. The large
image can be optionally configured by the administrator additionally to the 'normal' small image in order to provide a
higher resolution image of the contact for special purposes (like LiveChat client).
Like with asnRequestContactImage, this operation is used to get or check the image from the server and the server can
determine the need to provide a new image to the client using the given hash value.
ArgumentType: AsnRequestLargeProfileImageArgument
AsnRequestLargeProfileImageArgument is an Object
Name | Type | Optional | Comment |
---|---|---|---|
u8sContactID | string | ContactID of the contact to get or check the image | |
u8sKnownHash | string | If the client has an image already, it sends its hash so the server can determine if the image has changed. | |
netDatabaseContactID | AsnNetDatabaseContactID | yes | Alternatively to u8sContactID one can use the AsnNetDatabaseContactID to identify the contact. |
optionalParams | AsnOptionalParameters | yes | No other optional parameters yet. |
ResultType: AsnRequestLargeProfileImageResult
AsnRequestLargeProfileImageResult 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