Developer forum

Forum » Integration » Response mappings

Response mappings

Michael Knudsen
Reply

What is the conditions to have the Response mappings feature available on the Actions button?  I have seen it on some integration jobs with OData as destination provider.

Br. Michael Knudsen


Replies

 
Rasmus Sanggaard Dynamicweb Employee
Rasmus Sanggaard
Reply

Hi Michael,

Yes, it is a feature of the OData provider. A POST request from OData sometimes returns the object, e.g., creating an order in BC returns the order object with the ID. Mapping the response back to DW then gives you the option to add the correct ID to the order in DW.

​See documentation: https://doc.dynamicweb.dev/manual/dynamicweb10/integration/setup/providers/odata-provider.html#response-mappings

 

BR Rasmus Sanggaard

 
Michael Knudsen
Reply

Hello Rasmus,

- I'm using the OData provider as destination for orders, but since I'm using the XML provider as source, the 'Response mappings' aren't shown. So maybe it only works if the source provider is a Order provider? Or Ecom provider? Or Dynamicweb provider?

Br. Michael Knudsen

 
Rasmus Sanggaard Dynamicweb Employee
Rasmus Sanggaard
Reply
This post has been marked as an answer

Hi,

No, exactly—response mappings are only supported by SQL-based providers, not file-based ones. I don’t see the need for using a file provider when doing response mapping, as it’s usually used when you want to stamp an ID in the database. Otherwise, please enlighten me 🙂

BR Rasmus Sanggaard

Votes for this answer: 1

 

You must be logged in to post in the forum