Hi Everybody,
Need help. The request is of JSON type shown below, it has an array called billNumbers which is dynamic (can have 0 or more bill numbers in it).
Based on your description of the token example, it looks like you're hardcoding a templated XML response..
There's a JSON to XML policy for converting JSON to XML. You could reformat your json and use that policy. Or you could use JSON to XML and then an XSLT to change the XML structure if necessary.
https://cloud.google.com/apigee/docs/api-platform/reference/policies/json-xml-policy
https://cloud.google.com/apigee/docs/api-platform/reference/policies/xsl-transform-policy