AP Invoice REST API to get invoice rejected reason comments based on invoice id
Summary:
AP Invoice REST API to get invoice rejected reason comments based on invoice id.
GET /fscmRestApi/resources/11.13.18.05/invoiceApprovalsAndNotificationsHistory/ only gives workflow action (Approved / Rejected). But we want to get the comments added by the approver in the BPM workflow.
taskId and SequenceNumber are mandatory parameters for WorkflowNotificationContents API.
/fscmRestApi/resources/11.13.18.05/workflowNotificationContents/{taskId}/child/ApprovalActivities/{SequenceNumber}/child/
Please suggest a way to fetch the comments based on invoice id or approval history id.
Content (please ensure you mask any confidential information):
Version (include the version you are using, if applicable):
26B
Code Snippet (add any code snippets that support your topic, if applicable):