# JobDiva

> Search and update JobDiva candidates, jobs, companies, contacts and submittals, add notes, and follow new and changed records.

App · 26 actions. Web page: https://docs.lodol.com/docs/integrations/jobdiva

## Actions

### Add candidate note

Add a note to a candidate's record, optionally linked to a job or contact.

**Inputs**

- Candidate (`candidate_id`, number, required): The candidate. At least 1.
- Note (`note`, text, required): The note's text.
- Job (`job_id`, number): A job the note is about. At least 1.
- Contact (`contact_id`, number): A contact the note is about. At least 1.
- Recruiter (`recruiter`, number): The recruiter the note is from. At least 1.

**Outputs**

- `data` (object): The response from JobDiva.

**Example output**

```json
{
  "data": {
    "id": 1
  }
}
```

### Add company note

Add a note to a company.

**Inputs**

- Company (`company_id`, number, required): The company (client). At least 1.
- Note (`note`, text, required): The note's text.
- From (`user`, number): The user the note is from. At least 1.

**Outputs**

- `data` (object): The response from JobDiva.

**Example output**

```json
{
  "data": {
    "id": 1
  }
}
```

### Add contact note

Add a note to a contact, optionally linked to a job or candidate.

**Inputs**

- Contact (`contact_id`, number, required): The contact. At least 1.
- Note (`note`, text, required): The note's text.
- Job (`job_id`, number): A job the note is about. At least 1.
- Candidate (`candidate_id`, number): A candidate the note is about. At least 1.

**Outputs**

- `data` (object): The response from JobDiva.

**Example output**

```json
{
  "data": {
    "success": true
  }
}
```

### Add job note

Add a note to a job.

**Inputs**

- Job (`job_id`, number, required): The job. At least 1.
- Note (`note`, text, required): The note's text.
- Candidate (`candidate_id`, number): A candidate the note is about. At least 1.
- Contact (`contact_id`, number): A contact the note is about. At least 1.

**Outputs**

- `data` (object): The response from JobDiva.

**Example output**

```json
{
  "data": {
    "id": 1
  }
}
```

### Create candidate

Add a candidate to JobDiva.

**Inputs**

- First name (`first_name`, text, required): First name.
- Last name (`last_name`, text, required): Last name.
- Email (`email`, text): Email address.
- Mobile phone (`mobile_phone`, text): Mobile phone number.
- Home phone (`home_phone`, text): Home phone number.
- Work phone (`work_phone`, text): Work phone number.
- Address (`address`, text): Street address.
- Address line 2 (`address_line_2`, text): Second address line.
- City (`city`, text): City.
- State (`state`, text): State or province, such as `NY`.
- ZIP code (`zip_code`, text): ZIP or postal code.
- Country (`country`, text): Two-letter country code, such as `US`.
- Title or skill (`title`, text): The candidate's job title, skill or certification, such as `Java Developer`.
- Years of experience (`years_of_experience`, number): Years of experience. At least 0.
- Summary (`summary`, text): A summary of the candidate.
- Owner (`owner`, number): The recruiter who owns the candidate. At least 1.

**Outputs**

- `data` (object): The response from JobDiva.

**Example output**

```json
{
  "data": {
    "id": 1
  }
}
```

### Create company

Add a company (client).

**Inputs**

- Name (`name`, text, required): The company's name.
- Address (`address`, text): Street address.
- Address line 2 (`address_line_2`, text): Second address line.
- City (`city`, text): City.
- State (`state`, text): State or province.
- ZIP code (`zip_code`, text): ZIP or postal code.
- Country (`country`, text): Two-letter country code, such as `US`.
- Phone (`phone`, text): Phone number.
- Email (`email`, text): Email address.
- Website (`website`, text): Website address.
- Parent company (`parent_company`, text): The parent company's name.

**Outputs**

- `data` (object): The response from JobDiva.

**Example output**

```json
{
  "data": {
    "id": 1
  }
}
```

### Create contact

Add a contact at a company.

**Inputs**

- First name (`first_name`, text, required): First name.
- Last name (`last_name`, text, required): Last name.
- Contact types (`types`, list, required): The contact's types as named in JobDiva, such as `Hiring Manager`.
- Company (`company`, text): The company's name.
- Title (`title`, text): Job title.
- Email (`email`, text): Email address.
- Department (`department`, text): Department.
- Reports to (`reports_to`, number): The contact they report to. At least 1.

**Outputs**

- `data` (object): The response from JobDiva.

**Example output**

