Get Sum
Retrieves the sum
(count) for a given metric.
Method
GET /metrics/{metrics-name}/sum
Parameters
Path Parameters
Name | Description |
---|---|
metrics-name | The name of the metric. Supported names:
|
Query Parameters
Name | Description |
---|---|
startDate | The start date |
endDate | The end date |
Result
A JSON object providing the result:
Name | Type | Description |
---|---|---|
result | Number | The current sum (count) for the selected metric. |
Response Codes
Code | Media type | Description |
---|---|---|
200 | application/json | Request successful. |
Example
Request
GET /metrics/activity-instance-end/sum?startDate=2015-01-01T00:00:00.000%2b0200
Response
{ "result": 4342343241 }