docuflow BAPI Web Services
Docuflow provides two end points to access SAP BAPI's. Using the GET request on the "any" endpoint we can retrieve what data is available to the developer. Docuflow BAPI web services use basic authorization with a default username: docuflow, and a default password: docuflow. Ensure SSL cert validation is disabled prior to accessing the web services.
The following examples can be imported into Insomnia Rest Client via this link: https://docuflow.box.com/s/em0ckv2zarcai15cr5az6rewxvfw18p5
For example using a get request, https://localhost:82/bapi/any?bapi=BAPI_INCOMINGINVOICE_CREATE would return the following data below:
We can use this response to learn what all the available fields/data are available in that particular bapi.
To send data to BAPI_INCOMINGINVOICE_CREATE we would send a post request to https://localhost:82/bapi/any using the json body included in this link:
You should see the following json response here
Notice in the export parameters the response given from the BAPI that was executed

Another example is given here with BAPI_PO_CHANGE using post.
and it's corresponding response,
Common tables to look at for response from SAP are the return table, and the export parameters.
