In my blog I have deconstructed a step-by-step workflow, My debugging was playing with smartui and Fiddler observing the payload
https://appukili.wordpress.com/2022/04/17/take-some-rest/
The link called
WF REST API EXPERIMENTS.docx explains this
As I said if this cannot be understood ask OT to create a simple sample explaining everything once more.