3.1.5.8.2.3.1.3.2 Response Body

The format for the response body for the routes GET ALL method is as follows.

 {
   "value": [
     {
       "resourceRef": "/logicalNetworks/testln/subnets/lnsubnet1/routes/lnroute1",
       "resourceId": "lnroute1",
       "etag": "W/\"6b69784b-5bcc-4724-a2ab-4eab0fafdf7e\"",
       "instanceId": "93229775-761a-448e-a9eb-df2ea3878f8a",
       "properties": {
         "provisioningState": "Succeeded",
         "destination": "192.168.1.252/31",
         "nextHop": "192.168.1.1"
       }
     },
     {
       "resourceRef": "/logicalNetworks/testln/subnets/lnsubnet1/routes/lnroute2",
       "resourceId": "lnroute2",
       "etag": "W/\"6b69784b-5bcc-4724-a2ab-4eab0fafdf7e\"",
       "instanceId": "1ae56b5f-5b8d-49dd-8d52-40cc6b02face",
       "properties": {
         "provisioningState": "Succeeded",
         "destination": "192.168.1.128/31",
         "nextHop": "192.168.1.1"
       }
     }
   ],
   "nextLink": ""
 }

The JSON schema for the routes GET ALL method is contained within the logicalNetworks GET schema in section 6.8.2.