[
{
"id": "12024",
"name": "Chocolate Cookies",
"quantity": 1500
},
{
"id": "60294",
"name": "Spicy Crackers",
"quantity": 4000
},
{
"id": "36730",
"name": "Butter Cookies",
"quantity": 3200
},
{
"id": "53912",
"name": "Ginger Nuts",
"quantity": 1800
},
{
"id": "73741",
"name": "Vanilla Wafers",
"quantity": 2500
}
]
The ordering system of Happy Confectionery Limited accepts orders through its HTTP web service
interface, but unfortunately it can only understand the order requests in the XML format shown
below. As
a result Cookie Mart cannot directly use the JSON request generated by its stock management system
to
place orders to Happy Confectionery Limited.
<?xml version="1.0" encoding="UTF-8"?>
<hcl:order xmlns:hcl="http://hcl.biscuits">
<hcl:product>
<hcl:id>12024</hcl:id>
<hcl:name>Chocolate Cookies</hcl:name>
<hcl:quantity>1500</hcl:quantity>
</hcl:product>
<hcl:product>
<hcl:id>60294</hcl:id>
<hcl:name>Spicy Crackers</hcl:name>
<hcl:quantity>4000</hcl:quantity>
</hcl:product>
<hcl:product>
<hcl:id>36730</hcl:id>
<hcl:name>Butter Cookies</hcl:name>
<hcl:quantity>3200</hcl:quantity>
</hcl:product>
<hcl:product>
<hcl:id>53912</hcl:id>
<hcl:name>Ginger Nuts</hcl:name>
<hcl:quantity>1800</hcl:quantity>
</hcl:product>
<hcl:product>
<hcl:id>73741</hcl:id>
<hcl:name>Vanilla Wafers</hcl:name>
<hcl:quantity>2500</hcl:quantity>
</hcl:product>
</hcl:order>
Version | 17.07 |
Vendor | AdroitLogic |
Difficulty | Introductory |