Is there a way to use the same entities in a consumed rest service across multiple REST requests?

0
I have multiple rest services, some of which are similar end points that use similar objects (Create user and then update user, which has a couple extra entities attached) When I created my first rest service it created my entities however now that I am creating the update user service it wants to recreate the entities, I have a few other endpoints that need to use these same entities too so is there a way to share them? By the end I could have up to 6 or 7 duplicates of about 8 entities so would much rather combine them into 1
asked
1 answers
1

Hi Ryan Ellis,

This is indeed a bit weird behaviour of the Consumed REST Service, but true: it's not possible to reuse entities in your domain model for multiple operations.

I would recommend to use Call REST Service activity in microflows, that is the 'old' implementation where you have more control over the steps taken. You then need an import mapping where you have full control over how entities and attributes are mapped.

Good luck!

Johan

answered