Change Assets
You can invoke this API to change the value of assets.
API |
Signature |
---|---|
changeAssets |
WebService static Apttus_CPQApi.CPQAsset.ChangeAssetsResponseDO changeAssets(Apttus_CPQApi.CPQAsset.ChangeAssetsRequestDO request) |
Parameters |
||
---|---|---|
Name |
Type |
Description |
request | Apttus_CPQApi.CPQAsset.ChangeAssetsRequestDO |
Request object passed by the invoker method. |
Request Data Object - Apttus_CPQApi.CPQAsset.ChangeAssetsRequestDO |
||
---|---|---|
Name |
Type |
Description |
AssetIds | List<ID> |
List of asset IDs to be amended. |
CartId | ID |
ID of the cart for which an asset is being amended. |
Response Data Object - Apttus_CPQApi.CPQAsset.ChangeAssetsResponseDO |
||
---|---|---|
Field |
Type |
Description |
LineItemMap | List<LineItemEntryDO> |
Line items that are amended. |
Errors | List<String> |
List of error messages if any error occurred. |
LineItemEntryDO |
||
---|---|---|
Name |
Type |
Description |
LineItemId | ID |
Lineitem ID |
LineItemSO | Apttus_Config2__LineItem__c |
LineItem SObject |
Code Sample
The following code sample helps you change the value of assets.