Added error spec for api methods with dynamic urls and optional URL parameters (get-intraday-time-series).