# TeamDynamix

> Create, search, update and comment on TeamDynamix tickets, manage their contacts, tags and tasks, look up people, groups and assets, and write Knowledge Base articles.

App · 27 actions. Web page: https://docs.lodol.com/docs/integrations/teamdynamix

## Actions

### Add ticket contact

Add a person to a ticket as a contact.

**Inputs**

- Ticketing application (`app_id`, number, required): The ticketing application. Pick one, or give its ID.
- Ticket ID (`ticket_id`, number, required): The ticket's ID, from Search tickets or an earlier step.
- Person UID (`person_uid`, text, required): The person's UID, from Search people or an earlier step.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "done": true,
    "message": "example"
  }
}
```

### Add ticket tags

Add tags to a ticket.

**Inputs**

- Ticketing application (`app_id`, number, required): The ticketing application. Pick one, or give its ID.
- Ticket ID (`ticket_id`, number, required): The ticket's ID, from Search tickets or an earlier step.
- Tags (`tags`, list, required): The tags, each a word or short phrase.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "done": true,
    "message": "example"
  }
}
```

### Comment on ticket

Add a comment to a ticket's feed, change its status, or both, and choose who is emailed about it.

**Inputs**

- Ticketing application (`app_id`, number, required): The ticketing application. Pick one, or give its ID.
- Ticket ID (`ticket_id`, number, required): The ticket's ID, from Search tickets or an earlier step.
- Comment (`comments`, text): The comment.
- New status (`new_status_id`, number): A new status for the ticket. Leave empty to keep it.
- Private (`is_private`, true/false): Show the comment only to staff, not to the requestor.
- Communication (`is_communication`, true/false): Record it as a communication with the requestor.
- Notify (`notify`, list): Email addresses to notify about the update.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "Body": "example",
    "CreatedDate": "example",
    "CreatedFullName": "example",
    "CreatedUid": "example",
    "ID": 1,
    "IsCommunication": true,
    "IsPrivate": true,
    "RepliesCount": 1,
    "UpdateType": 1
  }
}
```

### Create Knowledge Base article

Write a Knowledge Base article. Its permissions follow its category's.

**Inputs**

- Client Portal application (`app_id`, number, required): The Client Portal application whose Knowledge Base to use.
- Subject (`subject`, text, required): The article's title.
- Body (`body`, text, required): The article's text. HTML is allowed.
- Summary (`summary`, text): A short summary.
- Category (`category_id`, number): The category to file it in.
- Status (`status`, text): The article's approval status. Defaults to Not Submitted. One of: `1` (Not Submitted), `2` (Submitted), `3` (Approved), `4` (Rejected), `5` (Archived).
- Published (`is_published`, true/false): Publish it now.
- Tags (`tags`, list): Tags for the article.
- Owner UID (`owner_uid`, text): The person who owns it, by UID.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "AppID": 1,
    "Body": "example",
    "CategoryID": 1,
    "CategoryName": "example",
    "CreatedDate": "example",
    "ID": 1,
    "IsPublic": true,
    "IsPublished": true,
    "ModifiedDate": "example",
    "OwnerFullName": "example",
    "OwnerUid": "example",
    "Status": 1,
    "StatusName": "example",
    "Subject": "example",
    "Summary": "example",
    "Tags": [
      "example"
    ],
    "WebUiUrl": "example"
  }
}
```

### Create ticket

Create a ticket in a ticketing application. Give the requestor (by UID or email) or an account/department; anything else left empty takes the application's defaults.

**Inputs**

