|
87 | 87 | "responses": {
|
88 | 88 | "200": {
|
89 | 89 | "body": {
|
90 |
| - "summary": { |
91 |
| - "successfulRequests": 2, |
92 |
| - "totalRequests": 2 |
93 |
| - }, |
94 | 90 | "batchItems": [
|
95 | 91 | {
|
96 | 92 | "type": "FeatureCollection",
|
|
102 | 98 | "coordinates": []
|
103 | 99 | },
|
104 | 100 | "properties": {
|
| 101 | + "distanceInMeters": 2301, |
| 102 | + "durationInSeconds": 514, |
| 103 | + "departureTime": "2025-06-23T01:38:21+00:00", |
| 104 | + "arrivalTime": "2025-06-23T01:47:56+00:00", |
| 105 | + "durationTrafficInSeconds": 575, |
| 106 | + "trafficCongestion": "Mild", |
105 | 107 | "type": "RoutePath",
|
106 |
| - "resourceId": "v70,h1207959581,i0,a0,cen-US,dAMA8xD0s2wg1,y1,s1,m1,o1,t0,wWrdB7bfOR0C9UpYhjpVewA2~AJEAEzSxZiQBAADgAYsYlD4B0~N3RoIEF2ZQ2~~~~~~~~v12,w393KEp3NR0ASFhVxOpRewA2~AJEAEzQ5viQBAADgAaehWT4B0~RSBKZWZmZXJzb24gU3Q1~~~~~~~~v12,k0,n2", |
107 |
| - "distanceInMeters": 1432.9, |
108 |
| - "durationInSeconds": 524, |
109 |
| - "durationTrafficInSeconds": 554 |
| 108 | + "legs": [] |
110 | 109 | }
|
111 | 110 | }
|
112 | 111 | ],
|
113 |
| - "optionalId": "4C3681A6C8AA4AC3441412763A2A25C81444DC8B" |
| 112 | + "alternativeRoutes": [ |
| 113 | + { |
| 114 | + "type": "FeatureCollection", |
| 115 | + "features": [ |
| 116 | + { |
| 117 | + "type": "Feature", |
| 118 | + "geometry": { |
| 119 | + "type": "MultiLineString", |
| 120 | + "coordinates": [] |
| 121 | + }, |
| 122 | + "properties": { |
| 123 | + "distanceInMeters": 2297, |
| 124 | + "durationInSeconds": 586, |
| 125 | + "departureTime": "2025-06-23T01:38:21+00:00", |
| 126 | + "arrivalTime": "2025-06-23T01:49:38+00:00", |
| 127 | + "durationTrafficInSeconds": 677, |
| 128 | + "trafficCongestion": "Mild", |
| 129 | + "type": "RoutePath", |
| 130 | + "legs": [] |
| 131 | + } |
| 132 | + } |
| 133 | + ] |
| 134 | + }, |
| 135 | + { |
| 136 | + "type": "FeatureCollection", |
| 137 | + "features": [ |
| 138 | + { |
| 139 | + "type": "Feature", |
| 140 | + "geometry": { |
| 141 | + "type": "MultiLineString", |
| 142 | + "coordinates": [] |
| 143 | + }, |
| 144 | + "properties": { |
| 145 | + "distanceInMeters": 4253, |
| 146 | + "durationInSeconds": 621, |
| 147 | + "departureTime": "2025-06-23T01:38:21+00:00", |
| 148 | + "arrivalTime": "2025-06-23T01:50:50+00:00", |
| 149 | + "durationTrafficInSeconds": 749, |
| 150 | + "trafficCongestion": "Medium", |
| 151 | + "type": "RoutePath", |
| 152 | + "legs": [] |
| 153 | + } |
| 154 | + } |
| 155 | + ] |
| 156 | + } |
| 157 | + ] |
114 | 158 | },
|
115 | 159 | {
|
116 | 160 | "type": "FeatureCollection",
|
|
122 | 166 | "coordinates": []
|
123 | 167 | },
|
124 | 168 | "properties": {
|
| 169 | + "distanceInMeters": 2301, |
| 170 | + "durationInSeconds": 514, |
| 171 | + "departureTime": "2025-06-23T01:38:21+00:00", |
| 172 | + "arrivalTime": "2025-06-23T01:47:56+00:00", |
| 173 | + "durationTrafficInSeconds": 575, |
| 174 | + "trafficCongestion": "Mild", |
125 | 175 | "type": "RoutePath",
|
126 |
| - "resourceId": "v70,h1207959581,i0,a0,cen-US,dAMA8xD0s2wg1,y1,s1,m1,o1,t0,wWrdB7bfOR0C9UpYhjpVewA2~AJEAEzSxZiQBAADgAYsYlD4B0~N3RoIEF2ZQ2~~~~~~~~v12,w393KEp3NR0ASFhVxOpRewA2~AJEAEzQ5viQBAADgAaehWT4B0~RSBKZWZmZXJzb24gU3Q1~~~~~~~~v12,k0,n2", |
127 |
| - "distanceInMeters": 1432.9, |
128 |
| - "durationInSeconds": 524, |
129 |
| - "durationTrafficInSeconds": 554 |
| 176 | + "legs": [] |
130 | 177 | }
|
131 | 178 | }
|
132 | 179 | ],
|
133 |
| - "optionalId": "4C3681A6C8AA4AC3441412763A2A25C81444DC8B" |
134 |
| - } |
135 |
| - ] |
136 |
| - } |
137 |
| - }, |
138 |
| - "207": { |
139 |
| - "body": { |
140 |
| - "summary": { |
141 |
| - "successfulRequests": 1, |
142 |
| - "totalRequests": 2 |
143 |
| - }, |
144 |
| - "batchItems": [ |
145 |
| - { |
146 |
| - "type": "FeatureCollection", |
147 |
| - "features": [ |
| 180 | + "alternativeRoutes": [ |
148 | 181 | {
|
149 |
| - "type": "Feature", |
150 |
| - "geometry": { |
151 |
| - "type": "MultiLineString", |
152 |
| - "coordinates": [] |
153 |
| - }, |
154 |
| - "properties": { |
155 |
| - "type": "RoutePath", |
156 |
| - "resourceId": "v70,h1207959581,i0,a0,cen-US,dAMA8xD0s2wg1,y1,s1,m1,o1,t0,wWrdB7bfOR0C9UpYhjpVewA2~AJEAEzSxZiQBAADgAYsYlD4B0~N3RoIEF2ZQ2~~~~~~~~v12,w393KEp3NR0ASFhVxOpRewA2~AJEAEzQ5viQBAADgAaehWT4B0~RSBKZWZmZXJzb24gU3Q1~~~~~~~~v12,k0,n2", |
157 |
| - "distanceInMeters": 1432.9, |
158 |
| - "durationInSeconds": 524, |
159 |
| - "durationTrafficInSeconds": 554 |
160 |
| - } |
| 182 | + "type": "FeatureCollection", |
| 183 | + "features": [ |
| 184 | + { |
| 185 | + "type": "Feature", |
| 186 | + "geometry": { |
| 187 | + "type": "MultiLineString", |
| 188 | + "coordinates": [] |
| 189 | + }, |
| 190 | + "properties": { |
| 191 | + "distanceInMeters": 2297, |
| 192 | + "durationInSeconds": 586, |
| 193 | + "departureTime": "2025-06-23T01:38:21+00:00", |
| 194 | + "arrivalTime": "2025-06-23T01:49:38+00:00", |
| 195 | + "durationTrafficInSeconds": 677, |
| 196 | + "trafficCongestion": "Mild", |
| 197 | + "type": "RoutePath", |
| 198 | + "legs": [] |
| 199 | + } |
| 200 | + } |
| 201 | + ] |
| 202 | + }, |
| 203 | + { |
| 204 | + "type": "FeatureCollection", |
| 205 | + "features": [ |
| 206 | + { |
| 207 | + "type": "Feature", |
| 208 | + "geometry": { |
| 209 | + "type": "MultiLineString", |
| 210 | + "coordinates": [] |
| 211 | + }, |
| 212 | + "properties": { |
| 213 | + "distanceInMeters": 4253, |
| 214 | + "durationInSeconds": 621, |
| 215 | + "departureTime": "2025-06-23T01:38:21+00:00", |
| 216 | + "arrivalTime": "2025-06-23T01:50:50+00:00", |
| 217 | + "durationTrafficInSeconds": 749, |
| 218 | + "trafficCongestion": "Medium", |
| 219 | + "type": "RoutePath", |
| 220 | + "legs": [] |
| 221 | + } |
| 222 | + } |
| 223 | + ] |
161 | 224 | }
|
162 |
| - ], |
163 |
| - "optionalId": "4C3681A6C8AA4AC3441412763A2A25C81444DC8B" |
164 |
| - }, |
165 |
| - { |
166 |
| - "error": { |
167 |
| - "code": "400 BadRequest", |
168 |
| - "message": "Invalid request" |
169 |
| - } |
| 225 | + ] |
170 | 226 | }
|
171 |
| - ] |
| 227 | + ], |
| 228 | + "summary": { |
| 229 | + "successfulRequests": 2, |
| 230 | + "totalRequests": 2 |
| 231 | + } |
172 | 232 | }
|
173 | 233 | }
|
174 | 234 | }
|
|
0 commit comments