Re: Webhooks and XML...

Anonymous
Not applicable

Webhooks and XML...

Am trying to map the response to a Marketo field but not having any luck.
If my webservice returns:
<?xml version="1.0" encoding="UTF-8"?>
<string ><Results>
<Table> <ProductCode>45321</ProductCode>  <StoreCode>5044</StoreCode> </Table>
<Table> <ProductCode>45321</ProductCode>  <StoreCode>5045</StoreCode> </Table>
</Results>
</string>
Is there a way to map elements from the first element of my table?  How would i reference it in the UI?
Thanks
Tags (1)
2 REPLIES 2
Anonymous
Not applicable

Re: Webhooks and XML...

I bet it may not like the "string" and "table" tags. Can you mock up a dummy service without those (or modify yours) and see if that works for you?
Anonymous
Not applicable

Re: Webhooks and XML...

Are there any examples of mapping XML responses to the "Response Mappings" of a Webhook? I can't seem to find any, and structuring these response mappings from an XML response to put data into fields doesn't seem to be explained anywhere, leaving only trial and error. Hopefully, a client would never require a service to change to support it. Is there a place to find sample mappings?