# Accelo

> Run client work in Accelo: keep companies and contacts current, open projects, tickets, tasks and sales, and log notes and calls.

App · 32 actions. Web page: https://docs.lodol.com/docs/integrations/accelo

## Actions

### Create a company

Add a company (client, partner or supplier) to Accelo.

**Inputs**

- Name (`name`, text, required): The company's name.
- Website (`website`, text): The company's website.
- Phone (`phone`, text): The company's phone number.
- Fax (`fax`, text): The company's fax number.
- Status (`status_id`, number): The company's starting status.
- Comments (`comments`, text): Notes about the company.
- Custom ID (`custom_id`, text): Your own reference for the company, when custom IDs are on in Accelo.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "comments": "example",
    "custom_id": "example",
    "date_created": "example",
    "date_last_interacted": "example",
    "date_modified": "example",
    "default_affiliation": "example",
    "fax": "example",
    "id": "example",
    "name": "example",
    "phone": "example",
    "postal_address": "example",
    "standing": "example",
    "status": "example",
    "website": "example"
  }
}
```

### Create a contact

Add a person to Accelo, at a company with their work email, phone and position.

**Inputs**

- First name (`firstname`, text, required): The contact's first name.
- Last name (`surname`, text, required): The contact's last name.
- Company (`company_id`, number): The company the contact works at.
- Email (`email`, text): The contact's email at that company.
- Phone (`phone`, text): The contact's phone number at that company.
- Position (`position`, text): The contact's job title at that company.
- Title (`title`, text): How to address them, such as Dr or Ms.
- Comments (`comments`, text): Notes about the contact.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "comments": "example",
    "contact_status": "example",
    "date_created": "example",
    "date_last_interacted": "example",
    "date_modified": "example",
    "default_affiliation": "example",
    "email": "example",
    "firstname": "example",
    "id": "example",
    "middlename": "example",
    "mobile": "example",
    "standing": "example",
    "surname": "example",
    "timezone": "example",
    "title": "example",
    "username": "example"
  }
}
```

### Create a project

Create a project (job) for a company.

**Inputs**

- Title (`title`, text, required): The project's name.
- Project type (`type_id`, number, required): The kind of project.
- Linked record type (`against_type`, text): What kind of record the project belongs to. Leave empty for a company. One of: `company`, `contact`, `prospect` (Sale), `job` (Project), `issue` (Ticket), `contract`.
- Linked to (`against_id`, number, required): The company (or other record chosen in Linked record type) the project belongs to.
- Manager (`manager_id`, number): The staff member who manages the project.
- Status (`status_id`, number): The project's starting status.
- Start date (`date_started`, date): When the project starts.
- Due date (`date_due`, date): When the project is due.
- Billable (`is_billable`, text): Whether work on the project is billable. One of: `yes`, `no`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "affiliation": "example",
    "against": "example",
    "against_id": "example",
    "against_type": "example",
    "company": "example",
    "custom_id": "example",
    "date_commenced": "example",
    "date_completed": "example",
    "date_created": "example",
    "date_due": "example",
    "date_last_interacted": "example",
    "date_modified": "example",
    "date_started": "example",
    "id": "example",
    "job_type": "example",
    "manager": "example",
    "paused": "example",
    "rate": "example",
    "rate_charged": "example",
    "standing": "example",
    "status": "example",
    "title": "example"
  }
}
```

### Create a sale

Add a sales opportunity (prospect) for a contact at a company.

**Inputs**

- Title (`title`, text, required): The sale's name.
- Sale type (`type_id`, number, required): The kind of sale.
- Contact (`affiliation_id`, number, required): The contact (at their company) the sale is with.
- Value (`value`, number): What the sale is worth. At least 0.
- Manager (`staff_id`, number): The staff member who manages the sale.
- Status (`status_id`, number): The sale's starting status.
- Progress (`progress`, number): How far along the sale is, from 0 to 100. From 0 to 100.
- Weighting (`weighting`, number): How important the sale is, from 0 to 5. From 0 to 5.
- Due date (`date_due`, date): When the sale is due.
- Comments (`comments`, text): Notes about the sale.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "affiliation": "example",
    "comments": "example",
    "contact": "example",
    "date_actioned": "example",
    "date_created": "example",
    "date_due": "example",
    "date_last_interacted": "example",
    "date_modified": "example",
    "id": "example",
    "manager": "example",
    "progress": "example",
    "prospect_probability": "example",
    "prospect_type": "example",
    "standing": "example",
    "status": "example",
    "success": "example",
    "title": "example",
    "value": "example",
    "value_weighted": "example",
    "weighting": "example"
  }
}
```

