Skip to content

Connect data / Integrations

Autotask

Connect Autotask PSA to report on your service desk, projects, contracts and billing. Resplendent reads Autotask through its REST API on a schedule. It never writes to Autotask and doesn’t use webhooks.

The API user needs a security level that can query the entities you want. Resplendent only sends queries, so it never needs create, edit or delete rights.

  1. In Autotask, hover over Admin and click Account Settings & Users.
  2. Expand Resources/Users (HR) and click Security Levels.
  3. Find API User (system) (API-only), right-click it and select Copy.
  4. Set Name to Resplendent Data API User and check Active.
  5. Under Web Services API, enable View (Query) for each Dataset you plan to sync. For everything, enable all the Datasets below.
  6. Make sure the level can also see those records in the matching Autotask modules, including configuration items if you want ConfigurationItems.
  7. To remove deleted tickets and time entries from your Datasets, also give the level Admin-level access to Service Desk or Projects & Tasks. Everything else syncs without it.
  8. Click Save & Close.

Autotask shows its deleted-ticket and deleted-time-entry logs only to users with that Admin-level access. Without it, updates still sync, but deleted tickets and time entries stay in your Datasets until a resync.

  1. Go to Admin → Resources/Users (HR) → Resources/Users.
  2. Hover over the arrow next to New and select New API User.
  3. Enter First Name Resplendent and Last Name Data, and set Security Level to Resplendent Data API User.
  4. Click Generate Key for Username (Key) and copy it.
  5. Click Generate Secret for Password (Secret) and copy it.
  6. If you see an API Tracking Identifier section, select Resplendent Data as the Integration Vendor.
  7. Click Save & Close.
  1. Open Settings → Integrations, find Autotask and click Connect.
  2. Enter the API Username (the key from the API user) and the API Password (the secret).
  3. Enter a Connection Title, such as “Autotask Production”.
  4. Click Save & Test.
  5. When the test passes, click Sync Dataset and choose what to sync.

You don’t need your Autotask zone. When you save, Resplendent asks Autotask which zone hosts your database.

Dataset Sync Default interval
Appointments Incremental Hourly
BillingCodes Rolling scan 5 minutes
BillingItems Rolling scan 5 minutes
Companies Incremental Hourly
ConfigurationItems Incremental Hourly
Contacts Incremental Hourly
ContractBlocks Rolling scan 5 minutes
ContractCharges Rolling scan 5 minutes
ContractMilestones Rolling scan 5 minutes
ContractRates Rolling scan 5 minutes
ContractServiceBundles Rolling scan 5 minutes
ContractServices Rolling scan 5 minutes
ContractServiceUnits Rolling scan 5 minutes
Contracts Incremental Hourly
Departments Rolling scan 5 minutes
ExpenseItems Rolling scan 5 minutes
ExpenseReports Rolling scan 5 minutes
Invoices Rolling scan 5 minutes
Opportunities Incremental Hourly
Phases Incremental Hourly
Products Rolling scan 5 minutes
Projects Incremental Hourly
PurchaseOrderItems Rolling scan 5 minutes
PurchaseOrders Rolling scan 5 minutes
QuoteItems Rolling scan 5 minutes
Quotes Incremental Hourly
Resources Rolling scan 5 minutes
Roles Rolling scan 5 minutes
ServiceCalls Incremental 1 minute
ServiceCallTaskResources Rolling scan 5 minutes
ServiceCallTasks Rolling scan 5 minutes
ServiceCallTicketResources Rolling scan 5 minutes
ServiceCallTickets New rows only Hourly
ServiceLevelAgreementResults Rolling scan 5 minutes
Services Incremental Hourly
Tasks Incremental Hourly
TicketCharges Rolling scan 5 minutes
TicketHistory Incremental 5 minutes
TicketNotes Incremental 1 minute
Tickets Incremental 1 minute
TicketSecondaryResources Rolling scan 5 minutes
Time Entries Incremental 1 minute
  • Incremental Datasets pull rows changed since the last sync, using Autotask’s last-modified or last-activity dates. One sync reads up to 3,000 changed rows. After a bulk edit changes more, the next syncs read the rest before picking up newer changes, so nothing is skipped.
  • Rolling scan Datasets have no last-modified date in Autotask, so an incremental sync would miss edits such as a voided invoice. Each sync reads the next rows by ID, aiming for one complete pass every Full Scan Duration (60 minutes by default). One sync reads up to 3,000 rows, so a pass over more than 36,000 rows takes longer than an hour at the defaults; set Sync Frequency to 1 minute to read up to 180,000 rows an hour. A new rolling-scan Dataset loads its first 500 rows right away and the rest over the first pass. When a pass finishes, rows deleted in Autotask leave the Dataset.
  • ServiceCallTickets has no last-modified date either. Each sync adds new rows and doesn’t re-read existing ones.

