Description
We have a custom field set with a date value. When we access data from the Batchbook API, the date is returned to us like this:
{"id":xxxx,"custom_field_definition_id":34,"custom_field_definition_name":"Do Not Contact Before","datetime_value":"2013-10-07T00:00:00-07:00"}]}
Note the -07:00 GMT offset. However, if we try to simply send this value back, we receive a 422 Unprocessable Entity. Removing the GMT offset such that dates look like this:
{"id":xxxx,"custom_field_definition_id":34,"custom_field_definition_name":"Do Not Contact Before","datetime_value":"2013-10-07T00:00:00"}]}
Works and is accepted. It isn't practical to modify the values in data returned to us by the API in order to send them back to the API. Whatever it spits out, it should also accept.
Please change the API to accept the datetime values with GMT offset.