# EasyVista Service Manager

> Create, update, close and put on hold EV Service Manager tickets, add and end their actions, and look up employees, groups, assets, locations, departments and the ticket catalog.

App · 24 actions. Web page: https://docs.lodol.com/docs/integrations/easyvista

## Actions

### Add ticket action

Add an action to a ticket, such as a call or an intervention, assigned to a group.

**Inputs**

- Ticket number (`rfc_number`, text, required): The ticket number, such as I241012_000005.
- Action type ID (`action_type_id`, number): The action type's ID.
- Action type name (`action_type_name`, text): The action type's name, in the connected user's language.
- Group name (`group_name`, text): The name of the group to do it.
- Group (`group_id`, text): The group to do it.
- Description (`description`, text): What to do.
- Comment (`comment`, text): A comment.
- Done by email (`doneby_mail`, text): The email address of who does it.
- Contact email (`contact_mail`, text): The email address of the contact for it.

**Outputs**

- `data` (object): The response from EasyVista Service Manager.

**Example output**

```json
{
  "data": {
    "HREF": "example",
    "id": "example"
  }
}
```

### Close ticket

Close a ticket: stop its workflow and set its final status. It can't be changed afterwards.

**Inputs**

- Ticket number (`rfc_number`, text, required): The ticket number, such as I241012_000005.
- Final status (`status_guid`, text): The final status's GUID. Defaults to Closed.
- Comment (`comment`, text): Why it was closed.
- Delete open actions (`delete_actions`, true/false): Delete its unfinished actions instead of keeping them.

**Outputs**

- `data` (object): The response from EasyVista Service Manager.

**Example output**

```json
{
  "data": {
    "HREF": "example",
    "rfc_number": "example"
  }
}
```

### Create employee

Add an employee to the directory.

**Inputs**

- Name (`last_name`, text, required): Their full name as EasyVista shows it, such as "Morley, Gaby".
- Email (`e_mail`, text): Their email address.
- Login (`login`, text): Their login.
- Phone (`phone_number`, text): Their phone number.
- Mobile (`cellular_number`, text): Their mobile number.
- Employee number (`identification`, text): Their employee number.
- Location (`location_id`, number): Their location.
- Department (`department_id`, number): Their department.
- Other fields (`other_fields`, object): Any other fields by their EasyVista name, such as {"available_field_1": "VPN"}.

**Outputs**

- `data` (object): The response from EasyVista Service Manager.

**Example output**

```json
{
  "data": {
    "HREF": "example",
    "id": "example"
  }
}
```

### Create ticket

Create a ticket under a catalog subject, which decides whether it is an incident, a request or a change, and start its workflow.

**Inputs**

- Subject (`catalog_code`, text): The code of the ticket's subject in the catalog.
- Subject GUID (`catalog_guid`, text): The GUID of the ticket's subject, instead of its code.
- Title (`title`, text): The ticket's title.
- Description (`description`, text): What it is about.
- Requestor email (`requestor_mail`, text): The email address of the person asking.
- Recipient email (`recipient_mail`, text): The email address of the person it is for.
- Urgency (`urgency_id`, number): The urgency.
- Impact (`impact_id`, number): The impact.
- Severity ID (`severity_id`, number): The severity level's ID.
- Origin (`origin`, text): How it came in, such as Phone or Email.
- External reference (`external_reference`, text): Your own reference for it.
- Phone (`phone`, text): The requestor's phone number.
- Location code (`location_code`, text): The requestor's location code.
- Department code (`department_code`, text): The requestor's department code.
- CI (`ci_name`, text): The configuration item concerned, by name.
- Asset tag (`asset_tag`, text): The asset concerned, by tag.
- Parent ticket (`parentrequest`, text): A parent ticket's number, to link this one under it.
- Other fields (`other_fields`, object): Any other fields by their EasyVista name, such as {"available_field_1": "VPN"}.

**Outputs**

- `data` (object): The response from EasyVista Service Manager.

**Example output**

```json
{
  "data": {
    "HREF": "example",
    "rfc_number": "example"
  }
}
```

### End ticket actions

End one action of a ticket, or every action still open on it.

**Inputs**

- Ticket number (`rfc_number`, text, required): The ticket number, such as I241012_000005.
- Action ID (`action_id`, text): The action to end. Leave empty to end every open action.
- Done by email (`doneby_mail`, text): The email address of who did it.
- Group name (`group_name`, text): Only the actions of this group.
- Description (`description`, text): How it was done.

**Outputs**

- `data` (object): The response from EasyVista Service Manager.

**Example output**

