All URIs are relative to https://api.flipdish.co
| Method | HTTP request | Description |
|---|---|---|
| getApmStatus | GET /api/v1.0/{appId}/apm/status | |
| getBasicStatistics | GET /api/v1.0/{appId}/apm/statistics | |
| getCalendarWeekStatistics | GET /api/v1.0/{appId}/apm/statistics/calendar | |
| getCallsStatistics | GET /api/v1.0/{appId}/apm/statistics/calls/{aggregateDataBy} | |
| getOrderStatistics | GET /api/v1.0/{appId}/apm/statistics/orders/{aggregateDataBy} | |
| getPaginatedCallList | GET /api/v1.0/{appId}/apm/calls |
RestApiResultApmStatus getApmStatus(appId)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.ApmApi();
let appId = "appId_example"; // String |
apiInstance.getApmStatus(appId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiResultApmStatistics getBasicStatistics(appId, opts)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.ApmApi();
let appId = "appId_example"; // String |
let opts = {
'storeId': [null] // [Number] |
};
apiInstance.getBasicStatistics(appId, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| storeId | [Number] | [optional] |
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiArrayResultApmHourlyDataPoint getCalendarWeekStatistics(appId, opts)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.ApmApi();
let appId = "appId_example"; // String |
let opts = {
'storeId': [null] // [Number] |
};
apiInstance.getCalendarWeekStatistics(appId, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| storeId | [Number] | [optional] |
RestApiArrayResultApmHourlyDataPoint
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiArrayResultApmDataPoint getCallsStatistics(appId, aggregateDataBy, opts)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.ApmApi();
let appId = "appId_example"; // String |
let aggregateDataBy = "aggregateDataBy_example"; // String |
let opts = {
'dataPointLimit': 56, // Number |
'storeId': [null] // [Number] |
};
apiInstance.getCallsStatistics(appId, aggregateDataBy, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| aggregateDataBy | String | ||
| dataPointLimit | Number | [optional] | |
| storeId | [Number] | [optional] |
RestApiArrayResultApmDataPoint
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiArrayResultApmCurrencyDataPoint getOrderStatistics(appId, aggregateDataBy, opts)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.ApmApi();
let appId = "appId_example"; // String |
let aggregateDataBy = "aggregateDataBy_example"; // String |
let opts = {
'dataPointLimit': 56, // Number |
'storeId': [null] // [Number] |
};
apiInstance.getOrderStatistics(appId, aggregateDataBy, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| aggregateDataBy | String | ||
| dataPointLimit | Number | [optional] | |
| storeId | [Number] | [optional] |
RestApiArrayResultApmCurrencyDataPoint
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data
RestApiPaginationResultPhoneCall getPaginatedCallList(appId, opts)
import Flipdish from '@flipdish/api-client-javascript';
let defaultClient = Flipdish.ApiClient.instance;
// Configure OAuth2 access token for authorization: oauth2
let oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = 'YOUR ACCESS TOKEN';
let apiInstance = new Flipdish.ApmApi();
let appId = "appId_example"; // String |
let opts = {
'page': 56, // Number |
'limit': 56, // Number |
'storeId': [null] // [Number] |
};
apiInstance.getPaginatedCallList(appId, opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});| Name | Type | Description | Notes |
|---|---|---|---|
| appId | String | ||
| page | Number | [optional] | |
| limit | Number | [optional] | |
| storeId | [Number] | [optional] |
RestApiPaginationResultPhoneCall
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml, Data