```json
{
  "data": {
    "id": 1
  }
}
```

### Create job

Open a job (requirement) for a company.

**Inputs**

- Title (`title`, text, required): The job title.
- Company (`company_id`, number): The company the job is for. At least 1.
- Description (`description`, text): The job description.
- Openings (`openings`, number): How many people to hire. At least 1.
- Job type (`job_type`, text): The job type as JobDiva names it, such as `Contract` or `Direct Placement`.
- Division (`division_id`, number): The division the job belongs to. At least 1.
- City (`city`, text): City.
- State (`state`, text): State or province, such as `NY`.
- ZIP code (`zip_code`, text): ZIP or postal code.
- Start date (`start_date`, date): When the job starts.
- End date (`end_date`, date): When the job ends.
- Minimum pay rate (`min_pay_rate`, number): Lowest pay rate. At least 0.
- Maximum pay rate (`max_pay_rate`, number): Highest pay rate. At least 0.
- Minimum bill rate (`min_bill_rate`, number): Lowest bill rate. At least 0.
- Maximum bill rate (`max_bill_rate`, number): Highest bill rate. At least 0.
- Your reference (`reference`, text): Your own reference for the job.

**Outputs**

- `data` (object): The response from JobDiva.

**Example output**

```json
{
  "data": {
    "id": 1
  }
}
```

### Delete company note

Delete a note from a company.

**Inputs**

- Note ID (`note_id`, number, required): The note, as returned by Add company note. At least 1.

**Outputs**

- `data` (object): The response from JobDiva.

**Example output**

```json
{
  "data": {
    "success": true
  }
}
```

### Delete contact

Delete a contact from JobDiva.

**Inputs**

- Contact (`contact_id`, number, required): The contact. At least 1.

**Outputs**

- `data` (object): The response from JobDiva.

**Example output**

```json
{
  "data": {
    "success": true
  }
}
```

### Get candidate

Get a candidate's full profile.

**Inputs**

- Candidate (`candidate_id`, number, required): The candidate. At least 1.

**Outputs**

- `data` (object): The response from JobDiva.

**Example output**

```json
{
  "data": {
    "record": {}
  }
}
```

### Get company

Get a company's full profile.

**Inputs**

- Company (`company_id`, number, required): The company (client). At least 1.

**Outputs**

- `data` (object): The response from JobDiva.

**Example output**

```json
{
  "data": {
    "record": {}
  }
}
```

### Get contact

Get a contact's details.

**Inputs**

- Contact (`contact_id`, number, required): The contact. At least 1.

**Outputs**

- `data` (object): The response from JobDiva.

**Example output**

```json
{
  "data": {
    "address 1": "example",
    "address 2": "example",
    "alternate email": "example",
    "city": "example",
    "company id": 1,
    "company name": "example",
    "contact type": "example",
    "country": "example",
    "department name": "example",
    "email": "example",
    "first name": "example",
    "id": 1,
    "last name": "example",
    "phone 1": "example",
    "phone 2": "example",
    "reports to": "example",
    "state": "example",
    "title": "example",
    "zip code": "example"
  }
}
```

### Get job

Get a job's full details.

**Inputs**

- Job (`job_id`, number, required): The job. At least 1.

**Outputs**

- `data` (object): The response from JobDiva.

**Example output**

```json
{
  "data": {
    "record": {}
  }
}
```

### List divisions

List your company's divisions.

**Inputs**: None.

**Outputs**

- `data` (object): The response from JobDiva.

**Example output**

```json
{
  "data": {
    "results": [
      {
        "active": true,
        "city": "example",
        "email": "example",
        "id": 1,
        "name": "example",
        "state": "example"
      }
    ]
  }
}
```

### List users

List the people who use your JobDiva account.

**Inputs**

- Staff only (`internal_only`, true/false): Only your own staff, not outside users such as clients' hiring managers.

**Outputs**

- `data` (object): The response from JobDiva.

**Example output**

```json
{
  "data": {
    "rows": [
      {}
    ]
  }
}
```

### Search candidates

Find candidates by name, email, phone, place or the day they were added.

**Inputs**

- First name (`first_name`, text): First name.
- Last name (`last_name`, text): Last name.
- Email (`email`, text): Email address.
- Phone (`phone`, text): Phone number.
- City (`city`, text): City.
- State (`state`, text): State or province.
- ZIP code (`zip_code`, text): ZIP or postal code.
- Maximum results (`max_results`, number): How many records to return, up to 100. Leave empty for 25. From 1 to 100.
- Skip (`offset`, number): How many records to skip, for reading the next page. At least 0.

**Outputs**

- `data` (object): The response from JobDiva.

**Example output**

```json
{
  "data": {
    "results": [
      {
        "address1": "example",
        "address2": "example",
        "alternate email": "example",
        "available": true,
        "city": "example",
        "country": "example",
        "email": "example",
        "first name": "example",
        "id": 1,
        "last name": "example",
        "middle initial": "example",
        "phone 1": "example",
        "phone 2": "example",
        "state": "example",
        "status": 1,
        "udfs": {},
        "zipcode": "example"
      }
    ]
  }
}
```

### Search companies

Find companies (clients) by name, place or phone.

**Inputs**

- Name (`name`, text): Words in the company's name.
- City (`city`, text): City.
- State (`state`, text): State or province.
- Phone (`phone`, text): Phone number.
- Maximum results (`max_results`, number): How many companies to return, up to 100. Leave empty for 25. From 1 to 100.
- Skip (`offset`, number): How many companies to skip. At least 0.

**Outputs**

- `data` (object): The response from JobDiva.

**Example output**

```json
{
  "data": {
    "results": [
      {
        "address1": "example",
        "address2": "example",
        "city": "example",
        "company owners": "example",
        "company types": "example",
        "country": "example",
        "email": "example",
        "fax": "example",
        "id": 1,
        "name": "example",
        "parent company id": 1,
        "parent company name": "example",
        "phone": "example",
        "primary contacts": "example",
        "sales pipeline": "example",
        "state": "example",
        "url": "example",
        "zipcode": "example"
      }
    ]
  }
}
```

### Search contacts

Find contacts (hiring managers and other client people) by name, company or email.

**Inputs**

- First name (`first_name`, text): First name.
- Last name (`last_name`, text): Last name.
- Company (`company`, text): Company name.
- Email (`email`, text): Email address.
- Title (`title`, text): Job title.
- Include inactive (`include_inactive`, true/false): Include inactive contacts.
- Maximum results (`max_results`, number): How many records to return, up to 100. Leave empty for 25. From 1 to 100.
- Skip (`offset`, number): How many records to skip, for reading the next page. At least 0.

**Outputs**

- `data` (object): The response from JobDiva.

**Example output**

```json
{
  "data": {
    "results": [
      {
        "address 1": "example",
        "address 2": "example",
        "alternate email": "example",
        "city": "example",
        "company id": 1,
        "company name": "example",
        "contact type": "example",
        "country": "example",
        "department name": "example",
        "email": "example",
        "first name": "example",
        "id": 1,
        "last name": "example",
        "phone 1": "example",
        "phone 2": "example",
        "reports to": "example",
        "state": "example",
        "title": "example",
        "zip code": "example"
      }
    ]
  }
}
```

### Search jobs

Find jobs by title, company, place or start date.

**Inputs**

- Title (`title`, text): Words in the job title.
- Company (`company_id`, number): Only this company's jobs. At least 1.
- City (`city`, text): City.
- ZIP code (`zip_code`, text): ZIP or postal code.
- JobDiva reference (`reference`, text): The JobDiva reference number, such as `25-00123`.
- Open jobs only (`open_only`, true/false): Only jobs that are open.
- Starts from (`starts_from`, date): Only jobs starting on or after this day.
- Starts by (`starts_to`, date): Only jobs starting on or before this day.
- Maximum results (`max_results`, number): How many jobs to return, up to 100. Leave empty for 25. From 1 to 100.
- Skip (`offset`, number): How many jobs to skip. At least 0.

**Outputs**

- `data` (object): The response from JobDiva.

**Example output**

```json
{
  "data": {
    "results": [
      {
        "city": "example",
        "company": "example",
        "company id": 1,
        "contact id": 1,
        "country": "example",
        "department": "example",
        "divisionId": 1,
        "end date": "example",
        "first name": "example",
        "id": 1,
        "issue date": "example",
        "job description": "example",
        "job status": "example",
        "job title": "example",
        "job type": "example",
        "last name": "example",
        "maximum bill rate": 1,
        "maximum rate": 1,
        "minimum bill rate": 1,
        "minimum rate": 1,
        "optional reference": "example",
        "positions": 1,
        "posting description": "example",
        "posting title": "example",
        "reference #": "example",
        "start date": "example",
        "state": "example",
        "zipcode": "example"
      }
    ]
  }
}
```

### Search submittals

Find submittals (candidates sent to a job) by job, candidate or company.

**Inputs**

