Get All InApp business Metrics
get
/rest/v19/metrics
This operation returns all the InApp business metrics to monitor daily.
Request
Query Parameters
-
excludeLinks: string
Exclude links.
-
fields: string
Restrict which fields shall be returned. The value is a comma delimited string and each token is a field name.
-
limit: integer
The requested page size, which limits the number of elements the collection should max return.
-
offset: integer
The offset of the page. By default, offset is 0, which means first page will be returned.
-
orderby: string
Specifies a comma-separated list of pairs to order the response by.
-
q: string
Allows to specify one or more filtering criteria. By default, no filtering is applied.
-
totalResults: boolean
Specifies that the total count of records should be included in the response when doing pagination.
Response
Supported Media Types
- application/json
Default Response
InApp business metrics daily data.
Root Schema : Daily Metrics
Type:
objectTitle:
Daily MetricsMetrics collection reports.
Show Source
-
count:
integer
Title:
CountThe number of resource instances returned in the current range. -
hasMore:
boolean
Title:
hasMoreReturns true if more resources are available on the server than the subset returned in current page. -
items:
array This is list of all metrics contents
Title:
This is list of all metrics contentsMetrics reports. -
limit:
integer
Title:
LimitThe actual paging size used by the server. -
links:
array Metrics Links
Title:
Metrics LinksLinks for the Metrics -
offset:
integer
Title:
OffsetThe offset used in the current page.
Nested Schema : This is list of all metrics contents
Type:
arrayTitle:
This is list of all metrics contentsMetrics reports.
Show Source
Nested Schema : Metrics Links
Type:
arrayTitle:
Metrics LinksLinks for the Metrics
Show Source
-
Array of:
object referenceLinks
Reference links for the Parent, Self, Children and Related as applicable
Nested Schema : metricsContent
Type:
Show Source
object-
dateAdded:
string
Title:
Date AddedMetric creation date. -
dateModified:
string
Title:
Date ModifiedMetric modified date. -
endTime:
string
Title:
End TimeMetrics reports collection end time in UTC. -
metricsId:
string
Title:
metricsIdUnique ID for each instance of your app. -
name:
string
Title:
NameName of the metric. -
startTime:
string
Title:
Start TimeMetrics reports collection start time in UTC. -
value:
string
Title:
ValueMetric value.
Nested Schema : referenceLinks
Type:
objectReference links for the Parent, Self, Children and Related as applicable
Show Source
-
href:
string
Title:
URL to the related objectURL to the related object -
rel:
string
Title:
Link Relationship to the current objectLink Relationship to the current object
Examples
The following example returns the daily business metrics by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl -X GET -H "Authorization: Bearer <token>" -H "Content-type: application/json" -H "Accept: application/json" https://sitename.oracle.com/rest/v19/metrics
Response Body Sample
[
{
"name": "QUOTES",
"value": "0",
"startTime": "2024-05-06T00:00:00+0000",
"endTime": "2024-05-06T23:59:59+0000"
}, {
"name": "INTERNALQUOTES",
"value": "0",
"startTime": "2024-05-06T00:00:00+0000",
"endTime": "2024-05-06T23:59:59+0000"
}, {
"name": "PARTNERQUOTES",
"value": "0",
"startTime": "2024-05-06T00:00:00+0000",
"endTime": "2024-05-06T23:59:59+0000"
}, {
"name": "INTERNALUSERS",
"value": "156",
"startTime": "2024-05-06T00:00:00+0000",
"endTime": "2024-05-06T23:59:59+0000"
}, {
"name": "REMAININGINTERNALLICENSES",
"value": "356",
"startTime": "2024-05-06T00:00:00+0000",
"endTime": "2024-05-06T23:59:59+0000"
}, {
"name": "INTERNALUSERSLOGGEDIN",
"value": "1",
"startTime": "2024-05-06T00:00:00+0000",
"endTime": "2024-05-06T23:59:59+0000"
}, {
"name": "PERCENTINTERNALUSERSLOGGEDIN",
"value": "0.64102566",
"startTime": "2024-05-06T00:00:00+0000",
"endTime": "2024-05-06T23:59:59+0000"
}, {
"name": "PARTNERUSERS",
"value": "141",
"startTime": "2024-05-06T00:00:00+0000",
"endTime": "2024-05-06T23:59:59+0000"
}, {
"name": "PARTNERUSERSLOGGEDIN",
"value": "0",
"startTime": "2024-05-06T00:00:00+0000",
"endTime": "2024-05-06T23:59:59+0000"
}, {
"name": "PERCENTPARTNERUSERSLOGGEDIN",
"value": "0.0",
"startTime": "2024-05-06T00:00:00+0000",
"endTime": "2024-05-06T23:59:59+0000"
}, {
"name": "ECOMMERCEINTERACTIONS",
"value": "0",
"startTime": "2024-05-06T00:00:00+0000",
"endTime": "2024-05-06T23:59:59+0000"
}, {
"name": "APILICENSES",
"value": "0",
"startTime": "2024-05-06T00:00:00+0000",
"endTime": "2024-05-06T23:59:59+0000"
}, {
"name": "DISKSPACE",
"value": "0.015850715",
"startTime": "2024-05-07T07:37:06+0000",
"endTime": "2024-05-07T07:37:06+0000"
}
]