# Joblogic

> Log and update jobs in Joblogic, manage customers and sites, book engineer visits, and read quotes and invoices.

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

## Actions

### Add a note

Add a note to a job, customer, site, visit, quote or other record.

**Inputs**

- Record type (`record_type`, text, required): What kind of record the note is for. One of: `customer`, `site`, `job`, `visit`, `quote`, `site_asset` (Site asset), `supplier`, `purchase_order` (Purchase order).
- Record ID (`record_id`, text, required): The record's unique ID (a GUID).
- Text (`text`, text, required): The note.
- Is private (`is_private`, true/false): Keep the note private.
- Tags (`tags`, list): Tags to search and filter by.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "DateAdded": "example",
    "EntityId": "example",
    "EntityType": 1,
    "IsPrivate": true,
    "NoteId": "example",
    "NoteText": "example",
    "Tags": [
      "example"
    ]
  }
}
```

### Book a visit

Book an engineer's visit for a job.

**Inputs**

- Job (`job_id`, text, required): The job's unique ID (a GUID).
- Engineer (`engineer_id`, text, required): The engineer who will visit.
- Start (`start`, date and time, required): When the visit starts.
- End (`end`, date and time, required): When the visit ends.
- Confirm appointment (`confirm_appointment`, true/false): Mark the appointment as confirmed.
- Send SMS email (`send_sms_email`, true/false): Tell the customer about the visit by text or email.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "UniqueId": "example"
  }
}
```

### Create a customer

Add a customer, with an address and a main contact if you give them.

**Inputs**

- Name (`name`, text, required): The customer's name.
- External ID (`external_id`, text): Your own ID for the record, from another system. Empty makes one that starts with `lodol-`.
- Address 1 (`address_1`, text): The first line of the address: the street number and name.
- Address 2 (`address_2`, text): The second line of the address, such as a flat or floor.
- Address 3 (`address_3`, text): The third line of the address: the town or city.
- Address 4 (`address_4`, text): The fourth line of the address: the county.
- Postcode (`postcode`, text): The postcode.
- Telephone (`telephone`, text): The phone number.
- Customer type (`customer_type`, text): The kind of customer, such as Domestic or Commercial. Joblogic creates a type it doesn't have.
- Reference number (`reference_number`, text): Your own reference for the customer.
- Tags (`tags`, list): Tags to search and filter by.
- Contact first name (`contact_first_name`, text): The main contact's first name.
- Contact last name (`contact_last_name`, text): The main contact's last name.
- Contact email (`contact_email`, text): The main contact's email address.
- Contact telephone (`contact_telephone`, text): The main contact's phone number.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "AccountNumber": "example",
    "Address": "example",
    "Address1": "example",
    "Address2": "example",
    "Address3": "example",
    "Address4": "example",
    "Contacts": [
      {
        "Email": "example",
        "FirstName": "example",
        "Id": "example",
        "IsPrimary": true,
        "LastName": "example",
        "Position": "example",
        "Telephone": "example"
      }
    ],
    "CustomerType": "example",
    "ExternalId": "example",
    "Id": "example",
    "IntId": 1,
    "Name": "example",
    "Postcode": "example",
    "ReferenceNumber": "example",
    "Tags": [
      "example"
    ],
    "Telephone": "example"
  }
}
```

### Create a job

Log a new job for a customer at one of their sites.

**Inputs**

- Customer (`customer_id`, text, required): The customer the job is for.
- Site (`site_id`, text, required): The site where the work is done.
- Job type (`job_type`, text, required): The kind of job, such as Service, Installation or Reactive. Joblogic creates a type it doesn't have.
- External ID (`external_id`, text): Your own ID for the record, from another system. Empty makes one that starts with `lodol-`.
- Description (`description`, text): What the job is for.
- Status (`status`, text): The job's status. One of: `New Job`, `Allocated`, `Attended`, `Awaiting Parts`, `Parts To Fit`, `Completed`, `Costed`, `Reqs. Invoice`, `Invoiced`, `Paid`, `Cancelled`, `Recall`.
- Job category (`job_category`, text): The job's category, such as Boiler Leak. Joblogic creates a category it doesn't have.
- Priority level (`priority_level`, text): The job's priority, such as 24-hour Response. Joblogic creates a priority it doesn't have.
- Order number (`order_number`, text): The customer's order or purchase order number.
- Reference number (`reference_number`, text): Your own reference for the job.
- Preferred appointment date (`preferred_appointment_date`, date and time): When the customer would like the visit.
- Target completion date (`target_completion_date`, date and time): When the job should be finished.
- Tags (`tags`, list): Tags to search and filter by.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "Contacts": [
      {
        "Email": "example",
        "FirstName": "example",
        "Id": "example",
        "IsPrimary": true,
        "LastName": "example",
        "Position": "example",
        "Telephone": "example"
      }
    ],
    "Customer": {
      "ExternalId": "example",
      "Id": "example",
      "Name": "example",
      "Postcode": "example"
    },
    "DateComplete": "example",
    "DateLogged": "example",
    "Description": "example",
    "ExternalId": "example",
    "Id": "example",
    "IntId": 1,
    "JobCategory": "example",
    "JobNumber": "example",
    "JobType": "example",
    "Notes": [
      {
        "Author": "example",
        "AuthorId": 1,
        "DateAdded": "example",
        "IsPrivate": true,
        "NoteText": "example"
      }
    ],
    "OrderNumber": "example",
    "Owner": "example",
    "PreferredAppointmentDate": "example",
    "PriorityLevel": "example",
    "ReferenceNumber": "example",
    "Site": {
      "ExternalId": "example",
      "Id": "example",
      "Name": "example",
      "Postcode": "example"
    },
    "Status": "example",
    "Tags": [
      "example"
    ],
    "TargetAttendanceDate": "example",
    "TargetCompletionDate": "example"
  }
}
```