```json
{
  "data": {
    "HREF": "example",
    "rfc_number": "example"
  }
}
```

### Get asset

Get an asset by its ID.

**Inputs**

- Asset ID (`asset_id`, text, required): The asset's ID.
- Fields (`fields`, text): The fields to return, separated by commas. Leave empty for EasyVista's usual set.

**Outputs**

- `data` (object): The response from EasyVista Service Manager.

**Example output**

```json
{
  "data": {
    "ASSET_ID": "example",
    "ASSET_LABEL": "example",
    "ASSET_TAG": "example",
    "CATALOG": {},
    "DEPARTMENT": {},
    "EMPLOYEE": {},
    "HREF": "example",
    "LOCATION": {},
    "SERIAL_NUMBER": "example"
  }
}
```

### Get employee

Get an employee by their ID.

**Inputs**

- Employee ID (`employee_id`, text, required): The employee's ID.
- Fields (`fields`, text): The fields to return, separated by commas. Leave empty for EasyVista's usual set.

**Outputs**

- `data` (object): The response from EasyVista Service Manager.

**Example output**

```json
{
  "data": {
    "BEGIN_OF_CONTRACT": "example",
    "CELLULAR_NUMBER": "example",
    "DEPARTMENT_PATH": "example",
    "EMPLOYEE_ID": "example",
    "E_MAIL": "example",
    "HREF": "example",
    "LAST_NAME": "example",
    "LOCATION_PATH": "example",
    "PHONE_NUMBER": "example"
  }
}
```

### Get ticket

Get a ticket by its number, with its requestor, recipient, status and dates.

**Inputs**

- Ticket number (`rfc_number`, text, required): The ticket number, such as I241012_000005.
- Fields (`fields`, text): The fields to return, separated by commas. Leave empty for EasyVista's usual set.

**Outputs**

- `data` (object): The response from EasyVista Service Manager.

**Example output**

```json
{
  "data": {
    "COMMENT": {},
    "CREATION_DATE_UT": "example",
    "DEPARTMENT_PATH": "example",
    "DESCRIPTION": {},
    "END_DATE_UT": "example",
    "EXTERNAL_REFERENCE": "example",
    "HREF": "example",
    "LAST_UPDATE": "example",
    "LOCATION_PATH": "example",
    "MAX_RESOLUTION_DATE_UT": "example",
    "RECIPIENT": {
      "E_MAIL": "example",
      "HREF": "example",
      "LAST_NAME": "example",
      "PHONE_NUMBER": "example"
    },
    "REQUESTOR": {
      "E_MAIL": "example",
      "HREF": "example",
      "LAST_NAME": "example",
      "PHONE_NUMBER": "example"
    },
    "REQUEST_ID": "example",
    "RFC_NUMBER": "example",
    "SD_CATALOG_PATH": "example",
    "STATUS": {},
    "SUBMIT_DATE_UT": "example"
  }
}
```

### Get ticket comment

Get the text of a ticket's Comment field.

**Inputs**

- Ticket number (`rfc_number`, text, required): The ticket number, such as I241012_000005.

**Outputs**

- `data` (object): The response from EasyVista Service Manager.

**Example output**

```json
{
  "data": {
    "COMMENT": "example",
    "HREF": "example"
  }
}
```

### List actions

List actions on tickets, such as calls and interventions, filtered and sorted.

**Inputs**

- Search (`search`, text): A filter in EasyVista's form, field:"value", several joined by commas, such as status.status_en:"In Progress",submit_date_ut:this_week.
- Sort (`sort`, text): How to sort, such as submit_date_ut+desc.
- Fields (`fields`, text): The fields to return, separated by commas. Leave empty for EasyVista's usual set.
- Maximum rows (`max_rows`, number): How many to return, 1 to 1000. EasyVista's default is 100. From 1 to 1000.
- Offset (`offset`, number): Where the page starts: the next_offset from an earlier page. At least 0.

**Outputs**

- `data` (object): The response from EasyVista Service Manager.

**Example output**

```json
{
  "data": {
    "next_offset": 1,
    "record_count": "example",
    "records": [
      {
        "ACTION_ID": "example",
        "ACTION_NUMBER": "example",
        "ACTION_TYPE": {},
        "DONE_BY": {},
        "DONE_BY_ID": "example",
        "EXPECTED_START_DATE_UT": "example",
        "HREF": "example",
        "REQUEST": {}
      }
    ],
    "total_record_count": "example"
  }
}
```

### List assets

List equipment, licenses and contracts, such as by tag, serial number or user.

**Inputs**

