Advertisement
Guest User

GET /devices?hubId=42

a guest
Aug 31st, 2016
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.40 KB | None | 0 0
  1. {
  2. "data": [{
  3. "id": 42,
  4. "title": "kesha",
  5. "type": "hub",
  6. "activated": true,
  7. "readOnly": false,
  8. "isPaid": true,
  9. "lastAccessed": "2016-08-30T16:46:11.877",
  10. "alytCode": null,
  11. "owner": {
  12. "phone": "79219211111",
  13. "birthday": "1992-02-29T00:00:00.000+0000",
  14. "firstName": "Magneto",
  15. "lastName": "",
  16. "timezone": 180,
  17. "height": 186,
  18. "emailVerified": false,
  19. "phoneVerified": true,
  20. "newEmail": "mag@mail.ru",
  21. "gender": "male",
  22. "weight": 80,
  23. "id": 82,
  24. "avatar": {
  25. "createdDate": "2016-05-27T12:28:54.641",
  26. "originalFile": {
  27. "id": 75,
  28. "name": "fassbender_5.jpg",
  29. "url": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566.jpg",
  30. "type": "image/jpeg",
  31. "size": 14057,
  32. "createdDate": "2016-05-27T12:28:52.797"
  33. },
  34. "cropParams": {
  35. "topLeftX": 0,
  36. "topLeftY": 0,
  37. "bottomRightX": 450,
  38. "bottomRightY": 300
  39. },
  40. "previewSmallUrl": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566_small.jpg",
  41. "previewNormalUrl": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566_normal.jpg",
  42. "previewLargeUrl": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566_large.jpg"
  43. }
  44. },
  45. "password": "67vkee73",
  46. "macAddress": "000822389efc",
  47. "phone": null
  48. }, {
  49. "id": 520,
  50. "title": "Фитнес браслет",
  51. "type": "fitness-wristband",
  52. "activated": false,
  53. "readOnly": false,
  54. "isPaid": true,
  55. "lastAccessed": "2016-07-22T18:42:56.753",
  56. "owner": {
  57. "phone": "79219211111",
  58. "birthday": "1992-02-29T00:00:00.000+0000",
  59. "firstName": "Magneto",
  60. "lastName": "",
  61. "timezone": 180,
  62. "height": 186,
  63. "emailVerified": false,
  64. "phoneVerified": true,
  65. "newEmail": "mag@mail.ru",
  66. "gender": "male",
  67. "weight": 80,
  68. "id": 82,
  69. "avatar": {
  70. "createdDate": "2016-05-27T12:28:54.641",
  71. "originalFile": {
  72. "id": 75,
  73. "name": "fassbender_5.jpg",
  74. "url": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566.jpg",
  75. "type": "image/jpeg",
  76. "size": 14057,
  77. "createdDate": "2016-05-27T12:28:52.797"
  78. },
  79. "cropParams": {
  80. "topLeftX": 0,
  81. "topLeftY": 0,
  82. "bottomRightX": 450,
  83. "bottomRightY": 300
  84. },
  85. "previewSmallUrl": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566_small.jpg",
  86. "previewNormalUrl": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566_normal.jpg",
  87. "previewLargeUrl": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566_large.jpg"
  88. }
  89. },
  90. "lastSync": "2016-07-22T18:42:56.753",
  91. "macAddress": "121109876",
  92. "goal": {
  93. "steps": 10000,
  94. "distance": 7500,
  95. "calories": 3000,
  96. "activityDuration": 25
  97. }
  98. }, {
  99. "id": 550,
  100. "title": "GPS Kick",
  101. "type": "gps-tracker",
  102. "activated": false,
  103. "readOnly": false,
  104. "isPaid": false,
  105. "lastAccessed": "2016-08-29T12:55:19.506",
  106. "batteryCharge": null,
  107. "phone": "79312371499",
  108. "owner": {
  109. "phone": "79219211111",
  110. "birthday": "1992-02-29T00:00:00.000+0000",
  111. "firstName": "Magneto",
  112. "lastName": "",
  113. "timezone": 180,
  114. "height": 186,
  115. "emailVerified": false,
  116. "phoneVerified": true,
  117. "newEmail": "mag@mail.ru",
  118. "gender": "male",
  119. "weight": 80,
  120. "id": 82,
  121. "avatar": {
  122. "createdDate": "2016-05-27T12:28:54.641",
  123. "originalFile": {
  124. "id": 75,
  125. "name": "fassbender_5.jpg",
  126. "url": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566.jpg",
  127. "type": "image/jpeg",
  128. "size": 14057,
  129. "createdDate": "2016-05-27T12:28:52.797"
  130. },
  131. "cropParams": {
  132. "topLeftX": 0,
  133. "topLeftY": 0,
  134. "bottomRightX": 450,
  135. "bottomRightY": 300
  136. },
  137. "previewSmallUrl": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566_small.jpg",
  138. "previewNormalUrl": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566_normal.jpg",
  139. "previewLargeUrl": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566_large.jpg"
  140. }
  141. },
  142. "lastGpsTrackerPoint": {
  143. "latitude": 59.874760000000,
  144. "longitude": 29.830010000000,
  145. "datetime": "2016-07-26T18:10:15",
  146. "sos": true
  147. },
  148. "avatar": null
  149. }, {
  150. "id": 609,
  151. "title": "123",
  152. "type": "gps-tracker",
  153. "activated": false,
  154. "readOnly": false,
  155. "isPaid": true,
  156. "lastAccessed": "2016-08-29T12:57:50.100",
  157. "batteryCharge": null,
  158. "phone": "79267845454",
  159. "owner": {
  160. "phone": "79219211111",
  161. "birthday": "1992-02-29T00:00:00.000+0000",
  162. "firstName": "Magneto",
  163. "lastName": "",
  164. "timezone": 180,
  165. "height": 186,
  166. "emailVerified": false,
  167. "phoneVerified": true,
  168. "newEmail": "mag@mail.ru",
  169. "gender": "male",
  170. "weight": 80,
  171. "id": 82,
  172. "avatar": {
  173. "createdDate": "2016-05-27T12:28:54.641",
  174. "originalFile": {
  175. "id": 75,
  176. "name": "fassbender_5.jpg",
  177. "url": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566.jpg",
  178. "type": "image/jpeg",
  179. "size": 14057,
  180. "createdDate": "2016-05-27T12:28:52.797"
  181. },
  182. "cropParams": {
  183. "topLeftX": 0,
  184. "topLeftY": 0,
  185. "bottomRightX": 450,
  186. "bottomRightY": 300
  187. },
  188. "previewSmallUrl": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566_small.jpg",
  189. "previewNormalUrl": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566_normal.jpg",
  190. "previewLargeUrl": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566_large.jpg"
  191. }
  192. },
  193. "lastGpsTrackerPoint": null,
  194. "avatar": null
  195. }, {
  196. "id": 512,
  197. "title": "Фитнес трекерt",
  198. "type": "fitness-wristband",
  199. "activated": false,
  200. "readOnly": true,
  201. "isPaid": true,
  202. "lastAccessed": "2016-08-19T10:42:34.269",
  203. "owner": {
  204. "firstName": "Hercule",
  205. "lastName": "Poirott",
  206. "timezone": 180,
  207. "emailVerified": true,
  208. "phoneVerified": true,
  209. "gender": "female",
  210. "id": 27,
  211. "avatar": {
  212. "createdDate": "2016-05-31T18:10:37.990",
  213. "originalFile": {
  214. "id": 78,
  215. "name": "filename2234234.jpg",
  216. "url": "/uploads/a9ba5bdb-a009-445a-9400-f10deaf41736.jpg",
  217. "type": "image/jpeg",
  218. "size": 81509,
  219. "createdDate": "2016-05-31T18:10:37.889"
  220. },
  221. "cropParams": {
  222. "topLeftX": 0,
  223. "topLeftY": 0,
  224. "bottomRightX": 640,
  225. "bottomRightY": 640
  226. },
  227. "previewSmallUrl": "/uploads/a9ba5bdb-a009-445a-9400-f10deaf41736_small.jpg",
  228. "previewNormalUrl": "/uploads/a9ba5bdb-a009-445a-9400-f10deaf41736_normal.jpg",
  229. "previewLargeUrl": "/uploads/a9ba5bdb-a009-445a-9400-f10deaf41736_large.jpg"
  230. }
  231. },
  232. "lastSync": "2016-08-19T10:42:34.269",
  233. "macAddress": "47D37257E852",
  234. "goal": {
  235. "steps": 10000,
  236. "distance": 10000,
  237. "calories": 3000,
  238. "activityDuration": 25
  239. }
  240. }, {
  241. "id": 522,
  242. "title": "ГЕО тр",
  243. "type": "gps-tracker",
  244. "activated": false,
  245. "readOnly": true,
  246. "isPaid": true,
  247. "lastAccessed": "2016-08-30T20:54:18.239",
  248. "batteryCharge": null,
  249. "owner": {
  250. "firstName": "Hercule",
  251. "lastName": "Poirott",
  252. "timezone": 180,
  253. "emailVerified": true,
  254. "phoneVerified": true,
  255. "gender": "female",
  256. "id": 27,
  257. "avatar": {
  258. "createdDate": "2016-05-31T18:10:37.990",
  259. "originalFile": {
  260. "id": 78,
  261. "name": "filename2234234.jpg",
  262. "url": "/uploads/a9ba5bdb-a009-445a-9400-f10deaf41736.jpg",
  263. "type": "image/jpeg",
  264. "size": 81509,
  265. "createdDate": "2016-05-31T18:10:37.889"
  266. },
  267. "cropParams": {
  268. "topLeftX": 0,
  269. "topLeftY": 0,
  270. "bottomRightX": 640,
  271. "bottomRightY": 640
  272. },
  273. "previewSmallUrl": "/uploads/a9ba5bdb-a009-445a-9400-f10deaf41736_small.jpg",
  274. "previewNormalUrl": "/uploads/a9ba5bdb-a009-445a-9400-f10deaf41736_normal.jpg",
  275. "previewLargeUrl": "/uploads/a9ba5bdb-a009-445a-9400-f10deaf41736_large.jpg"
  276. }
  277. },
  278. "lastGpsTrackerPoint": null,
  279. "avatar": {
  280. "createdDate": "2016-07-21T16:53:08.640",
  281. "originalFile": {
  282. "id": 107,
  283. "name": "filename2234234.jpg",
  284. "url": "/uploads/d552e31a-2374-45b7-9400-d206836ca220.jpg",
  285. "type": "image/jpeg",
  286. "size": 36963,
  287. "createdDate": "2016-07-21T16:53:08.539"
  288. },
  289. "cropParams": {
  290. "topLeftX": 0,
  291. "topLeftY": 0,
  292. "bottomRightX": 640,
  293. "bottomRightY": 640
  294. },
  295. "previewSmallUrl": "/uploads/d552e31a-2374-45b7-9400-d206836ca220_small.jpg",
  296. "previewNormalUrl": "/uploads/d552e31a-2374-45b7-9400-d206836ca220_normal.jpg",
  297. "previewLargeUrl": "/uploads/d552e31a-2374-45b7-9400-d206836ca220_large.jpg"
  298. }
  299. }, {
  300. "id": 618,
  301. "title": "LifeControl!",
  302. "type": "socket",
  303. "activated": true,
  304. "readOnly": false,
  305. "isPaid": true,
  306. "lastAccessed": "2016-08-30T16:46:10.109",
  307. "hubId": 42,
  308. "state": true,
  309. "owner": {
  310. "phone": "79219211111",
  311. "birthday": "1992-02-29T00:00:00.000+0000",
  312. "firstName": "Magneto",
  313. "lastName": "",
  314. "timezone": 180,
  315. "height": 186,
  316. "emailVerified": false,
  317. "phoneVerified": true,
  318. "newEmail": "mag@mail.ru",
  319. "gender": "male",
  320. "weight": 80,
  321. "id": 82,
  322. "avatar": {
  323. "createdDate": "2016-05-27T12:28:54.641",
  324. "originalFile": {
  325. "id": 75,
  326. "name": "fassbender_5.jpg",
  327. "url": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566.jpg",
  328. "type": "image/jpeg",
  329. "size": 14057,
  330. "createdDate": "2016-05-27T12:28:52.797"
  331. },
  332. "cropParams": {
  333. "topLeftX": 0,
  334. "topLeftY": 0,
  335. "bottomRightX": 450,
  336. "bottomRightY": 300
  337. },
  338. "previewSmallUrl": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566_small.jpg",
  339. "previewNormalUrl": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566_normal.jpg",
  340. "previewLargeUrl": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566_large.jpg"
  341. }
  342. },
  343. "consumption": 0.0,
  344. "voltage": 0.0
  345. }, {
  346. "id": 619,
  347. "title": "верхняя",
  348. "type": "socket",
  349. "activated": true,
  350. "readOnly": false,
  351. "isPaid": true,
  352. "lastAccessed": "2016-08-30T16:46:10.109",
  353. "hubId": 42,
  354. "state": true,
  355. "owner": {
  356. "phone": "79219211111",
  357. "birthday": "1992-02-29T00:00:00.000+0000",
  358. "firstName": "Magneto",
  359. "lastName": "",
  360. "timezone": 180,
  361. "height": 186,
  362. "emailVerified": false,
  363. "phoneVerified": true,
  364. "newEmail": "mag@mail.ru",
  365. "gender": "male",
  366. "weight": 80,
  367. "id": 82,
  368. "avatar": {
  369. "createdDate": "2016-05-27T12:28:54.641",
  370. "originalFile": {
  371. "id": 75,
  372. "name": "fassbender_5.jpg",
  373. "url": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566.jpg",
  374. "type": "image/jpeg",
  375. "size": 14057,
  376. "createdDate": "2016-05-27T12:28:52.797"
  377. },
  378. "cropParams": {
  379. "topLeftX": 0,
  380. "topLeftY": 0,
  381. "bottomRightX": 450,
  382. "bottomRightY": 300
  383. },
  384. "previewSmallUrl": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566_small.jpg",
  385. "previewNormalUrl": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566_normal.jpg",
  386. "previewLargeUrl": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566_large.jpg"
  387. }
  388. },
  389. "consumption": 0.0,
  390. "voltage": 0.0
  391. }, {
  392. "id": 621,
  393. "title": "flood",
  394. "type": "flood-sensor",
  395. "activated": false,
  396. "readOnly": false,
  397. "isPaid": true,
  398. "lastAccessed": "2016-08-30T16:46:10.109",
  399. "hubId": 42,
  400. "state": false,
  401. "owner": {
  402. "phone": "79219211111",
  403. "birthday": "1992-02-29T00:00:00.000+0000",
  404. "firstName": "Magneto",
  405. "lastName": "",
  406. "timezone": 180,
  407. "height": 186,
  408. "emailVerified": false,
  409. "phoneVerified": true,
  410. "newEmail": "mag@mail.ru",
  411. "gender": "male",
  412. "weight": 80,
  413. "id": 82,
  414. "avatar": {
  415. "createdDate": "2016-05-27T12:28:54.641",
  416. "originalFile": {
  417. "id": 75,
  418. "name": "fassbender_5.jpg",
  419. "url": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566.jpg",
  420. "type": "image/jpeg",
  421. "size": 14057,
  422. "createdDate": "2016-05-27T12:28:52.797"
  423. },
  424. "cropParams": {
  425. "topLeftX": 0,
  426. "topLeftY": 0,
  427. "bottomRightX": 450,
  428. "bottomRightY": 300
  429. },
  430. "previewSmallUrl": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566_small.jpg",
  431. "previewNormalUrl": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566_normal.jpg",
  432. "previewLargeUrl": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566_large.jpg"
  433. }
  434. }
  435. }, {
  436. "id": 622,
  437. "title": "Датчик движения",
  438. "type": "motion-sensor",
  439. "activated": true,
  440. "readOnly": false,
  441. "isPaid": true,
  442. "lastAccessed": "2016-08-31T02:53:24.612",
  443. "hubId": 42,
  444. "state": false,
  445. "owner": {
  446. "phone": "79219211111",
  447. "birthday": "1992-02-29T00:00:00.000+0000",
  448. "firstName": "Magneto",
  449. "lastName": "",
  450. "timezone": 180,
  451. "height": 186,
  452. "emailVerified": false,
  453. "phoneVerified": true,
  454. "newEmail": "mag@mail.ru",
  455. "gender": "male",
  456. "weight": 80,
  457. "id": 82,
  458. "avatar": {
  459. "createdDate": "2016-05-27T12:28:54.641",
  460. "originalFile": {
  461. "id": 75,
  462. "name": "fassbender_5.jpg",
  463. "url": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566.jpg",
  464. "type": "image/jpeg",
  465. "size": 14057,
  466. "createdDate": "2016-05-27T12:28:52.797"
  467. },
  468. "cropParams": {
  469. "topLeftX": 0,
  470. "topLeftY": 0,
  471. "bottomRightX": 450,
  472. "bottomRightY": 300
  473. },
  474. "previewSmallUrl": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566_small.jpg",
  475. "previewNormalUrl": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566_normal.jpg",
  476. "previewLargeUrl": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566_large.jpg"
  477. }
  478. }
  479. }, {
  480. "id": 623,
  481. "title": "door",
  482. "type": "door-sensor",
  483. "activated": true,
  484. "readOnly": false,
  485. "isPaid": true,
  486. "lastAccessed": "2016-08-30T16:46:10.109",
  487. "hubId": 42,
  488. "state": false,
  489. "owner": {
  490. "phone": "79219211111",
  491. "birthday": "1992-02-29T00:00:00.000+0000",
  492. "firstName": "Magneto",
  493. "lastName": "",
  494. "timezone": 180,
  495. "height": 186,
  496. "emailVerified": false,
  497. "phoneVerified": true,
  498. "newEmail": "mag@mail.ru",
  499. "gender": "male",
  500. "weight": 80,
  501. "id": 82,
  502. "avatar": {
  503. "createdDate": "2016-05-27T12:28:54.641",
  504. "originalFile": {
  505. "id": 75,
  506. "name": "fassbender_5.jpg",
  507. "url": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566.jpg",
  508. "type": "image/jpeg",
  509. "size": 14057,
  510. "createdDate": "2016-05-27T12:28:52.797"
  511. },
  512. "cropParams": {
  513. "topLeftX": 0,
  514. "topLeftY": 0,
  515. "bottomRightX": 450,
  516. "bottomRightY": 300
  517. },
  518. "previewSmallUrl": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566_small.jpg",
  519. "previewNormalUrl": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566_normal.jpg",
  520. "previewLargeUrl": "/uploads/62fd7fd5-3689-43b0-a9ba-4132c88d4566_large.jpg"
  521. }
  522. }
  523. }],
  524. "status": "OK",
  525. "type": "ARRAY",
  526. "error": null,
  527. "errors": null
  528. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement