This API gets the approval history associated with the approval request. This API accepts the approval request object as an input parameter and returns a list of the approval history objects.

APISignature
getApprovalHistorywebService static List getApprovalHistory(Apttus_Approval__Approval_Request__c requestSO)
Request Parameters
NameTypeRequired?Description

Approval_Request__c requestSO

ObjectYesThe approval request object.
Response Parameter
NameTypeDescription
approvalHistorySOList<Approval_Request__c>List of approval history objects.