1. This forum is read-only and considered to be an Archive. Please utilize the SmarterTools Community for future interaction and posts.

GetSiteTuningSettings does not return a ResultCode variable

Discussion in 'SmarterStats' started by kostonconsulting, Apr 8, 2012.

  1. kostonconsulting

    kostonconsulting New Member

    When calling GetSiteTuningSettings via the SmarterStats API, it does not return a ResultCode variable. In fact, it appears that all of the API calls for SiteTuning do not return a ResultCode variable:


    Every other module returns a ResultCode integer and as such, I can check if every other module's API calls work by making sure ResultCode == 1. Now, I have to check a different set of values for each SiteTuning API response. This sucks. That means that I cannot tell if an API call succeeded unless I write in some crazy logic for each API call into my function that calls the API. Please add a ResultCode response for every API call.