Instructor data model

View field support, webhooks, and list parameters for each integration on the Supported Integrations page.

FieldTypeRequiredDescription
idstringNo
created_atstring (date-time)No(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atstring (date-time)No(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestringNo
first_namestringNo
last_namestringNo
emailsobject[]No
titlestringNo
telephonesLmsTelephone[]No
telephones[].telephonestringYes
telephones[].typeenumNoValues: WORK, HOME, OTHER, FAX, MOBILE
image_urlstringNo

TypeScript

TypeScript
export type LmsInstructor = {
	id?: string;
	created_at?: string-time; // (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
	updated_at?: string-time; // (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
	name?: string;
	first_name?: string;
	last_name?: string;
	emails?: [];
	title?: string;
	telephones?: [];
	image_url?: string;
	raw?: any;
} 

Zod

Zod
import { z } from 'zod';

export const ZodLmsInstructor = z.object({
	id: z.string().optional(),
	created_at: z.string-time().optional().describe("(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"),
	updated_at: z.string-time().optional().describe("(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"),
	name: z.string().optional(),
	first_name: z.string().optional(),
	last_name: z.string().optional(),
	emails: z.array().optional(),
	title: z.string().optional(),
	telephones: z.array().optional(),
	image_url: z.string().optional(),

});

Python

Python
import dataclasses

@dataclasses.dataclass
class LmsInstructor:
	id: Optional[str]
	"""(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"""
	created_at: Optional[str]
	"""(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"""
	updated_at: Optional[str]
	name: Optional[str]
	first_name: Optional[str]
	last_name: Optional[str]
	emails: Optional[PropertyLmsInstructorEmails]
	title: Optional[str]
	telephones: Optional[PropertyLmsInstructorTelephones]
	image_url: Optional[str]
Are we missing anything? Let us know
Was this page helpful?