Populate Datetime field with UTC value

Back in the old API Explorer Developer site, whenever we need to specify the datetime interval for a request, we are able to use a calendar tool that allows us to select our preferred date and time based on our time zone and have it converted to UTC format automatically in the request. It will be great if we can have something similar in the new developer tools now.
Right now, we need to do our manual conversion when entering the datetime interval for the API request which is more susceptible to user mistakes.

Hi, the new API Explorer does have a date time picker for properties that have an appropriate date-like type definition. Can you share what resource(s) and properties you're using where the control isn't showing up?

Hi Tim,

Thank you for your response. I noticed it in the interval field, as seen in the screenshot below. When I click it, I can only type the string value, there is no date time picker showing.
Screenshot 2024-10-15 163751

What API endpoint is that from?

Hi Tim,

Sorry for the delay. Here are some of the sample APIs.

POST /api/v2/analytics/actions/aggregates/query - Query for action aggregates
POST /api/v2/analytics/conversations/details/jobs - Query for conversation details asynchronously

Thanks for confirming the endpoints. API explorer is behaving as expected in those scenarios; the API's OpenAPI definition only describes those properties as strings so API Explorer presents a textbox for a string as expected.

Please open a case with Genesys Cloud Care to report the issue with the API's type definitions for those properties on those endpoints. Fixing this issue requires a code change to the API, which means it must be routed through Care to get the defect logged and tracked appropriately to make the code change. If you get pushback from Care on reporting this bug, link them to this thread and/or drop my name as stating this is a support issue.

Thank you for the quick response Tim.
I will create a case a case as requested

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.