Resuming Assets
You can invoke this global method to resume suspended assets.
API |
Signature |
---|---|
resumeAssets |
static Apttus_Config2.CPQStruct.ResumeAssetResponseDO resumeAssets(Apttus_Config2.CPQStruct.ResumeAssetRequestDO request) |
Parameters |
||
---|---|---|
Name |
Type |
Description |
Request | Apttus_Config2.CPQStruct. ResumeAssetRequestDO |
Request object invoked by the method |
Request Data Object - Apttus_Config2.CPQStruct. ResumeAssetRequestDO |
|||
---|---|---|---|
Field |
Type |
Description |
Is Required |
assetIds | List<Id> |
List of asset IDs to be resumed. |
Yes |
CartId | Id |
Product configuration ID. |
Yes |
CustomData | Map<String, String> |
Custom field values to be updated. For example, you can pass the reason for resumption as custom data. You can pass more than one custom field. |
No |
NewStartDate | Date |
New start date for the resumed assets. Tip:
This parameter will be effective in future when Conga CPQ supports the resumption of assets from the date specified in this parameter. |
No |
Response Data Object - Apttus_Config2.CPQStruct. ResumeAssetResponseDO |
||
---|---|---|
Field |
Type |
Description |
Errors | List<String> |
Contains errors messages if any operations failed. |
IsSuccess | Boolean |
Indicates whether the resume asset operation is successful. |
LineItemMap | Map <ID, Apttus_Config2__LineItem__c> |
Indicates the line items to be resumed. |
Code Sample
The following code sample helps you suspend assets.