All URIs are relative to https://api.anddone.com
| Method | HTTP request | Description |
|---|---|---|
| SecureReportsDownloadsPost | POST /secure/reports/downloads | This API will add system report. |
void SecureReportsDownloadsPost (string xApiKey, string xAppKey, float xVersion, string origin, ReportDownloadRequest? reportDownloadRequest = null)
This API will add system report.
using System.Collections.Generic;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class SecureReportsDownloadsPostExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.anddone.com";
var apiInstance = new SecureReportsApi(config);
var xApiKey = "xApiKey_example"; // string | an authorization header
var xAppKey = "xAppKey_example"; // string | an authorization header
var xVersion = 8.14D; // float | x-version
var origin = "origin_example"; // string | origin
var reportDownloadRequest = new ReportDownloadRequest?(); // ReportDownloadRequest? | ReportDownloadRequest (optional)
try
{
// This API will add system report.
apiInstance.SecureReportsDownloadsPost(xApiKey, xAppKey, xVersion, origin, reportDownloadRequest);
}
catch (ApiException e)
{
Debug.Print("Exception when calling SecureReportsApi.SecureReportsDownloadsPost: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// This API will add system report.
apiInstance.SecureReportsDownloadsPostWithHttpInfo(xApiKey, xAppKey, xVersion, origin, reportDownloadRequest);
}
catch (ApiException e)
{
Debug.Print("Exception when calling SecureReportsApi.SecureReportsDownloadsPostWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}| Name | Type | Description | Notes |
|---|---|---|---|
| xApiKey | string | an authorization header | |
| xAppKey | string | an authorization header | |
| xVersion | float | x-version | |
| origin | string | origin | |
| reportDownloadRequest | ReportDownloadRequest? | ReportDownloadRequest | [optional] |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: text/csv
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful CSV file download | - |
| 404 | Not Found | - |
| 500 | Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]