You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Request: GET /report/active-users-by-period

Permissions to Run the Request

Account Owner, Account Administrators, Department Administrators, Authoror custom roles

Department Administrators can get active users belonging to the departments they manage and their sub-departments.

Request Headers

Authorization (required)Access token. You can obtain a token by making a request
ParameterDescription

activityDate[startDate] (optional)

Start of the billing period

If the activityDate parameter is not passed, the billing period value from the subscription is taken

activityDate[endDate] (optional)

End of the billing period

If the activityDate parameter is not passed, the billing period value from the subscription is taken

Response Codes


200OKThe request has been successfully processed
400Bad RequestA request error
401UnauthorizedAn authorization error
403Permission DeniedThe user doesn't have enough permissions to retrieve a list of users

Sample Request

GET /api/v3/report/active-users-by-period?activityDate[startDate]=2024-05-06&activityDate[endDate]=2024-05-06 HTTP/1.1
Host: learn-app.ispring.com
Authorization: cQ4Mlg_HMczFko6T99Q0yR2WharVQxfETml_GDwwT7Y

Sample Response

<?xml version="1.0" encoding="UTF-8"?>
<response>
    <ids>998415dc-2192-11ef-9b9c-0242ac130078</ids>
    <activityStartDate>2023-05-06T10:50:00+00:00</activityStartDate>
    <activityEndDate>2025-05-06T10:51:00+00:00</activityEndDate>
</response>

  • No labels