Gets the approximate total count of users based on the provided input.
GET
/api/identity/users/approximate-count
deprecated
Requires: AbpIdentity.Users, host scope.
This endpoint is available in addition to GetListAsync to provide a fast, approximate count of items for UI display or analytics purposes. It is optimized for performance and may not always return the exact count, but is suitable for scenarios where an estimate is sufficient and a precise count would be too costly.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
UserId
required |
query | string (uuid) | |
RoleId
required |
query | string (uuid) | |
Filter.Logic
required |
query | PhoenixAbpCoreDataFilteringFilterLogic | |
Filter.Rules
required |
query | array of PhoenixAbpCoreDataFilteringFilterRule | |
Filter.Groups
required |
query | array of PhoenixAbpCoreDataFilteringFilterGroup | |
MaxResultCount
required |
query | integer (int32) | |
ContinuationToken
required |
query | string | |
Sorting.Field
required |
query | string | |
Sorting.Descending
required |
query | boolean | |
IncludeDeleted
required |
query | boolean | |
IncludeInactive
required |
query | boolean | |
suppressNulls
required |
query | boolean | If true, omit properties with null values. |
Request body
application/json
, required
| Field | Type | Description |
|---|
This request body has no documented fields.
Responses
200 OK
| Field | Type | Description |
|---|
This response has no documented body fields.
403 Forbidden
| Field | Type | Description |
|---|
This response has no documented body fields.
401 Unauthorized
| Field | Type | Description |
|---|
This response has no documented body fields.
400 Bad Request
| Field | Type | Description |
|---|
This response has no documented body fields.
404 Not Found
| Field | Type | Description |
|---|
This response has no documented body fields.
501 Not Implemented
| Field | Type | Description |
|---|
This response has no documented body fields.
500 Internal Server Error
| Field | Type | Description |
|---|
This response has no documented body fields.
default The request failed. The body carries the standard error envelope: a machine-readable `error.code`, a human-readable `error.message`, and `error.validationErrors` when the failure was a validation rejection. See the error-code reference in this document's description for the values `error.code` can take.
| Field | Type | Description |
|---|
This response has no documented body fields.
Errors
A failed request returns the platform error envelope. The
error reference lists every value
error.code can carry and shows the four response shapes.