Throw HTTP error codes in API controller.
Convert date to UTC, format in ISO 8601. Cast to boolean.