Tickets and Time Entries also drop rows deleted in Autotask, using its deletion logs. Keep ticketID and taskID selected on Time Entries for this to work. Autotask doesn’t log time entries that belong to neither a ticket nor a task, and in testing it didn’t log project-task time entries deleted through its API. Turn on Nightly Full Re-sync in Dataset Options if those need to disappear sooner. Other incremental Datasets keep deleted rows until a resync.

TicketHistory is Autotask’s ticket audit log: one row per field a change touched, with action (such as Status Changed) and detail (such as “Priority changed from Critical to Medium”). One save that changes several fields writes several rows with the same id, so each row is keyed by historyKey (ticketID:id:action).

Autotask returns history one ticket at a time, so this Dataset’s batch size counts tickets, not rows, up to 25 per sync. Every 5 minutes by default it re-reads the full history of tickets whose last activity changed; a change usually shows up one or two syncs later. While history first loads, it makes about 1,500 requests an hour at the default batch size. Autotask allows 10,000 requests an hour for the whole database and slows every integration past half of that, so lower the batch size if other integrations use a lot. History of a deleted ticket stays until a resync.

ContractRates, ContractServiceBundles, ContractServices, ContractServiceUnits, Resources, ServiceCallTasks, ServiceCallTaskResources and ServiceCallTicketResources Datasets created before rolling scans still sync as 1,000-row snapshots. To switch one, open its Dataset Options, set Sync Frequency to 5 minutes and Full Scan Duration to 60 minutes, and save. The next sync starts the first pass; you don’t need to resync.

Existing Invoices, ContractMilestones and Products Datasets switch to rolling scans on their own, at their saved Sync Frequency (60 minutes unless you changed it). At that pace a pass reads up to 3,000 rows an hour, so a large Dataset takes hours per pass. Use the same settings to match new Datasets. The first pass also loads rows older than the Dataset’s history setting, because a rolling scan has no row cap.

Join on numeric ID columns. These are the common paths:

Start Dataset Column Related Dataset Related column Typical use
Companies id Contacts companyID Contacts by customer
Companies id Contracts companyID Contracts by customer
Companies id Projects companyID Projects by customer
Companies id Tickets companyID Ticket volume by customer
Companies id ServiceCalls companyID Service calls by customer
Companies id ConfigurationItems companyID Configuration items by customer
Companies id Invoices companyID Invoices by customer
Companies id Opportunities companyID Sales pipeline by customer
Companies id BillingItems companyID Billed amounts by customer
Companies id Quotes companyID Quotes by customer
Contacts id Opportunities contactID Opportunities tied to a contact
Contracts id ContractMilestones contractID Milestones billed against a contract
Contracts id ContractRates contractID Hourly rates on a contract
Contracts id ContractServiceBundles contractID Service bundles on a contract
Contracts id ContractServices contractID Services on a contract
Contracts id ContractServiceUnits contractID Unit counts and pricing periods
Contracts id ContractBlocks contractID Prepaid hour blocks
Contracts id ContractCharges contractID Charges against a contract
Contracts id Projects contractID Projects tied to a contract
Contracts id Tickets contractID Tickets tied to a contract
Contracts id BillingItems contractID Billed revenue per contract
ContractServices id ContractServiceUnits contractServiceID Units over time for each service
Services id ContractServices serviceID Service name or period type
Services id ContractServiceUnits serviceID Unit rows grouped by service
Projects id Phases projectID Phases in a project
Projects id Tasks projectID Project workload and completion
Projects id Tickets projectID Tickets on a project
Phases id Tasks phaseID Tasks grouped by phase
Tasks id Time Entries taskID Time logged against tasks
Tickets id Time Entries ticketID Time logged against tickets
Tickets id TicketNotes ticketID Notes on a ticket
Tickets id TicketHistory ticketID Changes to a ticket
Tickets id TicketCharges ticketID Charges against a ticket
Tickets id TicketSecondaryResources ticketID Secondary technicians on a ticket
Tickets id ServiceLevelAgreementResults ticketID SLA results for a ticket
ServiceCalls id ServiceCallTasks serviceCallID Tasks on a service call
ServiceCalls id ServiceCallTickets serviceCallID Tickets on a service call
ServiceCallTasks id ServiceCallTaskResources serviceCallTaskID Resources on service-call tasks
ServiceCallTickets id ServiceCallTicketResources serviceCallTicketID Resources on service-call tickets
Resources id Opportunities ownerResourceID Opportunities by owner
Resources id Tickets assignedResourceID Assigned technician
Resources id ServiceCallTaskResources resourceID Service-call task assignments
Resources id ServiceCallTicketResources resourceID Service-call ticket assignments
Resources id Time Entries resourceID Time by technician
Resources id Appointments resourceID Appointments by technician
Resources id ExpenseReports submitterID Expense reports by submitter
Invoices id BillingItems invoiceID Line items on an invoice
BillingCodes id BillingItems billingCodeID Billing lines by work type
BillingCodes id Time Entries billingCodeID Time by work type
Roles id Time Entries roleID Time by role and rate
Roles id BillingItems roleID Labor billing by role
Departments id BillingCodes department Work types by department
Opportunities id Quotes opportunityID Quotes for an opportunity
Quotes id QuoteItems quoteID Line items on a quote
ExpenseReports id ExpenseItems expenseReportID Line items on an expense report
PurchaseOrders id PurchaseOrderItems orderID Line items on a purchase order
  • Contract service quantity: join ContractServices.id to ContractServiceUnits.contractServiceID. ContractServiceUnits is time-sliced: one service has a row per billing period, so filter to the period that contains your date with startDate and endDate instead of summing every row.
  • Time against contract work: join Time Entries on contractServiceID, contractServiceBundleID or contractID, depending on whether you want service, bundle or contract totals.
  • Project execution: join Projects.id to Tasks.projectID, then Tasks.id to Time Entries.taskID to compare planned and logged work.
  • Monthly billing by contract or service: BillingItems holds every approved and posted billing line, including labor, charges, recurring services and blocks. Sum internalCurrencyTotalAmount by contractName, billingItemType or serviceID per month of itemDate. With multi-currency on, totalAmount is in each customer’s currency, so only sum it within one currency.
  • Service call assignments: ServiceCallTaskResources and ServiceCallTicketResources already carry serviceCallID, so they usually join straight to ServiceCalls.id.

