External DocumentationTo learn more, visit the Datto Autotask documentation.
Parameters
| Parameter | Description |
|---|---|
| Impersonation Resource ID | The Autotask resource ID to impersonate when performing API requests. Use this when you need to act on behalf of a specific Autotask user. |
| Return All Pages | Automatically fetch all resources, page by page. |
| Search | The search query to filter and paginate the results by. For more information please refer to Autotask documentation. For example: <br/>{<br/> "MaxRecords":10,<br/> "filter":<br/> [<br/> {<br/> "op":"noteq",<br/> "field":"Status",<br/> "value":5<br/> },<br/> {<br/> "op":"eq",<br/> "field":"CompanyID",<br/> "value":175<br/> }<br/> ]<br/>} |
Example Output
{
"items": [
{
"id": 0,
"additionalAddressInformation": "string",
"address1": "string",
"address2": "string",
"alternatePhone1": "string",
"alternatePhone2": "string",
"apiVendorID": 0,
"assetValue": 0,
"billToCompanyLocationID": 0,
"billToAdditionalAddressInformation": "string",
"billingAddress1": "string",
"billingAddress2": "string",
"billToAddressToUse": 0,
"billToAttention": "string",
"billToCity": "string",
"billToCountryID": 0,
"billToState": "string",
"billToZipCode": "string",
"city": "string",
"classification": 0,
"companyCategoryID": 0,
"companyName": "string",
"companyNumber": "string",
"companyType": 0,
"competitorID": 0,
"countryID": 0,
"createDate": "2025-11-30T09:59:23.187Z",
"createdByResourceID": 0,
"currencyID": 0,
"fax": "string",
"impersonatorCreatorResourceID": 0,
"invoiceEmailMessageID": 0,
"invoiceMethod": 0,
"invoiceNonContractItemsToParentCompany": true,
"invoiceTemplateID": 0,
"isActive": true,
"isClientPortalActive": true,
"isEnabledForComanaged": true,
"isSample": true,
"isTaskFireActive": true,
"isTaxExempt": true,
"lastActivityDate": "2025-11-30T09:59:23.187Z",
"lastTrackedModifiedDateTime": "2025-11-30T09:59:23.187Z",
"marketSegmentID": 0,
"ownerResourceID": 0,
"parentCompanyID": 0,
"phone": "string",
"postalCode": "string",
"purchaseOrderTemplateID": 0,
"quoteEmailMessageID": 0,
"quoteTemplateID": 0,
"sicCode": "string",
"state": "string",
"stockMarket": "string",
"stockSymbol": "string",
"surveyCompanyRating": 0,
"taxID": "string",
"taxRegionID": 0,
"territoryID": 0,
"webAddress": "string",
"userDefinedFields": [
{
"name": "string",
"value": "string"
}
]
}
],
"pageDetails": {
"count": 0,
"requestCount": 0,
"prevPageUrl": "string",
"nextPageUrl": "string"
}
}