186 | | {"routes": [{"platforms": 41, "num": "20211019T0330-AA7044 |
187 | | OO", "id": 1033710, "itinerary": null, "wastebins": 84}, {"platforms": 167, "num": "20211019T0400-AA7041OO", "id": 1033722, "itinerary": nu |
188 | | ll, "wastebins": 248}, {"platforms": 55, "num": "20211019T0400-AA9180XE", "id": 1033723, "itinerary": null, "wastebins": 111}, {"platforms" |
189 | | : 5, "num": "20211019T0400-AA9183XE", "id": 1033721, "itinerary": null, "wastebins": 10}, {"platforms": 86, "num": "20211019T0405-AA5897BP" |
190 | | , "id": 1033711, "itinerary": null, "wastebins": 136}, {"platforms": 77, "num": "20211020T0400-AA7041OO", "id": 1033727, "itinerary": null, |
191 | | "wastebins": 131}, {"platforms": 1, "num": "20211020T0400-AA9183XE", "id": 1033729, "itinerary": null, "wastebins": 2}, {"platforms": 108, |
192 | | "num": "20211020T0600-AA5895BP", "id": 1033720, "itinerary": null, "wastebins": 222}, {"platforms": 38, "num": "20211020T0800-AA7044OO", " |
193 | | id": 1033724, "itinerary": null, "wastebins": 78}, {"platforms": 46, "num": "20211021T0500-AA7044OO", "id": 1033728, "itinerary": null, "wa |
194 | | stebins": 85}, {"platforms": 77, "num": "20211021T0800-AA5895BP", "id": 1033730, "itinerary": null, "wastebins": 125}], "success": true} |
| 186 | { |
| 187 | "routes": [ |
| 188 | { |
| 189 | "platforms": 41, |
| 190 | "num": "20211019T0330-AA7044OO", |
| 191 | "id": 1033710, |
| 192 | "itinerary": null, |
| 193 | "wastebins": 84 |
| 194 | }, |
| 195 | { |
| 196 | "platforms": 167, |
| 197 | "num": "20211019T0400-AA7041OO", |
| 198 | "id": 1033722, |
| 199 | "itinerary": null, |
| 200 | "wastebins": 248 |
| 201 | }, |
| 202 | { |
| 203 | "platforms": 55, |
| 204 | "num": "20211019T0400-AA9180XE", |
| 205 | "id": 1033723, |
| 206 | "itinerary": null, |
| 207 | "wastebins": 111 |
| 208 | }, |
| 209 | { |
| 210 | "platforms": 5, |
| 211 | "num": "20211019T0400-AA9183XE", |
| 212 | "id": 1033721, |
| 213 | "itinerary": null, |
| 214 | "wastebins": 10 |
| 215 | }, |
| 216 | { |
| 217 | "platforms": 86, |
| 218 | "num": "20211019T0405-AA5897BP", |
| 219 | "id": 1033711, |
| 220 | "itinerary": null, |
| 221 | "wastebins": 136 |
| 222 | }, |
| 223 | { |
| 224 | "platforms": 77, |
| 225 | "num": "20211020T0400-AA7041OO", |
| 226 | "id": 1033727, |
| 227 | "itinerary": null, |
| 228 | "wastebins": 131 |
| 229 | }, |
| 230 | { |
| 231 | "platforms": 1, |
| 232 | "num": "20211020T0400-AA9183XE", |
| 233 | "id": 1033729, |
| 234 | "itinerary": null, |
| 235 | "wastebins": 2 |
| 236 | }, |
| 237 | { |
| 238 | "platforms": 108, |
| 239 | "num": "20211020T0600-AA5895BP", |
| 240 | "id": 1033720, |
| 241 | "itinerary": null, |
| 242 | "wastebins": 222 |
| 243 | }, |
| 244 | { |
| 245 | "platforms": 38, |
| 246 | "num": "20211020T0800-AA7044OO", |
| 247 | "id": 1033724, |
| 248 | "itinerary": null, |
| 249 | "wastebins": 78 |
| 250 | }, |
| 251 | { |
| 252 | "platforms": 46, |
| 253 | "num": "20211021T0500-AA7044OO", |
| 254 | "id": 1033728, |
| 255 | "itinerary": null, |
| 256 | "wastebins": 85 |
| 257 | }, |
| 258 | { |
| 259 | "platforms": 77, |
| 260 | "num": "20211021T0800-AA5895BP", |
| 261 | "id": 1033730, |
| 262 | "itinerary": null, |
| 263 | "wastebins": 125 |
| 264 | } |
| 265 | ], |
| 266 | "success": true |
| 267 | } |
206 | | {"event":"ROUTE_START","driver_id":1012651,"loader_id":1012652,"route_id":1033710,"date":1634810020725,"device_id":"1789fa18ad90ba55"} |
207 | | }}} |
208 | | |
209 | | Ответ: |
210 | | {{{ |
211 | | {"skipped": [], "trip_id": 1033731, "success": true} |
212 | | }}} |
213 | | |
214 | | |
215 | | === Событие "Приступили к уборке" === |
216 | | |
217 | | Запрос: |
218 | | {{{ |
219 | | {"event":"ON_SHIFT","route_id":1033710,"device_id":"1789fa18ad90ba55"} |
| 279 | { |
| 280 | "event": "ROUTE_START", |
| 281 | "driver_id": 1012651, |
| 282 | "loader_id": 1012652, |
| 283 | "route_id": 1033710, |
| 284 | "date": 1634810020725, |
| 285 | "device_id": "1789fa18ad90ba55" |
| 286 | } |
| 287 | }}} |
| 288 | |
| 289 | Ответ: |
| 290 | {{{ |
| 291 | { |
| 292 | "skipped": [], |
| 293 | "trip_id": 1033731, |
| 294 | "success": true |
| 295 | } |
| 296 | }}} |
| 297 | |
| 298 | |
| 299 | === Событие "Приступил к уборке" === |
| 300 | |
| 301 | Запрос: |
| 302 | {{{ |
| 303 | { |
| 304 | "event": "ON_SHIFT", |
| 305 | "route_id": 1033710, |
| 306 | "device_id": "1789fa18ad90ba55" |
| 307 | } |