Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: vma on October 15, 2020, 09:17:56 AM

Title: _desired_time parameter when creating a callback (via API)
Post by: vma on October 15, 2020, 09:17:56 AM
Hello,
I've created my callback service in GMS and even though the _timezone option is set to Europe/Brussels when I need to create a new callback via API the _desired_time still needs to be the GMT time. For example if I want a callback tomorrow at 08:00 CET, I need to format the _desired_time to "2020-10-15T06:00:00.000Z".
This is a complicates the customer web developers life a bit so they are asking if it's possible to either send the CET time or add the timezone in the _desired_time paramter.
I have tried multiple formats like "2020-10-15T06:00:00.000+02" or "2020-10-15T06:00:00.000+02:00" but every time I get error "Bad Parameter _desired_time: Date string '2020-10-05T06:00:00.000+02:00' is not parseable as ISO 8601 timestamp".
Do you know how to fix this?
Cheers!