### Create a task

Add a task to a project, ticket, company or other record.

**Inputs**

- Title (`title`, text, required): The task's name.
- Linked record type (`against_type`, text, required): What kind of record the task belongs to. One of: `job` (Project), `issue` (Ticket), `company`, `contact`, `prospect` (Sale), `milestone`.
- Linked record ID (`against_id`, number, required): The ID of the record the task belongs to, such as a project's ID.
- Description (`description`, text): What needs doing.
- Assignee (`assignee_id`, number): The staff member doing the task.
- Manager (`manager_id`, number): The staff member managing the task.
- Status (`status_id`, number): The task's starting status.
- Start date (`date_started`, date): When the task starts.
- Due date (`date_due`, date): When the task is due.
- Budgeted seconds (`remaining`, number): The time budgeted for the task, in seconds. At least 0.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "against": "example",
    "against_id": "example",
    "against_type": "example",
    "assignee": "example",
    "billable": "example",
    "budgeted": "example",
    "company": "example",
    "creator_id": "example",
    "creator_type": "example",
    "date_accepted": "example",
    "date_commenced": "example",
    "date_completed": "example",
    "date_created": "example",
    "date_due": "example",
    "date_modified": "example",
    "date_started": "example",
    "description": "example",
    "id": "example",
    "job": "example",
    "logged": "example",
    "manager": "example",
    "nonbillable": "example",
    "rate_charged": "example",
    "remaining": "example",
    "standing": "example",
    "task_priority": "example",
    "task_status": "example",
    "title": "example"
  }
}
```

### Create a ticket

Open a ticket (issue) for a company.

**Inputs**

- Title (`title`, text, required): The ticket's title.
- Ticket type (`type_id`, number, required): The kind of ticket.
- Linked record type (`against_type`, text): What kind of record the ticket belongs to. Leave empty for a company. One of: `company`, `contact`, `prospect` (Sale), `job` (Project), `issue` (Ticket), `contract`.
- Linked to (`against_id`, number, required): The company (or other record chosen in Linked record type) the ticket belongs to.
- Description (`description`, text): What the ticket is about.
- Standing (`standing`, text): The ticket's starting stage. One of: `submitted`, `open`, `resolved`, `closed`, `inactive`.
- Class (`class_id`, number): The ticket's class.
- Assignee (`assignee`, number): The staff member to assign it to. They are told.
- Start date (`date_started`, date): When the ticket starts.
- Due date (`date_due`, date): When the ticket is due.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "affiliation": "example",
    "against": "example",
    "against_id": "example",
    "against_type": "example",
    "assignee": "example",
    "billable_seconds": "example",
    "class": "example",
    "company": "example",
    "contract": "example",
    "custom_id": "example",
    "date_closed": "example",
    "date_due": "example",
    "date_last_interacted": "example",
    "date_modified": "example",
    "date_opened": "example",
    "date_resolved": "example",
    "date_submitted": "example",
    "description": "example",
    "id": "example",
    "issue_priority": "example",
    "issue_type": "example",
    "resolution": "example",
    "resolution_detail": "example",
    "standing": "example",
    "status": "example",
    "title": "example"
  }
}
```

### Deactivate a contact

Make a contact inactive. Accelo's API can't delete contacts.

**Inputs**

- Contact (`contact_id`, text, required): The contact to deactivate.

**Outputs**

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

**Example output**

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

### Delete a company

Remove a company from Accelo.

**Inputs**

- Company (`company_id`, text, required): The company to remove.

**Outputs**

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

**Example output**

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

### Delete a project

Delete a project (job).

**Inputs**

- Project (`job_id`, text, required): The project to delete.

**Outputs**

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

**Example output**

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

### Delete a sale

Delete a sales opportunity (prospect).

**Inputs**

