All URIs are relative to https://secure.ultracart.com/rest/v2
| Method | HTTP request | Description |
|---|---|---|
| analyzeCustomReport | PUT /datawarehouse/custom_reports/{custom_report_oid}/analysis | Analyze a custom report |
| deleteCustomDashboard | DELETE /datawarehouse/custom_dashboards/{custom_dashboard_oid} | Delete a custom dashboard |
| deleteCustomDashboardSchedule | DELETE /datawarehouse/custom_dashboards/{custom_dashboard_oid}/schedules/{custom_dashboard_schedule_oid} | Delete a custom dashboard schedule |
| deleteCustomReport | DELETE /datawarehouse/custom_reports/{custom_report_oid} | Delete a custom report |
| deleteReport | DELETE /datawarehouse/reports/{report_oid} | Delete a report |
| dryRunReportQueries | PUT /datawarehouse/reports/dryrun | Dry run the report queries |
| executeCustomReport | PUT /datawarehouse/custom_reports/{custom_report_oid}/execute | Execute a custom report |
| executeCustomReports | PUT /datawarehouse/custom_reports/execute | Execute a custom reports |
| executeReportQueries | PUT /datawarehouse/reports/execute | Execute the report queries |
| getCustomDashboard | GET /datawarehouse/custom_dashboards/{custom_dashboard_oid} | Get a custom dashboard |
| getCustomDashboardSchedules | GET /datawarehouse/custom_dashboards/{custom_dashboard_oid}/schedules | Get custom dashboards |
| getCustomDashboards | GET /datawarehouse/custom_dashboards | Get custom dashboards |
| getCustomReport | GET /datawarehouse/custom_reports/{custom_report_oid} | Get a custom report |
| getCustomReportAccountConfig | GET /datawarehouse/custom_reports/account_config | Get custom report account configuration |
| getCustomReportChartPngUploadUrl | GET /datawarehouse/custom_reports/{custom_report_oid}/chart_png | Upload a PNG of a custom report chart |
| getCustomReports | GET /datawarehouse/custom_reports | Get custom reports |
| getReport | GET /datawarehouse/reports/{report_oid} | Get a report |
| getReportDataSet | GET /datawarehouse/reports/dataset/{dataset_uuid} | Get a report data set |
| getReportDataSetPage | GET /datawarehouse/reports/dataset/{dataset_uuid}/pages/{page_number} | Get a report data set page |
| getReportWebsocketAuthorization | PUT /datawarehouse/reports/auth | Get report websocket authorization |
| getReports | GET /datawarehouse/reports | Get list of reports available |
| insertCustomDashboard | POST /datawarehouse/custom_dashboards | Create a custom dashboard |
| insertCustomDashboardSchedule | POST /datawarehouse/custom_dashboards/{custom_dashboard_oid}/schedules | Create a custom dashboard schedule |
| insertCustomReport | POST /datawarehouse/custom_reports | Create a custom report |
| insertReport | POST /datawarehouse/reports | Create a report |
| updateCustomDashboard | PUT /datawarehouse/custom_dashboards/{custom_dashboard_oid} | Update a custom dashboard |
| updateCustomDashboardSchedule | PUT /datawarehouse/custom_dashboards/{custom_dashboard_oid}/schedules/{custom_dashboard_schedule_oid} | Update a custom dashboard schedule |
| updateCustomReport | PUT /datawarehouse/custom_reports/{custom_report_oid} | Update a custom report |
| updateCustomReportAccountConfig | PUT /datawarehouse/custom_reports/account_config | Update custom report account config |
| updateReport | PUT /datawarehouse/reports/{report_oid} | Update a report |
CustomReportAnalysisResponse analyzeCustomReport(custom_report_oid, analyze_request)
Analyze a custom report
Analyze a custom report on the UltraCart account.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.DatawarehouseApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let custom_report_oid = 56; // Number | The report oid to analyze.
let analyze_request = new UltraCartRestApiV2.CustomReportAnalysisRequest(); // CustomReportAnalysisRequest | Request to analyze custom report
apiInstance.analyzeCustomReport(custom_report_oid, analyze_request, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| custom_report_oid | Number | The report oid to analyze. | |
| analyze_request | CustomReportAnalysisRequest | Request to analyze custom report |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json; charset=UTF-8
- Accept: application/json
deleteCustomDashboard(custom_dashboard_oid)
Delete a custom dashboard
Delete a custom dashboard on the UltraCart account.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.DatawarehouseApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let custom_dashboard_oid = 56; // Number | The dashboard oid to delete.
apiInstance.deleteCustomDashboard(custom_dashboard_oid, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| custom_dashboard_oid | Number | The dashboard oid to delete. |
null (empty response body)
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
deleteCustomDashboardSchedule(custom_dashboard_schedule_oid, custom_dashboard_oid)
Delete a custom dashboard schedule
delete a custom dashboard schedule on the UltraCart account.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.DatawarehouseApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let custom_dashboard_schedule_oid = 56; // Number | The dashboard schedule oid to delete.
let custom_dashboard_oid = 56; // Number | The dashboard oid that owns the schedule.
apiInstance.deleteCustomDashboardSchedule(custom_dashboard_schedule_oid, custom_dashboard_oid, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| custom_dashboard_schedule_oid | Number | The dashboard schedule oid to delete. | |
| custom_dashboard_oid | Number | The dashboard oid that owns the schedule. |
null (empty response body)
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
deleteCustomReport(custom_report_oid)
Delete a custom report
Delete a custom report on the UltraCart account.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.DatawarehouseApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let custom_report_oid = 56; // Number | The report oid to delete.
apiInstance.deleteCustomReport(custom_report_oid, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| custom_report_oid | Number | The report oid to delete. |
null (empty response body)
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
deleteReport(report_oid)
Delete a report
Delete a report on the UltraCart account.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.DatawarehouseApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let report_oid = 56; // Number | The report oid to delete.
apiInstance.deleteReport(report_oid, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| report_oid | Number | The report oid to delete. |
null (empty response body)
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
ReportDryRunQueriesResponse dryRunReportQueries(query_request)
Dry run the report queries
Dry run the report queries
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.DatawarehouseApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let query_request = new UltraCartRestApiV2.ReportDryRunQueriesRequest(); // ReportDryRunQueriesRequest | Dry run request
apiInstance.dryRunReportQueries(query_request, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| query_request | ReportDryRunQueriesRequest | Dry run request |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json
- Accept: application/json
CustomReportExecutionResponse executeCustomReport(custom_report_oid, execution_request)
Execute a custom report
Execute a custom report on the UltraCart account.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.DatawarehouseApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let custom_report_oid = 56; // Number | The report oid to execute.
let execution_request = new UltraCartRestApiV2.CustomReportExecutionRequest(); // CustomReportExecutionRequest | Request to execute custom report
apiInstance.executeCustomReport(custom_report_oid, execution_request, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| custom_report_oid | Number | The report oid to execute. | |
| execution_request | CustomReportExecutionRequest | Request to execute custom report |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json; charset=UTF-8
- Accept: application/json
CustomReportsExecutionResponse executeCustomReports(execution_request)
Execute a custom reports
Execute a custom reports on the UltraCart account.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.DatawarehouseApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let execution_request = new UltraCartRestApiV2.CustomReportsExecutionRequest(); // CustomReportsExecutionRequest | Request to execute custom reports
apiInstance.executeCustomReports(execution_request, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| execution_request | CustomReportsExecutionRequest | Request to execute custom reports |
CustomReportsExecutionResponse
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json; charset=UTF-8
- Accept: application/json
executeReportQueries(query_request)
Execute the report queries
Execute the report queries
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.DatawarehouseApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let query_request = new UltraCartRestApiV2.ReportExecuteQueriesRequest(); // ReportExecuteQueriesRequest | Query request
apiInstance.executeReportQueries(query_request, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| query_request | ReportExecuteQueriesRequest | Query request |
null (empty response body)
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json
- Accept: application/json
CustomDashboardResponse getCustomDashboard(custom_dashboard_oid)
Get a custom dashboard
Retrieve a custom dashboard
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.DatawarehouseApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let custom_dashboard_oid = 56; // Number |
apiInstance.getCustomDashboard(custom_dashboard_oid, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| custom_dashboard_oid | Number |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
CustomDashboardSchedulesResponse getCustomDashboardSchedules(custom_dashboard_oid)
Get custom dashboards
Retrieve a custom dashboards
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.DatawarehouseApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let custom_dashboard_oid = 56; // Number |
apiInstance.getCustomDashboardSchedules(custom_dashboard_oid, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| custom_dashboard_oid | Number |
CustomDashboardSchedulesResponse
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
CustomDashboardsResponse getCustomDashboards()
Get custom dashboards
Retrieve a custom dashboards
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.DatawarehouseApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
apiInstance.getCustomDashboards((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});This endpoint does not need any parameter.
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
CustomReportResponse getCustomReport(custom_report_oid)
Get a custom report
Retrieve a custom report
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.DatawarehouseApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let custom_report_oid = 56; // Number |
apiInstance.getCustomReport(custom_report_oid, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| custom_report_oid | Number |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
CustomReportAccountConfigResponse getCustomReportAccountConfig()
Get custom report account configuration
Retrieve a custom report account configuration
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.DatawarehouseApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
apiInstance.getCustomReportAccountConfig((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});This endpoint does not need any parameter.
CustomReportAccountConfigResponse
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
CustomReportChartPngUploadResponse getCustomReportChartPngUploadUrl(custom_report_oid)
Upload a PNG of a custom report chart
Upload a PNG of a custom report chart
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.DatawarehouseApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let custom_report_oid = 56; // Number | The report oid to upload a chart PNG for.
apiInstance.getCustomReportChartPngUploadUrl(custom_report_oid, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| custom_report_oid | Number | The report oid to upload a chart PNG for. |
CustomReportChartPngUploadResponse
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
CustomReportsResponse getCustomReports()
Get custom reports
Retrieve a custom reports
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.DatawarehouseApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
apiInstance.getCustomReports((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});This endpoint does not need any parameter.
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
ReportResponse getReport(report_oid)
Get a report
Retrieve a report
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.DatawarehouseApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let report_oid = 56; // Number |
apiInstance.getReport(report_oid, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| report_oid | Number |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
ReportDataSetResponse getReportDataSet(dataset_uuid)
Get a report data set
Retrieve a report data set
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.DatawarehouseApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let dataset_uuid = "dataset_uuid_example"; // String |
apiInstance.getReportDataSet(dataset_uuid, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| dataset_uuid | String |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
ReportDataSetPageResponse getReportDataSetPage(dataset_uuid, page_number)
Get a report data set page
Retrieve a report data set page
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.DatawarehouseApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let dataset_uuid = "dataset_uuid_example"; // String |
let page_number = 56; // Number |
apiInstance.getReportDataSetPage(dataset_uuid, page_number, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| dataset_uuid | String | ||
| page_number | Number |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
ReportAuthResponse getReportWebsocketAuthorization()
Get report websocket authorization
Retrieve a JWT to authorize a report to make a websocket connection.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.DatawarehouseApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
apiInstance.getReportWebsocketAuthorization((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});This endpoint does not need any parameter.
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
ReportsResponse getReports()
Get list of reports available
Retrieve a list of reports available
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.DatawarehouseApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
apiInstance.getReports((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});This endpoint does not need any parameter.
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
CustomDashboardResponse insertCustomDashboard(dashboard)
Create a custom dashboard
Create a new custom dashboard on the UltraCart account.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.DatawarehouseApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let dashboard = new UltraCartRestApiV2.CustomDashboard(); // CustomDashboard | Dashboard to create
apiInstance.insertCustomDashboard(dashboard, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| dashboard | CustomDashboard | Dashboard to create |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json; charset=UTF-8
- Accept: application/json
CustomDashboardScheduleResponse insertCustomDashboardSchedule(custom_dashboard_oid, dashboard_schedule)
Create a custom dashboard schedule
Create a new custom dashboard schedule on the UltraCart account.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.DatawarehouseApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let custom_dashboard_oid = 56; // Number |
let dashboard_schedule = new UltraCartRestApiV2.CustomDashboardSchedule(); // CustomDashboardSchedule | Dashboard schedule to create
apiInstance.insertCustomDashboardSchedule(custom_dashboard_oid, dashboard_schedule, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| custom_dashboard_oid | Number | ||
| dashboard_schedule | CustomDashboardSchedule | Dashboard schedule to create |
CustomDashboardScheduleResponse
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json; charset=UTF-8
- Accept: application/json
CustomReportResponse insertCustomReport(report)
Create a custom report
Create a new custom report on the UltraCart account.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.DatawarehouseApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let report = new UltraCartRestApiV2.CustomReport(); // CustomReport | Report to create
apiInstance.insertCustomReport(report, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| report | CustomReport | Report to create |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json; charset=UTF-8
- Accept: application/json
ReportResponse insertReport(report)
Create a report
Create a new report on the UltraCart account.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.DatawarehouseApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let report = new UltraCartRestApiV2.Report(); // Report | Report to create
apiInstance.insertReport(report, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| report | Report | Report to create |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json; charset=UTF-8
- Accept: application/json
CustomDashboardResponse updateCustomDashboard(custom_dashboard_oid, dashboard)
Update a custom dashboard
Update a custom dashboard on the UltraCart account.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.DatawarehouseApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let custom_dashboard_oid = 56; // Number | The dashboard oid to custom update.
let dashboard = new UltraCartRestApiV2.CustomDashboard(); // CustomDashboard | Dashboard to custom update
apiInstance.updateCustomDashboard(custom_dashboard_oid, dashboard, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| custom_dashboard_oid | Number | The dashboard oid to custom update. | |
| dashboard | CustomDashboard | Dashboard to custom update |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json; charset=UTF-8
- Accept: application/json
CustomDashboardResponse updateCustomDashboardSchedule(custom_dashboard_schedule_oid, custom_dashboard_oid, dashboard_schedule)
Update a custom dashboard schedule
Update a custom dashboard schedule on the UltraCart account.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.DatawarehouseApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let custom_dashboard_schedule_oid = 56; // Number | The dashboard schedule oid to update.
let custom_dashboard_oid = 56; // Number | The dashboard oid to update.
let dashboard_schedule = new UltraCartRestApiV2.CustomDashboardSchedule(); // CustomDashboardSchedule | Dashboard schedule to update
apiInstance.updateCustomDashboardSchedule(custom_dashboard_schedule_oid, custom_dashboard_oid, dashboard_schedule, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| custom_dashboard_schedule_oid | Number | The dashboard schedule oid to update. | |
| custom_dashboard_oid | Number | The dashboard oid to update. | |
| dashboard_schedule | CustomDashboardSchedule | Dashboard schedule to update |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json; charset=UTF-8
- Accept: application/json
CustomReportResponse updateCustomReport(custom_report_oid, report)
Update a custom report
Update a custom report on the UltraCart account.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.DatawarehouseApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let custom_report_oid = 56; // Number | The report oid to custom update.
let report = new UltraCartRestApiV2.CustomReport(); // CustomReport | Report to custom update
apiInstance.updateCustomReport(custom_report_oid, report, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| custom_report_oid | Number | The report oid to custom update. | |
| report | CustomReport | Report to custom update |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json; charset=UTF-8
- Accept: application/json
CustomReportAccountConfigResponse updateCustomReportAccountConfig(account_config)
Update custom report account config
Update custom report account config.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.DatawarehouseApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let account_config = new UltraCartRestApiV2.CustomReportAccountConfig(); // CustomReportAccountConfig | Account config to update
apiInstance.updateCustomReportAccountConfig(account_config, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| account_config | CustomReportAccountConfig | Account config to update |
CustomReportAccountConfigResponse
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json; charset=UTF-8
- Accept: application/json
ReportResponse updateReport(report_oid, report)
Update a report
Update a report on the UltraCart account.
var ucApi = require('ultra_cart_rest_api_v2');
const { apiClient } = require('../api.js'); // https://github.com/UltraCart/sdk_samples/blob/master/javascript/api.js
let apiInstance = new ucApi.DatawarehouseApi(apiClient);
// This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
// As such, this might not be the best way to use this object.
// Please see https://github.com/UltraCart/sdk_samples for working examples.
let report_oid = 56; // Number | The report oid to update.
let report = new UltraCartRestApiV2.Report(); // Report | Report to update
apiInstance.updateReport(report_oid, report, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| report_oid | Number | The report oid to update. | |
| report | Report | Report to update |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json; charset=UTF-8
- Accept: application/json