### Create a site

Add a site (a place where work is done) for a customer.

**Inputs**

- Customer (`customer_id`, text, required): The customer who owns the site.
- Name (`name`, text, required): The site's name.
- External ID (`external_id`, text): Your own ID for the record, from another system. Empty makes one that starts with `lodol-`.
- Address 1 (`address_1`, text): The first line of the address: the street number and name.
- Address 2 (`address_2`, text): The second line of the address, such as a flat or floor.
- Address 3 (`address_3`, text): The third line of the address: the town or city.
- Address 4 (`address_4`, text): The fourth line of the address: the county.
- Postcode (`postcode`, text): The postcode.
- Telephone (`telephone`, text): The phone number.
- Region (`region`, text): The site's region. One of: `North`, `South`, `East`, `West`.
- Reference number (`reference_number`, text): Your own reference for the site.
- Tags (`tags`, list): Tags to search and filter by.
- Contact first name (`contact_first_name`, text): The main contact's first name.
- Contact last name (`contact_last_name`, text): The main contact's last name.
- Contact email (`contact_email`, text): The main contact's email address.
- Contact telephone (`contact_telephone`, text): The main contact's phone number.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "AccountNumber": "example",
    "Address1": "example",
    "Address2": "example",
    "Address3": "example",
    "Address4": "example",
    "Contacts": [
      {
        "Email": "example",
        "FirstName": "example",
        "Id": "example",
        "IsPrimary": true,
        "LastName": "example",
        "Position": "example",
        "Telephone": "example"
      }
    ],
    "ExternalId": "example",
    "Id": "example",
    "IntId": 1,
    "Name": "example",
    "Postcode": "example",
    "ReferenceNumber": "example",
    "Region": "example",
    "Tags": [
      "example"
    ],
    "Telephone": "example"
  }
}
```

### Delete a customer

Delete a customer for good. It can't be undone.

**Inputs**

- Customer (`customer_id`, text, required): The customer's unique ID (a GUID).

**Outputs**

- `data` (true/false): The response from Joblogic.

**Example output**

```json
{
  "data": true
}
```

### Delete a job

Delete a job for good. It can't be undone.

**Inputs**

- Job (`job_id`, text, required): The job's unique ID (a GUID).

**Outputs**

- `data` (true/false): The response from Joblogic.

**Example output**

```json
{
  "data": true
}
```

### Delete a site

Delete a site for good. It can't be undone.

**Inputs**

- Site (`site_id`, text, required): The site's unique ID (a GUID).

**Outputs**

- `data` (true/false): The response from Joblogic.

**Example output**

```json
{
  "data": true
}
```

### Delete a visit

Delete a booked visit.

**Inputs**

- Visit ID (`visit_id`, text, required): The visit's unique ID (a GUID).

**Outputs**

- `data` (true/false): The response from Joblogic.

**Example output**

```json
{
  "data": true
}
```

### Get a customer

Get one customer with their address, contacts and tags.

**Inputs**

- Customer (`customer_id`, text, required): The customer's unique ID (a GUID).
- Include additional details (`include_additional_details`, true/false): Include billing and invoice details.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "AccountNumber": "example",
    "Address": "example",
    "Address1": "example",
    "Address2": "example",
    "Address3": "example",
    "Address4": "example",
    "Contacts": [
      {
        "Email": "example",
        "FirstName": "example",
        "Id": "example",
        "IsPrimary": true,
        "LastName": "example",
        "Position": "example",
        "Telephone": "example"
      }
    ],
    "CustomerType": "example",
    "ExternalId": "example",
    "Id": "example",
    "IntId": 1,
    "Name": "example",
    "Postcode": "example",
    "ReferenceNumber": "example",
    "Tags": [
      "example"
    ],
    "Telephone": "example"
  }
}
```

