Candidate sources

List all candidate sources

const sources = await ft.candidateSources.list();
// use sources.json() to access data
  • Returns a Response object that resolves to an Array of Freshteam.models.Source objects

Create a candidate source

const newSource = await ft.candidateSources.create(source);
// use newSource.json() to access data
  • Returns a Response object that resolves to a Freshteam.models.Source object
  • The first argument is of type Freshteam.models.SourceCreate

List candidate source categories

const categories = await ft.candidateSources.listCategories();
// use categories.json() to access data
  • Returns a Response object that resolves to an Array of Freshteam.models.SourceCategory objects
Last Updated: