# Avionté

> Read and add Avionté talent, companies and contacts, log activities, apply talent to jobs, and read jobs, placements, pipelines and applicants.

App · 25 actions. Web page: https://docs.lodol.com/docs/integrations/avionte

## Actions

### Apply talent to job

Add a talent to a job's web applicants, as if they applied online.

**Inputs**

- Talent ID (`talent_id`, number, required): The talent's ID in Avionté. At least 1.
- Job (`job_id`, number, required): The job. At least 1.
- Source (`source`, text): Where the application came from. Leave empty for Lodol.

**Outputs**

- `data` (object): The response from Avionté.

**Example output**

```json
{
  "data": {
    "applyDate": "example",
    "declineDate": "example",
    "jobId": 1,
    "source": "example",
    "talentId": 1,
    "webApplicantId": 1
  }
}
```

### Create company

Add a company (customer).

**Inputs**

- Name (`name`, text, required): The company's name.
- Office (`branch_id`, number, required): The company's home office. At least 1.
- Phone (`phone`, text): Phone number.
- Website (`website`, text): Website address.
- Industry (`industry`, text): Industry.
- Status (`status`, text): The company's status as Avionté names it.
- Street (`street`, text): Street address.
- City (`city`, text): City.
- State (`state`, text): Two-letter state or province code, such as `MN`.
- ZIP code (`postal_code`, text): ZIP or postal code.
- Country (`country`, text): Two-letter country code, such as `US`.

**Outputs**

- `data` (object): The response from Avionté.

**Example output**

```json
{
  "data": {
    "createdDate": "example",
    "frontOfficeId": 1,
    "id": 1,
    "industry": "example",
    "isArchived": true,
    "lastUpdatedDate": "example",
    "link": "example",
    "mainAddress": {
      "city": "example",
      "country": "example",
      "postalCode": "example",
      "state_Province": "example",
      "street1": "example",
      "street2": "example"
    },
    "name": "example",
    "openJobs": 1,
    "parentCompanyId": 1,
    "phoneNumber": "example",
    "status": "example",
    "statusId": 1,
    "webSite": "example"
  }
}
```

### Create contact

Add a contact to one of a company's departments.

**Inputs**

- Company (`company_id`, number, required): The company the contact works for. At least 1.
- Department (`department_id`, number, required): The company department the contact belongs to. At least 1.
- First name (`first_name`, text, required): First name.
- Last name (`last_name`, text, required): Last name.
- Email (`email`, text, required): Email address.
- Title (`title`, text): Job title.
- Work phone (`work_phone`, text): Work phone number.
- Mobile phone (`cell_phone`, text): Mobile phone number.

**Outputs**

- `data` (object): The response from Avionté.

**Example output**

```json
{
  "data": {
    "address1": "example",
    "cellPhone": "example",
    "city": "example",
    "companyDepartmentId": 1,
    "companyId": 1,
    "companyName": "example",
    "country": "example",
    "createdDate": "example",
    "emailAddress": "example",
    "firstName": "example",
    "id": 1,
    "isArchived": true,
    "lastName": "example",
    "lastUpdatedDate": "example",
    "postalCode": "example",
    "state": "example",
    "status": "example",
    "title": "example",
    "workPhone": "example"
  }
}
```

### Create talent

Add a talent (candidate) to Avionté.

**Inputs**

- First name (`first_name`, text, required): First name.
- Last name (`last_name`, text, required): Last name.
- Email (`email`, text, required): Email address.
- Recruiter (`representative_user`, number, required): The recruiter working with the talent. At least 1.
- Mobile phone (`mobile_phone`, text): Mobile phone number.
- Home phone (`home_phone`, text): Home phone number.
- Office (`branch_id`, number): The talent's home office. At least 1.
- Status (`status`, text): The talent's status as Avionté names it, such as `Available`.
- Available from (`availability_date`, date): When the talent can start work.
- Street (`street`, text): Home street address.
- City (`city`, text): City.
- State (`state`, text): Two-letter state or province code, such as `MN`.
- ZIP code (`postal_code`, text): ZIP or postal code.
- Country (`country`, text): Two-letter country code, such as `US`.

**Outputs**

- `data` (object): The response from Avionté.

**Example output**

```json
{
  "data": {
    "availabilityDate": "example",
    "createdDate": "example",
    "emailAddress": "example",
    "firstName": "example",
    "frontOfficeId": 1,
    "homePhone": "example",
    "id": 1,
    "isArchived": true,
    "lastName": "example",
    "lastUpdatedDate": "example",
    "latestActivityDate": "example",
    "latestActivityName": "example",
    "link": "example",
    "middleName": "example",
    "mobilePhone": "example",
    "officeName": "example",
    "placementStatus": "example",
    "representativeUser": 1,
    "representativeUserEmail": "example",
    "residentAddress": {
      "city": "example",
      "country": "example",
      "postalCode": "example",
      "state_Province": "example",
      "street1": "example",
      "street2": "example"
    },
    "status": "example",
    "statusId": 1,
    "workPhone": "example"
  }
}
```

### Get company

Get a company's (customer's) record.

**Inputs**

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

**Outputs**

- `data` (object): The response from Avionté.

**Example output**

```json
{
  "data": {
    "createdDate": "example",
    "frontOfficeId": 1,
    "id": 1,
    "industry": "example",
    "isArchived": true,
    "lastUpdatedDate": "example",
    "link": "example",
    "mainAddress": {
      "city": "example",
      "country": "example",
      "postalCode": "example",
      "state_Province": "example",
      "street1": "example",
      "street2": "example"
    },
    "name": "example",
    "openJobs": 1,
    "parentCompanyId": 1,
    "phoneNumber": "example",
    "status": "example",
    "statusId": 1,
    "webSite": "example"
  }
}
```

### Get contact

Get a contact's record.

**Inputs**

- Contact ID (`contact_id`, number, required): The contact's ID in Avionté. At least 1.

**Outputs**

- `data` (object): The response from Avionté.

**Example output**

```json
{
  "data": {
    "address1": "example",
    "cellPhone": "example",
    "city": "example",
    "companyDepartmentId": 1,
    "companyId": 1,
    "companyName": "example",
    "country": "example",
    "createdDate": "example",
    "emailAddress": "example",
    "firstName": "example",
    "id": 1,
    "isArchived": true,
    "lastName": "example",
    "lastUpdatedDate": "example",
    "postalCode": "example",
    "state": "example",
    "status": "example",
    "title": "example",
    "workPhone": "example"
  }
}
```

### Get job

Get a job's (order's) full details.

**Inputs**

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

**Outputs**

- `data` (object): The response from Avionté.

**Example output**

```json
{
  "data": {
    "branchId": 1,
    "companyId": 1,
    "companyName": "example",
    "contactId": 1,
    "createdDate": "example",
    "description": "example",
    "endDate": "example",
    "frontOfficeId": 1,
    "id": 1,
    "isArchived": true,
    "lastUpdatedDate": "example",
    "link": "example",
    "orderType": "example",
    "placed": 1,
    "positions": 1,
    "posted": true,
    "startDate": "example",
    "status": "example",
    "statusId": 1,
    "targetBillRate": 1,
    "targetPayRate": 1,
    "title": "example"
  }
}
```

### Get placement

Get a placement's details: the talent, job, dates and rates.

**Inputs**

- Placement ID (`placement_id`, number, required): The placement's ID in Avionté. At least 1.

**Outputs**

- `data` (object): The response from Avionté.

**Example output**

```json
{
  "data": {
    "createdDate": "example",
    "currency": "example",
    "endDate": "example",
    "endReason": "example",
    "enteredByUser": "example",
    "hiredDate": "example",
    "id": 1,
    "isActive": true,
    "jobId": 1,
    "payBasis": "example",
    "recruiterUser": "example",
    "recruiterUserId": 1,
    "remoteWork": true,
    "reqEmploymentTypeName": "example",
    "startDate": "example",
    "talentId": 1
  }
}
```

### Get talent

Get a talent's (candidate's or employee's) record.

**Inputs**

- Talent ID (`talent_id`, number, required): The talent's ID in Avionté. At least 1.

**Outputs**

- `data` (object): The response from Avionté.

**Example output**

