I have an API that is returning product information, the product information is a queue and it has three child queues.
When I request the data returned in JSON the data formats correctly:
{
"response": {
"product": [
{
"productid": 1,
"title": "test2",
"explicitlyrics": "",
"marketinginfo": "",
"tracklist": [
{
"diskno": 1,
"sideno": 1,
"trackno": 0,
"trackname": "Mr Right Side",
"duration": 0,
"isrc": "",
"contributors": "",
"lastmodified": 0
}
],
"videolinks": [
{
"linkurl": "https:\\\\mytest.com\\videohere.mp3"
}
],
"artworklinks": [
{
"linkurl": "https:\\\\mytest.com\\artwork1.jpg"
},
{
"linkurl": "https:\\\\mytest.com\\artwork2.png"
}
]
}
],
"skippedrecords": "0",
"resultcomplete": "1",
}
However when I request application/xml the child queues do not format correctly:
<?xml version="1.0" encoding="utf-8"?>
<response xmlns="ProperAPI">
<product>
<productid>1</productid>
<title>test2</title>
<explicitlyrics/>
<marketinginfo/>
<tracklist>???</tracklist>
<videolinks>???</videolinks>
<artworklinks>
Any ideas what I can look at / change?