# SolarWinds Service Desk

> Open, update and comment on incidents, request services from the catalog, track problems, read changes, write knowledge base solutions and look up users, groups and hardware in SolarWinds Service Desk, and follow new and changed incidents, problems, changes, solutions and users.

App · 25 actions. Web page: https://docs.lodol.com/docs/integrations/solarwinds-service-desk

## Actions

### Add comment

Comment on an incident, problem, change, release or solution, publicly or as a private note for agents.

**Inputs**

- Record type (`record_type`, text, required): What kind of record it is. One of: `incidents` (Incident), `problems` (Problem), `changes` (Change), `releases` (Release), `solutions` (Solution).
- Record ID (`record_id`, text, required): The record's ID, the number at the end of its address in SolarWinds Service Desk.
- Comment (`body`, text, required): The comment.
- Private (`is_private`, true/false): Only agents can see it.
- Notify people (`notify`, true/false): Email the people on the record about it, as a comment made in SolarWinds Service Desk would. Off by default for comments from the API.

**Outputs**

- `data` (object): The response from SolarWinds Service Desk.

**Example output**

```json
{
  "data": {
    "body": "example",
    "commenter_id": 1,
    "commenter_type": "example",
    "created_at": "example",
    "id": 1,
    "is_private": true,
    "updated_at": "example",
    "user": {
      "email": "example",
      "id": 1,
      "name": "example"
    }
  }
}
```

### Add task

Add a task to an incident, problem, change or release, optionally assigned and with a due date.

**Inputs**

- Record type (`record_type`, text, required): What kind of record it is. One of: `incidents` (Incident), `problems` (Problem), `changes` (Change), `releases` (Release).
- Record ID (`record_id`, text, required): The record's ID, the number at the end of its address in SolarWinds Service Desk.
- Task (`name`, text, required): What needs doing.
- Assignee (`assignee_email`, text): The agent to assign it to, by email address.
- Due date (`due_date`, date): When it's due.

**Outputs**

- `data` (object): The response from SolarWinds Service Desk.

**Example output**

```json
{
  "data": {
    "assignee": {
      "email": "example",
      "id": 1,
      "name": "example"
    },
    "due_at": "example",
    "id": 1,
    "is_complete": true,
    "name": "example",
    "parent": {
      "class": "example",
      "id": 1
    },
    "requester": {
      "email": "example",
      "id": 1,
      "name": "example"
    }
  }
}
```

### Create incident

Open an incident, with its requester, assignee, priority and category.

**Inputs**

- Name (`name`, text, required): A short title.
- Description (`description`, text): The full description.
- Priority (`priority`, text): How urgent it is. One of: `Low`, `Medium`, `High`, `Critical`.
- Requester (`requester_email`, text): Who it's for, by email address.
- Assignee (`assignee_email`, text): The agent to assign it to, by email address.
- Assigned group (`group_name`, text): The group to assign it to.
- Category (`category`, text): Its category.
- Subcategory (`subcategory`, text): Its subcategory, within the category.
- Site (`site_id`, text): The site it belongs to.
- Department (`department_id`, text): The department it belongs to.
- Due date (`due_date`, date): When it's due.
- CC (`cc`, list): Email addresses to copy on the incident's updates.
- Tags (`tags`, list): Tags to give it.
- Custom fields (`custom_fields`, object): Custom field values, each by the field's name as it shows in SolarWinds Service Desk.

**Outputs**

- `data` (object): The response from SolarWinds Service Desk.

**Example output**

