> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# WebAppUsage table

> Usage statistics for web applications

## WebAppUsage Table (249)

Usage statistics for web applications

## Fields

| Name            | Description                           | Type                            | Nullable |
| --------------- | ------------------------------------- | ------------------------------- | :------: |
| WebAppUsage\_id | Primary key                           | PK                              |    No    |
| version         | Version number of usage stats         | UInt                            |    No    |
| assocId         | ID of associate                       | FK [associate](./associate.mdx) |    No    |
| timestamp       | Time stamp of operation               | DateTime                        |    No    |
| viewState       | Current view state, excluding data    | String(254)                     |    No    |
| aggregateBin    | Bin no. If this is aggregated data    | UInt                            |    Yes   |
| aggregateCount  | Bin count, if this is aggregated data | UInt                            |    Yes   |

<img src="https://mintcdn.com/superofficeas/i6M2qZmvMNH7UTeu/media/loc/en/database/tables/WebAppUsage.png?fit=max&auto=format&n=i6M2qZmvMNH7UTeu&q=85&s=f3e62094772463ed5d5da4009b9ccd1b" alt="WebAppUsage table relationship diagram" width="443" height="59" data-path="media/loc/en/database/tables/WebAppUsage.png" />

## Indexes

| Fields                        | Types                     | Description |
| ----------------------------- | ------------------------- | ----------- |
| viewState, timestamp, assocId | String(254), DateTime, FK | Index       |

## Relationships

| Table                    | Description                                                        |
| ------------------------ | ------------------------------------------------------------------ |
| [associate](./associate) | Employees, resources and other users - except for External persons |

## Replication Flags

* None

## Security Flags

* No access control via user's Role.


## Related topics

- [Add Web App Usage](/en/api/reference/restful/agent/diagnostics_agent/add-web-app-usage.md)
- [WebAppUsage](/en/api/archive-providers/reference/webappusage.md)
- [SuperOffice.WebApi.Data.WebAppUsage](/en/api/reference/webapi/SuperOffice.WebApi.Data.WebAppUsage.md)
- [Get Web App Usages For Period](/en/api/reference/restful/agent/diagnostics_agent/get-web-app-usages-for-period.md)
- [SuperOffice.WebApi.Data.Diagnostics WebAppUsageExistsInPeriodRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Diagnostics_WebAppUsageExistsInPeriodRequest.md)
- [SuperOffice.WebApi.Agents.DiagnosticsAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.DiagnosticsAgent.md)