- Sale (`prospect_id`, text, required): The sale to delete.

**Outputs**

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

**Example output**

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

### Delete a ticket

Delete a ticket (issue).

**Inputs**

- Ticket (`issue_id`, text, required): The ticket to delete.

**Outputs**

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

**Example output**

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

### Get a company

Get one company.

**Inputs**

- Company (`company_id`, text, required): The company.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "comments": "example",
    "custom_id": "example",
    "date_created": "example",
    "date_last_interacted": "example",
    "date_modified": "example",
    "default_affiliation": "example",
    "fax": "example",
    "id": "example",
    "name": "example",
    "phone": "example",
    "postal_address": "example",
    "standing": "example",
    "status": "example",
    "website": "example"
  }
}
```

### Get a project

Get one project (job).

**Inputs**

- Project (`job_id`, text, required): The project.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "affiliation": "example",
    "against": "example",
    "against_id": "example",
    "against_type": "example",
    "company": "example",
    "custom_id": "example",
    "date_commenced": "example",
    "date_completed": "example",
    "date_created": "example",
    "date_due": "example",
    "date_last_interacted": "example",
    "date_modified": "example",
    "date_started": "example",
    "id": "example",
    "job_type": "example",
    "manager": "example",
    "paused": "example",
    "rate": "example",
    "rate_charged": "example",
    "standing": "example",
    "status": "example",
    "title": "example"
  }
}
```

### Get a ticket

Get one ticket (issue).

**Inputs**

- Ticket (`issue_id`, text, required): The ticket.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "affiliation": "example",
    "against": "example",
    "against_id": "example",
    "against_type": "example",
    "assignee": "example",
    "billable_seconds": "example",
    "class": "example",
    "company": "example",
    "contract": "example",
    "custom_id": "example",
    "date_closed": "example",
    "date_due": "example",
    "date_last_interacted": "example",
    "date_modified": "example",
    "date_opened": "example",
    "date_resolved": "example",
    "date_submitted": "example",
    "description": "example",
    "id": "example",
    "issue_priority": "example",
    "issue_type": "example",
    "resolution": "example",
    "resolution_detail": "example",
    "standing": "example",
    "status": "example",
    "title": "example"
  }
}
```

### Get the connected user

Get the Accelo staff member the connection acts as.

**Inputs**: None.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "email": "example",
    "fax": "example",
    "financial_level": "example",
    "firstname": "example",
    "id": "example",
    "mobile": "example",
    "phone": "example",
    "position": "example",
    "standing": "example",
    "surname": "example",
    "timezone": "example",
    "title": "example",
    "username": "example"
  }
}
```

### List activities

List the notes, emails, calls and meetings logged against a record, newest first.

**Inputs**

- Linked record type (`against_type`, text): Only activities on this kind of record. Use with Linked to. One of: `company`, `contact`, `prospect` (Sale), `job` (Project), `issue` (Ticket), `contract`.
- Linked record ID (`against_id`, number): Only activities on this record.
- Kind (`medium`, text): Only activities of this kind. One of: `note`, `meeting`, `email`, `call`.
- Changed after (`modified_after`, date and time): Only activities changed after this moment.
- Page size (`limit`, number): How many to return, up to 100. Accelo's default is 10. From 1 to 100.
- Page (`page`, number): Which page to read, starting at 0. At least 0.

**Outputs**

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

**Example output**

```json
{
  "data": [
    {
      "against": "example",
      "against_id": "example",
      "against_type": "example",
      "billable": "example",
      "body": "example",
      "date_created": "example",
      "date_ended": "example",
      "date_logged": "example",
      "date_modified": "example",
      "date_started": "example",
      "details": "example",
      "id": "example",
      "medium": "example",
      "nonbillable": "example",
      "owner": "example",
      "owner_id": "example",
      "owner_type": "example",
      "parent_id": "example",
      "preview_body": "example",
      "standing": "example",
      "subject": "example",
      "task": "example",
      "thread_id": "example",
      "visibility": "example"
    }
  ]
}
```

### List companies

List or search companies, newest first unless you choose another order.

**Inputs**

