Valid Date Format

Skip to first unread message

Michael Gumtow

unread,
Oct 16, 2019, 3:35:35 PM10/16/19
to TramsAPI Beta
Hi Dan,

Just curious if you could provide the valid date format for the Rescard Trip Start/End date fields?  I have tried several different formats, but I keep receiving a "{"apiVersion":"4.08","result":{"resultcode":99,"resulttext":"Invalid date string: "}}" error.  Based on data returned, I would expect that the format would be 2020-12-18T00:00:00.000Z, but that doesn't seem to be the case.

Thanks!

Dan Palley

unread,
Oct 16, 2019, 8:25:48 PM10/16/19
to TramsAPI Beta
Hi Mike,

JSON dates need to be in  ISO 8601 format, and your example looks correct.  Could you post the complete request you're trying to make?

Dan
Reply all
Reply to author
Forward
0 new messages