- Search (`search`, text): A filter in EasyVista's form, field:"value", several joined by commas, such as status.status_en:"In Progress",submit_date_ut:this_week.
- Sort (`sort`, text): How to sort, such as submit_date_ut+desc.
- Fields (`fields`, text): The fields to return, separated by commas. Leave empty for EasyVista's usual set.
- Maximum rows (`max_rows`, number): How many to return, 1 to 1000. EasyVista's default is 100. From 1 to 1000.
- Offset (`offset`, number): Where the page starts: the next_offset from an earlier page. At least 0.

**Outputs**

- `data` (object): The response from EasyVista Service Manager.

**Example output**

```json
{
  "data": {
    "next_offset": 1,
    "record_count": "example",
    "records": [
      {
        "ASSET_ID": "example",
        "ASSET_LABEL": "example",
        "ASSET_TAG": "example",
        "CATALOG": {},
        "DEPARTMENT": {},
        "EMPLOYEE": {},
        "HREF": "example",
        "LOCATION": {},
        "SERIAL_NUMBER": "example"
      }
    ],
    "total_record_count": "example"
  }
}
```

### List departments

List the departments.

**Inputs**

- Search (`search`, text): A filter in EasyVista's form, field:"value", several joined by commas, such as status.status_en:"In Progress",submit_date_ut:this_week.
- Sort (`sort`, text): How to sort, such as submit_date_ut+desc.
- Fields (`fields`, text): The fields to return, separated by commas. Leave empty for EasyVista's usual set.
- Maximum rows (`max_rows`, number): How many to return, 1 to 1000. EasyVista's default is 100. From 1 to 1000.
- Offset (`offset`, number): Where the page starts: the next_offset from an earlier page. At least 0.

**Outputs**

- `data` (object): The response from EasyVista Service Manager.

**Example output**

```json
{
  "data": {
    "next_offset": 1,
    "record_count": "example",
    "records": [
      {
        "DEPARTMENT_CODE": "example",
        "DEPARTMENT_ID": "example",
        "DEPARTMENT_PATH": "example",
        "HREF": "example"
      }
    ],
    "total_record_count": "example"
  }
}
```

### List employees

List employees, such as by email or name.

**Inputs**

- Search (`search`, text): A filter in EasyVista's form, field:"value", several joined by commas, such as status.status_en:"In Progress",submit_date_ut:this_week.
- Sort (`sort`, text): How to sort, such as submit_date_ut+desc.
- Fields (`fields`, text): The fields to return, separated by commas. Leave empty for EasyVista's usual set.
- Maximum rows (`max_rows`, number): How many to return, 1 to 1000. EasyVista's default is 100. From 1 to 1000.
- Offset (`offset`, number): Where the page starts: the next_offset from an earlier page. At least 0.

**Outputs**

- `data` (object): The response from EasyVista Service Manager.

**Example output**

```json
{
  "data": {
    "next_offset": 1,
    "record_count": "example",
    "records": [
      {
        "BEGIN_OF_CONTRACT": "example",
        "CELLULAR_NUMBER": "example",
        "DEPARTMENT_PATH": "example",
        "EMPLOYEE_ID": "example",
        "E_MAIL": "example",
        "HREF": "example",
        "LAST_NAME": "example",
        "LOCATION_PATH": "example",
        "PHONE_NUMBER": "example"
      }
    ],
    "total_record_count": "example"
  }
}
```

### List groups

List the support groups.

**Inputs**

- Search (`search`, text): A filter in EasyVista's form, field:"value", several joined by commas, such as status.status_en:"In Progress",submit_date_ut:this_week.
- Sort (`sort`, text): How to sort, such as submit_date_ut+desc.
- Fields (`fields`, text): The fields to return, separated by commas. Leave empty for EasyVista's usual set.
- Maximum rows (`max_rows`, number): How many to return, 1 to 1000. EasyVista's default is 100. From 1 to 1000.
- Offset (`offset`, number): Where the page starts: the next_offset from an earlier page. At least 0.

**Outputs**

- `data` (object): The response from EasyVista Service Manager.

**Example output**

```json
{
  "data": {
    "next_offset": 1,
    "record_count": "example",
    "records": [
      {
        "GROUP_EN": "example",
        "GROUP_ID": "example",
        "HREF": "example"
      }
    ],
    "total_record_count": "example"
  }
}
```

### List impacts

List the impact levels.

**Inputs**

