Skip to content

Latest commit

 

History

History
391 lines (302 loc) · 15.1 KB

ReportingApi.md

File metadata and controls

391 lines (302 loc) · 15.1 KB

Yaksa.OrckestraCommerce.Client.Api.ReportingApi

All URIs are relative to https://dev-ocs-cm.develop.orckestra.cloud/api

Method HTTP request Description
CreateSsrsReportPreviewRequestssrsreportsReportIdpreviewsPost POST /reporting/ssrs/reports/{ReportId}/previews Retrieve a preview image of a report in Ssrs - {CreateSsrsReportPreviewRequest}
ExportSsrsReportRequestssrsreportsReportIdexportPost POST /reporting/ssrs/reports/{ReportId}/export Export a report from Ssrs - {ExportSsrsReportRequest}
GetSsrsRenderingFormatsRequestssrsreportsrenderingformatsGet GET /reporting/ssrs/reports/renderingformats Retrieve a list of supported rendering formats for an Ssrs export - {GetSsrsRenderingFormatsRequest}
GetSsrsReportParametersRequestssrsreportsReportIdparametersPost POST /reporting/ssrs/reports/{ReportId}/parameters Retrieve a list of all report parameterss in Ssrs - {GetSsrsReportParametersRequest}
GetSsrsReportsRequestssrsreportsGet GET /reporting/ssrs/reports Retrieve a list of all reports in Ssrs - {GetSsrsReportsRequest}

CreateSsrsReportPreviewRequestssrsreportsReportIdpreviewsPost

ReportPreview CreateSsrsReportPreviewRequestssrsreportsReportIdpreviewsPost (string accept, string reportId, CreateSsrsReportPreviewRequest body = null)

Retrieve a preview image of a report in Ssrs - {CreateSsrsReportPreviewRequest}

Retrieve a preview image of a report in Ssrs

Example

using System.Collections.Generic;
using System.Diagnostics;
using Yaksa.OrckestraCommerce.Client.Api;
using Yaksa.OrckestraCommerce.Client.Client;
using Yaksa.OrckestraCommerce.Client.Model;

namespace Example
{
    public class CreateSsrsReportPreviewRequestssrsreportsReportIdpreviewsPostExample
    {
        public static void Main()
        {
            Configuration config = new Configuration();
            config.BasePath = "https://dev-ocs-cm.develop.orckestra.cloud/api";
            var apiInstance = new ReportingApi(config);
            var accept = accept_example;  // string | Accept Header
            var reportId = reportId_example;  // string | The report to be used for retrieving the preview image.
            var body = new CreateSsrsReportPreviewRequest(); // CreateSsrsReportPreviewRequest |  (optional) 

            try
            {
                // Retrieve a preview image of a report in Ssrs - {CreateSsrsReportPreviewRequest}
                ReportPreview result = apiInstance.CreateSsrsReportPreviewRequestssrsreportsReportIdpreviewsPost(accept, reportId, body);
                Debug.WriteLine(result);
            }
            catch (ApiException  e)
            {
                Debug.Print("Exception when calling ReportingApi.CreateSsrsReportPreviewRequestssrsreportsReportIdpreviewsPost: " + e.Message );
                Debug.Print("Status Code: "+ e.ErrorCode);
                Debug.Print(e.StackTrace);
            }
        }
    }
}

Parameters

Name Type Description Notes
accept string Accept Header
reportId string The report to be used for retrieving the preview image.
body CreateSsrsReportPreviewRequest [optional]

Return type

ReportPreview

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Success -
401 You must be authenticated to use this request -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ExportSsrsReportRequestssrsreportsReportIdexportPost

TaskInfo ExportSsrsReportRequestssrsreportsReportIdexportPost (string accept, string reportId, ExportSsrsReportRequest body = null)

Export a report from Ssrs - {ExportSsrsReportRequest}

Export a report from Ssrs

Example

using System.Collections.Generic;
using System.Diagnostics;
using Yaksa.OrckestraCommerce.Client.Api;
using Yaksa.OrckestraCommerce.Client.Client;
using Yaksa.OrckestraCommerce.Client.Model;

namespace Example
{
    public class ExportSsrsReportRequestssrsreportsReportIdexportPostExample
    {
        public static void Main()
        {
            Configuration config = new Configuration();
            config.BasePath = "https://dev-ocs-cm.develop.orckestra.cloud/api";
            var apiInstance = new ReportingApi(config);
            var accept = accept_example;  // string | Accept Header
            var reportId = reportId_example;  // string | The report to be used for retrieving the preview image.
            var body = new ExportSsrsReportRequest(); // ExportSsrsReportRequest |  (optional) 

            try
            {
                // Export a report from Ssrs - {ExportSsrsReportRequest}
                TaskInfo result = apiInstance.ExportSsrsReportRequestssrsreportsReportIdexportPost(accept, reportId, body);
                Debug.WriteLine(result);
            }
            catch (ApiException  e)
            {
                Debug.Print("Exception when calling ReportingApi.ExportSsrsReportRequestssrsreportsReportIdexportPost: " + e.Message );
                Debug.Print("Status Code: "+ e.ErrorCode);
                Debug.Print(e.StackTrace);
            }
        }
    }
}

Parameters

Name Type Description Notes
accept string Accept Header
reportId string The report to be used for retrieving the preview image.
body ExportSsrsReportRequest [optional]

Return type

TaskInfo

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Success -
401 You must be authenticated to use this request -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetSsrsRenderingFormatsRequestssrsreportsrenderingformatsGet

List<string> GetSsrsRenderingFormatsRequestssrsreportsrenderingformatsGet (string accept, string cultureName = null)

Retrieve a list of supported rendering formats for an Ssrs export - {GetSsrsRenderingFormatsRequest}

Retrieve a list of supported rendering formats for an Ssrs export

Example

using System.Collections.Generic;
using System.Diagnostics;
using Yaksa.OrckestraCommerce.Client.Api;
using Yaksa.OrckestraCommerce.Client.Client;
using Yaksa.OrckestraCommerce.Client.Model;

namespace Example
{
    public class GetSsrsRenderingFormatsRequestssrsreportsrenderingformatsGetExample
    {
        public static void Main()
        {
            Configuration config = new Configuration();
            config.BasePath = "https://dev-ocs-cm.develop.orckestra.cloud/api";
            var apiInstance = new ReportingApi(config);
            var accept = accept_example;  // string | Accept Header
            var cultureName = cultureName_example;  // string | The culture name in which language the data will be returned (optional) 

            try
            {
                // Retrieve a list of supported rendering formats for an Ssrs export - {GetSsrsRenderingFormatsRequest}
                List<string> result = apiInstance.GetSsrsRenderingFormatsRequestssrsreportsrenderingformatsGet(accept, cultureName);
                Debug.WriteLine(result);
            }
            catch (ApiException  e)
            {
                Debug.Print("Exception when calling ReportingApi.GetSsrsRenderingFormatsRequestssrsreportsrenderingformatsGet: " + e.Message );
                Debug.Print("Status Code: "+ e.ErrorCode);
                Debug.Print(e.StackTrace);
            }
        }
    }
}

Parameters

Name Type Description Notes
accept string Accept Header
cultureName string The culture name in which language the data will be returned [optional]

Return type

List

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Success -
401 You must be authenticated to use this request -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetSsrsReportParametersRequestssrsreportsReportIdparametersPost

List<ReportParameter> GetSsrsReportParametersRequestssrsreportsReportIdparametersPost (string accept, string reportId, GetSsrsReportParametersRequest body = null)

Retrieve a list of all report parameterss in Ssrs - {GetSsrsReportParametersRequest}

Retrieve a list of all reports in Ssrs

Example

using System.Collections.Generic;
using System.Diagnostics;
using Yaksa.OrckestraCommerce.Client.Api;
using Yaksa.OrckestraCommerce.Client.Client;
using Yaksa.OrckestraCommerce.Client.Model;

namespace Example
{
    public class GetSsrsReportParametersRequestssrsreportsReportIdparametersPostExample
    {
        public static void Main()
        {
            Configuration config = new Configuration();
            config.BasePath = "https://dev-ocs-cm.develop.orckestra.cloud/api";
            var apiInstance = new ReportingApi(config);
            var accept = accept_example;  // string | Accept Header
            var reportId = reportId_example;  // string | The report to be used for retrieving report parameters.
            var body = new GetSsrsReportParametersRequest(); // GetSsrsReportParametersRequest |  (optional) 

            try
            {
                // Retrieve a list of all report parameterss in Ssrs - {GetSsrsReportParametersRequest}
                List<ReportParameter> result = apiInstance.GetSsrsReportParametersRequestssrsreportsReportIdparametersPost(accept, reportId, body);
                Debug.WriteLine(result);
            }
            catch (ApiException  e)
            {
                Debug.Print("Exception when calling ReportingApi.GetSsrsReportParametersRequestssrsreportsReportIdparametersPost: " + e.Message );
                Debug.Print("Status Code: "+ e.ErrorCode);
                Debug.Print(e.StackTrace);
            }
        }
    }
}

Parameters

Name Type Description Notes
accept string Accept Header
reportId string The report to be used for retrieving report parameters.
body GetSsrsReportParametersRequest [optional]

Return type

List<ReportParameter>

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Success -
401 You must be authenticated to use this request -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetSsrsReportsRequestssrsreportsGet

List<Report> GetSsrsReportsRequestssrsreportsGet (string accept, string cultureName = null, string scopeId = null)

Retrieve a list of all reports in Ssrs - {GetSsrsReportsRequest}

Retrieve a list of all reports in Ssrs

Example

using System.Collections.Generic;
using System.Diagnostics;
using Yaksa.OrckestraCommerce.Client.Api;
using Yaksa.OrckestraCommerce.Client.Client;
using Yaksa.OrckestraCommerce.Client.Model;

namespace Example
{
    public class GetSsrsReportsRequestssrsreportsGetExample
    {
        public static void Main()
        {
            Configuration config = new Configuration();
            config.BasePath = "https://dev-ocs-cm.develop.orckestra.cloud/api";
            var apiInstance = new ReportingApi(config);
            var accept = accept_example;  // string | Accept Header
            var cultureName = cultureName_example;  // string | The culture name in which language the data will be returned (optional) 
            var scopeId = scopeId_example;  // string | The id of the requested scope (optional) 

            try
            {
                // Retrieve a list of all reports in Ssrs - {GetSsrsReportsRequest}
                List<Report> result = apiInstance.GetSsrsReportsRequestssrsreportsGet(accept, cultureName, scopeId);
                Debug.WriteLine(result);
            }
            catch (ApiException  e)
            {
                Debug.Print("Exception when calling ReportingApi.GetSsrsReportsRequestssrsreportsGet: " + e.Message );
                Debug.Print("Status Code: "+ e.ErrorCode);
                Debug.Print(e.StackTrace);
            }
        }
    }
}

Parameters

Name Type Description Notes
accept string Accept Header
cultureName string The culture name in which language the data will be returned [optional]
scopeId string The id of the requested scope [optional]

Return type

List<Report>

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Success -
401 You must be authenticated to use this request -

[Back to top] [Back to API list] [Back to Model list] [Back to README]