Skip to content

get_member_drivers

Status: Implemented | Module: trip

List enrolled mileage-reimbursement drivers for the verified member. Returns enrollment_id, name, phone, and approval status for both self and friend_or_family enrollments.

  • Call BEFORE enroll_driver to check whether the member already has an approved driver — enroll_driver is idempotent but a read first avoids the round-trip.
  • Call BEFORE assign_driver to obtain a valid enrollment_id (only status=approved rows are accepted by assign_driver).
Hint Value
readOnlyHint true
Field Type Required
session_id string yes
Field Type Description
enrollment_id string UUID (use in assign_driver)
member_id string Driver’s member UUID
driver_name string Full name
relationship string self, spouse, parent, friend, etc.
status string approved, pending, denied
is_primary bool Suggested primary driver
driver_type string self_drive or friends_family
{
"drivers": [
{ "enrollment_id": "enr-uuid-001", "driver_name": "John Doe", "relationship": "self", "status": "approved", "is_primary": true, "driver_type": "self_drive" },
{ "enrollment_id": "enr-uuid-002", "driver_name": "Jane Doe", "relationship": "spouse", "status": "approved", "is_primary": false, "driver_type": "friends_family" }
]
}