STFLICENSE: Staff License
A license allocation linking a staff member to a cloud subscription or software license, enabling user-based license reconciliation independent of devices.
STFLICENSE definition shipped with DemandFlow. Administrators can add, remove, rename, or re-type fields, change which ones are required, and alter the layout from the Definitions screen in Settings. Your tenant's current schema may differ from what is shown here. To read the current definition at any time, GET the DEFINITION object whose id matches STFLICENSE.Entity properties
| Property | Value |
|---|---|
| Entity code | STFLICENSE |
| Display name | Staff License |
| Plural | Staff Licenses |
| Level | 215 |
Use cases
A license allocation linking a staff member to a cloud subscription or software license, enabling user-based license reconciliation independent of devices.
STFLICENSE is a license assignment entity at level 215. The General panel uses a 50/50 split: left column captures license details (name, STF staff member objectLookup required, SKU ID for Microsoft identifier, source as Microsoft/Manual, status as Active/Removed); right column shows sync information (assigned date readonly, last synced date readonly, optional LICENSE objectLookup for linking to the license entitlement record). Primarily populated by the Microsoft license sync process, with manual entry as a fallback.
Fields
License Details
| Field | Type | Required | Notes |
|---|---|---|---|
name | text | Yes | License Name. |
staff | reference → STF | Yes | Staff Member. |
skuId | text | Microsoft SKU identifier | |
source | enum | Valid ids: 1 (Microsoft), 2 (Manual). | |
status | enum | Valid ids: 1 (Active), 2 (Removed). |
Sync Information
| Field | Type | Required | Notes |
|---|---|---|---|
assignedDate | date | Date the license was assigned in Microsoft Entra ID Read only. | |
lastSyncDate | date | Last Synced. Read only. | |
license | reference → LICENSE | Optional link to LICENSE entitlement |
Relationships
- Lookups:
staffpoints at aSTFrecord;licensepoints at aLICENSErecord.
Creating a Staff License via the API
POST /v1/objects
Authorization: Bearer <your-pat>
Content-Type: application/json
{
"entity": "STFLICENSE",
"level": 215,
"comboKey": "SUB:<your-sub-id>|ENT:",
"name": "Example name",
"staff": ""
}
Listing Staff Licenses
GET /v1/entities/STFLICENSE/SUB