### Get a job

Get one job with its customer, site, contacts and notes.

**Inputs**

- Job (`job_id`, text, required): The job's unique ID (a GUID, the UniqueId in search results).
- Include additional details (`include_additional_details`, true/false): Include the job's additional details.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "Contacts": [
      {
        "Email": "example",
        "FirstName": "example",
        "Id": "example",
        "IsPrimary": true,
        "LastName": "example",
        "Position": "example",
        "Telephone": "example"
      }
    ],
    "Customer": {
      "ExternalId": "example",
      "Id": "example",
      "Name": "example",
      "Postcode": "example"
    },
    "DateComplete": "example",
    "DateLogged": "example",
    "Description": "example",
    "ExternalId": "example",
    "Id": "example",
    "IntId": 1,
    "JobCategory": "example",
    "JobNumber": "example",
    "JobType": "example",
    "Notes": [
      {
        "Author": "example",
        "AuthorId": 1,
        "DateAdded": "example",
        "IsPrivate": true,
        "NoteText": "example"
      }
    ],
    "OrderNumber": "example",
    "Owner": "example",
    "PreferredAppointmentDate": "example",
    "PriorityLevel": "example",
    "ReferenceNumber": "example",
    "Site": {
      "ExternalId": "example",
      "Id": "example",
      "Name": "example",
      "Postcode": "example"
    },
    "Status": "example",
    "Tags": [
      "example"
    ],
    "TargetAttendanceDate": "example",
    "TargetCompletionDate": "example"
  }
}
```

### Get a quote

Get one quote, optionally with its lines.

**Inputs**

- Quote ID (`quote_id`, number, required): The quote's number ID (the Id in quote search results). At least 1.
- Include lines (`include_lines`, true/false): Include the quote's lines.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "CustomerId": 1,
    "CustomerName": "example",
    "DateLogged": "example",
    "Description": "example",
    "ExpiryDate": "example",
    "Id": 1,
    "IsCancelled": true,
    "IsRejected": true,
    "JobType": "example",
    "OwnerName": "example",
    "QuoteNumber": "example",
    "QuoteStatusDescription": "example",
    "QuoteStatusId": 1,
    "QuoteValue": 1,
    "QuoteValueExcludingVat": 1,
    "SiteId": 1,
    "SiteName": "example",
    "Title": "example",
    "UniqueId": "example"
  }
}
```

### Get a site

Get one site with its address, contacts and tags.

**Inputs**

- Site (`site_id`, text, required): The site's unique ID (a GUID).

**Outputs**

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

**Example output**

```json
{
  "data": {
    "AccountNumber": "example",
    "Address1": "example",
    "Address2": "example",
    "Address3": "example",
    "Address4": "example",
    "Contacts": [
      {
        "Email": "example",
        "FirstName": "example",
        "Id": "example",
        "IsPrimary": true,
        "LastName": "example",
        "Position": "example",
        "Telephone": "example"
      }
    ],
    "ExternalId": "example",
    "Id": "example",
    "IntId": 1,
    "Name": "example",
    "Postcode": "example",
    "ReferenceNumber": "example",
    "Region": "example",
    "Tags": [
      "example"
    ],
    "Telephone": "example"
  }
}
```

### Get an invoice

Get one invoice with its lines.

**Inputs**

