Conga Product Documentation

Welcome to the new doc site. Some of your old bookmarks will no longer work. Please use the search bar to find your desired topic.

Creating Collaboration Request

This API provides functionality to create collaboration requests. When invoked, it generates a collaboration request record along with a child cart that includes the line items defined in the input parameters. Additionally, the collaboration request is automatically assigned to the user specified in the code, ensuring that the request is routed to the appropriate recipient for action..

API

Signature

createCollaborationRequest

static Apttus_Config2.CollabStruct.CreateCRResponseDO createCollaborationRequest(Apttus_Config2.CollabStruct.CreateCRRequestDO requestDO)

Request Parameter

Name

Type

Description

parentConfigIdID

The ID of the parent configuration record.

parentLineItemIdsLIST

A list of parent line item IDs to be associated with the collaboration.

collaborationRequestSOObject

Collaboration request object that defines priority, type, and owner.

Response Parameters

Field

Type

Description

successBoolean

Indicates whether the request was successfully created.

collaborationRequestIdIDThe ID of the newly created collaboration request.
messageStringStatus message or error

Code Sample

The sample code below enables you to create collaboration request. After the API is executed, the collaboration request is created.

Apttus_Config2.CollabStruct.CreateCRResponseDO createCRResponse = Apttus_Config2.QuoteCollaborationService.createCollaborationRequest(CRD);
System.debug('createCRResponse'+createCRResponse);