Issue with Date/Time Format in API Web Service Method

We have an application I am trying to interact with using a. web service method. 

I am using the "Created" attribute as the Start time in the JSON Body: 

"start":"2024-01-02T22:30:27Z",

The application is expecting the start date/time of the event (in UTC). Date/time must be in the following format: yyyy-mm-ddThh:mm:ss and the web service log response is:

"start": "Invalid date format."

Is there any way to remove the offset marker Z?

Asked by Scott Cory on Tue 1/2/24 6:25 PM
Sign In to leave feedback or contribute an answer

Answer (1)

This answer has been marked as the accepted answer
Mark Sayers Wed 1/3/24 9:30 AM

Hi Scott,

Unfortunately all date and/or date/time fields when referenced via web service call/api will produce their value in this format. There is no way via workflow to "trim" that value or otherwise format it.

Sincerely,
Mark Sayers
Sr Support Consultant, CS

No feedback