```json
{
  "data": {
    "assignee": {
      "email": "example",
      "id": 1,
      "name": "example"
    },
    "category": {
      "id": 1,
      "name": "example"
    },
    "cc": [
      "example"
    ],
    "created_at": "example",
    "created_by": {
      "email": "example",
      "id": 1,
      "name": "example"
    },
    "custom_fields_values": [
      {
        "name": "example",
        "type_name": "example",
        "value": "example"
      }
    ],
    "department": {
      "id": 1,
      "name": "example"
    },
    "description": "example",
    "description_no_html": "example",
    "due_at": "example",
    "group_assignee": {
      "id": 1,
      "name": "example"
    },
    "href": "example",
    "id": 1,
    "is_service_request": true,
    "name": "example",
    "number": 1,
    "number_of_comments": 1,
    "priority": "example",
    "requester": {
      "email": "example",
      "id": 1,
      "name": "example"
    },
    "resolution_code": "example",
    "resolution_description": "example",
    "site": {
      "id": 1,
      "name": "example"
    },
    "sla_violations": [
      {
        "id": 1,
        "name": "example",
        "resolved": true,
        "sla_type": "example",
        "time_delay": 1
      }
    ],
    "state": "example",
    "subcategory": {
      "id": 1,
      "name": "example"
    },
    "updated_at": "example"
  }
}
```

### Create problem

Open a problem to track the root cause behind one or more incidents.

**Inputs**

- Name (`name`, text, required): A short title.
- Description (`description`, text): The full description.
- Priority (`priority`, text): How urgent it is. One of: `Low`, `Medium`, `High`, `Critical`.
- Requester (`requester_email`, text): Who it's for, by email address.
- Assignee (`assignee_email`, text): The agent to assign it to, by email address.
- Assigned group (`group_name`, text): The group to assign it to.
- Site (`site_id`, text): The site it belongs to.
- Department (`department_id`, text): The department it belongs to.
- Symptoms (`symptoms`, text): What people see.
- Root cause (`root_cause`, text): What causes it.
- Workaround (`workaround`, text): How to get round it until it's fixed.
- Tags (`tags`, list): Tags to give it.
- Custom fields (`custom_fields`, object): Custom field values, each by the field's name as it shows in SolarWinds Service Desk.

**Outputs**

- `data` (object): The response from SolarWinds Service Desk.

**Example output**

```json
{
  "data": {
    "assignee": {
      "email": "example",
      "id": 1,
      "name": "example"
    },
    "created_at": "example",
    "created_by": {
      "email": "example",
      "id": 1,
      "name": "example"
    },
    "custom_fields_values": [
      {
        "name": "example",
        "type_name": "example",
        "value": "example"
      }
    ],
    "department": {
      "id": 1,
      "name": "example"
    },
    "description": "example",
    "group_assignee": {
      "id": 1,
      "name": "example"
    },
    "id": "example",
    "name": "example",
    "number": "example",
    "priority": "example",
    "requester": {
      "email": "example",
      "id": 1,
      "name": "example"
    },
    "root_cause": "example",
    "site": {
      "id": 1,
      "name": "example"
    },
    "state": "example",
    "symptoms": "example",
    "updated_at": "example",
    "workaround": "example"
  }
}
```

### Create solution

Add a solution article to the knowledge base.

**Inputs**

- Name (`name`, text, required): A short title.
- Description (`description`, text): The full description.
- Category (`category`, text): Its category.
- Subcategory (`subcategory`, text): Its subcategory, within the category.
- Site (`site_id`, text): The site it belongs to.
- Department (`department_id`, text): The department it belongs to.
- Tags (`tags`, list): Tags to give it.
- Custom fields (`custom_fields`, object): Custom field values, each by the field's name as it shows in SolarWinds Service Desk.

**Outputs**

- `data` (object): The response from SolarWinds Service Desk.

**Example output**

```json
{
  "data": {
    "created_at": "example",
    "creator": {
      "email": "example",
      "id": 1,
      "name": "example"
    },
    "description": "example",
    "description_no_html": "example",
    "href": "example",
    "id": "example",
    "name": "example",
    "number": "example",
    "number_of_attachments": 1,
    "state": "example"
  }
}
```

### Delete incident

Delete an incident or service request.

**Inputs**

- Incident ID (`incident_id`, text, required): The incident's ID, the number at the end of its address in SolarWinds Service Desk.

**Outputs**

- `data` (object): The response from SolarWinds Service Desk.

**Example output**

