Job Titles Data Model
Description
Job titles can group users in "pools" and give them special attributes according to their job title.
JSON Sample
{
"_id": "619227686e893056e8264999",
"allowedExtensions": [
"6192276efd8ef0bfb1176b0a",
"61922776ace7e2f9e5a9327a"
],
"code": "customer_success_manager",
"company": "6192275ef9531df898ac73b5",
"createdAt": "2021-07-19T16:42:02.513Z",
"display": "Customer Success Manager",
"elements": [
"62a2250d909b9618797ea6d6",
"62a2251b3afd597815569449",
"62a2251f0329e7e6677c6ae1"
],
"isActive": true,
"modifiedAt": "2021-11-15T09:17:50.391Z",
"search": [
"customer",
"success",
"manager"
]
}
Fields
Field | Description | Type | Notes |
---|---|---|---|
_id | The job title's ID. | ObjectId<COTJobtitle> | |
allowedExtensions | Attributes or additional fields added that will be associated with users that have the job title. | ObjectId<COTPropertyType>[ ] | |
code | The job title's unique ID name | string | Maximum 60 characters; only lowercase letters, numbers, and underscore allowed; must be unique. |
company | The company the job titles belong in. | ObjectId<COTCompany> | |
createdAt | Date the job title was created. | ISODate | YYYY-MM-DDTHH:mm:ss.SSSZ |
display | The job title's display name. | string | |
elements | Array of elements (properties) shared with all users associated with the job title. | ObjectId<COTProperty>[ ] | |
isActive | Indicates is the job title is active or not. | boolean | |
modifiedAt | Indicates the last time the job title was modified. | ISODate | YYYY-MM-DDTHH:mm:ss.SSSZ |
search | System-generated search keys. | string[ ] | Do not modify. |
Additional Resources
- Job Titles Admin Documentation: Job title settings from the administrative panel
- "Job Titles" REST API documentation: basic "Job Titles" API requests
- API documentation in Swagger: complete with data models (schemas)
- COTLang: use COTLang for extracting data from models in routines
- Triggers and Contexts: more information on using data models within routines
Help
- Cotalker Platform Community: post your questions or search for previous answers given in the forum