- Search (`search`, text): A filter in EasyVista's form, field:"value", several joined by commas, such as status.status_en:"In Progress",submit_date_ut:this_week.
- Sort (`sort`, text): How to sort, such as submit_date_ut+desc.
- Fields (`fields`, text): The fields to return, separated by commas. Leave empty for EasyVista's usual set.
- Maximum rows (`max_rows`, number): How many to return, 1 to 1000. EasyVista's default is 100. From 1 to 1000.
- Offset (`offset`, number): Where the page starts: the next_offset from an earlier page. At least 0.

**Outputs**

- `data` (object): The response from EasyVista Service Manager.

**Example output**

```json
{
  "data": {
    "next_offset": 1,
    "record_count": "example",
    "records": [
      {
        "HREF": "example",
        "IMPACT_EN": "example",
        "IMPACT_ID": "example"
      }
    ],
    "total_record_count": "example"
  }
}
```

### List locations

List the locations.

**Inputs**

- Search (`search`, text): A filter in EasyVista's form, field:"value", several joined by commas, such as status.status_en:"In Progress",submit_date_ut:this_week.
- Sort (`sort`, text): How to sort, such as submit_date_ut+desc.
- Fields (`fields`, text): The fields to return, separated by commas. Leave empty for EasyVista's usual set.
- Maximum rows (`max_rows`, number): How many to return, 1 to 1000. EasyVista's default is 100. From 1 to 1000.
- Offset (`offset`, number): Where the page starts: the next_offset from an earlier page. At least 0.

**Outputs**

- `data` (object): The response from EasyVista Service Manager.

**Example output**

```json
{
  "data": {
    "next_offset": 1,
    "record_count": "example",
    "records": [
      {
        "CITY": "example",
        "HREF": "example",
        "LOCATION_CODE": "example",
        "LOCATION_ID": "example",
        "LOCATION_PATH": "example"
      }
    ],
    "total_record_count": "example"
  }
}
```

### List ticket catalog entries

List the ticket catalog's subjects, with each one's code.

**Inputs**

- Search (`search`, text): A filter in EasyVista's form, field:"value", several joined by commas, such as status.status_en:"In Progress",submit_date_ut:this_week.
- Sort (`sort`, text): How to sort, such as submit_date_ut+desc.
- Fields (`fields`, text): The fields to return, separated by commas. Leave empty for EasyVista's usual set.
- Maximum rows (`max_rows`, number): How many to return, 1 to 1000. EasyVista's default is 100. From 1 to 1000.
- Offset (`offset`, number): Where the page starts: the next_offset from an earlier page. At least 0.

**Outputs**

- `data` (object): The response from EasyVista Service Manager.

**Example output**

```json
{
  "data": {
    "next_offset": 1,
    "record_count": "example",
    "records": [
      {
        "CATALOG_REQUEST_PATH": "example",
        "CODE": "example",
        "HREF": "example",
        "SD_CATALOG_ID": "example",
        "TITLE_EN": "example"
      }
    ],
    "total_record_count": "example"
  }
}
```

### List ticket statuses

List the ticket statuses, with each one's ID and GUID.

**Inputs**

- Search (`search`, text): A filter in EasyVista's form, field:"value", several joined by commas, such as status.status_en:"In Progress",submit_date_ut:this_week.
- Sort (`sort`, text): How to sort, such as submit_date_ut+desc.
- Fields (`fields`, text): The fields to return, separated by commas. Leave empty for EasyVista's usual set.
- Maximum rows (`max_rows`, number): How many to return, 1 to 1000. EasyVista's default is 100. From 1 to 1000.
- Offset (`offset`, number): Where the page starts: the next_offset from an earlier page. At least 0.

**Outputs**

- `data` (object): The response from EasyVista Service Manager.

**Example output**

```json
{
  "data": {
    "next_offset": 1,
    "record_count": "example",
    "records": [
      {
        "HREF": "example",
        "STATUS_EN": "example",
        "STATUS_GUID": "example",
        "STATUS_ID": "example"
      }
    ],
    "total_record_count": "example"
  }
}
```

### List tickets

List incidents, service requests, changes and other tickets, filtered and sorted.

**Inputs**

- Search (`search`, text): A filter in EasyVista's form, field:"value", several joined by commas, such as status.status_en:"In Progress",submit_date_ut:this_week.
- Sort (`sort`, text): How to sort, such as submit_date_ut+desc.
- Fields (`fields`, text): The fields to return, separated by commas. Leave empty for EasyVista's usual set.
- Maximum rows (`max_rows`, number): How many to return, 1 to 1000. EasyVista's default is 100. From 1 to 1000.
- Offset (`offset`, number): Where the page starts: the next_offset from an earlier page. At least 0.

**Outputs**

- `data` (object): The response from EasyVista Service Manager.