```json
{
  "data": {
    "deleted": true,
    "id": "example"
  }
}
```

### Delete problem

Delete a problem.

**Inputs**

- Problem ID (`problem_id`, text, required): The problem's ID, the number at the end of its address in SolarWinds Service Desk.

**Outputs**

- `data` (object): The response from SolarWinds Service Desk.

**Example output**

```json
{
  "data": {
    "deleted": true,
    "id": "example"
  }
}
```

### Delete solution

Delete a solution article from the knowledge base.

**Inputs**

- Solution ID (`solution_id`, text, required): The solution's ID, the number at the end of its address in SolarWinds Service Desk.

**Outputs**

- `data` (object): The response from SolarWinds Service Desk.

**Example output**

```json
{
  "data": {
    "deleted": true,
    "id": "example"
  }
}
```

### Get change

Get a change request with its state, plans, planned times and linked records.

**Inputs**

- Change ID (`change_id`, text, required): The change's ID, the number at the end of its address in SolarWinds Service Desk.
- Full details (`full_details`, true/false): Return every field, such as comments, tasks and linked records, rather than the summary.

**Outputs**

- `data` (object): The response from SolarWinds Service Desk.

**Example output**

```json
{
  "data": {
    "assignee": {
      "email": "example",
      "id": 1,
      "name": "example"
    },
    "change_plan": "example",
    "created_at": "example",
    "custom_fields_values": [
      {
        "name": "example",
        "type_name": "example",
        "value": "example"
      }
    ],
    "department": {
      "id": 1,
      "name": "example"
    },
    "description": "example",
    "group_assignee": {
      "id": 1,
      "name": "example"
    },
    "id": "example",
    "name": "example",
    "number": "example",
    "origin": "example",
    "planned_end_at": "example",
    "planned_start_at": "example",
    "priority": "example",
    "requester": {
      "email": "example",
      "id": 1,
      "name": "example"
    },
    "rollback_plan": "example",
    "site": {
      "id": 1,
      "name": "example"
    },
    "state": "example",
    "test_plan": "example",
    "updated_at": "example"
  }
}
```

### Get incident

Get an incident or service request with its state, priority, people, category and SLA breaches.

**Inputs**

- Incident ID (`incident_id`, text, required): The incident's ID, the number at the end of its address in SolarWinds Service Desk.
- Full details (`full_details`, true/false): Return every field, such as comments, tasks and linked records, rather than the summary.

**Outputs**

- `data` (object): The response from SolarWinds Service Desk.

**Example output**

```json
{
  "data": {
    "assignee": {
      "email": "example",
      "id": 1,
      "name": "example"
    },
    "category": {
      "id": 1,
      "name": "example"
    },
    "cc": [
      "example"
    ],
    "created_at": "example",
    "created_by": {
      "email": "example",
      "id": 1,
      "name": "example"
    },
    "custom_fields_values": [
      {
        "name": "example",
        "type_name": "example",
        "value": "example"
      }
    ],
    "department": {
      "id": 1,
      "name": "example"
    },
    "description": "example",
    "description_no_html": "example",
    "due_at": "example",
    "group_assignee": {
      "id": 1,
      "name": "example"
    },
    "href": "example",
    "id": 1,
    "is_service_request": true,
    "name": "example",
    "number": 1,
    "number_of_comments": 1,
    "priority": "example",
    "requester": {
      "email": "example",
      "id": 1,
      "name": "example"
    },
    "resolution_code": "example",
    "resolution_description": "example",
    "site": {
      "id": 1,
      "name": "example"
    },
    "sla_violations": [
      {
        "id": 1,
        "name": "example",
        "resolved": true,
        "sla_type": "example",
        "time_delay": 1
      }
    ],
    "state": "example",
    "subcategory": {
      "id": 1,
      "name": "example"
    },
    "updated_at": "example"
  }
}
```

### List categories

List the categories and subcategories records are filed under.

**Inputs**

- Page (`page`, number): Which page of results, starting at 1. At least 1.
- Per page (`per_page`, number): How many to return per page, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from SolarWinds Service Desk.

**Example output**

```json
{
  "data": {
    "categories": [
      {
        "default_assignee_id": "example",
        "default_tags": "example",
        "id": "example",
        "name": "example",
        "parent_id": "example"
      }
    ],
    "page": 1,
    "per_page": 1,
    "total_count": 1,
    "total_pages": 1
  }
}
```

### List changes

List change requests with their state, plans and planned times.

**Inputs**

- Created from (`created_from`, date and time): Only those created at or after this time.
- Created to (`created_to`, date and time): Only those created at or before this time.
- Changed from (`updated_from`, date and time): Only those changed at or after this time.
- Changed to (`updated_to`, date and time): Only those changed at or before this time.
- Full details (`full_details`, true/false): Return every field, such as comments, tasks and linked records, rather than the summary.
- Page (`page`, number): Which page of results, starting at 1. At least 1.
- Per page (`per_page`, number): How many to return per page, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from SolarWinds Service Desk.

**Example output**

```json
{
  "data": {
    "changes": [
      {
        "assignee": {
          "email": "example",
          "id": 1,
          "name": "example"
        },
        "change_plan": "example",
        "created_at": "example",
        "custom_fields_values": [
          {
            "name": "example",
            "type_name": "example",
            "value": "example"
          }
        ],
        "department": {
          "id": 1,
          "name": "example"
        },
        "description": "example",
        "group_assignee": {
          "id": 1,
          "name": "example"
        },
        "id": "example",
        "name": "example",
        "number": "example",
        "origin": "example",
        "planned_end_at": "example",
        "planned_start_at": "example",
        "priority": "example",
        "requester": {
          "email": "example",
          "id": 1,
          "name": "example"
        },
        "rollback_plan": "example",
        "site": {
          "id": 1,
          "name": "example"
        },
        "state": "example",
        "test_plan": "example",
        "updated_at": "example"
      }
    ],
    "page": 1,
    "per_page": 1,
    "total_count": 1,
    "total_pages": 1
  }
}
```

### List groups

List the groups incidents can be assigned to, with their members.

**Inputs**

- Page (`page`, number): Which page of results, starting at 1. At least 1.
- Per page (`per_page`, number): How many to return per page, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from SolarWinds Service Desk.

**Example output**

```json
{
  "data": {
    "groups": [
      {
        "description": "example",
        "id": "example",
        "is_user": true,
        "memberships": [
          {
            "id": 1,
            "type": "example",
            "user": "example"
          }
        ],
        "name": "example",
        "send_notifications": true
      }
    ],
    "page": 1,
    "per_page": 1,
    "total_count": 1,
    "total_pages": 1
  }
}
```

### List hardware

List hardware assets, such as computers and servers, with their owners, sites and status.

**Inputs**

- Full details (`full_details`, true/false): Return every field, such as comments, tasks and linked records, rather than the summary.
- Page (`page`, number): Which page of results, starting at 1. At least 1.
- Per page (`per_page`, number): How many to return per page, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from SolarWinds Service Desk.

**Example output**

```json
{
  "data": {
    "hardwares": [
      {
        "asset_tag": "example",
        "category": {
          "id": 1,
          "name": "example"
        },
        "department": {
          "id": 1,
          "name": "example"
        },
        "description": "example",
        "id": 1,
        "ip": "example",
        "memory": 1,
        "name": "example",
        "notes": "example",
        "operating_system": "example",
        "owner": {
          "email": "example"
        },
        "site": {
          "id": 1,
          "name": "example"
        },
        "status": {
          "name": "example"
        },
        "tag": "example"
      }
    ],
    "page": 1,
    "per_page": 1,
    "total_count": 1,
    "total_pages": 1
  }
}
```

### List incidents

List incidents and service requests, optionally only those created or changed in a time range.

**Inputs**