- Standing (`standing`, text): Only companies with this standing, such as active.
- Manager (`manager_id`, number): Only companies this staff member manages.
- Order (`order`, text): The order to list them in. One of: `order_by_desc(date_created)` (Newest first), `order_by_desc(date_modified)` (Recently changed first), `order_by_asc(name)` (Name).
- Search (`search`, text): Only companies matching this text.
- Changed after (`modified_after`, date and time): Only companies changed after this moment.
- Page size (`limit`, number): How many to return, up to 100. Accelo's default is 10. From 1 to 100.
- Page (`page`, number): Which page to read, starting at 0. At least 0.

**Outputs**

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

**Example output**

```json
{
  "data": [
    {
      "comments": "example",
      "custom_id": "example",
      "date_created": "example",
      "date_last_interacted": "example",
      "date_modified": "example",
      "default_affiliation": "example",
      "fax": "example",
      "id": "example",
      "name": "example",
      "phone": "example",
      "postal_address": "example",
      "standing": "example",
      "status": "example",
      "website": "example"
    }
  ]
}
```

### List contacts

List or search contacts by name, email or phone, newest first unless you choose another order.

**Inputs**

- Email (`email`, text): Only the contact with this email address.
- Standing (`standing`, text): Only contacts with this standing, such as active.
- Order (`order`, text): The order to list them in. One of: `order_by_desc(date_created)` (Newest first), `order_by_desc(date_modified)` (Recently changed first), `order_by_asc(surname)` (Last name).
- Search (`search`, text): Only contacts matching this text.
- Changed after (`modified_after`, date and time): Only contacts changed after this moment.
- Page size (`limit`, number): How many to return, up to 100. Accelo's default is 10. From 1 to 100.
- Page (`page`, number): Which page to read, starting at 0. At least 0.

**Outputs**

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

**Example output**

```json
{
  "data": [
    {
      "comments": "example",
      "contact_status": "example",
      "date_created": "example",
      "date_last_interacted": "example",
      "date_modified": "example",
      "default_affiliation": "example",
      "email": "example",
      "firstname": "example",
      "id": "example",
      "middlename": "example",
      "mobile": "example",
      "standing": "example",
      "surname": "example",
      "timezone": "example",
      "title": "example",
      "username": "example"
    }
  ]
}
```

### List project types

List the kinds of project (job types) the deployment uses.

**Inputs**: None.

**Outputs**

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

**Example output**

```json
{
  "data": [
    {
      "id": "example",
      "ordering": "example",
      "parent": "example",
      "standing": "example",
      "title": "example"
    }
  ]
}
```

### List projects

List or search projects (Accelo calls them jobs), by company, manager or status.

**Inputs**

- Company (`company_id`, number): Only projects for this company.
- Manager (`manager_id`, number): Only projects this staff member manages.
- Status (`status_id`, number): Only projects with this status.
- Order (`order`, text): The order to list them in. One of: `order_by_desc(date_created)` (Newest first), `order_by_desc(date_modified)` (Recently changed first), `order_by_asc(date_due)` (Due date).
- Search (`search`, text): Only projects matching this text.
- Changed after (`modified_after`, date and time): Only projects changed after this moment.
- Page size (`limit`, number): How many to return, up to 100. Accelo's default is 10. From 1 to 100.
- Page (`page`, number): Which page to read, starting at 0. At least 0.

**Outputs**

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

**Example output**

```json
{
  "data": [
    {
      "affiliation": "example",
      "against": "example",
      "against_id": "example",
      "against_type": "example",
      "company": "example",
      "custom_id": "example",
      "date_commenced": "example",
      "date_completed": "example",
      "date_created": "example",
      "date_due": "example",
      "date_last_interacted": "example",
      "date_modified": "example",
      "date_started": "example",
      "id": "example",
      "job_type": "example",
      "manager": "example",
      "paused": "example",
      "rate": "example",
      "rate_charged": "example",
      "standing": "example",
      "status": "example",
      "title": "example"
    }
  ]
}
```

### List sale types

List the kinds of sale (prospect types) the deployment uses.

**Inputs**: None.

**Outputs**

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

**Example output**

```json
{
  "data": [
    {
      "id": "example",
      "ordering": "example",
      "parent": "example",
      "standing": "example",
      "title": "example"
    }
  ]
}
```

### List sales