- Invoice ID (`invoice_id`, number, required): The invoice's number ID (the Id in invoice search results). At least 1.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "CustomerId": 1,
    "CustomerName": "example",
    "DateRaised": "example",
    "Description": "example",
    "Id": 1,
    "InvoiceNumber": "example",
    "IsCredit": true,
    "IsDraft": true,
    "JobId": 1,
    "JobNumber": "example",
    "OrderNumber": "example",
    "SiteId": 1,
    "SiteName": "example",
    "TotalExcludingVat": 1,
    "TotalIncludingVat": 1,
    "TotalVatAmount": 1,
    "UniqueId": "example"
  }
}
```

### List a job's visits

List the visits booked for a job, with the engineer and status of each.

**Inputs**

- Job number ID (`job_number_id`, number, required): The job's number ID (the Id in job search results, not its GUID). At least 1.
- Search term (`search_term`, text): Words to search for.
- Page (`page`, number): Which page of results to return, starting at 1. At least 1.
- Page size (`page_size`, number): How many results to return on each page, up to 50. Joblogic returns 10 when this is empty. From 1 to 50.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "Items": [
      {
        "EndDate": "example",
        "EngineerId": 1,
        "EngineerName": "example",
        "Id": 1,
        "IsAborted": true,
        "IsRejected": true,
        "JobId": 1,
        "JobNumber": "example",
        "StartDate": "example",
        "StatusDescription": "example",
        "StatusId": 1,
        "UniqueId": "example"
      }
    ],
    "PageIndex": 1,
    "PageSize": 1,
    "TotalCount": 1
  }
}
```

### List notes

List the notes on a job, customer, site, visit, quote or other record.

**Inputs**

- Record type (`record_type`, text, required): What kind of record to list notes for. One of: `customer`, `site`, `job`, `visit`, `quote`, `site_asset` (Site asset), `supplier`, `purchase_order` (Purchase order).
- Record ID (`record_id`, text, required): The record's unique ID (a GUID).
- Include private notes (`include_private_notes`, true/false): Include private notes too.
- Page (`page`, number): Which page of results to return, starting at 1. At least 1.
- Page size (`page_size`, number): How many results to return on each page, up to 50. Joblogic returns 10 when this is empty. From 1 to 50.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "Items": [
      {
        "Author": "example",
        "DateAdded": "example",
        "IsPrivate": true,
        "NoteText": "example",
        "UniqueId": "example"
      }
    ],
    "PageIndex": 1,
    "PageSize": 1,
    "TotalCount": 1
  }
}
```

### Search assets

Find site assets (equipment) by words.

**Inputs**

- Search term (`search_term`, text): Words to search for.
- Include inactive (`include_inactive`, true/false): Include inactive records too.
- Page (`page`, number): Which page of results to return, starting at 1. At least 1.
- Page size (`page_size`, number): How many results to return on each page, up to 50. Joblogic returns 10 when this is empty. From 1 to 50.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "Items": [
      {
        "Active": true,
        "Condition": "example",
        "Description": "example",
        "Id": 1,
        "InstallationDate": "example",
        "Location": "example",
        "Make": "example",
        "Model": "example",
        "Number": "example",
        "SerialNumber": "example",
        "SiteId": 1,
        "SiteName": "example",
        "UniqueId": "example",
        "WarrantyExpiryDate": "example"
      }
    ],
    "PageIndex": 1,
    "PageSize": 1,
    "TotalCount": 1
  }
}
```

### Search customers

Find customers by name, address, reference or account number.

**Inputs**

- Search term (`search_term`, text): Words to search for.
- Include inactive (`include_inactive`, true/false): Include inactive records too.
- Order by (`order_by`, text): The order to list customers in. One of: `name_a_z` (Name a z), `name_z_a` (Name z a), `postcode_a_z` (Postcode a z), `account_number_a_z` (Account number a z). Default: `name_a_z`.
- Page (`page`, number): Which page of results to return, starting at 1. At least 1.
- Page size (`page_size`, number): How many results to return on each page, up to 50. Joblogic returns 10 when this is empty. From 1 to 50.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "Items": [
      {
        "AccountNumber": "example",
        "Active": true,
        "Address": "example",
        "CustomReference": "example",
        "EmailAddress": "example",
        "ExternalId": "example",
        "Id": 1,
        "Name": "example",
        "Postcode": "example",
        "Telephone": "example",
        "UniqueId": "example"
      }
    ],
    "PageIndex": 1,
    "PageSize": 1,
    "TotalCount": 1
  }
}
```

### Search engineers

Find engineers by name or other words.

**Inputs**

- Search term (`search_term`, text): Words to search for.
- Include inactive (`include_inactive`, true/false): Include inactive records too.
- Page (`page`, number): Which page of results to return, starting at 1. At least 1.
- Page size (`page_size`, number): How many results to return on each page, up to 50. Joblogic returns 10 when this is empty. From 1 to 50.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "Items": [
      {
        "Active": true,
        "EmailAddress": "example",
        "Id": 1,
        "IsMobile": true,
        "Name": "example",
        "Postcode": "example",
        "Telephone": "example",
        "UniqueId": "example"
      }
    ],
    "PageIndex": 1,
    "PageSize": 1,
    "TotalCount": 1
  }
}
```

