This API updates proposal object field values.

APISignature
updateProposalwebService static Boolean updateProposal(Apttus_Proposal__Proposal__c proposalSO)



Request Parameter
NameTypeDescription
proposalSOApttus_Proposal__Proposal__cThe proposal SObject



Response - Apttus_Proposal_Proposal_c
FieldTypeDescription
isSuccessBooleanIndicated whether the update was successful. The values returned are true and false.


Code Sample

The sample below enables you to update the proposal object field values.


/**
 * The below method demonstrates how to update existing proposal with modified field values.
 */
public static void updateProposalWithMultiFields(Apttus_Proposal__Proposal__c proposalSO) {
    Boolean updateStatus = false;
    updateStatus = Apttus_Proposal.ProposalWebService.updateProposal(proposalSO);
    System.debug('Have the field value updated? ' + updateStatus);
}
CODE

Integration Details

Use the following information in your integrations with Apttus CPQ Web Services API. Refer to Integrating Apttus with External Systems for information on how to get started.

Response/Request XML

Example Request (click to expand)

<soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:prop="http://soap.sforce.com/schemas/class/Apttus_Proposal/ProposalWebService">
    <soapenv:Header>
        <prop:SessionHeader>
            <prop:sessionId>00DZ000000NAEIA!ASAAQBtZlu4.YeuaMdf45TpRUpKEgxgWi30zUbCO161kylPP_RfOfumgPPciWIOobZst4.nxzgnmtZOs3hLjbUCWziADgmbo</prop:sessionId>
        </prop:SessionHeader>
    </soapenv:Header>
    <soapenv:Body>
        <prop:updateProposal>
            <prop:proposalSO>
                <prop:Id>a0eZ0000005pG5N</prop:Id>
                <prop:Apttus_QPConfig__PriceListId__c>a1DZ0000002mg5n</prop:Apttus_QPConfig__PriceListId__c>
                <prop:Apttus_Proposal__Account__c>001Z000001UtoRL</prop:Apttus_Proposal__Account__c>
            </prop:proposalSO>
        </prop:updateProposal>
    </soapenv:Body>
</soapenv:Envelope>
XML

Example Response (click to expand)

<soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns="http://soap.sforce.com/schemas/class/Apttus_Proposal/ProposalWebService">
    <soapenv:Body>
        <updateProposalResponse>
            <result>true</result>
        </updateProposalResponse>
    </soapenv:Body>
</soapenv:Envelope>
XML