List or search sales opportunities (Accelo calls them prospects), by company, manager or status.

**Inputs**

- Company (`company_id`, number): Only sales for this company.
- Manager (`manager_id`, number): Only sales this staff member manages.
- Status (`status_id`, number): Only sales with this status.
- Order (`order`, text): The order to list them in. One of: `order_by_desc(date_created)` (Newest first), `order_by_desc(date_modified)` (Recently changed first), `order_by_asc(date_due)` (Due date).
- Search (`search`, text): Only sales matching this text.
- Changed after (`modified_after`, date and time): Only sales changed after this moment.
- Page size (`limit`, number): How many to return, up to 100. Accelo's default is 10. From 1 to 100.
- Page (`page`, number): Which page to read, starting at 0. At least 0.

**Outputs**

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

**Example output**

```json
{
  "data": [
    {
      "affiliation": "example",
      "comments": "example",
      "contact": "example",
      "date_actioned": "example",
      "date_created": "example",
      "date_due": "example",
      "date_last_interacted": "example",
      "date_modified": "example",
      "id": "example",
      "manager": "example",
      "progress": "example",
      "prospect_probability": "example",
      "prospect_type": "example",
      "standing": "example",
      "status": "example",
      "success": "example",
      "title": "example",
      "value": "example",
      "value_weighted": "example",
      "weighting": "example"
    }
  ]
}
```

### List staff

List the staff in the Accelo account.

**Inputs**

- Standing (`standing`, text): Only staff with this standing. One of: `active`, `inactive`.
- Page size (`limit`, number): How many to return, up to 100. Accelo's default is 10. From 1 to 100.
- Page (`page`, number): Which page to read, starting at 0. At least 0.

**Outputs**

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

**Example output**

```json
{
  "data": [
    {
      "email": "example",
      "fax": "example",
      "financial_level": "example",
      "firstname": "example",
      "id": "example",
      "mobile": "example",
      "phone": "example",
      "position": "example",
      "standing": "example",
      "surname": "example",
      "timezone": "example",
      "title": "example",
      "username": "example"
    }
  ]
}
```

### List tasks

List or search tasks, by project, assignee or standing.

**Inputs**

- Project (`job_id`, number): Only tasks in this project.
- Assignee (`assignee_id`, number): Only tasks assigned to this staff member.
- Standing (`standing`, text): Only tasks at this stage, such as pending, started or complete.
- Order (`order`, text): The order to list them in. One of: `order_by_desc(date_created)` (Newest first), `order_by_desc(date_modified)` (Recently changed first), `order_by_asc(date_due)` (Due date).
- Search (`search`, text): Only tasks matching this text.
- Changed after (`modified_after`, date and time): Only tasks changed after this moment.
- Page size (`limit`, number): How many to return, up to 100. Accelo's default is 10. From 1 to 100.
- Page (`page`, number): Which page to read, starting at 0. At least 0.

**Outputs**

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

**Example output**

```json
{
  "data": [
    {
      "against": "example",
      "against_id": "example",
      "against_type": "example",
      "assignee": "example",
      "billable": "example",
      "budgeted": "example",
      "company": "example",
      "creator_id": "example",
      "creator_type": "example",
      "date_accepted": "example",
      "date_commenced": "example",
      "date_completed": "example",
      "date_created": "example",
      "date_due": "example",
      "date_modified": "example",
      "date_started": "example",
      "description": "example",
      "id": "example",
      "job": "example",
      "logged": "example",
      "manager": "example",
      "nonbillable": "example",
      "rate_charged": "example",
      "remaining": "example",
      "standing": "example",
      "task_priority": "example",
      "task_status": "example",
      "title": "example"
    }
  ]
}
```

### List ticket types

List the kinds of ticket (issue types) the deployment uses.

**Inputs**: None.

**Outputs**

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

**Example output**

```json
{
  "data": [
    {
      "id": "example",
      "ordering": "example",
      "parent": "example",
      "standing": "example",
      "title": "example"
    }
  ]
}
```

### List tickets

List or search tickets (Accelo calls them issues), by company, standing or status.

**Inputs**