### Search invoices

Find invoices by words or the date they were raised.

**Inputs**

- Search term (`search_term`, text): Words to search for.
- Raised from (`raised_from`, date): Only invoices raised on or after this date.
- Raised to (`raised_to`, date): Only invoices raised on or before this date.
- Page (`page`, number): Which page of results to return, starting at 1. At least 1.
- Page size (`page_size`, number): How many results to return on each page, up to 50. Joblogic returns 10 when this is empty. From 1 to 50.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "Items": [
      {
        "CustomerId": 1,
        "CustomerName": "example",
        "DateRaised": "example",
        "Description": "example",
        "Id": 1,
        "InvoiceNumber": "example",
        "IsCredit": true,
        "IsDraft": true,
        "JobId": 1,
        "JobNumber": "example",
        "OrderNumber": "example",
        "SiteId": 1,
        "SiteName": "example",
        "TotalExcludingVat": 1,
        "TotalIncludingVat": 1,
        "TotalVatAmount": 1,
        "UniqueId": "example"
      }
    ],
    "PageIndex": 1,
    "PageSize": 1,
    "TotalCount": 1
  }
}
```

### Search jobs

Find jobs by words, customer, site, dates logged or completed, newest first unless you choose another order.

**Inputs**

- Search term (`search_term`, text): Words to search for.
- Customer (`customer_unique_id`, text): Only jobs for this customer.
- Site (`site_unique_id`, text): Only jobs at this site.
- Logged from (`logged_from`, date): Only jobs logged on or after this date.
- Logged to (`logged_to`, date): Only jobs logged on or before this date.
- Completed from (`completed_from`, date): Only jobs completed on or after this date.
- Completed to (`completed_to`, date): Only jobs completed on or before this date.
- Order by (`order_by`, text): The order to list jobs in. One of: `date_logged_newest` (Date logged newest), `date_logged_oldest` (Date logged oldest), `last_modified_newest` (Last modified newest), `last_modified_oldest` (Last modified oldest), `date_complete_newest` (Date complete newest), `appointment_date_newest` (Appointment date newest), `job_number_newest` (Job number newest), `customer_a_z` (Customer a z), `site_a_z` (Site a z). Default: `date_logged_newest`.
- Include inactive (`include_inactive`, true/false): Include inactive records too.
- Include tags (`include_tags`, true/false): Include each job's tags.
- Page (`page`, number): Which page of results to return, starting at 1. At least 1.
- Page size (`page_size`, number): How many results to return on each page, up to 50. Joblogic returns 10 when this is empty. From 1 to 50.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "Items": [
      {
        "AppointmentDate": "example",
        "CategoryDescription": "example",
        "CustomReference": "example",
        "CustomerId": 1,
        "CustomerName": "example",
        "DateComplete": "example",
        "DateLogged": "example",
        "Description": "example",
        "Id": 1,
        "JobNumber": "example",
        "JobStatusDescription": "example",
        "JobStatusId": 1,
        "NoOfVisits": 1,
        "OrderNumber": "example",
        "PriorityDescription": "example",
        "SiteId": 1,
        "SiteName": "example",
        "SitePostcode": "example",
        "Tags": "example",
        "TypeDescription": "example",
        "UniqueId": "example",
        "UpdatedAt": "example"
      }
    ],
    "PageIndex": 1,
    "PageSize": 1,
    "TotalCount": 1
  }
}
```

### Search quotes

Find quotes by words or the date they were logged.

**Inputs**

