List member employments
members.list_employments(strmember_id) -> MemberListEmploymentsResponse
GET/v1/members/{member_id}/employments
Lists a member’s employment across every employer — the same employee record shape as the employer’s employees list, plus the employer name. For an organization caller the rows are scoped to companies in that organization’s book; a member (self/household) or Vitable Admin sees all employments. A member not visible to the caller returns a 404.
List member employments
import os
from vitable_connect import VitableConnect
client = VitableConnect(
api_key=os.environ.get("VITABLE_CONNECT_API_KEY"), # This is the default and can be omitted
)
response = client.members.list_employments(
"mbr_abc123def456",
)
print(response.data){
"data": [
{
"id": "empl_abc123def456",
"member_id": "mbr_abc123def456",
"employer_name": "Acme Corp",
"first_name": "Jane",
"last_name": "Doe",
"employee_class": "full_time",
"status": "active",
"start_date": "2024-01-15",
"termination_date": null,
"compensation_type": "salary"
}
]
}Returns Examples
{
"data": [
{
"id": "empl_abc123def456",
"member_id": "mbr_abc123def456",
"employer_name": "Acme Corp",
"first_name": "Jane",
"last_name": "Doe",
"employee_class": "full_time",
"status": "active",
"start_date": "2024-01-15",
"termination_date": null,
"compensation_type": "salary"
}
]
}