Unable to Post Date Time value to an API

Unable to Post Date Time value to an API

  

Hi Guys, 

Need help on this. I'm having issue posting date and time value that is set in outsystems to post to external API. 

The get response of the external API is in ISO8601 format - "yyyy-MM-ddThh:mm:ssZ" which is equivalent to the date time object of outsystems. When posting value with above same format it is not saved on their end. I tried posting just a Date value in the format "mm/dd/yyyy" and it works. But we need the Time part also. 

How can I achieve it? I tried to copy the same structure (for API post) just converting the date time(outsystems object) to a Text object as a work around but still won't work. Anyone encountered this?

Your help is valuable. Thanks in advance!

Regards,

Rian

Hi Rian,

Did you increase the log level of the consumed API to investigate what is actually sent to the external API? This could help you in tracking down the problem (e.g. the external service doesn't acutally want an ISO date/time).