Not able to retrieve associated entity in post request

0
Hi, I have task and image entity associated with one to one mapping. I have exposed REST service which should accept task and it's associated image as record in body and  need to save it in database through post request. Below I have screenshots for domain model, import mapping and REST api: While testing , I am not able to retrieve associated image entity for task in body though I had mapped it correctly as per my understanding. Could anyone help me to guide what I should require to have associated image with task entity in the body  ?
asked
1 answers
1

Can you try to apply the mapping before your POST action and store it in a string. Is it showing your image? If so, the problem is on the rest service, not understanding your body. If not, your problem is already in the mapping or your data.

answered