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.
Create a security level
Section titled “Create a security level”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.
- In Autotask, hover over Admin and click Account Settings & Users.
- Expand Resources/Users (HR) and click Security Levels.
- Find API User (system) (API-only), right-click it and select Copy.
- Set Name to
Resplendent Data API Userand check Active. - Under Web Services API, enable View (Query) for each Dataset you plan to sync. For everything, enable all the Datasets below.
- Make sure the level can also see those records in the matching Autotask modules, including configuration items if you want ConfigurationItems.
- 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.
- 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.
Create the API user
Section titled “Create the API user”- Go to Admin → Resources/Users (HR) → Resources/Users.
- Hover over the arrow next to New and select New API User.
- Enter First Name
Resplendentand Last NameData, and set Security Level toResplendent Data API User. - Click Generate Key for Username (Key) and copy it.
- Click Generate Secret for Password (Secret) and copy it.
- If you see an API Tracking Identifier section, select Resplendent Data as the Integration Vendor.
- Click Save & Close.
Connect Autotask in Resplendent
Section titled “Connect Autotask in Resplendent”- Open Settings → Integrations, find Autotask and click Connect.
- Enter the API Username (the key from the API user) and the API Password (the secret).
- Enter a Connection Title, such as “Autotask Production”.
- Click Save & Test.
- 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.
Datasets
Section titled “Datasets”| 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 |
How each kind syncs
Section titled “How each kind syncs”- 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
Section titled “TicketHistory”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.
Update older rolling-scan Datasets
Section titled “Update older rolling-scan Datasets”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.
Joining Datasets
Section titled “Joining Datasets”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 |
Common reports
Section titled “Common reports”- Contract service quantity: join
ContractServices.idtoContractServiceUnits.contractServiceID. ContractServiceUnits is time-sliced: one service has a row per billing period, so filter to the period that contains your date withstartDateandendDateinstead of summing every row. - Time against contract work: join Time Entries on
contractServiceID,contractServiceBundleIDorcontractID, depending on whether you want service, bundle or contract totals. - Project execution: join
Projects.idtoTasks.projectID, thenTasks.idtoTime Entries.taskIDto 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
internalCurrencyTotalAmountbycontractName,billingItemTypeorserviceIDper month ofitemDate. With multi-currency on,totalAmountis 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 toServiceCalls.id.
Columns added for you
Section titled “Columns added for you”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 |
Picklists
Section titled “Picklists”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.
User-defined fields
Section titled “User-defined fields”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.
Troubleshooting
Section titled “Troubleshooting”| 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.