```json
{
  "data": {
    "availabilityDate": "example",
    "createdDate": "example",
    "emailAddress": "example",
    "firstName": "example",
    "frontOfficeId": 1,
    "homePhone": "example",
    "id": 1,
    "isArchived": true,
    "lastName": "example",
    "lastUpdatedDate": "example",
    "latestActivityDate": "example",
    "latestActivityName": "example",
    "link": "example",
    "middleName": "example",
    "mobilePhone": "example",
    "officeName": "example",
    "placementStatus": "example",
    "representativeUser": 1,
    "representativeUserEmail": "example",
    "residentAddress": {
      "city": "example",
      "country": "example",
      "postalCode": "example",
      "state_Province": "example",
      "street1": "example",
      "street2": "example"
    },
    "status": "example",
    "statusId": 1,
    "workPhone": "example"
  }
}
```

### List company jobs

List a company's jobs, newest first: open ones, one status, or all.

**Inputs**

- Company (`company_id`, number, required): The company. At least 1.
- Status (`status`, text): Only jobs with this status.
- All statuses (`include_all_statuses`, true/false): Include jobs of every status, not only open ones.
- Order (`sort`, text): The order to list jobs in. One of: `-createdDate` (Newest first), `-lastUpdatedDate` (Recently changed first), `jobTitle` (Title), `status`.
- Count (`count`, number): How many jobs to return, up to 500. Leave empty for 50. From 1 to 500.
- Skip (`start`, number): How many jobs to skip, for reading the next page. At least 0.

**Outputs**

- `data` (object): The response from Avionté.

**Example output**

```json
{
  "data": {
    "count": 1,
    "jobs": [
      {
        "companyId": 1,
        "companyName": "example",
        "createdDate": "example",
        "filled": 1,
        "jobId": 1,
        "jobTitle": "example",
        "lastUpdatedDate": "example",
        "officeId": 1,
        "officeName": "example",
        "openings": 1,
        "status": "example"
      }
    ],
    "start": 1,
    "totalRecords": 1
  }
}
```

### List contact activities

List a contact's activities, newest first, optionally for a date range.

**Inputs**

- Contact ID (`contact_id`, number, required): The contact's ID in Avionté. At least 1.
- From (`start_date`, date): Only activities on or after this day (UTC).
- To (`end_date`, date): Only activities on or before this day (UTC).
- Activity type (`type_id`, number): Only this kind of activity. At least 1.
- Page (`page`, number): Which page of results, starting at 1. At least 1.
- Page size (`page_size`, number): How many results a page holds, up to 100. Leave empty for 25. From 1 to 100.

**Outputs**

- `data` (object): The response from Avionté.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "activityDate": "example",
        "companyID": 1,
        "contactId": 1,
        "enteredDate": "example",
        "id": 1,
        "name": "example",
        "notes": "example",
        "typeId": 1,
        "userId": 1
      }
    ],
    "page": 1,
    "pageSize": 1,
    "totalCount": 1
  }
}
```

### List contact activity types

List the kinds of activity a contact's record can have.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Avionté.

**Example output**

```json
{
  "data": {
    "results": [
      {
        "name": "example",
        "show_in": 1,
        "typeId": 1
      }
    ]
  }
}
```

### List job activities

List talent job activities (pipeline steps such as submittals and interviews), newest first, by talent, job or date range.

**Inputs**

- Talent ID (`talent_id`, number): Only this talent's job activities. At least 1.
- Job (`job_id`, number): Only this job's activities. At least 1.
- From (`start_date`, date): Only activities on or after this day (UTC). Needs a To date.
- To (`end_date`, date): Only activities on or before this day (UTC). Needs a From date.
- Page (`page`, number): Which page of results, starting at 1. At least 1.
- Page size (`page_size`, number): How many results a page holds, up to 100. Leave empty for 25. From 1 to 100.

**Outputs**

- `data` (object): The response from Avionté.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "activityDate": "example",
        "enteredDate": "example",
        "id": 1,
        "jobId": 1,
        "notes": "example",
        "talentId": 1,
        "typeId": 1,
        "typeName": "example",
        "userId": 1
      }
    ],
    "page": 1,
    "pageSize": 1,
    "totalCount": 1
  }
}
```

### List job placements

List the placements (talent placed on assignment) for a job.

**Inputs**

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

**Outputs**

- `data` (object): The response from Avionté.

**Example output**

