Order Management Order Management for SOAP API Developers API Reference Order Web Service Current: Accepting an Order PDF Download PDF Download page Accepting an Order. Current page All pages Accepting an Order This API finalizes a draft order on customer confirmation. Accepting an order performs the following functions:IF Auto Activate Order = FalseOrder and Order Line Item status is set to “Pending”.Asset Line Items are created in “Pending” status.If “Ready for Billing Date” is set, the billing schedule generation is initiated.IF Auto Activate Order = TrueOrder and Order Line Item status is set to “Activated”.Asset Line Items are created in “Activated” status.If “Ready for Billing Date” is set, the billing schedule generation is initiated.API DetailsAPISignatureacceptOrderwebService static Apttus_Config2.CPQStruct.AcceptOrderResponseDO acceptOrder(Apttus_Config2.CPQStruct.AcceptOrderRequestDO)ParametersNameTypeDescriptionRequestApttus_Config2.CPQStruct.AcceptOrderRequestDOThe request data object.Request Data Object - Apttus_Config2.CPQStruct.AcceptOrderRequestDOFieldTypeRequired?DescriptionOrderIdIDYesThe Id of the Order to be finalized.API ResponseResponse Data Object - CPQStruct.AcceptOrderResponeDOFieldTypeDescriptionIsSuccessbooleanSpecifies whether the order is finalized successfully.AssetLineItemsList<Apttus_Config2__AssetLineItem__c>List of Asset Line ItemsCode SampleThe following code sample enables you to finalize an order for a valid order with an Order Id. public void acceptOrder() { Apttus_Config2.CPQStruct.AcceptOrderRequestDO request = new Apttus_Config2.CPQStruct.AcceptOrderRequestDO(); request.OrderId = orderId; Apttus_Config2.CPQStruct.AcceptOrderResponseDO response = Apttus_Config2.OrderWebService.acceptOrder(request); ApexPages.addMessage(new ApexPages.Message(ApexPages.severity.info, 'acceptOrder :' + response.IsSuccess)); ApexPages.addMessage(new ApexPages.Message(ApexPages.severity.info, 'List of Assets :' + response.AssetItems)); } CODE Integration DetailsUse the following information in your integrations with Conga CPQ Web Services API. Refer to Integrating Conga with External Systems for information on how to get started.Request and Response XML Example Request <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ord="http://soap.sforce.com/schemas/class/Apttus_Config2/OrderWebService" xmlns:cpq="http://soap.sforce.com/schemas/class/Apttus_Config2/CPQStruct"> <soapenv:Header> <ord:SessionHeader> <ord:sessionId>00D7A0000009QII!ARUAQFmpeBOmsYS2JcADxYc4PxWoOkAHJP1JiNo5vtvnDBCEvfnWWWmO7pqbEXY7WadiCmm_Vib6MjhmgUbR8321tIO1NQRg</ord:sessionId> </ord:SessionHeader> </soapenv:Header> <soapenv:Body> <ord:acceptOrder> <ord:request> <cpq:OrderId>a2n7A0000002tviQAA</cpq:OrderId> </ord:request> </ord:acceptOrder> </soapenv:Body> </soapenv:Envelope> XML Example Response <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://soap.sforce.com/schemas/class/Apttus_Config2/OrderWebService" xmlns:AcceptOrderResponseDO="http://soap.sforce.com/schemas/class/Apttus_Config2/CPQStruct" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <acceptOrderResponse> <result> <AcceptOrderResponseDO:AssetItems xsi:nil="true"/> <AcceptOrderResponseDO:IsSuccess>true</AcceptOrderResponseDO:IsSuccess> </result> </acceptOrderResponse> </soapenv:Body> </soapenv:Envelope> XML ×