Dynamic Report API

Fetch employee activity and attendance analytics in JSON format with explicit field selection.

Use the Dynamic Report API to fetch employee activity and attendance analytics in JSON format.

It supports explicit field selection. It also supports pagination and filters.

Overview

  • Base URL: https://api.in.we360.ai

  • Base path: /query/external/reports/dynamic_report

  • Method: POST

  • Response type: application/json

Authentication

Send this header with every request:

  • Authorization: Bearer ${access_token}

Get the token from OAuth for Direct API Access.

Request body

{
  "start_date": "2026-04-01T00:00:00",
  "end_date": "2026-04-07T23:59:59",
  "mode": "detailed",
  "columns": [
    "attendance_date",
    "identity_id",
    "employee_id",
    "first_name",
    "last_name",
    "email",
    "group_name",
    "active_duration",
    "productive_percent"
  ],
  "page": 1,
  "limit": 50,
  "group_id": "",
  "user_id": "",
  "shift": []
}

Parameters

Parameter
Required
Description

start_date

Yes

Start of the ISO datetime range.

end_date

Yes

End of the ISO datetime range.

mode

Yes

summary or detailed.

columns

Yes

Explicit list of fields to return.

page

No

Page number. Default is 1.

limit

No

Page size. Use 0 to fetch all records.

group_id

No

Comma-separated group UUID list.

user_id

No

Comma-separated user UUID list.

shift

No

List of shift UUIDs.

Response format

Quick cURL example

Full fields cURL example

Error handling

  • Invalid columns returns a validation error.

  • Empty access scope returns success with empty data and pagination metadata.

  • Invalid filter IDs in group_id, user_id, or shift return a filter validation error.

Best practices

  • Request only the columns you need.

  • Use page and limit for large date ranges.

  • Use summary mode for dashboards.

  • Use detailed mode for drill-down and export workflows.

Last updated

Was this helpful?