Merge Collaboration Request
This API merges the child cart associated with a collaboration request into the parent cart.
API | Signature |
|---|---|
| mergeCollaborationRequest | static Apttus_Config2.CollabStruct.MergeCRResponseDO mergeCollaborationRequest(Apttus_Config2.CollabStruct.MergeCRRequestDO requestDO) |
Request Parameter | ||
|---|---|---|
Name | Type | Description |
| collaborationRequestID | ID | The ID of the collaboration request. |
Response Parameters | ||
|---|---|---|
Field | Type | Description |
| success | Boolean | Indicates whether the request was successfully created. |
| collaborationRequestId | ID | The ID of the newly created collaboration request. |
| message | String | Status message or error. |
| status | String | New status of the collaboration. For example, 'Submitted'. |
Code Sample
The sample code below enables you to Merge the changes made for collaboration request. After the API is executed, the collaboration request is created.
Apttus_Config2.CollabStruct.MergeCRRequestDO();
mergeRequestDO.collaborationRequestID = 'a4abn000000yrJBAAY';
Apttus_Config2.CollabStruct.MergeCRResponseDO mergeResponseDO = Apttus_Config2.QuoteCollaborationService.mergeCollaborationRequest (mergeRequestDO);
System.debug('Merge Response DO : '+mergeResponseDO);
