The Person schema represents an individual user or contact in the SiteMesh system. It defines the structure of person records and the API endpoints for interacting with them.
Column ID | Type | Key | Filter | Options | Description |
---|---|---|---|---|---|
PersonID | TEXT | Yes | EQUALS | - | Unique identifier |
PersonName | TEXT | No | LIKE | - | Full name |
PersonGivenName | TEXT | No | LIKE | - | First/given name |
PersonFamilyName | TEXT | No | LIKE | - | Last/family name |
PersonEmail | TEXT | No | LIKE | - | Email address |
PersonPhone | TEXT | No | EQUALS | - | Phone number |
PersonStreet1 | TEXT | No | LIKE | - | Address line 1 |
PersonStreet2 | TEXT | No | LIKE | - | Address line 2 |
PersonCity | TEXT | No | EQUALS | - | City |
PersonState | TEXT | No | EQUALS | - | State |
PersonCountry | TEXT | No | EQUALS | - | Country |
PersonPostCode | TEXT | No | EQUALS | - | Postal code |
PersonRoles | TEXT | No | - | - | Roles (e.g., [admin]) |
PersonMarketing | TEXT | No | EQUALS | SUBSCRIBED, UNSUBSCRIBED | Marketing status |
PersonActivity | TIMESTAMP | No | - | - | Last activity timestamp |
PersonCreated | TIMESTAMP | No | - | - | Creation timestamp |
PersonUpdated | TIMESTAMP | No | - | - | Last update timestamp |
PersonDeleted | TIMESTAMP | No | EQUALS | - | Deletion timestamp |
All endpoints require a valid authentication token. Only users with [admin]
role or the owner of the PersonID
can access or modify their own record.
/person/count
/person/list
/person/get
PersonID
.{ "PersonID": "<id>" }
null
if not found.
/person/save
PersonRoles
.TokenID
and not expired).[admin]
users can access all records and edit roles.PersonName
ascending.