- Ticketing application (`app_id`, number, required): The ticketing application. Pick one, or give its ID.
- Title (`title`, text, required): The ticket's title.
- Description (`description`, text): The ticket's description.
- Type (`type_id`, number, required): The ticket type.
- Status (`status_id`, number, required): The ticket's status.
- Priority (`priority_id`, number): The priority. Left empty on a new ticket, the application's default.
- Impact (`impact_id`, number): The impact.
- Urgency (`urgency_id`, number): The urgency.
- Source (`source_id`, number): How the ticket came in, such as Email or Phone.
- Account/department (`account_id`, number): The account or department.
- Requestor UID (`requestor_uid`, text): The requestor's person UID, from Search people.
- Requestor email (`requestor_email`, text): The requestor's email address, when you don't have their UID.
- Responsible person UID (`responsible_uid`, text): The person to assign it to, by UID.
- Responsible group (`responsible_group_id`, number): The group to assign it to.
- Notify requestor (`notify_requestor`, true/false): Email the requestor that the ticket was created.
- Notify responsible (`notify_responsible`, true/false): Email whoever the ticket is assigned to.
- Create requestor if new (`allow_requestor_creation`, true/false): Add the requestor as a new person when no one has that email address.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "AccountID": 1,
    "AccountName": "example",
    "AppID": 1,
    "CompletedDate": "example",
    "CreatedDate": "example",
    "CreatedFullName": "example",
    "Description": "example",
    "ID": 1,
    "ImpactID": 1,
    "ImpactName": "example",
    "IsOnHold": true,
    "ModifiedDate": "example",
    "PriorityID": 1,
    "PriorityName": "example",
    "RequestorEmail": "example",
    "RequestorName": "example",
    "RequestorUid": "example",
    "ResolveByDate": "example",
    "RespondByDate": "example",
    "ResponsibleFullName": "example",
    "ResponsibleGroupID": 1,
    "ResponsibleGroupName": "example",
    "ResponsibleUid": "example",
    "SourceID": 1,
    "SourceName": "example",
    "StatusClass": 1,
    "StatusID": 1,
    "StatusName": "example",
    "Tags": [
      "example"
    ],
    "Title": "example",
    "TypeID": 1,
    "TypeName": "example",
    "UrgencyID": 1,
    "UrgencyName": "example",
    "WebUiUrl": "example"
  }
}
```

### Create ticket task

Add a task to a ticket, optionally assigned to a person or group.

**Inputs**

- Ticketing application (`app_id`, number, required): The ticketing application. Pick one, or give its ID.
- Ticket ID (`ticket_id`, number, required): The ticket's ID, from Search tickets or an earlier step.
- Title (`title`, text, required): The task's title.
- Description (`description`, text): What to do.
- Estimated minutes (`estimated_minutes`, number): How long it should take, in minutes. At least 0.
- Start (`start_date`, date and time): When it starts.
- Due (`end_date`, date and time): When it is due.
- Responsible person UID (`responsible_uid`, text): The person to assign it to, by UID.
- Responsible group (`responsible_group_id`, number): The group to assign it to.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "CompletedDate": "example",
    "Description": "example",
    "EndDate": "example",
    "EstimatedMinutes": 1,
    "ID": 1,
    "IsActive": true,
    "PercentComplete": 1,
    "ResponsibleFullName": "example",
    "ResponsibleGroupID": 1,
    "ResponsibleGroupName": "example",
    "ResponsibleUid": "example",
    "StartDate": "example",
    "TicketID": 1,
    "Title": "example",
    "WebUiUrl": "example"
  }
}
```

### Delete Knowledge Base article

Delete a Knowledge Base article. This can't be undone.

**Inputs**

- Client Portal application (`app_id`, number, required): The Client Portal application whose Knowledge Base to use.
- Article ID (`article_id`, number, required): The article's ID.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "done": true,
    "message": "example"
  }
}
```

### Delete ticket task

Delete a task from a ticket.

**Inputs**

- Ticketing application (`app_id`, number, required): The ticketing application. Pick one, or give its ID.
- Ticket ID (`ticket_id`, number, required): The ticket's ID, from Search tickets or an earlier step.
- Task ID (`task_id`, number, required): The task's ID, from List ticket tasks.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "done": true,
    "message": "example"
  }
}
```

### Get asset

Get an asset's details.

**Inputs**

- Assets/CI application (`app_id`, number, required): The Assets/CI application.
- Asset ID (`asset_id`, number, required): The asset's ID, from Search assets.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "AcquisitionDate": "example",
    "AppID": 1,
    "CreatedDate": "example",
    "ID": 1,
    "LocationID": 1,
    "LocationName": "example",
    "ManufacturerName": "example",
    "ModifiedDate": "example",
    "Name": "example",
    "OwningCustomerID": "example",
    "OwningCustomerName": "example",
    "OwningDepartmentName": "example",
    "ProductModelID": 1,
    "ProductModelName": "example",
    "PurchaseCost": 1,
    "SerialNumber": "example",
    "StatusID": 1,
    "StatusName": "example",
    "Tag": "example",
    "WebUiUrl": "example"
  }
}
```

### Get Knowledge Base article

Get a Knowledge Base article with its text.

**Inputs**

- Client Portal application (`app_id`, number, required): The Client Portal application whose Knowledge Base to use.
- Article ID (`article_id`, number, required): The article's ID, from Search Knowledge Base articles.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "AppID": 1,
    "Body": "example",
    "CategoryID": 1,
    "CategoryName": "example",
    "CreatedDate": "example",
    "ID": 1,
    "IsPublic": true,
    "IsPublished": true,
    "ModifiedDate": "example",
    "OwnerFullName": "example",
    "OwnerUid": "example",
    "Status": 1,
    "StatusName": "example",
    "Subject": "example",
    "Summary": "example",
    "Tags": [
      "example"
    ],
    "WebUiUrl": "example"
  }
}
```