- Created from (`created_from`, date and time): Only those created at or after this time.
- Created to (`created_to`, date and time): Only those created at or before this time.
- Changed from (`updated_from`, date and time): Only those changed at or after this time.
- Changed to (`updated_to`, date and time): Only those changed at or before this time.
- Full details (`full_details`, true/false): Return every field, such as comments, tasks and linked records, rather than the summary.
- Page (`page`, number): Which page of results, starting at 1. At least 1.
- Per page (`per_page`, number): How many to return per page, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from SolarWinds Service Desk.

**Example output**

```json
{
  "data": {
    "incidents": [
      {
        "assignee": {
          "email": "example",
          "id": 1,
          "name": "example"
        },
        "category": {
          "id": 1,
          "name": "example"
        },
        "cc": [
          "example"
        ],
        "created_at": "example",
        "created_by": {
          "email": "example",
          "id": 1,
          "name": "example"
        },
        "custom_fields_values": [
          {
            "name": "example",
            "type_name": "example",
            "value": "example"
          }
        ],
        "department": {
          "id": 1,
          "name": "example"
        },
        "description": "example",
        "description_no_html": "example",
        "due_at": "example",
        "group_assignee": {
          "id": 1,
          "name": "example"
        },
        "href": "example",
        "id": 1,
        "is_service_request": true,
        "name": "example",
        "number": 1,
        "number_of_comments": 1,
        "priority": "example",
        "requester": {
          "email": "example",
          "id": 1,
          "name": "example"
        },
        "resolution_code": "example",
        "resolution_description": "example",
        "site": {
          "id": 1,
          "name": "example"
        },
        "sla_violations": [
          {
            "id": 1,
            "name": "example",
            "resolved": true,
            "sla_type": "example",
            "time_delay": 1
          }
        ],
        "state": "example",
        "subcategory": {
          "id": 1,
          "name": "example"
        },
        "updated_at": "example"
      }
    ],
    "page": 1,
    "per_page": 1,
    "total_count": 1,
    "total_pages": 1
  }
}
```

### List problems

List problems, the root causes behind recurring incidents.

**Inputs**

- Created from (`created_from`, date and time): Only those created at or after this time.
- Created to (`created_to`, date and time): Only those created at or before this time.
- Changed from (`updated_from`, date and time): Only those changed at or after this time.
- Changed to (`updated_to`, date and time): Only those changed at or before this time.
- Full details (`full_details`, true/false): Return every field, such as comments, tasks and linked records, rather than the summary.
- Page (`page`, number): Which page of results, starting at 1. At least 1.
- Per page (`per_page`, number): How many to return per page, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from SolarWinds Service Desk.

**Example output**

```json
{
  "data": {
    "page": 1,
    "per_page": 1,
    "problems": [
      {
        "assignee": {
          "email": "example",
          "id": 1,
          "name": "example"
        },
        "created_at": "example",
        "created_by": {
          "email": "example",
          "id": 1,
          "name": "example"
        },
        "custom_fields_values": [
          {
            "name": "example",
            "type_name": "example",
            "value": "example"
          }
        ],
        "department": {
          "id": 1,
          "name": "example"
        },
        "description": "example",
        "group_assignee": {
          "id": 1,
          "name": "example"
        },
        "id": "example",
        "name": "example",
        "number": "example",
        "priority": "example",
        "requester": {
          "email": "example",
          "id": 1,
          "name": "example"
        },
        "root_cause": "example",
        "site": {
          "id": 1,
          "name": "example"
        },
        "state": "example",
        "symptoms": "example",
        "updated_at": "example",
        "workaround": "example"
      }
    ],
    "total_count": 1,
    "total_pages": 1
  }
}
```

### List record history

List a record's audit trail: who changed what and when, such as state changes and reassignments.

**Inputs**

- Record type (`record_type`, text, required): What kind of record it is. One of: `incidents` (Incident), `problems` (Problem), `changes` (Change), `releases` (Release), `solutions` (Solution), `hardwares` (Hardware), `users` (User).
- Record ID (`record_id`, text, required): The record's ID, the number at the end of its address in SolarWinds Service Desk.

