Job postings
List all job postings
const jobList = await ft.jobPostings.list(query);
Get job posting by ID
const job = await ft.jobPostings.get(id);
- Returns a
Response
object that resolves to a Freshteam.models.Job
object
Create an applicant
const newApplicant = await ft.jobPostings.createApplicant(jobPostingId, applicant);
- Returns a
Response
object that resolves to a Freshteam.models.ApplicantDetail
object - The first argument is the job posting ID for which to create an applicant
- The second argument is an object of type
Freshteam.models.ApplicantCreate
List job posting fields
const fields = await ft.jobPostings.listFields();
- Returns a
Response
object that resolves to an Array
of Freshteam.models.Jobfield
objects
List applicant fields
const fields = await ft.jobPostings.listApplicantFields();
- Returns a
Response
object that resolves to an Array
of Freshteam.models.Applicantfield
objects - The first argument is the job posting ID to fetch applicant fields from