Struct gusto_api::job_applicants_beta::JobApplicantsBeta [−][src]
pub struct JobApplicantsBeta { /* fields omitted */ }
Implementations
Get all job applicants for a company.
This function performs a GET
to the /v1/companies/{company_id}/job_applicants
endpoint.
*This endpoint is in beta - we will be making breaking changes based on developer feedback.
Returns all job applicants for a company.
pub async fn get_all_company_job_applicants(
&self,
company_id: &str
) -> Result<Vec<JobApplicant>>
pub async fn get_all_company_job_applicants(
&self,
company_id: &str
) -> Result<Vec<JobApplicant>>
Get all job applicants for a company.
This function performs a GET
to the /v1/companies/{company_id}/job_applicants
endpoint.
As opposed to get_company_job_applicants
, this function returns all the pages of the request at once.
*This endpoint is in beta - we will be making breaking changes based on developer feedback.
Returns all job applicants for a company.
pub async fn post_company_job_applicant(
&self,
company_id: &str,
body: &PostCompanyJobApplicantRequest
) -> Result<JobApplicant>
pub async fn post_company_job_applicant(
&self,
company_id: &str,
body: &PostCompanyJobApplicantRequest
) -> Result<JobApplicant>
Create a job applicant.
This function performs a POST
to the /v1/companies/{company_id}/job_applicants
endpoint.
*This endpoint is in beta - we will be making breaking changes based on developer feedback.
Create a job applicant.
pub async fn get_company_job_applicants_applicant(
&self,
company_id: &str,
job_applicant_uuid: &str
) -> Result<JobApplicant>
pub async fn get_company_job_applicants_applicant(
&self,
company_id: &str,
job_applicant_uuid: &str
) -> Result<JobApplicant>
Get a job applicant.
This function performs a GET
to the /v1/companies/{company_id}/job_applicants/{job_applicant_uuid}
endpoint.
*This endpoint is in beta - we will be making breaking changes based on developer feedback.
Returns a single job applicant.
pub async fn put_company_job_applicants_applicant(
&self,
company_id: &str,
job_applicant_uuid: &str,
body: &PutCompanyJobApplicantsApplicantRequest
) -> Result<JobApplicant>
pub async fn put_company_job_applicants_applicant(
&self,
company_id: &str,
job_applicant_uuid: &str,
body: &PutCompanyJobApplicantsApplicantRequest
) -> Result<JobApplicant>
Update a job applicant.
This function performs a PUT
to the /v1/companies/{company_id}/job_applicants/{job_applicant_uuid}
endpoint.
*This endpoint is in beta - we will be making breaking changes based on developer feedback.
Update an existing job applicant (only allowed when the job applicant has not been imported).
Delete a job applicant.
This function performs a DELETE
to the /v1/companies/{company_id}/job_applicants/{job_applicant_uuid}
endpoint.
*This endpoint is in beta - we will be making breaking changes based on developer feedback.
Permanently remove a job applicant by uuid (only allowed when the job applicant has not been imported).