### Get person

Get a person's details by their UID.

**Inputs**

- Person UID (`person_uid`, text, required): The person's UID, from Search people or an earlier step.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "AlertEmail": "example",
    "Company": "example",
    "DefaultAccountID": 1,
    "DefaultAccountName": "example",
    "ExternalID": "example",
    "FirstName": "example",
    "FullName": "example",
    "IsActive": true,
    "IsEmployee": true,
    "LastName": "example",
    "MobilePhone": "example",
    "PrimaryEmail": "example",
    "ReferenceID": 1,
    "Title": "example",
    "TypeID": 1,
    "UID": "example",
    "UserName": "example",
    "WorkPhone": "example"
  }
}
```

### Get ticket

Get a ticket with its status, priority, requestor, assignment and dates.

**Inputs**

- Ticketing application (`app_id`, number, required): The ticketing application. Pick one, or give its ID.
- Ticket ID (`ticket_id`, number, required): The ticket's ID, from Search tickets or an earlier step.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "AccountID": 1,
    "AccountName": "example",
    "AppID": 1,
    "CompletedDate": "example",
    "CreatedDate": "example",
    "CreatedFullName": "example",
    "Description": "example",
    "ID": 1,
    "ImpactID": 1,
    "ImpactName": "example",
    "IsOnHold": true,
    "ModifiedDate": "example",
    "PriorityID": 1,
    "PriorityName": "example",
    "RequestorEmail": "example",
    "RequestorName": "example",
    "RequestorUid": "example",
    "ResolveByDate": "example",
    "RespondByDate": "example",
    "ResponsibleFullName": "example",
    "ResponsibleGroupID": 1,
    "ResponsibleGroupName": "example",
    "ResponsibleUid": "example",
    "SourceID": 1,
    "SourceName": "example",
    "StatusClass": 1,
    "StatusID": 1,
    "StatusName": "example",
    "Tags": [
      "example"
    ],
    "Title": "example",
    "TypeID": 1,
    "TypeName": "example",
    "UrgencyID": 1,
    "UrgencyName": "example",
    "WebUiUrl": "example"
  }
}
```

### List applications

List the organization's applications, such as its ticketing, Client Portal and Assets/CI applications, with each one's ID.

**Inputs**

- Kind (`app_type`, text): Only applications of this kind. One of: `Ticketing`, `Client Portal` (Client Portal (Knowledge Base)), `Assets/CI`.
- Active only (`active_only`, true/false): Only active applications. On unless turned off.

**Outputs**

- `data` (list): The response from TeamDynamix.

**Example output**

```json
{
  "data": [
    {
      "Active": true,
      "AppClass": "example",
      "AppID": 1,
      "Description": "example",
      "Name": "example",
      "PartialUrl": "example",
      "SystemName": "example",
      "Type": "example"
    }
  ]
}
```

### List ticket contacts

List the people added to a ticket as contacts.

**Inputs**

- Ticketing application (`app_id`, number, required): The ticketing application. Pick one, or give its ID.
- Ticket ID (`ticket_id`, number, required): The ticket's ID, from Search tickets or an earlier step.

**Outputs**

- `data` (list): The response from TeamDynamix.

**Example output**

```json
{
  "data": [
    {
      "AlertEmail": "example",
      "Company": "example",
      "DefaultAccountID": 1,
      "DefaultAccountName": "example",
      "ExternalID": "example",
      "FirstName": "example",
      "FullName": "example",
      "IsActive": true,
      "IsEmployee": true,
      "LastName": "example",
      "MobilePhone": "example",
      "PrimaryEmail": "example",
      "ReferenceID": 1,
      "Title": "example",
      "TypeID": 1,
      "UID": "example",
      "UserName": "example",
      "WorkPhone": "example"
    }
  ]
}
```

### List ticket feed

List a ticket's comments and updates, newest first.

**Inputs**

- Ticketing application (`app_id`, number, required): The ticketing application. Pick one, or give its ID.
- Ticket ID (`ticket_id`, number, required): The ticket's ID, from Search tickets or an earlier step.
- Newest (`top`, number): Only the newest this many entries. At least 1.