```json
{
  "data": {
    "results": [
      {
        "createdDate": "example",
        "currency": "example",
        "endDate": "example",
        "endReason": "example",
        "enteredByUser": "example",
        "hiredDate": "example",
        "id": 1,
        "isActive": true,
        "jobId": 1,
        "payBasis": "example",
        "recruiterUser": "example",
        "recruiterUserId": 1,
        "remoteWork": true,
        "reqEmploymentTypeName": "example",
        "startDate": "example",
        "talentId": 1
      }
    ]
  }
}
```

### List job web applicants

List the people who applied to a job online.

**Inputs**

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

**Outputs**

- `data` (object): The response from Avionté.

**Example output**

```json
{
  "data": {
    "results": [
      {
        "applyDate": "example",
        "declineDate": "example",
        "jobId": 1,
        "source": "example",
        "talentId": 1,
        "webApplicantId": 1
      }
    ]
  }
}
```

### List offices

List your offices (branches).

**Inputs**: None.

**Outputs**

- `data` (object): The response from Avionté.

**Example output**

```json
{
  "data": {
    "results": [
      {
        "email": "example",
        "id": 1,
        "name": "example",
        "phoneNumber": "example"
      }
    ]
  }
}
```

### List talent activities

List talent activities, newest first, for one talent or for a date range.

**Inputs**

- Talent ID (`talent_id`, number): Only this talent's activities. At least 1.
- From (`start_date`, date): Only activities on or after this day (UTC). Without a talent, the range may span at most 31 days.
- To (`end_date`, date): Only activities on or before this day (UTC).
- Activity type (`type_id`, number): Only this kind of activity. At least 1.
- Page (`page`, number): Which page of results, starting at 1. At least 1.
- Page size (`page_size`, number): How many results a page holds, up to 100. Leave empty for 25. From 1 to 100.

**Outputs**

