Skip to main content
POST
/
api
/
activity
/
activities.show-totals
Activities : show totals
curl --request POST \
  --url https://api.example.com/api/activity/activities.show-totals \
  --header 'Content-Type: application/json' \
  --data '
{
  "filters": [
    {
      "key": "activity.date_range",
      "value": "2019-11-11/2019-12-12"
    }
  ]
}
'
{
  "total": "PT1H30M20S",
  "billable": "PT1H30M20S",
  "validated": "PT1H30M20S",
  "non_validated": "PT1H30M20S",
  "rejected": "PT1H30M20S",
  "non_submitted": "PT1H30M20S"
}

Body

application/json
filters
object[]

Response

200 - application/json
total
string<duration>
required
Example:

"PT1H30M20S"

billable
string<duration>
required
Example:

"PT1H30M20S"

validated
string<duration>
required
Example:

"PT1H30M20S"

non_validated
string<duration>
required
Example:

"PT1H30M20S"

rejected
string<duration>
required
Example:

"PT1H30M20S"

non_submitted
string<duration>
required
Example:

"PT1H30M20S"