You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Sort reports from Connect_PHP API

Received Response
18
Views
1
Comments
edited Nov 19, 2019 3:59PM in Customer Portal 1 comment

Summary

How can we sort reports we pull from the Connect_PHP API

Content

So we are using the Connect PHP api to pull our report and we can modify the filters but is there a way to modify to sort order of the report? Since we are only pulling like 10 at a time it would not be possible to sort after the results are returned.

Version

3.7

Code Snippet

        $ar= RNCPHP\AnalyticsReport::fetch($report_id);

        $language_filter= new RNCPHP\AnalyticsReportSearchFilter;
        $language_filter->Name = 'Language';
        $language_filter->Values = array( $language );

        $platform_filter= new RNCPHP\AnalyticsReportSearchFilter;
        $platform_filter->Name = 'Platform';
        $platform_filter->Values = array( $platform );

        $product_filter= new RNCPHP\AnalyticsReportSearchFilter;
        $product_filter->Name = 'Product';
      

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!