[#15] how to use getClientBookings API

Migrated from Redmine #15 | Author: deepak ev
Status: Resolved | Priority: High, I’m very impatient | Created: 2017-08-16


What are the param’s to create $sign params in the following function. We know this is an md5 hash . but what all params for md5 . This has not been mentioned. Please help

getClientBookings ($clientId, $sign, $filter)
Returns client bookings, accepts $filter ($filter {upcoming_only: true/false, confirmed_only: true/false})

@param integer $clientId
@param string $sign
@param object $filter
@return array

Dmytro Bondarev wrote:

Hi!
$sign = md5($clientId . $clientHash . $secretKey)

deepak ev wrote:

Dmitry Bondarev wrote:

Hi!
$sign = md5($clientId . $clientHash . $secretKey)

Hi ,
does this means that md5(“myclientid”+“.”+“myclienthash”+“.”+“myscecretkey”); appending strings with “.”

Deepak

Dmytro Bondarev wrote:

It was example on PHP, it means
md5(“myclientid”+“myclienthash”+“myscecretkey”); without additional dots.

deepak ev wrote:

Thanks Dmitry. It is working .