Actions1078
- 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
- Contract Service Unit Actions
- Country Actions
- Department Actions
- Domain Registrar Actions
- Expense Item Actions
- Expense Item Attachment Actions
- Expense Report Actions
- Holiday Actions
- Holiday Set Actions
- Invoice Actions
- Notification History Actions
- Opportunity Actions
- Opportunity Attachment Actions
- Opportunity Category Actions
- Product Actions
- Product Vendor Actions
- Project Actions
- Project Charge Actions
- Project Note Actions
- Project Phase Actions
- Project Task Actions
- Project Task Secondary Resources Actions
- Purchase Approval Actions
- Purchase Order Actions
- Purchase Order Item Actions
- Purchase Order Item Receiving Actions
- Quote Actions
- Quote Item Actions
- Quote Location Actions
- Quote Template Actions
- Resource Actions
- Resource Role Actions
- Resource Role Queue Actions
- Resource Skill Actions
- Resource Time Off Additional Actions
- Resource Time Off Approver Actions
- Resource Time Off Balance Actions
- Role Actions
- Search Filter Actions
- Service Actions
- Service Call Actions
- Service Call Ticket Actions
- Service Call Ticket Resource Actions
- Service Call Task Actions
- Service Call Task Resource Actions
- Service Level Agreement Result Actions
- Skill Actions
- Survey Actions
- Survey Results Actions
- Subscription Actions
- Subscription Period Actions
- Tag Actions
- Tag Alias Actions
- Tag Group Actions
- Ticket Actions
- Ticket Additional Configuration Item Actions
- Ticket Additional Contact Actions
- Ticket Attachment Actions
- Ticket Category Actions
- Ticket Category Field Default Actions
- Ticket Change Request Approval Actions
- Ticket Charge Actions
- Ticket Checklist Item Actions
- Ticket Checklist Library Actions
- Ticket History Actions
- Ticket Note Actions
- Ticket Note Attachment Actions
- Ticket Note Webhook Actions
- Ticket Secondary Resource Actions
- Ticket Webhook Actions
- Time Entry Actions
- Time Entry Attachment Actions
- Time Off Request Actions
- User Defined Field Definition Actions
- User Defined Field List Item Actions
Purchase Order Item → Get Many (Advanced)
AI-generatedSummary
Retrieves multiple Purchase Order Items from Autotask using a JSON advanced filter query. The filter must contain a "filter" array with Autotask API query criteria. The operation supports returning all matching results or a limited number specified by 'maxRecords' (1-500). Note that if 'MaxRecords' is specified inside the advanced filter JSON, it must be an integer between 1 and 500; otherwise, the API may return an HTTP 500 error. Additional options control inclusion of human-readable labels for picklist and reference fields, field selection, and whether user-defined fields are flattened to top-level properties.
Inputs
- advancedFilter (required) — A JSON string containing a 'filter' array with Autotask API query criteria.
- returnAll — Whether to return all results or only up to a given limit.
- maxRecords — Max number of records to return (1-500).
- addPicklistLabels — Whether to automatically add '_label' fields for picklist fields with human-readable values.
- addReferenceLabels — Whether to automatically add '_label' fields for reference fields with human-readable values.
- selectColumns — Choose which fields to include in the response. If no fields are selected, all fields will be returned.
- flattenUdfs — Whether to bring user-defined fields up to the top level of each object.
Output shape
a list of items, each representing a Purchase Order Item with all selected fields.
The ID field is always included regardless of selection. UDFs are nested in 'userDefinedFields' by default unless 'Flatten User-Defined Fields' is enabled.
Examples
Example 1: Fetch all active Purchase Order Items
Set 'returnAll' to true, 'advancedFilter' to [ { 'fieldName': 'status', 'operator': 'equals', 'value': 'Active' } ], and ensure 'addPicklistLabels' is true for readable status values.
Example 2: Retrieve a specific list of Purchase Order Items by ID
Set 'advancedFilter' to [ { 'fieldName': 'id', 'operator': 'in', 'value': [ 1, 2, 3 ] } ], 'selectColumns' to [ 'id', 'purchaseOrderID', 'itemNumber' ], and 'maxRecords' to 3.