**Example output**

```json
{
  "data": {
    "next_offset": 1,
    "record_count": "example",
    "records": [
      {
        "COMMENT": {},
        "CREATION_DATE_UT": "example",
        "DEPARTMENT_PATH": "example",
        "DESCRIPTION": {},
        "END_DATE_UT": "example",
        "EXTERNAL_REFERENCE": "example",
        "HREF": "example",
        "LAST_UPDATE": "example",
        "LOCATION_PATH": "example",
        "MAX_RESOLUTION_DATE_UT": "example",
        "RECIPIENT": {
          "E_MAIL": "example",
          "HREF": "example",
          "LAST_NAME": "example",
          "PHONE_NUMBER": "example"
        },
        "REQUESTOR": {
          "E_MAIL": "example",
          "HREF": "example",
          "LAST_NAME": "example",
          "PHONE_NUMBER": "example"
        },
        "REQUEST_ID": "example",
        "RFC_NUMBER": "example",
        "SD_CATALOG_PATH": "example",
        "STATUS": {},
        "SUBMIT_DATE_UT": "example"
      }
    ],
    "total_record_count": "example"
  }
}
```

### List urgencies

List the urgency levels.

**Inputs**: None.

**Outputs**

- `data` (object): The response from EasyVista Service Manager.

**Example output**

```json
{
  "data": {
    "next_offset": 1,
    "record_count": "example",
    "records": [
      {
        "HREF": "example",
        "URGENCY_EN": "example",
        "URGENCY_ID": "example"
      }
    ],
    "total_record_count": "example"
  }
}
```

### Put ticket on hold

Put a ticket on hold, with a comment.

**Inputs**

- Ticket number (`rfc_number`, text, required): The ticket number, such as I241012_000005.
- Comment (`comment`, text): Why it is on hold.
- Done by (`done_by_id`, number): The employee ID of who put it on hold.

**Outputs**

- `data` (object): The response from EasyVista Service Manager.

**Example output**

```json
{
  "data": {
    "HREF": "example",
    "rfc_number": "example"
  }
}
```

### Take ticket off hold

Take a ticket that is on hold off hold, with a comment.

**Inputs**

- Ticket number (`rfc_number`, text, required): The ticket number, such as I241012_000005.
- Comment (`comment`, text, required): Why it continues.
- Done by (`done_by_id`, number): The employee ID of who took it off hold.

**Outputs**

- `data` (object): The response from EasyVista Service Manager.

**Example output**

```json
{
  "data": {
    "HREF": "example",
    "rfc_number": "example"
  }
}
```

### Update employee

Change an employee's details. Fields left empty are kept.

**Inputs**

- Employee ID (`employee_id`, text, required): The employee's ID.
- Name (`last_name`, text): Their full name.
- Email (`e_mail`, text): Their email address.
- Login (`login`, text): Their login.
- Phone (`phone_number`, text): Their phone number.
- Mobile (`cellular_number`, text): Their mobile number.
- Employee number (`identification`, text): Their employee number.
- Location (`location_id`, number): Their location.
- Department (`department_id`, number): Their department.
- End of contract (`end_of_contract`, text): When their contract ends, in the connected user's date format.
- Other fields (`other_fields`, object): Any other fields by their EasyVista name, such as {"available_field_1": "VPN"}.

**Outputs**

- `data` (object): The response from EasyVista Service Manager.

**Example output**

```json
{
  "data": {
    "HREF": "example",
    "id": "example"
  }
}
```

### Update ticket

Change a ticket's description, comment, urgency, impact, owner or other fields. Fields left empty are kept.

**Inputs**

- Ticket number (`rfc_number`, text, required): The ticket number, such as I241012_000005.
- Description (`description`, text): A new description.
- Add to description (`append`, true/false): Add the description after the current one instead of replacing it (EV Service Manager 2025.3 or later).
- Comment (`comment`, text): A new comment.
- External reference (`external_reference`, text): Your own reference for it.
- Urgency (`urgency_id`, number): The urgency.
- Impact (`impact_id`, number): The impact.
- Owner (`owner_id`, text): The owner, by employee ID or name.
- Owning group (`owning_group_id`, text): The owning group.
- Requestor phone (`requestor_phone`, text): The requestor's phone number.
- Other fields (`other_fields`, object): Any other fields by their EasyVista name, such as {"available_field_1": "VPN"}.

**Outputs**

- `data` (object): The response from EasyVista Service Manager.

**Example output**

```json
{
  "data": {
    "HREF": "example",
    "rfc_number": "example"
  }
}
```