**Outputs**

- `data` (list): The response from TeamDynamix.

**Example output**

```json
{
  "data": [
    {
      "Body": "example",
      "CreatedDate": "example",
      "CreatedFullName": "example",
      "CreatedUid": "example",
      "ID": 1,
      "IsCommunication": true,
      "IsPrivate": true,
      "RepliesCount": 1,
      "UpdateType": 1
    }
  ]
}
```

### List ticket priorities

List a ticketing application's active priorities.

**Inputs**

- Ticketing application (`app_id`, number, required): The ticketing application. Pick one, or give its ID.

**Outputs**

- `data` (list): The response from TeamDynamix.

**Example output**

```json
{
  "data": [
    {
      "Description": "example",
      "ID": 1,
      "IsActive": true,
      "IsDefault": true,
      "Name": "example",
      "Order": 1
    }
  ]
}
```

### List ticket statuses

List a ticketing application's active statuses, with each one's kind (new, in process, completed, cancelled, on hold or requested).

**Inputs**

- Ticketing application (`app_id`, number, required): The ticketing application. Pick one, or give its ID.
- Kind (`status_class`, text): Only statuses of this kind. One of: `1` (New), `2` (In Process), `3` (Completed), `4` (Cancelled), `5` (On Hold), `6` (Requested).

**Outputs**

- `data` (list): The response from TeamDynamix.

**Example output**

```json
{
  "data": [
    {
      "Description": "example",
      "ID": 1,
      "IsActive": true,
      "IsDefault": true,
      "Name": "example",
      "Order": 1,
      "StatusClass": 1
    }
  ]
}
```

### List ticket tasks

List the tasks on a ticket.

**Inputs**

- Ticketing application (`app_id`, number, required): The ticketing application. Pick one, or give its ID.
- Ticket ID (`ticket_id`, number, required): The ticket's ID, from Search tickets or an earlier step.

**Outputs**

- `data` (list): The response from TeamDynamix.

**Example output**

```json
{
  "data": [
    {
      "CompletedDate": "example",
      "Description": "example",
      "EndDate": "example",
      "EstimatedMinutes": 1,
      "ID": 1,
      "IsActive": true,
      "PercentComplete": 1,
      "ResponsibleFullName": "example",
      "ResponsibleGroupID": 1,
      "ResponsibleGroupName": "example",
      "ResponsibleUid": "example",
      "StartDate": "example",
      "TicketID": 1,
      "Title": "example",
      "WebUiUrl": "example"
    }
  ]
}
```

### List ticket types

List a ticketing application's ticket types.

**Inputs**

- Ticketing application (`app_id`, number, required): The ticketing application. Pick one, or give its ID.
- Active (`is_active`, true/false): Only active types, or only inactive ones. Empty for both.

**Outputs**

- `data` (list): The response from TeamDynamix.

**Example output**

```json
{
  "data": [
    {
      "CategoryID": 1,
      "CategoryName": "example",
      "Description": "example",
      "FullName": "example",
      "ID": 1,
      "IsActive": true,
      "Name": "example"
    }
  ]
}
```

### Remove ticket contact

Remove a contact from a ticket.

**Inputs**

- Ticketing application (`app_id`, number, required): The ticketing application. Pick one, or give its ID.
- Ticket ID (`ticket_id`, number, required): The ticket's ID, from Search tickets or an earlier step.
- Person UID (`person_uid`, text, required): The person's UID, from Search people or an earlier step.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "done": true,
    "message": "example"
  }
}
```

### Remove ticket tags

Remove tags from a ticket.

**Inputs**

- Ticketing application (`app_id`, number, required): The ticketing application. Pick one, or give its ID.
- Ticket ID (`ticket_id`, number, required): The ticket's ID, from Search tickets or an earlier step.
- Tags (`tags`, list, required): The tags, each a word or short phrase.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "done": true,
    "message": "example"
  }
}
```

### Search assets

Find assets in an Assets/CI application by text, serial number or tag, status, owner or location.

**Inputs**

- Assets/CI application (`app_id`, number, required): The Assets/CI application.
- Search text (`search_text`, text): Words to find, ranked by relevance.
- Serial number or tag (`serial_like`, text): Part of a serial number or service tag.
- Status IDs (`status_ids`, list): Only assets with these status IDs.
- Owner UIDs (`owner_uids`, list): Only assets owned by these people, by UID.
- Location IDs (`location_ids`, list): Only assets at these location IDs.
- Ticket IDs (`ticket_ids`, list): Only assets linked to these tickets.
- Maximum results (`max_results`, number): The most to return, 1 to 1,000. From 1 to 1000.

