Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

JSON:

Code Block
languagejs
[
    {
        "id": "1",
        "name": "Zone 1",
        "regions": [
            {
                "id": "1.1",
                "zoneId": "1",
                "name":"Region 1.1",
                "zoneDescription": "Zone description"
            }
        ]
    },
    {
        "id": "2",
        "name": "Zone 2",
        "regions": [
            {
                "id": "2.1",
                "zoneId": "2",
                "name": "Region 2.1",
                "zoneDescription": "Zone description"
            }
        ]
    }
]

XML:

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<zones>
    <zone>
        <id>1</id>
        <name>Zone 1</name>
        <regions>
            <id>1.1</id>
            <name>Region 1.1</name>
            <zoneDescription>Zone description</zoneDescription>
            <zoneId>1</zoneId>
        </regions>
    </zone>
    <zone>
        <id>2</id>
        <name>Zone 2</name>
        <regions>
            <id>2.1</id>
            <name>Region 2.1</name>
            <zoneDescription>Zone description</zoneDescription>
            <zoneId>2</zoneId>
        </regions>
    </zone>
</zones>

Response parameters:

...