Organization
Fields
| Field Name | Type | Display Name |
|---|---|---|
| OrganizationId | Int32 | Organization id |
| AddressLine | String | Address line |
| AddressLine2 | String | Address line 2 |
| CityName | String | City name |
| CompanyName | String | Company name |
| CountryCode | String | Country code |
| Created | DateTime | Created |
| CreatedBy | String | Created by |
| FaxNumber | String | Fax number |
| IsDeleted | Boolean | Is deleted |
| LastModified | DateTime | Last modified |
| LastModifiedBy | String | Last modified by |
| PhoneNumber | String | Phone number |
| PostalCode | String | Postal code |
| StateCode | String | State code |
| UniqueId | Guid | Unique identifier |
| Slug | String | URL-friendly slug for Public API routes |
| CustomValues | Dictionary | Custom key-value pairs (jsonb) |
Slug
The Slug field provides a human-readable, URL-friendly identifier for organizations. It is used in Public API URLs as an alternative to the UniqueId (GUID).
Generation rules (via SlugGenerator):
- Lowercased, trimmed
- Non-alphanumeric characters removed
- Whitespace replaced with hyphens
- Consecutive hyphens collapsed
- Leading/trailing hyphens stripped
- Truncated to max length if needed; a numeric suffix is appended for uniqueness
Public API resolution:
The PublicApiOrganizationResolver accepts either a GUID or a slug string to resolve an organization. Results are cached for 1 hour (sliding expiration).