---
schema_version: "1"
id: e37e0043d20ab5b1d766c788d561963881923017c2e8749f45c476d19a7db6a3
title: Get Assets of an Account Invocable Action
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/comms_invocable_action_get_assets_of_an_account.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_invocable_action_get_assets_of_an_account.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 3e40471228ed715e1e5d2b4443abd08848f92895cf91d4d27855e8dbfba4d525
description: Use this action to get a list of assets that are associated with an account based on specified inputs. For example, your current customer wants to upgrade their Dedicated Internet Line - 1 Gbps to 2 Gbps, and change their VoIP calling plan. As a sales rep, you want to identify the specific internet line and VoIP service asset. With this action, you can get a list of assets that are available for a particular account.
products:
  - Communications
  - Media
  - Energy and Utilities
release: "264"
---
# Get Assets of an Account Invocable Action

Use this action to get a list of assets that are associated with an account based on specified inputs. For example, your current customer wants to upgrade their Dedicated Internet Line - 1 Gbps to 2 Gbps, and change their VoIP calling plan. As a sales rep, you want to identify the specific internet line and VoIP service asset. With this action, you can get a list of assets that are available for a particular account.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr></tbody></table>

## Industries CPQ API Used to Invoke Get Assets of an Account Invocable Action

- getAllAssets

## Input Values

| Parameter | description | data type |
| --- | --- | --- |
| accountId | Optional. The ID of the account record associated with an asset. | String |
| currentPage | Optional. The page number that consists the assets to display. The default value is 1. | Integer |
| filters | Optional. A comma-delimited list of filters that decides which assets to retrieve. | String |
| fields | Optional. The comma-delimited list of fields to retrieve for an asset. | String |
| offsetSize | Optional. The offset from which you want to start reading products for pagination. The default value is 0. | Integer |
| pagesize | Optional. The number of assets to retrieve. The default value is 10. | Integer |
| query | Optional. The text that was provided as a search input to filter assets. | String |
| noFilteredResponse | Optional. A Boolean value that indicates whether to provide the response without filtering. The default value is false. | String |

## Output Values

| Parameter | description | data type |
| --- | --- | --- |
| error | An error due to which the assets weren’t retrieved. | String |
| messages | A JSON string that includes the messages containing the details of the output. | List of String |
| records | A JSON string that includes the details of the assets that were retrieved. | List of String |
| totalSize | The number of assets that were retrieved. | Integer |

## Example

JSON Request

```json
accountId = (001Dn00001HfcZyIAJ)
pagesize = 10
filter = amindev_242__OneTimeTotal__c:>9,InstallDate:<=06-08-2025
   
```

JSON Response Body

```json
totalSize (5)
records ([{"OneTimeTotal__c":{"value":700.00},"OneTimeCharge__c":{"value":700.00},"Quantity":{"value":1.00},"Id":{"value":"02iDn000008r1GpIAI"},"Product2":{"Id":"01tDn000000YJOiIAO"},"Name":"iPhone 11 Pro"}, {"OneTimeTotal__c":{"value":0.00},"OneTimeCharge__c":{"value":0.00},"Quantity":{"value":1.00},"Id":{"value":"02iDn000008r1GqIAI"},"Product2":{"Id":"01tDn000000YJQHIA4"},"Name":"2 GB 30 Days"}, {"OneTimeTotal__c":{"value":0.00},"OneTimeCharge__c":{"value":0.00},"Quantity":{"value":1.00},"Id":{"value":"02iDn000008r1GrIAI"},"Product2":{"Id":"01tDn000000YJQMIA4"},"Name":"Business Postpaid Enhanced Plan"}, {"OneTimeTotal__c":{"value":0.00},"OneTimeCharge__c":{"value":0.00},"Quantity":{"value":1.00},"Id":{"value":"02iDn000008r1GxIAI"},"Product2":{"Id":"01tDn000000YJQOIA4"},"Name":"Business Postpaid PRO Plan"}, {"OneTimeTotal__c":{"value":500.00},"OneTimeCharge__c":{"value":0.00},"Quantity":{"value":1.00},"Id":{"value":"02iDn000008r1H3IAI"},"Product2":{"Id":"01tDn000000YJPsIAO"},"Name":"Business Internet Essential"}])
messages ([])
error (null)
```