**Outputs**

- `data` (object): The response from SolarWinds Service Desk.

**Example output**

```json
{
  "data": {
    "audits": [
      {
        "action": "example",
        "created_at": "example",
        "id": 1,
        "message": "example",
        "note": "example",
        "source_id": 1,
        "source_type": "example",
        "user": {
          "email": "example",
          "id": 1,
          "name": "example"
        },
        "user_id": 1
      }
    ]
  }
}
```

### List service catalog items

List what people can request from the service catalog.

**Inputs**

- Page (`page`, number): Which page of results, starting at 1. At least 1.
- Per page (`per_page`, number): How many to return per page, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from SolarWinds Service Desk.

**Example output**

```json
{
  "data": {
    "catalog_items": [
      {
        "category": {
          "id": 1,
          "name": "example"
        },
        "created_at": "example",
        "currency": "example",
        "description": "example",
        "expected_delivery_time": "example",
        "id": "example",
        "name": "example",
        "number": "example",
        "price": "example",
        "show_price": true,
        "sub_category": {
          "id": 1,
          "name": "example"
        }
      }
    ],
    "page": 1,
    "per_page": 1,
    "total_count": 1,
    "total_pages": 1
  }
}
```

### List solutions

List the knowledge base's solution articles.

**Inputs**

- Full details (`full_details`, true/false): Return every field, such as comments, tasks and linked records, rather than the summary.
- Page (`page`, number): Which page of results, starting at 1. At least 1.
- Per page (`per_page`, number): How many to return per page, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from SolarWinds Service Desk.

**Example output**

```json
{
  "data": {
    "page": 1,
    "per_page": 1,
    "solutions": [
      {
        "created_at": "example",
        "creator": {
          "email": "example",
          "id": 1,
          "name": "example"
        },
        "description": "example",
        "description_no_html": "example",
        "href": "example",
        "id": "example",
        "name": "example",
        "number": "example",
        "number_of_attachments": 1,
        "state": "example"
      }
    ],
    "total_count": 1,
    "total_pages": 1
  }
}
```

### List users

List the people in your service desk, agents and requesters, with their roles, sites and departments.

**Inputs**

- Email (`email`, text): Only the user with this email address.
- Page (`page`, number): Which page of results, starting at 1. At least 1.
- Per page (`per_page`, number): How many to return per page, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from SolarWinds Service Desk.

**Example output**

```json
{
  "data": {
    "page": 1,
    "per_page": 1,
    "total_count": 1,
    "total_pages": 1,
    "users": [
      {
        "created_at": "example",
        "department": {
          "id": 1,
          "name": "example"
        },
        "disabled": true,
        "email": "example",
        "group_ids": [
          1
        ],
        "id": "example",
        "mobile_phone": "example",
        "name": "example",
        "phone": "example",
        "role": {
          "id": "example",
          "name": "example"
        },
        "site": {
          "id": 1,
          "name": "example"
        },
        "title": "example"
      }
    ]
  }
}
```

### Log time

Log time spent on an incident, problem, change or release.

**Inputs**

- Record type (`record_type`, text, required): What kind of record it is. One of: `incidents` (Incident), `problems` (Problem), `changes` (Change), `releases` (Release).
- Record ID (`record_id`, text, required): The record's ID, the number at the end of its address in SolarWinds Service Desk.
- Minutes (`minutes`, number, required): How many minutes were spent. At least 1.
- Description (`name`, text): What the time was spent on.

**Outputs**

- `data` (object): The response from SolarWinds Service Desk.

**Example output**

```json
{
  "data": {
    "created_at": "example",
    "creator": {
      "email": "example",
      "id": 1,
      "name": "example"
    },
    "id": 1,
    "minutes": 1,
    "name": "example",
    "parent": {
      "class": "example",
      "id": 1
    },
    "updated_at": "example"
  }
}
```

### Request a service

Submit a service request for a service catalog item on someone's behalf.

**Inputs**