- Company (`company_id`, number): Only tickets for this company.
- Standing (`standing`, text): Only tickets at this stage. One of: `submitted`, `open`, `resolved`, `closed`, `inactive`.
- Status (`status_id`, number): Only tickets with this status.
- Order (`order`, text): The order to list them in. One of: `order_by_desc(id)` (Newest first), `order_by_desc(date_modified)` (Recently changed first), `order_by_asc(date_due)` (Due date).
- Search (`search`, text): Only tickets matching this text.
- Changed after (`modified_after`, date and time): Only tickets changed after this moment.
- Page size (`limit`, number): How many to return, up to 100. Accelo's default is 10. From 1 to 100.
- Page (`page`, number): Which page to read, starting at 0. At least 0.

**Outputs**

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

**Example output**

```json
{
  "data": [
    {
      "affiliation": "example",
      "against": "example",
      "against_id": "example",
      "against_type": "example",
      "assignee": "example",
      "billable_seconds": "example",
      "class": "example",
      "company": "example",
      "contract": "example",
      "custom_id": "example",
      "date_closed": "example",
      "date_due": "example",
      "date_last_interacted": "example",
      "date_modified": "example",
      "date_opened": "example",
      "date_resolved": "example",
      "date_submitted": "example",
      "description": "example",
      "id": "example",
      "issue_priority": "example",
      "issue_type": "example",
      "resolution": "example",
      "resolution_detail": "example",
      "standing": "example",
      "status": "example",
      "title": "example"
    }
  ]
}
```

### Log an activity

Add a note, or log a call, meeting or email, on a company, contact, project, ticket or other record.

**Inputs**

- Subject (`subject`, text, required): The activity's subject.
- Linked record type (`against_type`, text, required): What kind of record the activity is on. One of: `company`, `contact`, `job` (Project), `issue` (Ticket), `prospect` (Sale), `task`, `contract`, `milestone`, `staff`.
- Linked record ID (`against_id`, number, required): The ID of the record the activity is on.
- Body (`body`, text): The activity's text.
- Kind (`medium`, text): The kind of activity. Accelo makes a note by default. One of: `note`, `meeting`, `email`, `call`.
- Visibility (`visibility`, text): Who can see it. Accelo keeps activities private by default. One of: `private`, `all` (Everyone).
- Details (`details`, text): The meeting's place or the call's number.
- Started (`date_started`, date and time): When the call or meeting started.
- Ended (`date_ended`, date and time): When the call or meeting ended.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "against": "example",
    "against_id": "example",
    "against_type": "example",
    "billable": "example",
    "body": "example",
    "date_created": "example",
    "date_ended": "example",
    "date_logged": "example",
    "date_modified": "example",
    "date_started": "example",
    "details": "example",
    "id": "example",
    "medium": "example",
    "nonbillable": "example",
    "owner": "example",
    "owner_id": "example",
    "owner_type": "example",
    "parent_id": "example",
    "preview_body": "example",
    "standing": "example",
    "subject": "example",
    "task": "example",
    "thread_id": "example",
    "visibility": "example"
  }
}
```

### Update a company

Change a company's name, website, phone, fax or notes. Blank fields are left as they are.

**Inputs**

- Company (`company_id`, text, required): The company to change.
- Name (`name`, text): The new name.
- Website (`website`, text): The new website.
- Phone (`phone`, text): The new phone number.
- Fax (`fax`, text): The new fax number.
- Comments (`comments`, text): New notes about the company.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "comments": "example",
    "custom_id": "example",
    "date_created": "example",
    "date_last_interacted": "example",
    "date_modified": "example",
    "default_affiliation": "example",
    "fax": "example",
    "id": "example",
    "name": "example",
    "phone": "example",
    "postal_address": "example",
    "standing": "example",
    "status": "example",
    "website": "example"
  }
}
```

### Update a project

Change a project's name, manager, status or due date. Blank fields are left as they are.

**Inputs**

