We are working on reporting using API's, to join the assignment and form API we would like to determine the assignment ID on the form. As you probably know the assignment ID is an automatically generated ID which is unique for every approver of the step. What we want is to get the assignment ID of the current approver in the form. If this is not possible we would like to know if there is a different join you would recommend?
Only possible to achieve the same is by using the Request ID ; so basically you can achieve this by having Form Name template and then the element you will be using for Form Name template mark it as available for reporting.See screenshot attached.
For the API's user can go through the below link