**Outputs**

- `data` (list): The response from TeamDynamix.

**Example output**

```json
{
  "data": [
    {
      "AcquisitionDate": "example",
      "AppID": 1,
      "CreatedDate": "example",
      "ID": 1,
      "LocationID": 1,
      "LocationName": "example",
      "ManufacturerName": "example",
      "ModifiedDate": "example",
      "Name": "example",
      "OwningCustomerID": "example",
      "OwningCustomerName": "example",
      "OwningDepartmentName": "example",
      "ProductModelID": 1,
      "ProductModelName": "example",
      "PurchaseCost": 1,
      "SerialNumber": "example",
      "StatusID": 1,
      "StatusName": "example",
      "Tag": "example",
      "WebUiUrl": "example"
    }
  ]
}
```

### Search groups

Find groups by name.

**Inputs**

- Name contains (`name_like`, text): Text in the group's name.
- Active (`is_active`, true/false): Active groups only, or inactive only. Empty for both.

**Outputs**

- `data` (list): The response from TeamDynamix.

**Example output**

```json
{
  "data": [
    {
      "CreatedDate": "example",
      "Description": "example",
      "ExternalID": "example",
      "ID": 1,
      "IsActive": true,
      "ModifiedDate": "example",
      "Name": "example"
    }
  ]
}
```

### Search Knowledge Base articles

Find Knowledge Base articles by text, category, status or whether they are published.

**Inputs**

- Client Portal application (`app_id`, number, required): The Client Portal application whose Knowledge Base to use.
- Search text (`search_text`, text): Words to find.
- Category (`category_id`, number): Only articles in this category.
- Status (`status`, text): Only articles with this status. One of: `1` (Not Submitted), `2` (Submitted), `3` (Approved), `4` (Rejected), `5` (Archived).
- Published (`is_published`, true/false): Published articles only, or unpublished only.
- Public (`is_public`, true/false): Public articles only, or non-public only.
- Include text (`include_bodies`, true/false): Include each article's full text.
- Maximum results (`max_results`, number): The most to return. TeamDynamix's default is 50. From 1 to 1000.

**Outputs**

- `data` (list): The response from TeamDynamix.

**Example output**

```json
{
  "data": [
    {
      "AppID": 1,
      "Body": "example",
      "CategoryID": 1,
      "CategoryName": "example",
      "CreatedDate": "example",
      "ID": 1,
      "IsPublic": true,
      "IsPublished": true,
      "ModifiedDate": "example",
      "OwnerFullName": "example",
      "OwnerUid": "example",
      "Status": 1,
      "StatusName": "example",
      "Subject": "example",
      "Summary": "example",
      "Tags": [
        "example"
      ],
      "WebUiUrl": "example"
    }
  ]
}
```

### Search people

Find people (staff and customers) by name, email, username or account/department.

**Inputs**

- Search text (`search_text`, text): Text to find in names, email addresses, usernames and phone numbers.
- Username (`user_name`, text): An exact username.
- Accounts/departments (`account_ids`, list): Only people whose default account/department is one of these.
- Active (`is_active`, true/false): Active people only, or inactive only. Active only unless turned off.
- Employee (`is_employee`, true/false): Employees only, or non-employees only. Empty for both.
- Maximum results (`max_results`, number): The most to return, 1 to 1,000. From 1 to 1000.

**Outputs**

- `data` (list): The response from TeamDynamix.

**Example output**

```json
{
  "data": [
    {
      "AlertEmail": "example",
      "Company": "example",
      "DefaultAccountID": 1,
      "DefaultAccountName": "example",
      "ExternalID": "example",
      "FirstName": "example",
      "FullName": "example",
      "IsActive": true,
      "IsEmployee": true,
      "LastName": "example",
      "MobilePhone": "example",
      "PrimaryEmail": "example",
      "ReferenceID": 1,
      "Title": "example",
      "TypeID": 1,
      "UID": "example",
      "UserName": "example",
      "WorkPhone": "example"
    }
  ]
}
```

### Search tickets

Find tickets in a ticketing application by text, status, type, priority, requestor or dates.

**Inputs**