- Project (`job_id`, text, required): The project to change.
- Title (`title`, text): The new name.
- Manager (`manager_id`, number): The staff member who manages the project.
- Status (`status_id`, number): The project's new status.
- Due date (`date_due`, date): When the project is due.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "affiliation": "example",
    "against": "example",
    "against_id": "example",
    "against_type": "example",
    "company": "example",
    "custom_id": "example",
    "date_commenced": "example",
    "date_completed": "example",
    "date_created": "example",
    "date_due": "example",
    "date_last_interacted": "example",
    "date_modified": "example",
    "date_started": "example",
    "id": "example",
    "job_type": "example",
    "manager": "example",
    "paused": "example",
    "rate": "example",
    "rate_charged": "example",
    "standing": "example",
    "status": "example",
    "title": "example"
  }
}
```

### Update a sale

Change a sale's name, value, progress, status or due date, or mark it won or lost. Blank fields are left as they are.

**Inputs**

- Sale (`prospect_id`, text, required): The sale to change.
- Title (`title`, text): The new name.
- Value (`value`, number): What the sale is worth. At least 0.
- Progress (`progress`, number): How far along the sale is, from 0 to 100. From 0 to 100.
- Won (`success`, text): Whether the sale was won (yes) or lost (no). One of: `yes`, `no`.
- Status (`status_id`, number): The sale's new status. This skips Accelo's progressions.
- Due date (`date_due`, date): When the sale is due.
- Comments (`comments`, text): New notes about the sale.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "affiliation": "example",
    "comments": "example",
    "contact": "example",
    "date_actioned": "example",
    "date_created": "example",
    "date_due": "example",
    "date_last_interacted": "example",
    "date_modified": "example",
    "id": "example",
    "manager": "example",
    "progress": "example",
    "prospect_probability": "example",
    "prospect_type": "example",
    "standing": "example",
    "status": "example",
    "success": "example",
    "title": "example",
    "value": "example",
    "value_weighted": "example",
    "weighting": "example"
  }
}
```

### Update a task

Change a task's name, description, assignee, manager or dates. Blank fields are left as they are.

**Inputs**

- Task ID (`task_id`, text, required): The task to change. Use the id from List tasks or Create a task.
- Title (`title`, text): The new name.
- Description (`description`, text): The new description.
- Assignee (`assignee_id`, number): The staff member doing the task.
- Manager (`manager_id`, number): The staff member managing the task.
- Start date (`date_started`, date): When the task starts.
- Due date (`date_due`, date): When the task is due.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "against": "example",
    "against_id": "example",
    "against_type": "example",
    "assignee": "example",
    "billable": "example",
    "budgeted": "example",
    "company": "example",
    "creator_id": "example",
    "creator_type": "example",
    "date_accepted": "example",
    "date_commenced": "example",
    "date_completed": "example",
    "date_created": "example",
    "date_due": "example",
    "date_modified": "example",
    "date_started": "example",
    "description": "example",
    "id": "example",
    "job": "example",
    "logged": "example",
    "manager": "example",
    "nonbillable": "example",
    "rate_charged": "example",
    "remaining": "example",
    "standing": "example",
    "task_priority": "example",
    "task_status": "example",
    "title": "example"
  }
}
```

### Update a ticket

Change a ticket's title, description, assignee, status or stage. Changing the stage or status here skips Accelo's progressions.

**Inputs**

- Ticket (`issue_id`, text, required): The ticket to change.
- Title (`title`, text): The new title.
- Description (`description`, text): The new description.
- Assignee (`assignee`, number): The staff member to assign it to. They are told.
- Standing (`standing`, text): The ticket's new stage. One of: `submitted`, `open`, `resolved`, `closed`, `inactive`.
- Status (`status_id`, number): The ticket's new status.
- Resolution details (`resolution_detail`, text): How the ticket was resolved.
- Due date (`date_due`, date): When the ticket is due.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "affiliation": "example",
    "against": "example",
    "against_id": "example",
    "against_type": "example",
    "assignee": "example",
    "billable_seconds": "example",
    "class": "example",
    "company": "example",
    "contract": "example",
    "custom_id": "example",
    "date_closed": "example",
    "date_due": "example",
    "date_last_interacted": "example",
    "date_modified": "example",
    "date_opened": "example",
    "date_resolved": "example",
    "date_submitted": "example",
    "description": "example",
    "id": "example",
    "issue_priority": "example",
    "issue_type": "example",
    "resolution": "example",
    "resolution_detail": "example",
    "standing": "example",
    "status": "example",
    "title": "example"
  }
}
```