- Job (`job_id`, number): Only this job's submittals. At least 1.
- Candidate (`candidate_id`, number): Only this candidate's submittals. At least 1.
- Company (`company`, text): Company name.
- Candidate email (`candidate_email`, text): The candidate's email address.

**Outputs**

- `data` (object): The response from JobDiva.

**Example output**

```json
{
  "data": {
    "results": [
      {
        "candidate email": "example",
        "candidate first name": "example",
        "candidate id in jd": 1,
        "candidate last name": "example",
        "end date": "example",
        "internal notes": "example",
        "interview date": "example",
        "job id in jd": 1,
        "position type": "example",
        "recruiter email": "example",
        "start date": "example",
        "submittal date": "example",
        "submittal id": 1,
        "submittal status": "example"
      }
    ]
  }
}
```

### Submit candidate to job

Submit a candidate to a job.

**Inputs**

- Job (`job_id`, number, required): The job. At least 1.
- Candidate (`candidate_id`, number, required): The candidate. At least 1.
- Status (`status`, text): The submittal status as named in JobDiva, such as `Submitted`.
- Submitted to (`submitted_to`, number): The contact the candidate is submitted to. At least 1.
- Recruiter (`recruiter`, number): The recruiter who found the candidate. At least 1.
- Pay rate (`pay_rate`, number): The agreed pay rate. At least 0.
- Bill rate (`bill_rate`, number): The quoted bill rate. At least 0.
- Internal notes (`internal_notes`, text): Notes only your team sees.

**Outputs**

- `data` (object): The response from JobDiva.

**Example output**

```json
{
  "data": {
    "id": 1
  }
}
```

### Update candidate

Change a candidate's name, email or address. Fields left empty stay as they are.

**Inputs**

- Candidate (`candidate_id`, number, required): The candidate. At least 1.
- First name (`first_name`, text): First name.
- Last name (`last_name`, text): Last name.
- Email (`email`, text): Email address.
- Alternate email (`alternate_email`, text): Second email address.
- Address (`address`, text): Street address.
- Address line 2 (`address_line_2`, text): Second address line.
- City (`city`, text): City.
- State (`state`, text): State or province, such as `NY`.
- ZIP code (`zip_code`, text): ZIP or postal code.
- Country (`country`, text): Two-letter country code, such as `US`.

**Outputs**

- `data` (object): The response from JobDiva.

**Example output**

```json
{
  "data": {
    "success": true
  }
}
```

### Update contact

Change a contact's name, title, email or department, or mark them inactive. Fields left empty stay as they are.

**Inputs**

- Contact (`contact_id`, number, required): The contact. At least 1.
- First name (`first_name`, text): First name.
- Last name (`last_name`, text): Last name.
- Title (`title`, text): Job title.
- Email (`email`, text): Email address.
- Department (`department`, text): Department.
- Active (`active`, true/false): Whether the contact is active.

**Outputs**

- `data` (object): The response from JobDiva.

**Example output**

```json
{
  "data": {
    "success": true
  }
}
```

### Update job

Change a job's title, description, openings, place or dates. Fields left empty stay as they are.

**Inputs**

- Job (`job_id`, number, required): The job. At least 1.
- Title (`title`, text): The new title.
- Description (`description`, text): The new description.
- Posting title (`posting_title`, text): The title shown on job boards.
- Posting description (`posting_description`, text): The description shown on job boards.
- Openings (`openings`, number): How many people to hire. At least 1.
- City (`city`, text): City.
- State (`state`, text): State or province.
- ZIP code (`zip_code`, text): ZIP or postal code.
- Start date (`start_date`, date): When the job starts.
- End date (`end_date`, date): When the job ends.

**Outputs**

- `data` (object): The response from JobDiva.

**Example output**

```json
{
  "data": {
    "success": true
  }
}
```

### Update submittal

Change a submittal's status, interview date, rates or notes. Fields left empty stay as they are.

**Inputs**

- Submittal (`submittal_id`, number, required): The submittal. At least 1.
- Status (`status`, text): The new status as named in JobDiva, such as `Interview`.
- Interview (`interview_at`, date and time): When the interview is.
- Pay rate (`pay_rate`, number): The agreed pay rate. At least 0.
- Bill rate (`bill_rate`, number): The agreed bill rate. At least 0.
- Internal notes (`internal_notes`, text): Notes only your team sees.

**Outputs**

- `data` (object): The response from JobDiva.

**Example output**

```json
{
  "data": {
    "success": true
  }
}
```
