---
schema_version: "1"
id: f3c10a143f6cc4b69fa1bb736325a23f63e99a31445310b37ae5ecb57191a219
title: Get Asset Pricing
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/industries/cme/guides/comms-get-asset-pricing.md
canonical_url: https://developer.salesforce.com/docs/industries/cme/guide/comms-get-asset-pricing.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 73ae88ed0666c461d5b0b6e86b0de519b0e1230b8c3750dac85a5a67d48ca743
products:
  - Communications, Media, Energy and Utilities APIs (Managed Package)
  - Industries Developer Documentation
---
# Get Asset Pricing

Retrieve pricing details for a price field for the specified cart and line item. Supported by Pricing ElementServiceImplementation.

```nolang
GET /v2/assets/{ID}/pricing?accountId={account_ID}
```


## Remote Method

```nolang
getAssetPriceDetail
```

## Handlers

```nolang
REST endpoint: APIAssetsPricingV2.cls
Implementation: CpqAssetsAccountsActionV2.cls
```

## Apex Remote Service

```nolang
CpqAppHandler
```


## Apex Remote Input Map

```nolang
{
   "methodName": "getAssetPriceDetail",
   "id": "02i46000000htMrAAI",
   "accountId": "0014600000qExFDAA0",
   "effectiveAssetsDateFilter": "2017-11-06T00:00:00Z"
}
```

## Package

Communication (vlocity_cmt)

## API Parameters and Response Format

For API parameter names and descriptions, see [Cart-Based API Swagger Reference](https://developer.salesforce.com/docs/industries/cme/references/cpq?meta=Summary).


## Resource Information

| Response Format | JSON                                                                         |
| --------------- | ---------------------------------------------------------------------------- |
| Resource URL    | /services/apexrest/{namespace}/v2/assets/{ID}/pricing?accountId={account_ID} |

## Example Request

```nolang
GET
/services/apexrest/vlocity_cmt/v2/assets/02i46000000htMrAAI/pricing?accountId=0014600000qExFDAA0&effectiveAssetsDateFilter=2017-11-06T00:00:00Z
```

## Example Response

```nolang
{
  "totalSize": 1,
  "messages": [],
  "records": [
    {
      "messages": [],
      "displaySequence": -1,
      "id": "02i46000000htMrAAI",
      "vlocity_cmt__OneTimeCharge__c": {
        "pricedetail": [
          {
            "actions": {},
            "DetailType": "PRICE",
            "Description": "Product B Base $100 Charge",
            "StartValue": 100,
            "EndValue": 100,
            "AdjustmentType": "None",
            "AdjustmentMethod": null,
            "AdjustmentValue": 0
          }
        ]
      },
      "vlocity_cmt__OneTimeCalculatedPrice__c": {
        "pricedetail": [
          {
            "actions": {},
            "DetailType": null,
            "Description": "One Time Charge (100.00) - One Time Manual Discount (0.00%)",
            "StartValue": null,
            "EndValue": null,
            "AdjustmentType": null,
            "AdjustmentMethod": null,
            "AdjustmentValue": null
          }
        ]
      },
      "vlocity_cmt__OneTimeTotal__c": {
        "pricedetail": [
          {
            "actions": {},
            "DetailType": null,
            "Description": "[One Time Calculated Price (100.00) + Rollup One Time Total (0.00)] x Quantity (1.00)",
            "StartValue": null,
            "EndValue": null,
            "AdjustmentType": null,
            "AdjustmentMethod": null,
            "AdjustmentValue": null
          }
        ]
      },
      "vlocity_cmt__RecurringCharge__c": {
        "pricedetail": [
          {
            "actions": {},
            "DetailType": "PRICE",
            "Description": "$10 MRC",
            "StartValue": 10,
            "EndValue": 10,
            "AdjustmentType": "None",
            "AdjustmentMethod": null,
            "AdjustmentValue": 0
          },
          {
            "actions": {},
            "DetailType": "ADJUSTMENT",
            "Description": "Markup applied by Agent",
            "StartValue": 10,
            "EndValue": 15,
            "AdjustmentType": "Markup",
            "AdjustmentMethod": "Percent",
            "AdjustmentValue": 50
          }
        ]
      },
      "vlocity_cmt__RecurringCalculatedPrice__c": {
        "pricedetail": [
          {
            "actions": {},
            "DetailType": null,
            "Description": "Recurring Charge (15.0000) - Recurring Manual Discount (0.00%)",
            "StartValue": null,
            "EndValue": null,
            "AdjustmentType": null,
            "AdjustmentMethod": null,
            "AdjustmentValue": null
          }
        ]
      },
      "vlocity_cmt__RecurringTotal__c": {
        "pricedetail": [
          {
            "actions": {},
            "DetailType": null,
            "Description": "[Recurring Calculated Price (15.00) + Rollup Recurring Total (0.00)] x Quantity (1.00)",
            "StartValue": null,
            "EndValue": null,
            "AdjustmentType": null,
            "AdjustmentMethod": null,
            "AdjustmentValue": null
          }
        ]
      }
    }
  ]
}
```