- Catalog item (`catalog_item_id`, text, required): The service catalog item to request.
- Requester (`requester_email`, text): Who it's for, by email address.
- Priority (`priority`, text): How urgent it is. One of: `Low`, `Medium`, `High`, `Critical`.
- Due date (`due_date`, date): When it's due.
- Site (`site_id`, text): The site it belongs to.
- Department (`department_id`, text): The department it belongs to.
- Custom fields (`custom_fields`, object): Custom field values, each by the field's name as it shows in SolarWinds Service Desk.

**Outputs**

- `data` (object): The response from SolarWinds Service Desk.

**Example output**

```json
{
  "data": {
    "assignee": {
      "email": "example",
      "id": 1,
      "name": "example"
    },
    "category": {
      "id": 1,
      "name": "example"
    },
    "cc": [
      "example"
    ],
    "created_at": "example",
    "created_by": {
      "email": "example",
      "id": 1,
      "name": "example"
    },
    "custom_fields_values": [
      {
        "name": "example",
        "type_name": "example",
        "value": "example"
      }
    ],
    "department": {
      "id": 1,
      "name": "example"
    },
    "description": "example",
    "description_no_html": "example",
    "due_at": "example",
    "group_assignee": {
      "id": 1,
      "name": "example"
    },
    "href": "example",
    "id": 1,
    "is_service_request": true,
    "name": "example",
    "number": 1,
    "number_of_comments": 1,
    "priority": "example",
    "requester": {
      "email": "example",
      "id": 1,
      "name": "example"
    },
    "resolution_code": "example",
    "resolution_description": "example",
    "site": {
      "id": 1,
      "name": "example"
    },
    "sla_violations": [
      {
        "id": 1,
        "name": "example",
        "resolved": true,
        "sla_type": "example",
        "time_delay": 1
      }
    ],
    "state": "example",
    "subcategory": {
      "id": 1,
      "name": "example"
    },
    "updated_at": "example"
  }
}
```

### Update incident

Change an incident's state, priority, assignee or other details. Fields left empty stay as they are.

**Inputs**

- Incident ID (`incident_id`, text, required): The incident's ID, the number at the end of its address in SolarWinds Service Desk.
- Name (`name`, text): A new title.
- State (`state`, text): Its new state. One of: `New`, `Assigned`, `Awaiting Input`, `In Progress`, `On Hold`, `Resolved`, `Closed`.
- Description (`description`, text): The full description.
- Priority (`priority`, text): How urgent it is. One of: `Low`, `Medium`, `High`, `Critical`.
- Requester (`requester_email`, text): Who it's for, by email address.
- Assignee (`assignee_email`, text): The agent to assign it to, by email address.
- Assigned group (`group_name`, text): The group to assign it to.
- Category (`category`, text): Its category.
- Subcategory (`subcategory`, text): Its subcategory, within the category.
- Site (`site_id`, text): The site it belongs to.
- Department (`department_id`, text): The department it belongs to.
- Due date (`due_date`, date): When it's due.
- CC (`cc`, list): Email addresses to copy on the incident's updates.
- Add tags (`tags`, list): Tags to add.
- Remove tags (`remove_tags`, list): Tags to take off.
- Custom fields (`custom_fields`, object): Custom field values, each by the field's name as it shows in SolarWinds Service Desk.

**Outputs**

- `data` (object): The response from SolarWinds Service Desk.

**Example output**