- Search term (`search_term`, text): Words to search for.
- Logged from (`logged_from`, date): Only quotes logged on or after this date.
- Logged to (`logged_to`, date): Only quotes logged on or before this date.
- Include inactive (`include_inactive`, true/false): Include inactive records too.
- Page (`page`, number): Which page of results to return, starting at 1. At least 1.
- Page size (`page_size`, number): How many results to return on each page, up to 50. Joblogic returns 10 when this is empty. From 1 to 50.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "Items": [
      {
        "CustomerId": 1,
        "CustomerName": "example",
        "DateLogged": "example",
        "Description": "example",
        "ExpiryDate": "example",
        "Id": 1,
        "IsCancelled": true,
        "IsRejected": true,
        "JobType": "example",
        "OwnerName": "example",
        "QuoteNumber": "example",
        "QuoteStatusDescription": "example",
        "QuoteStatusId": 1,
        "QuoteValue": 1,
        "QuoteValueExcludingVat": 1,
        "SiteId": 1,
        "SiteName": "example",
        "Title": "example",
        "UniqueId": "example"
      }
    ],
    "PageIndex": 1,
    "PageSize": 1,
    "TotalCount": 1
  }
}
```

### Search sites

Find sites by name, address or reference.

**Inputs**

- Search term (`search_term`, text): Words to search for.
- Include inactive (`include_inactive`, true/false): Include inactive records too.
- Page (`page`, number): Which page of results to return, starting at 1. At least 1.
- Page size (`page_size`, number): How many results to return on each page, up to 50. Joblogic returns 10 when this is empty. From 1 to 50.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "Items": [
      {
        "Active": true,
        "Address": "example",
        "EmailAddress": "example",
        "ExternalId": "example",
        "Id": 1,
        "Name": "example",
        "Postcode": "example",
        "ReferenceNumber": "example",
        "Region": "example",
        "Telephone": "example",
        "UniqueId": "example"
      }
    ],
    "PageIndex": 1,
    "PageSize": 1,
    "TotalCount": 1
  }
}
```

### Update a job

Change a job's details. Only the fields you fill in change; the rest are kept.

**Inputs**

- Job (`job_id`, text, required): The job's unique ID (a GUID).
- Job type (`job_type`, text): The kind of job, such as Service or Reactive.
- Description (`description`, text): What the job is for.
- Status (`status`, text): The job's status. One of: `New Job`, `Allocated`, `Attended`, `Awaiting Parts`, `Parts To Fit`, `Completed`, `Costed`, `Reqs. Invoice`, `Invoiced`, `Paid`, `Cancelled`, `Recall`.
- Job category (`job_category`, text): The job's category, such as Boiler Leak. Joblogic creates a category it doesn't have.
- Priority level (`priority_level`, text): The job's priority, such as 24-hour Response. Joblogic creates a priority it doesn't have.
- Order number (`order_number`, text): The customer's order or purchase order number.
- Reference number (`reference_number`, text): Your own reference for the job.
- Preferred appointment date (`preferred_appointment_date`, date and time): When the customer would like the visit.
- Target completion date (`target_completion_date`, date and time): When the job should be finished.
- Tags (`tags`, list): Tags to search and filter by.
- Date complete (`date_complete`, date and time): When the job was completed.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "Contacts": [
      {
        "Email": "example",
        "FirstName": "example",
        "Id": "example",
        "IsPrimary": true,
        "LastName": "example",
        "Position": "example",
        "Telephone": "example"
      }
    ],
    "Customer": {
      "ExternalId": "example",
      "Id": "example",
      "Name": "example",
      "Postcode": "example"
    },
    "DateComplete": "example",
    "DateLogged": "example",
    "Description": "example",
    "ExternalId": "example",
    "Id": "example",
    "IntId": 1,
    "JobCategory": "example",
    "JobNumber": "example",
    "JobType": "example",
    "Notes": [
      {
        "Author": "example",
        "AuthorId": 1,
        "DateAdded": "example",
        "IsPrivate": true,
        "NoteText": "example"
      }
    ],
    "OrderNumber": "example",
    "Owner": "example",
    "PreferredAppointmentDate": "example",
    "PriorityLevel": "example",
    "ReferenceNumber": "example",
    "Site": {
      "ExternalId": "example",
      "Id": "example",
      "Name": "example",
      "Postcode": "example"
    },
    "Status": "example",
    "Tags": [
      "example"
    ],
    "TargetAttendanceDate": "example",
    "TargetCompletionDate": "example"
  }
}
```
