Headcount
Fetch all the headcount in TeamOhana.
Get a list of all valid headcount that exists in TeamOhana. Supports optional filtering by plan, status, hiring status, department, and division. Refer to the Headcount Data API FAQ for more details.
post/{domain}/v1/headcount
Request
- Base URLhttps://api.teamohana.us (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
domainstring required
Query parameters
plan-idstring uuid nullable
Filter by hiring plan UUID. Get IDs from GET /v1/plans.
department-idstring uuid nullable
Filter by department. Pass the id returned by GET /v1/departments (a division-department UUID that uniquely identifies a department within a division).
division-idstring uuid nullable
Filter by division UUID. Get IDs from GET /v1/divisions. When combined with department-id, returns the union.
Response
A list response containing all the headcount.
Example response
[
{
"termination-date": "08-26-2024",
"hiring-status": "Hired",
"employee-type": "Full Time",
"department": "Sales",
"headcount-approved-date": "08-26-2024",
"target-equity-currency": "USD",
"priority": "Normal",
"target-equity": 4321,
"custom-fields": {
"HEADCOUNT": {
"Field 1": "Value 1",
"Field 2": null,
"Field 3": 123
},
"EMPLOYEE": {
"Field 1": "Value 1",
"Field 2": "Value 2",
"Field 3": 321
},
"OFFER": {
"Field 1": null,
"Field 2": null,
"Field 3": "Value 3"
}
},
"opening-id": "1234-123",
"budget-equity": 44000,
"headcount-id": "ORG-123",
"sourcers": "Stephen Marshall ; Mark Henry",
"actual-bonus": 8484,
"budget-salary": 205000,
"reporting-manager": "Stephen Marshall",
"termination-type": "Initiative Name",
"recruiters": "Stephen Marshall ; Mark Henry",
"annualized-budget-salary": 2460000,
"target-bonus-perc": 10,
"actual-equity": 4321,
"actual-variable": 1324,
"compensation-change-reason": "ABC",
"budget-job-level": "L1",
"headcount-type": "New hire",
"id": "uuid",
"archived-justification": "Not required",
"archived-date": "08-26-2024",
"headcount-display-id": "ABC-123",
"backfill-employee-email": "ramzi.ali@example.com",
"headcount-denied-date": "08-26-2024",
"headcount-is-private": true,
"actual-bonus-perc": 10,
"target-start-date": "08-26-2024",
"budget-start-date": "08-26-2024",
"is-current": true,
"division": "Engineering",
"employee-email": "a@b.com",
"budget-pay-rate": "YEAR",
"hris-employee-id": "1234",
"job-level": "L2",
"job-name": "GH-1234 - Sales Director, Generative AI",
"denied-justification": "Not Suitable",
"hiring-plan-active": true,
"location": "San francisco, USA",
"employee-id": "uuid",
"reporting-manager-email": "stephen.marshall@example.com",
"last-updated": "2024-07-15T00:00:00Z",
"headcount-status": "Approved",
"actual-equity-currency": "USD",
"status": "Approved",
"actual-start-date": "08-26-2024",
"target-open-date": "08-26-2024",
"pay-rate": "YEAR",
"target-bonus": 8484,
"budget-currency": "USD",
"job-title": "Software Engineer",
"future-termination": true,
"backfill-employee": "Ramzi Ali",
"annualized-actual-salary": 28140,
"backfill-employee-id": "1234",
"track-management": "ABC",
"hris-employee-remote-id": "1234",
"target-salary": 84840,
"target-currency": "USD",
"hiring-plan": "FY Hiring plan 2025",
"state": "S",
"annualized-target-salary": 1018080,
"employee-name": "Terry Peters",
"offer-sent-date": "08-26-2024",
"actual-currency": "USD",
"budget-variable": 105000,
"pay-rate-multiplier": 2080,
"termination-reconciled": true,
"job-role": "Marketing",
"headcount-url": "https://app.teamohana.us/headcount-details/1949a6b5-eaeb-4ee3-8d3d-9c597b04c918",
"reporting-manager-hris-employee-id": "1234",
"offer-accept-date": "08-26-2024",
"team": "Sales",
"approval-requested-date": "08-26-2024",
"initiative": "Initiative Name",
"job-function": "ABC",
"target-hire-date": "08-26-2024",
"target-pay-rate": "YEAR",
"employment-end-date": "08-26-2024",
"teamohana-id": "TO-1234",
"coordinators": "Stephen Marshall ; Mark Henry",
"justification": "Need additional resource",
"termination-regrettable": true
}
]Changes
No recorded changes to this operation across all 2 revisions of this API.