Actions524
- AI Helper Actions
- Tool Actions
- API Threshold Actions
- Appointment Actions
- Billing Code Actions
- Billing Items Actions
- Change Request Link Actions
- Checklist Library Actions
- Checklist Library Item Actions
- Classification Icon Actions
- Company Actions
- Company Alert Actions
- Company Location Actions
- Company Note Actions
- Company Webhook Actions
- Company Site Configuration Actions
- Configuration Item Actions
- Configuration Item Billing Product Association Actions
- Configuration Item Category Actions
- Configuration Item Category UDF Association Actions
- Configuration Item DNS Record Actions
- Configuration Item Note Actions
- Configuration Item Related Item Actions
- Configuration Item SSL Subject Alternative Name Actions
- Configuration Item Type Actions
- Configuration Item Webhook Actions
- Contact Actions
- Contact Webhook Actions
- Contact Groups Actions
- Contact Group Contacts Actions
- Contract Actions
- Contract Block Actions
- Contract Block Hour Factor Actions
- Contract Billing Rule Actions
- Contract Charge Actions
- Contract Exclusion Billing Code Actions
- Contract Exclusion Role Actions
- Contract Exclusion Sets Actions
- Contract Exclusion Set Excluded Role Actions
- Contract Exclusion Set Excluded Work Type Actions
- Contract Milestone Actions
- Contract Note Actions
- Contract Rate Actions
- Contract Role Costs Actions
- Contract Retainer Actions
- Contract Service Actions
- Contract Service Adjustment Actions
- Contract Service Bundle Adjustment Actions
- Contract Service Bundle Actions
- Contract Service Bundle Unit Actions
- Contract Ticket Purchase Actions
- Department Actions
- Project Phase Actions
- Quote Item Actions
- Quote Location Actions
- Quote Template Actions
- Resource Actions
- Resource Role Actions
- Resource Role Queue Actions
- Search Filter Actions
- Service Actions
- Service Call Actions
- Subscription Actions
- Subscription Period Actions
- Ticket Category Actions
- Ticket Category Field Default Actions
- Ticket History Actions
- Ticket Note Actions
Contract Role Costs → Get Many (Advanced)
AI-generatedOverview
This node operation retrieves multiple Contract Role Costs records from the Autotask PSA system using advanced filtering criteria. It is useful for scenarios where users need to query contract role cost data with specific conditions, such as filtering by date ranges, contract IDs, or other custom criteria defined in the Autotask API. For example, a user might want to extract all contract role costs related to a particular contract or within a certain time period for reporting or integration purposes.
Use Case Examples
- Retrieve all contract role costs for a specific contract using an advanced JSON filter.
- Fetch a limited number of contract role cost records with specific field selections and labels for reporting.
Properties
| Name | Meaning |
|---|---|
| Get All | Whether to return all results or only up to a given limit. |
| Max Records | Maximum number of records to return when not returning all (range 1-500). |
| Advanced Filter | A JSON string containing a "filter" array with Autotask API query criteria to specify which records to retrieve. |
| Add Picklist Labels | Whether to automatically add "_label" fields for picklist fields with human-readable values (no labels added for empty values). |
| Add Reference Labels | Whether to automatically add "_label" fields for reference fields with human-readable values (no labels added for empty values). |
| Select Columns Names or IDs. | Choose which fields to include in the response. If no fields are selected, all fields will be returned. The ID field is always included regardless of selection. |
| Flatten User-Defined Fields | Whether to bring user-defined fields up to the top level of each object instead of being nested in the userDefinedFields array. |
Output
JSON
id- Unique identifier of the contract role cost record.contractID- Identifier of the associated contract.roleID- Identifier of the role associated with the cost.cost- Cost value associated with the contract role.effectiveDate- Date from which the cost is effective.expirationDate- Date until which the cost is valid.userDefinedFields- Array of user-defined fields related to the contract role cost, if not flattened.
_label - Human-readable label for picklist or reference fields if label addition is enabled.
Dependencies
- An API key credential for Autotask PSA REST API authentication.
Troubleshooting
- Ensure the advanced filter JSON string is correctly formatted and valid according to Autotask API query criteria to avoid query errors.
- If the node returns no data, verify that the filter criteria match existing contract role cost records in the Autotask system.
- Check API credentials and permissions to ensure access to contract role cost data is granted.
- If the maximum records limit is set too low, increase it or enable 'Get All' to retrieve more records.
Links
- Autotask API Basic Query Calls - Official Autotask API documentation for constructing advanced query filters.