Hi Mark,
I think what you’re asking for is an extension to the connector to allow you to get the raw data back. I.e. you have a date column where everything is formatted as a date, but the text shows 21 February 2022 and 23/02/2022 in another column.
When you query these in wm.io integration the formatted dates are returned, which are really pretty much as you see them in the sheet, but actually they’re a date so have a number behind them which allows you to do date subtraction/addition, etc.
The google sheets API has:
valueRenderOption
How values should be represented in the output. The default render option is FORMATTED_VALUE
dateTimeRenderOption:
How dates, times, and durations should be represented in the output. This is ignored if valueRenderOption
is FORMATTED_VALUE
. The default dateTime render option is SERIAL_NUMBER
.
But you cannot control these from within the connector call currently.
If you use the API and pick unformatted/serial number you’ll get the serial-number back not the formatted value - Is that a correct understanding of what you’re looking for? (I notice in your sheet, they’re not even formatted as a date).
The downside to this is google sheets uses an unusual date representation (like excel), which means you’d have to convert the serial number to something else for a downstream call.
Most APIs tend to handle dates in the ISO8601 format you’re looking at.
#webMethods-io-Integration#webMethods#webМethods-cloud#Integration-Server-and-ESB