Many Datasets include readable names next to their IDs, so simple reports don’t need a join:

Dataset Added columns
Appointments resourceUserName
BillingItems companyName, contractName, billingCodeName, roleName
ContractBlocks contractName
ContractCharges contractName, billingCodeName
Contracts companyName, billToCompanyName
ContractServices serviceName, servicePeriodType
ContractServiceUnits unitPrice, serviceName, servicePeriodType
ExpenseItems expenseReportName, companyName
ExpenseReports submitterUserName
Invoices companyName, creatorResourceUserName, voidedByResourceUserName
Opportunities companyName, ownerResourceUserName
Phases projectName
PurchaseOrderItems purchaseOrderNumber, productName
PurchaseOrders vendorCompanyName
QuoteItems quoteName
Quotes companyName
ServiceCallTaskResources serviceCallID, taskID, resourceUserName
ServiceCallTasks assignedResourceID, taskNumber, title, assignedResourceUserName
ServiceCallTicketResources serviceCallID, ticketID, resourceUserName
ServiceCallTickets assignedResourceID, ticketNumber, title, assignedResourceUserName
ServiceLevelAgreementResults ticketNumber
TicketCharges ticketNumber, billingCodeName
TicketHistory ticketNumber, resourceUserName
TicketNotes ticketNumber, creatorResourceUserName
Tickets companyName and *UserName columns such as assignedResourceUserName
TicketSecondaryResources ticketNumber, resourceUserName, roleName
Time Entries resourceUserName, creatorUserName, lastModifiedUserName and other resource names

Resplendent turns Autotask picklist values into their labels as it syncs. Fields such as status, priority, queueID, ticketType and serviceLevelAgreementID hold readable labels, even when the name ends in ID, so don’t join on them. Join on relationship fields such as companyID, contractID, projectID, taskID, ticketID, serviceCallID, resourceID and contractServiceID.

Autotask user-defined fields (UDFs) become their own columns, named with underscores for spaces and (UDF) on the end. A UDF named Opportunity Type appears as Opportunity_Type(UDF). UDFs are available on Companies, Contracts, Opportunities, Resources, Tickets and Time Entries.

  • Selecting any UDF column fetches all standard fields too, because Autotask only returns UDFs when no column filter is applied.
  • UDF text isn’t cut off at 256 characters.
  • A list value is stored as JSON text.
  • Rows without a UDF show an empty value for it.
Problem What to check
“Autotask could not find a zone for this API username” Paste the API user’s Username (Key), not your own login or the secret, and check the API user is active
“The connected Autotask user does not have permission to preview the … dataset” Enable View (Query) for that entity under Web Services API, and check the matching module lets the level see those records. Then preview again; you don’t need to reconnect
Deleted tickets or time entries stay in the Dataset Give the security level Admin-level access to Service Desk or Projects & Tasks. Later syncs then catch up on deletions, one day per sync. To keep the level read-only, resync those Datasets now and then

Connections saved before Resplendent looked up zones keep the zone they were saved with. Saving one again looks the zone up again, which also catches a database that Autotask has moved.