TenantDto
Response DTO for tenant details that excludes internal database IDs.
Used in API responses to prevent exposing internal identifiers.
Properties
| Name | Type | Description |
|---|---|---|
| code* | string | The URL-friendly unique identifier for the tenant (used in API paths) |
The URL-friendly unique identifier for the tenant (used in API paths) | ||
| name* | string | The human-readable name of the tenant |
The human-readable name of the tenant | ||
| createdDate | string | When the tenant was created |
When the tenant was created | ||
| updatedDate | string | When the tenant was last updated |
When the tenant was last updated | ||
| accountingConnection | CodeAndNameDto | |
| directDebitConnection | CodeAndNameDto | |
| activeClientCount | integer | Count of clients with Active status |
Count of clients with Active status | ||
| inactiveClientCount | integer | Count of clients with Inactive status |
Count of clients with Inactive status | ||
| prospectClientCount | integer | Count of clients with Prospect status |
Count of clients with Prospect status | ||
| lostProspectClientCount | integer | Count of clients with LostProspect status |
Count of clients with LostProspect status | ||
| servicesCount | integer | Count of services in the tenant |
Count of services in the tenant | ||
| workFlowsCount | integer | Count of workflows in the tenant |
Count of workflows in the tenant | ||
| usersCount | integer | Count of users in the tenant |
Count of users in the tenant | ||
JSON Example
{
"code": "string",
"name": "string",
"createdDate": "2024-01-01T00:00:00Z",
"updatedDate": "2024-01-01T00:00:00Z",
"accountingConnection": {
"code": "string",
"name": "string"
}
}