- Ticketing application (`app_id`, number, required): The ticketing application. Pick one, or give its ID.
- Search text (`search_text`, text): Words to find in the title, description, reference code or feed.
- Statuses (`status_ids`, list): Only tickets in these statuses.
- Status kinds (`status_classes`, list): Only tickets whose status is of these kinds. One or more of: `1` (New), `2` (In Process), `3` (Completed), `4` (Cancelled), `5` (On Hold), `6` (Requested).
- Types (`type_ids`, list): Only tickets of these types.
- Priorities (`priority_ids`, list): Only tickets with these priorities.
- Requestor UIDs (`requestor_uids`, list): Only tickets requested by these people, by UID.
- Responsible groups (`responsible_group_ids`, list): Only tickets assigned to these groups.
- Created after (`created_from`, date and time): Only tickets created on or after this time.
- Created before (`created_to`, date and time): Only tickets created on or before this time.
- Changed after (`modified_from`, date and time): Only tickets changed on or after this time.
- Maximum results (`max_results`, number): The most to return, 1 to 1,000. From 1 to 1000.

**Outputs**

- `data` (list): The response from TeamDynamix.

**Example output**

```json
{
  "data": [
    {
      "AccountID": 1,
      "AccountName": "example",
      "AppID": 1,
      "CompletedDate": "example",
      "CreatedDate": "example",
      "CreatedFullName": "example",
      "Description": "example",
      "ID": 1,
      "ImpactID": 1,
      "ImpactName": "example",
      "IsOnHold": true,
      "ModifiedDate": "example",
      "PriorityID": 1,
      "PriorityName": "example",
      "RequestorEmail": "example",
      "RequestorName": "example",
      "RequestorUid": "example",
      "ResolveByDate": "example",
      "RespondByDate": "example",
      "ResponsibleFullName": "example",
      "ResponsibleGroupID": 1,
      "ResponsibleGroupName": "example",
      "ResponsibleUid": "example",
      "SourceID": 1,
      "SourceName": "example",
      "StatusClass": 1,
      "StatusID": 1,
      "StatusName": "example",
      "Tags": [
        "example"
      ],
      "Title": "example",
      "TypeID": 1,
      "TypeName": "example",
      "UrgencyID": 1,
      "UrgencyName": "example",
      "WebUiUrl": "example"
    }
  ]
}
```

### Update ticket

Change a ticket's title, description, type, status, priority, requestor or assignment. Fields left empty are kept as they are.

**Inputs**

- Ticketing application (`app_id`, number, required): The ticketing application. Pick one, or give its ID.
- Ticket ID (`ticket_id`, number, required): The ticket's ID, from Search tickets or an earlier step.
- Title (`title`, text): The ticket's title.
- Description (`description`, text): The ticket's description.
- Type (`type_id`, number): The ticket type.
- Status (`status_id`, number): The ticket's status.
- Priority (`priority_id`, number): The priority. Left empty on a new ticket, the application's default.
- Impact (`impact_id`, number): The impact.
- Urgency (`urgency_id`, number): The urgency.
- Source (`source_id`, number): How the ticket came in, such as Email or Phone.
- Account/department (`account_id`, number): The account or department.
- Requestor UID (`requestor_uid`, text): The requestor's person UID, from Search people.
- Requestor email (`requestor_email`, text): The requestor's email address, when you don't have their UID.
- Responsible person UID (`responsible_uid`, text): The person to assign it to, by UID.
- Responsible group (`responsible_group_id`, number): The group to assign it to.
- Notify new responsible (`notify_new_responsible`, true/false): Email the newly assigned person or group.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "AccountID": 1,
    "AccountName": "example",
    "AppID": 1,
    "CompletedDate": "example",
    "CreatedDate": "example",
    "CreatedFullName": "example",
    "Description": "example",
    "ID": 1,
    "ImpactID": 1,
    "ImpactName": "example",
    "IsOnHold": true,
    "ModifiedDate": "example",
    "PriorityID": 1,
    "PriorityName": "example",
    "RequestorEmail": "example",
    "RequestorName": "example",
    "RequestorUid": "example",
    "ResolveByDate": "example",
    "RespondByDate": "example",
    "ResponsibleFullName": "example",
    "ResponsibleGroupID": 1,
    "ResponsibleGroupName": "example",
    "ResponsibleUid": "example",
    "SourceID": 1,
    "SourceName": "example",
    "StatusClass": 1,
    "StatusID": 1,
    "StatusName": "example",
    "Tags": [
      "example"
    ],
    "Title": "example",
    "TypeID": 1,
    "TypeName": "example",
    "UrgencyID": 1,
    "UrgencyName": "example",
    "WebUiUrl": "example"
  }
}
```