- `data` (object): The response from Avionté.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "activityDate": "example",
        "enteredDate": "example",
        "id": 1,
        "notes": "example",
        "talentId": 1,
        "typeId": 1,
        "typeName": "example",
        "userId": 1
      }
    ],
    "page": 1,
    "pageSize": 1,
    "totalCount": 1
  }
}
```

### List talent activity types

List the kinds of activity a talent's record can have.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Avionté.

**Example output**

```json
{
  "data": {
    "results": [
      {
        "name": "example",
        "show_in": 1,
        "typeId": 1
      }
    ]
  }
}
```

### List talent documents

List the documents, such as resumes, on a talent's record.

**Inputs**

- Talent ID (`talent_id`, number, required): The talent's ID in Avionté. At least 1.

**Outputs**

- `data` (object): The response from Avionté.

**Example output**

```json
{
  "data": {
    "results": [
      {
        "documentDate": "example",
        "documentTitle": "example",
        "documentType": "example",
        "expiryDate": "example",
        "fileName": "example",
        "id": 1,
        "isPrivate": true,
        "talentId": 1
      }
    ]
  }
}
```

### List users

List the people who use your Avionté account.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Avionté.

**Example output**

```json
{
  "data": {
    "results": [
      {
        "emailAddress": "example",
        "firstName": "example",
        "isArchived": true,
        "lastName": "example",
        "officeName": "example",
        "userId": 1,
        "userType": "example"
      }
    ]
  }
}
```

### Log contact activity

Log an activity, such as a call or a meeting, on a contact's record.

**Inputs**

- Contact ID (`contact_id`, number, required): The contact's ID in Avionté. At least 1.
- Activity type (`type_id`, number, required): The kind of activity. At least 1.
- Notes (`notes`, text): What happened.
- When (`activity_date`, date and time): When it happened. Leave empty for now.
- Logged by (`logged_by`, number): The user who logged it. At least 1.

**Outputs**

- `data` (object): The response from Avionté.

**Example output**

```json
{
  "data": {
    "activityDate": "example",
    "companyID": 1,
    "contactId": 1,
    "enteredDate": "example",
    "id": 1,
    "name": "example",
    "notes": "example",
    "typeId": 1,
    "userId": 1
  }
}
```

### Log talent activity

Log an activity, such as a call or a note, on a talent's record.

**Inputs**

- Talent ID (`talent_id`, number, required): The talent's ID in Avionté. At least 1.
- Activity type (`type_id`, number, required): The kind of activity. At least 1.
- Notes (`notes`, text): What happened.
- When (`activity_date`, date and time): When it happened. Leave empty for now.
- Logged by (`logged_by`, number): The user who logged it. At least 1.

**Outputs**

- `data` (object): The response from Avionté.

**Example output**

```json
{
  "data": {
    "activityDate": "example",
    "enteredDate": "example",
    "id": 1,
    "notes": "example",
    "talentId": 1,
    "typeId": 1,
    "typeName": "example",
    "userId": 1
  }
}
```

### Search posted jobs

Search the jobs posted to your job board by keyword or place.

**Inputs**

- Keywords (`keywords`, text): Words to find in the job.
- City (`city`, text): City.
- State (`state`, text): State, such as `MN`.
- ZIP code (`postal_code`, text): ZIP or postal code.
- Radius (miles) (`radius`, number): Miles around the ZIP code. At least 1.
- Page (`page`, number): Which page of results, starting at 1. At least 1.
- Results per page (`results_per_page`, number): How many jobs a page holds. From 1 to 100.

**Outputs**

- `data` (object): The response from Avionté.

**Example output**

```json
{
  "data": {
    "jobs": [
      {
        "description": "example",
        "employmentType": "example",
        "endDate": "example",
        "hourlyMaximum": 1,
        "hourlyMinimum": 1,
        "jobBoardName": "example",
        "jobId": 1,
        "jobPostingID": 1,
        "postedDate": "example",
        "salaryMaximum": 1,
        "salaryMinimum": 1,
        "startDate": "example",
        "title": "example"
      }
    ],
    "totalJobs": 1
  }
}
```

### Update contact

Change a contact's name, email, title, phones or address, or archive them. Fields left empty stay as they are.

**Inputs**

- Contact ID (`contact_id`, number, required): The contact's ID in Avionté. At least 1.
- First name (`first_name`, text): First name.
- Last name (`last_name`, text): Last name.
- Email (`email`, text): Email address.
- Title (`title`, text): Job title.
- Work phone (`work_phone`, text): Work phone number.
- Mobile phone (`cell_phone`, text): Mobile phone number.
- Address (`address`, text): Street address.
- City (`city`, text): City.
- State (`state`, text): State or province.
- ZIP code (`postal_code`, text): ZIP or postal code.
- Archived (`archived`, true/false): Whether the contact is archived.

**Outputs**

- `data` (object): The response from Avionté.

**Example output**

```json
{
  "data": {
    "address1": "example",
    "cellPhone": "example",
    "city": "example",
    "companyDepartmentId": 1,
    "companyId": 1,
    "companyName": "example",
    "country": "example",
    "createdDate": "example",
    "emailAddress": "example",
    "firstName": "example",
    "id": 1,
    "isArchived": true,
    "lastName": "example",
    "lastUpdatedDate": "example",
    "postalCode": "example",
    "state": "example",
    "status": "example",
    "title": "example",
    "workPhone": "example"
  }
}
```

### Update talent

Change a talent's name, email, phones, status, recruiter or availability. Fields left empty stay as they are.

**Inputs**

- Talent ID (`talent_id`, number, required): The talent's ID in Avionté. At least 1.
- First name (`first_name`, text): First name.
- Last name (`last_name`, text): Last name.
- Email (`email`, text): Email address.
- Mobile phone (`mobile_phone`, text): Mobile phone number.
- Home phone (`home_phone`, text): Home phone number.
- Status (`status`, text): The talent's status as Avionté names it.
- Recruiter (`representative_user`, number): The recruiter working with the talent. At least 1.
- Available from (`availability_date`, date): When the talent can start work.

**Outputs**

- `data` (object): The response from Avionté.

**Example output**

```json
{
  "data": {
    "availabilityDate": "example",
    "createdDate": "example",
    "emailAddress": "example",
    "firstName": "example",
    "frontOfficeId": 1,
    "homePhone": "example",
    "id": 1,
    "isArchived": true,
    "lastName": "example",
    "lastUpdatedDate": "example",
    "latestActivityDate": "example",
    "latestActivityName": "example",
    "link": "example",
    "middleName": "example",
    "mobilePhone": "example",
    "officeName": "example",
    "placementStatus": "example",
    "representativeUser": 1,
    "representativeUserEmail": "example",
    "residentAddress": {
      "city": "example",
      "country": "example",
      "postalCode": "example",
      "state_Province": "example",
      "street1": "example",
      "street2": "example"
    },
    "status": "example",
    "statusId": 1,
    "workPhone": "example"
  }
}
```