```json
{
  "data": {
    "assignee": {
      "email": "example",
      "id": 1,
      "name": "example"
    },
    "category": {
      "id": 1,
      "name": "example"
    },
    "cc": [
      "example"
    ],
    "created_at": "example",
    "created_by": {
      "email": "example",
      "id": 1,
      "name": "example"
    },
    "custom_fields_values": [
      {
        "name": "example",
        "type_name": "example",
        "value": "example"
      }
    ],
    "department": {
      "id": 1,
      "name": "example"
    },
    "description": "example",
    "description_no_html": "example",
    "due_at": "example",
    "group_assignee": {
      "id": 1,
      "name": "example"
    },
    "href": "example",
    "id": 1,
    "is_service_request": true,
    "name": "example",
    "number": 1,
    "number_of_comments": 1,
    "priority": "example",
    "requester": {
      "email": "example",
      "id": 1,
      "name": "example"
    },
    "resolution_code": "example",
    "resolution_description": "example",
    "site": {
      "id": 1,
      "name": "example"
    },
    "sla_violations": [
      {
        "id": 1,
        "name": "example",
        "resolved": true,
        "sla_type": "example",
        "time_delay": 1
      }
    ],
    "state": "example",
    "subcategory": {
      "id": 1,
      "name": "example"
    },
    "updated_at": "example"
  }
}
```

### Update problem

Change a problem's details, such as its root cause or workaround. Fields left empty stay as they are.

**Inputs**

- Problem ID (`problem_id`, text, required): The problem's ID, the number at the end of its address in SolarWinds Service Desk.
- Name (`name`, text): A new title.
- Description (`description`, text): The full description.
- Priority (`priority`, text): How urgent it is. One of: `Low`, `Medium`, `High`, `Critical`.
- Requester (`requester_email`, text): Who it's for, by email address.
- Assignee (`assignee_email`, text): The agent to assign it to, by email address.
- Assigned group (`group_name`, text): The group to assign it to.
- Site (`site_id`, text): The site it belongs to.
- Department (`department_id`, text): The department it belongs to.
- Symptoms (`symptoms`, text): What people see.
- Root cause (`root_cause`, text): What causes it.
- Workaround (`workaround`, text): How to get round it until it's fixed.
- Add tags (`tags`, list): Tags to add.
- Remove tags (`remove_tags`, list): Tags to take off.
- Custom fields (`custom_fields`, object): Custom field values, each by the field's name as it shows in SolarWinds Service Desk.

**Outputs**

- `data` (object): The response from SolarWinds Service Desk.

**Example output**

```json
{
  "data": {
    "assignee": {
      "email": "example",
      "id": 1,
      "name": "example"
    },
    "created_at": "example",
    "created_by": {
      "email": "example",
      "id": 1,
      "name": "example"
    },
    "custom_fields_values": [
      {
        "name": "example",
        "type_name": "example",
        "value": "example"
      }
    ],
    "department": {
      "id": 1,
      "name": "example"
    },
    "description": "example",
    "group_assignee": {
      "id": 1,
      "name": "example"
    },
    "id": "example",
    "name": "example",
    "number": "example",
    "priority": "example",
    "requester": {
      "email": "example",
      "id": 1,
      "name": "example"
    },
    "root_cause": "example",
    "site": {
      "id": 1,
      "name": "example"
    },
    "state": "example",
    "symptoms": "example",
    "updated_at": "example",
    "workaround": "example"
  }
}
```

### Update task

Rename, reassign or reschedule a task, or mark it done. Fields left empty stay as they are.

**Inputs**

- Record type (`record_type`, text, required): What kind of record it is. One of: `incidents` (Incident), `problems` (Problem), `changes` (Change), `releases` (Release).
- Record ID (`record_id`, text, required): The record's ID, the number at the end of its address in SolarWinds Service Desk.
- Task ID (`task_id`, text, required): The task's ID, from the step that added it.
- Task (`name`, text): What needs doing.
- Assignee (`assignee_email`, text): The agent to assign it to, by email address.
- Due date (`due_date`, date): When it's due.
- Done (`is_complete`, true/false): Whether it's done.

**Outputs**

- `data` (object): The response from SolarWinds Service Desk.

**Example output**

```json
{
  "data": {
    "assignee": {
      "email": "example",
      "id": 1,
      "name": "example"
    },
    "due_at": "example",
    "id": 1,
    "is_complete": true,
    "name": "example",
    "parent": {
      "class": "example",
      "id": 1
    },
    "requester": {
      "email": "example",
      "id": 1,
      "name": "example"
    }
  }
}
```
