Advertisement
hungcuong21891

poshie

May 18th, 2018
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 159.79 KB | None | 0 0
  1. {
  2. "success": true,
  3. "data": {
  4. "_type": "devices",
  5. "_id": "848cfc25-a965-4739-b80b-319237d5c1c4",
  6. "attributes": {
  7. "uuid": "b8af9977b498a46a5eaa605aeb3d6f39aeafa26f0123456789",
  8. "latest_update": "2018-05-10 05:49",
  9. "requested_waiter_at": null,
  10. "location": {
  11. "_type": "locations",
  12. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  13. },
  14. "device_address": {
  15. "_type": "device_addresses",
  16. "_id": "6a5362fc-ba82-4518-b8ae-753f1a46f328"
  17. },
  18. "menu": {
  19. "_type": "menus",
  20. "_id": "1ad290c4-fcc2-4d66-9dfa-2e7bf5166b21"
  21. },
  22. "basic_setting": {
  23. "_type": "basic_settings",
  24. "_id": "eec40d69-2b83-4394-bc17-13eb0e302d2e"
  25. },
  26. "additional_setting": {
  27. "_type": "additional_settings",
  28. "_id": "7dc53a0e-fc8c-4fe1-bc19-05dfd986a7e0"
  29. },
  30. "payment_setting": {
  31. "_type": "payment_settings",
  32. "_id": "233d19b4-59a8-425f-a74a-b14522ad759a"
  33. },
  34. "visiting": false,
  35. "created_at": "2018-05-10 05:49",
  36. "updated_at": "2018-05-10 05:49",
  37. "quick_calls": [
  38. {
  39. "id": "b167e436-f266-485b-b07a-9168858fd104",
  40. "name": "Table 10",
  41. "number": "+358341091127_2_10",
  42. "order": null,
  43. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  44. "created_at": "2018-05-13T23:40:01.475+03:00",
  45. "updated_at": "2018-05-13T23:40:01.475+03:00"
  46. },
  47. {
  48. "id": "6be84c20-45da-4676-9ee3-be52f4076519",
  49. "name": "Table 9",
  50. "number": "+358341091127_2_9",
  51. "order": null,
  52. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  53. "created_at": "2018-05-13T23:40:11.014+03:00",
  54. "updated_at": "2018-05-13T23:40:11.014+03:00"
  55. },
  56. {
  57. "id": "accaa2c1-b96f-4e32-99f6-e79cfcde0b6e",
  58. "name": "Table 4",
  59. "number": "+358341091127_2_4",
  60. "order": null,
  61. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  62. "created_at": "2018-05-13T23:40:12.545+03:00",
  63. "updated_at": "2018-05-13T23:40:12.545+03:00"
  64. },
  65. {
  66. "id": "3a521b83-8bf7-41c3-be8d-0b669c9aad29",
  67. "name": "Table 6",
  68. "number": "+358341091127_2_6",
  69. "order": null,
  70. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  71. "created_at": "2018-05-15T15:47:14.043+03:00",
  72. "updated_at": "2018-05-15T15:47:14.043+03:00"
  73. },
  74. {
  75. "id": "978e0b0b-a2fd-427f-8108-9a61f005f131",
  76. "name": "Table 7",
  77. "number": "+358341091127_2_7",
  78. "order": null,
  79. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  80. "created_at": "2018-05-15T15:47:14.904+03:00",
  81. "updated_at": "2018-05-15T15:47:14.904+03:00"
  82. },
  83. {
  84. "id": "638f2772-c550-49cc-b85f-92eb0a2f237e",
  85. "name": "Department",
  86. "number": "+358341091127_3_1",
  87. "order": null,
  88. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  89. "created_at": "2018-05-15T15:47:27.660+03:00",
  90. "updated_at": "2018-05-15T15:47:27.660+03:00"
  91. },
  92. {
  93. "id": "91a52c6e-25d6-471f-b9f1-4caa9a595bdd",
  94. "name": "Location Admin",
  95. "number": "+358341091127_4_2",
  96. "order": null,
  97. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  98. "created_at": "2018-05-15T15:47:29.998+03:00",
  99. "updated_at": "2018-05-15T15:47:29.998+03:00"
  100. }
  101. ],
  102. "phone_setting": [
  103. {
  104. "id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  105. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  106. "category_prefix": "1",
  107. "device_address_prefix": "2",
  108. "department_prefix": "3",
  109. "staff_prefix": "4",
  110. "room_prefix": "5",
  111. "enable": true,
  112. "enable_internal": true,
  113. "enable_external": true,
  114. "available_from": null,
  115. "available_to": null,
  116. "available_from_internal": null,
  117. "available_to_internal": null,
  118. "available_from_external": null,
  119. "available_to_external": null,
  120. "root_number": "+358341091127",
  121. "phone_server_secret_key": "vvfD0KAB56H1ZFut1xps",
  122. "created_at": "2018-05-09T16:48:18.920+03:00",
  123. "updated_at": "2018-05-09T16:48:18.920+03:00"
  124. }
  125. ],
  126. "phone_number": {
  127. "id": "db095c16-3744-455e-a41c-34f1b099bf33",
  128. "number": "+358341091127_4_1",
  129. "enable": true,
  130. "phoneable_id": "f7fd776f-da59-414e-9238-dc6af5bd46a8",
  131. "phoneable_type": "User",
  132. "phone_setting_id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  133. "parent_id": null,
  134. "available_from": null,
  135. "available_to": null,
  136. "created_at": "2018-05-15T15:41:22.131+03:00",
  137. "updated_at": "2018-05-15T15:41:22.131+03:00"
  138. },
  139. "parent_phone_number": null
  140. }
  141. },
  142. "included": {
  143. "locations": [
  144. {
  145. "_type": "locations",
  146. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  147. "attributes": {
  148. "customer_id": "897b2c63-caf9-4411-a312-36d0d090c1da",
  149. "name": "Amarrillo",
  150. "street_address": "Mikonkatu 10 C 1",
  151. "postal_code": "00100",
  152. "town": "Helsinki",
  153. "country": "FI",
  154. "timezone": "Europe/Helsinki",
  155. "phone": "+35840100100",
  156. "download_id": "0123456789",
  157. "tables_amount": 14,
  158. "staffs_amount": 5,
  159. "customer": {
  160. "_type": "customers",
  161. "_id": "897b2c63-caf9-4411-a312-36d0d090c1da"
  162. },
  163. "device_addresses": [
  164. {
  165. "_type": "device_addresses",
  166. "_id": "6a5362fc-ba82-4518-b8ae-753f1a46f328"
  167. },
  168. {
  169. "_type": "device_addresses",
  170. "_id": "d02112ac-8422-457d-b4e6-e6b89c83cc68"
  171. },
  172. {
  173. "_type": "device_addresses",
  174. "_id": "e4b0c90a-435a-4b6a-950d-b57896f887c6"
  175. },
  176. {
  177. "_type": "device_addresses",
  178. "_id": "c8e26e4e-b5cf-455a-a0bb-664130f8a658"
  179. },
  180. {
  181. "_type": "device_addresses",
  182. "_id": "fb8d1570-2c45-4d38-8179-1b5474ba9795"
  183. },
  184. {
  185. "_type": "device_addresses",
  186. "_id": "39c9f23c-e903-4330-9e48-ada1d9986783"
  187. },
  188. {
  189. "_type": "device_addresses",
  190. "_id": "59b4a800-6e04-4c62-9fef-ee083cab78bd"
  191. },
  192. {
  193. "_type": "device_addresses",
  194. "_id": "e83a58bc-be77-4d80-bbc1-a05bf4f4ddec"
  195. },
  196. {
  197. "_type": "device_addresses",
  198. "_id": "8020bcb8-8a94-42f9-9800-dcce2f918157"
  199. },
  200. {
  201. "_type": "device_addresses",
  202. "_id": "2577ea46-bc9e-4787-882d-45d5533b6036"
  203. },
  204. {
  205. "_type": "device_addresses",
  206. "_id": "0000690d-ea48-4b93-a833-8040a1a9a657"
  207. },
  208. {
  209. "_type": "device_addresses",
  210. "_id": "076447b4-b194-4497-b0ab-4bb2b3659006"
  211. },
  212. {
  213. "_type": "device_addresses",
  214. "_id": "0d5f0766-a55c-4ad0-a967-f320cab89661"
  215. },
  216. {
  217. "_type": "device_addresses",
  218. "_id": "f92c1b54-bf33-4bb8-ae9c-1e5c5edd5a57"
  219. }
  220. ],
  221. "users": [
  222. {
  223. "_type": "users",
  224. "_id": "f7fd776f-da59-414e-9238-dc6af5bd46a8"
  225. },
  226. {
  227. "_type": "users",
  228. "_id": "1c2b8751-f0ec-4073-b433-208b4f7fb168"
  229. },
  230. {
  231. "_type": "users",
  232. "_id": "8ccf9654-5cb0-4ac0-8b82-71aa0710dda2"
  233. },
  234. {
  235. "_type": "users",
  236. "_id": "3a4656a5-562b-41ff-8cb1-282e3048da13"
  237. },
  238. {
  239. "_type": "users",
  240. "_id": "26ecabdf-034b-4ea7-b25f-8ef62c514864"
  241. }
  242. ],
  243. "admin": {
  244. "_type": "users",
  245. "_id": "db80f59e-50ac-4217-8e16-53a33a9af984",
  246. "attributes": {
  247. "name": "Location Admin",
  248. "email": "location_admin@example.com",
  249. "auth_token": "db80f59e-50ac-4217-8e16-53a33a9af984:9nZ_XWn2u7Q8VBeMivQa",
  250. "role": "Location Admin",
  251. "have_theme": true,
  252. "customer": {
  253. "_type": "customers",
  254. "_id": "897b2c63-caf9-4411-a312-36d0d090c1da"
  255. },
  256. "location": {
  257. "_type": "locations",
  258. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  259. },
  260. "permits": [
  261. {
  262. "_type": "permits",
  263. "_id": "f2db2abe-e075-4417-8c59-584029a64e6f"
  264. }
  265. ],
  266. "created_at": "2018-05-13 00:28",
  267. "updated_at": "2018-05-13 00:28"
  268. }
  269. },
  270. "devices": [
  271. {
  272. "_type": "devices",
  273. "_id": "aa90d118-a3ca-41cd-831b-dd415d2ca7e2"
  274. },
  275. {
  276. "_type": "devices",
  277. "_id": "848cfc25-a965-4739-b80b-319237d5c1c4"
  278. },
  279. {
  280. "_type": "devices",
  281. "_id": "60113529-4623-4cfa-9388-14b6d972d4e5"
  282. },
  283. {
  284. "_type": "devices",
  285. "_id": "059dda19-8ff6-4583-b928-7757399e8ca1"
  286. },
  287. {
  288. "_type": "devices",
  289. "_id": "e489ed25-cbf4-4ed3-8995-d7610c80637d"
  290. },
  291. {
  292. "_type": "devices",
  293. "_id": "e38acd70-fea3-401d-92bd-483acacfdc61"
  294. },
  295. {
  296. "_type": "devices",
  297. "_id": "b7482657-642b-4a66-acb6-89b642691361"
  298. },
  299. {
  300. "_type": "devices",
  301. "_id": "19075355-9bfb-4dfe-807e-194906f2b638"
  302. },
  303. {
  304. "_type": "devices",
  305. "_id": "72f461c8-adcb-476e-b70b-250dcdb32290"
  306. },
  307. {
  308. "_type": "devices",
  309. "_id": "d347004a-bc30-4949-8d41-cdfbec31acff"
  310. }
  311. ],
  312. "night_mode_setting": {
  313. "_type": "night_mode_settings",
  314. "_id": "0f74e87d-fa5c-4995-9fc5-6f92594d5638"
  315. },
  316. "amount_of_devices_do_not_connect_to_menu": 0,
  317. "phone_setting": {
  318. "id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  319. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  320. "category_prefix": "1",
  321. "device_address_prefix": "2",
  322. "department_prefix": "3",
  323. "staff_prefix": "4",
  324. "room_prefix": "5",
  325. "enable": true,
  326. "enable_internal": true,
  327. "enable_external": true,
  328. "available_from": null,
  329. "available_to": null,
  330. "available_from_internal": null,
  331. "available_to_internal": null,
  332. "available_from_external": null,
  333. "available_to_external": null,
  334. "root_number": "+358341091127",
  335. "phone_server_secret_key": "vvfD0KAB56H1ZFut1xps",
  336. "created_at": "2018-05-09T16:48:18.920+03:00",
  337. "updated_at": "2018-05-09T16:48:18.920+03:00"
  338. },
  339. "created_at": "2018-05-09 14:21",
  340. "updated_at": "2018-05-09 14:21"
  341. }
  342. }
  343. ],
  344. "basic_settings": [
  345. {
  346. "_type": "basic_settings",
  347. "_id": "eec40d69-2b83-4394-bc17-13eb0e302d2e",
  348. "attributes": {
  349. "theme_name": "Dark",
  350. "font_style": "Quicksand",
  351. "font_names": "Quicksand-Regular.otf, Quicksand-Bold.otf",
  352. "download_font_urls": [
  353. "http://beta.poshiemedia.com/assets/Quicksand-Regular.otf",
  354. "http://beta.poshiemedia.com/assets/Quicksand-Bold.otf"
  355. ],
  356. "font_color": "#222222",
  357. "element_color": "#dddddd",
  358. "element_opacity": 90,
  359. "title_box_background_color": {
  360. "r": 26,
  361. "g": 26,
  362. "b": 26,
  363. "a": 0.6
  364. },
  365. "theme": {
  366. "_type": "themes",
  367. "_id": "a772b6a4-1290-44b4-9c76-0f7cc648a81b"
  368. },
  369. "background_image": {
  370. "_type": "pictures",
  371. "_id": "fc090648-14be-431e-9224-ac884a496d69",
  372. "attributes": {
  373. "name": "background_dark.png",
  374. "url": "http://beta.poshiemedia.com/system/media_files/files/1f8/df5/a2-/original/background_dark.png?1525864870",
  375. "medium": "http://beta.poshiemedia.com/system/media_files/files/1f8/df5/a2-/medium/background_dark.png?1525864870",
  376. "thumb": "http://beta.poshiemedia.com/system/media_files/files/1f8/df5/a2-/thumb/background_dark.png?1525864870",
  377. "can_delete": true,
  378. "created_at": "2018-05-09 14:21",
  379. "updated_at": "2018-05-09 14:21"
  380. }
  381. },
  382. "created_at": "2018-05-09 14:21",
  383. "updated_at": "2018-05-09 14:21"
  384. }
  385. }
  386. ],
  387. "additional_settings": [
  388. {
  389. "_type": "additional_settings",
  390. "_id": "7dc53a0e-fc8c-4fe1-bc19-05dfd986a7e0",
  391. "attributes": {
  392. "enable_rating": true,
  393. "enable_feedback_field": true,
  394. "enable_embed_website": true,
  395. "embed_website_url": null,
  396. "enable_info_site": true,
  397. "info_site_text": null,
  398. "site_info": {},
  399. "info_site_picture": {
  400. "_type": "pictures",
  401. "_id": "d2a209e6-3ce9-4654-b818-a89f4987bcdf"
  402. },
  403. "info_site_video": null,
  404. "enable_chat": true,
  405. "enable_english": true,
  406. "enable_finnish": true,
  407. "enable_request_waiter": true,
  408. "enable_category_shortcuts": true,
  409. "menu": {
  410. "_type": "menus",
  411. "_id": "1ad290c4-fcc2-4d66-9dfa-2e7bf5166b21"
  412. },
  413. "customer": {
  414. "_type": "customers",
  415. "_id": "897b2c63-caf9-4411-a312-36d0d090c1da"
  416. },
  417. "default_language": "en",
  418. "languages": [
  419. {
  420. "_type": "languages",
  421. "_id": "ad6e5748-eb24-4a6a-8dff-adff768b1c9b"
  422. }
  423. ],
  424. "welcome_messages": {
  425. "en": "Hi from Amarrillo staff, how can we be of assist?"
  426. },
  427. "created_at": "2018-05-09 14:21",
  428. "updated_at": "2018-05-09 14:21"
  429. }
  430. }
  431. ],
  432. "payment_settings": [
  433. {
  434. "_type": "payment_settings",
  435. "_id": "233d19b4-59a8-425f-a74a-b14522ad759a",
  436. "attributes": {
  437. "enable_split_bill_by_items": true,
  438. "enable_split_bill_by_equal_pieces": true,
  439. "enable_pay_on_delivery": true,
  440. "enable_pay_after_eating": true,
  441. "enable_pay_with_card": true,
  442. "enable_pay_with_cash": true,
  443. "enable_request_bill": true,
  444. "customer": {
  445. "_type": "customers",
  446. "_id": "897b2c63-caf9-4411-a312-36d0d090c1da"
  447. },
  448. "menu": {
  449. "_type": "menus",
  450. "_id": "1ad290c4-fcc2-4d66-9dfa-2e7bf5166b21"
  451. },
  452. "created_at": "2018-05-09 14:21",
  453. "updated_at": "2018-05-09 14:21"
  454. }
  455. }
  456. ],
  457. "screensaver_settings": [
  458. {
  459. "_type": "screensaver_settings",
  460. "_id": "8bae7fcd-60e9-4d5e-84a6-7a14bdc4539b",
  461. "attributes": {
  462. "delay_before_start": 120,
  463. "circle_rounds": 2,
  464. "item_duration": 5,
  465. "menu": {
  466. "_type": "menus",
  467. "_id": "1ad290c4-fcc2-4d66-9dfa-2e7bf5166b21"
  468. },
  469. "created_at": "2018-05-09 14:21",
  470. "updated_at": "2018-05-09 14:21"
  471. }
  472. }
  473. ],
  474. "menus": [
  475. {
  476. "_type": "menus",
  477. "_id": "1ad290c4-fcc2-4d66-9dfa-2e7bf5166b21",
  478. "attributes": {
  479. "name": "Default menu",
  480. "name_en": "Default menu",
  481. "name_fi": "Default menu",
  482. "card_color": "#3f838b",
  483. "customer": {
  484. "_type": "customers",
  485. "_id": "897b2c63-caf9-4411-a312-36d0d090c1da"
  486. },
  487. "location": null,
  488. "basic_setting": {
  489. "_type": "basic_settings",
  490. "_id": "eec40d69-2b83-4394-bc17-13eb0e302d2e"
  491. },
  492. "payment_setting": {
  493. "_type": "payment_settings",
  494. "_id": "233d19b4-59a8-425f-a74a-b14522ad759a"
  495. },
  496. "theme": {
  497. "_type": "themes",
  498. "_id": "a772b6a4-1290-44b4-9c76-0f7cc648a81b"
  499. },
  500. "additional_setting": {
  501. "_type": "additional_settings",
  502. "_id": "7dc53a0e-fc8c-4fe1-bc19-05dfd986a7e0"
  503. },
  504. "screensaver_setting": {
  505. "_type": "screensaver_settings",
  506. "_id": "8bae7fcd-60e9-4d5e-84a6-7a14bdc4539b"
  507. },
  508. "service_categories": [
  509. {
  510. "_type": "service_categories",
  511. "_id": "7577b96e-e999-4966-9696-de188f6e16bb"
  512. },
  513. {
  514. "_type": "service_categories",
  515. "_id": "b41d0fa2-12c1-457f-a9ca-3fefc6ba2166"
  516. },
  517. {
  518. "_type": "service_categories",
  519. "_id": "83a677fe-e57d-43c8-8b58-8835f86916f2"
  520. },
  521. {
  522. "_type": "service_categories",
  523. "_id": "fec72fa3-32b5-4e7a-9258-1d64fe8dfc36"
  524. },
  525. {
  526. "_type": "service_categories",
  527. "_id": "10888054-3fd2-4ec9-a69e-7472246788df"
  528. },
  529. {
  530. "_type": "service_categories",
  531. "_id": "a45a262a-75a5-4f68-a92c-e99bbc3ed76e"
  532. }
  533. ],
  534. "additional_services": [
  535. {
  536. "_type": "additional_services",
  537. "_id": "82b619ea-1911-4558-afc3-2f9e02fb230a"
  538. }
  539. ],
  540. "menu_items": [
  541. {
  542. "_type": "service_categories",
  543. "_id": "7577b96e-e999-4966-9696-de188f6e16bb"
  544. },
  545. {
  546. "_type": "service_categories",
  547. "_id": "b41d0fa2-12c1-457f-a9ca-3fefc6ba2166"
  548. },
  549. {
  550. "_type": "service_categories",
  551. "_id": "83a677fe-e57d-43c8-8b58-8835f86916f2"
  552. },
  553. {
  554. "_type": "service_categories",
  555. "_id": "fec72fa3-32b5-4e7a-9258-1d64fe8dfc36"
  556. },
  557. {
  558. "_type": "service_categories",
  559. "_id": "10888054-3fd2-4ec9-a69e-7472246788df"
  560. },
  561. {
  562. "_type": "service_categories",
  563. "_id": "a45a262a-75a5-4f68-a92c-e99bbc3ed76e"
  564. },
  565. {
  566. "_type": "additional_services",
  567. "_id": "82b619ea-1911-4558-afc3-2f9e02fb230a"
  568. }
  569. ],
  570. "rating_categories": null,
  571. "parent": null,
  572. "child": null,
  573. "draft": false,
  574. "current": true,
  575. "publish": false,
  576. "schedule": null,
  577. "device_amount_connected": 10,
  578. "created_at": "2018-05-09 14:21",
  579. "updated_at": "2018-05-13 13:07"
  580. }
  581. }
  582. ],
  583. "service_categories": [
  584. {
  585. "_type": "service_categories",
  586. "_id": "7577b96e-e999-4966-9696-de188f6e16bb",
  587. "attributes": {
  588. "name": "Additional Service",
  589. "name_en": "Additional Service",
  590. "name_fi": "Additional Service",
  591. "hidden_name": false,
  592. "visibility_from": null,
  593. "visibility_to": null,
  594. "disable_ordering": false,
  595. "enable": true,
  596. "enable_search_for_subcategories": true,
  597. "enable_list_view_for_subcategories": true,
  598. "enable_carousel_for_subcategories": true,
  599. "categories": null,
  600. "picture": {
  601. "_type": "pictures",
  602. "_id": "de5e9839-517c-4bba-8d97-89d98a093985"
  603. },
  604. "menu": {
  605. "_type": "menus",
  606. "_id": "1ad290c4-fcc2-4d66-9dfa-2e7bf5166b21"
  607. },
  608. "service_category_type": {
  609. "_type": "service_category_types",
  610. "_id": "47502200-c75a-4333-9a66-20cc380f02e5"
  611. },
  612. "apps": null,
  613. "promotions": null,
  614. "additional_services": null,
  615. "created_at": "2018-05-09 14:21",
  616. "updated_at": "2018-05-09 14:21"
  617. }
  618. },
  619. {
  620. "_type": "service_categories",
  621. "_id": "83a677fe-e57d-43c8-8b58-8835f86916f2",
  622. "attributes": {
  623. "name": "Drinks",
  624. "name_en": "Drinks",
  625. "name_fi": "Drinks",
  626. "hidden_name": false,
  627. "visibility_from": null,
  628. "visibility_to": null,
  629. "disable_ordering": false,
  630. "enable": true,
  631. "enable_search_for_subcategories": true,
  632. "enable_list_view_for_subcategories": true,
  633. "enable_carousel_for_subcategories": true,
  634. "categories": [
  635. {
  636. "_type": "categories",
  637. "_id": "4bb0bfb5-5952-4aa5-9f1c-7c9be9778489"
  638. },
  639. {
  640. "_type": "categories",
  641. "_id": "b7371902-3861-426c-ac52-8cbfdc377a6c"
  642. },
  643. {
  644. "_type": "categories",
  645. "_id": "0a3a6065-98c8-49c8-b3a0-dc3322035cb7"
  646. }
  647. ],
  648. "picture": {
  649. "_type": "pictures",
  650. "_id": "de5e9839-517c-4bba-8d97-89d98a093985"
  651. },
  652. "menu": {
  653. "_type": "menus",
  654. "_id": "1ad290c4-fcc2-4d66-9dfa-2e7bf5166b21"
  655. },
  656. "service_category_type": {
  657. "_type": "service_category_types",
  658. "_id": "0c129a51-a6fd-4df5-9f76-3320c6f2d381"
  659. },
  660. "apps": null,
  661. "promotions": null,
  662. "additional_services": null,
  663. "created_at": "2018-05-09 14:21",
  664. "updated_at": "2018-05-09 14:21"
  665. }
  666. },
  667. {
  668. "_type": "service_categories",
  669. "_id": "10888054-3fd2-4ec9-a69e-7472246788df",
  670. "attributes": {
  671. "name": "Promotions",
  672. "name_en": "Promotions",
  673. "name_fi": "Promotions",
  674. "hidden_name": false,
  675. "visibility_from": null,
  676. "visibility_to": null,
  677. "disable_ordering": false,
  678. "enable": true,
  679. "enable_search_for_subcategories": true,
  680. "enable_list_view_for_subcategories": true,
  681. "enable_carousel_for_subcategories": true,
  682. "categories": null,
  683. "picture": {
  684. "_type": "pictures",
  685. "_id": "de5e9839-517c-4bba-8d97-89d98a093985"
  686. },
  687. "menu": {
  688. "_type": "menus",
  689. "_id": "1ad290c4-fcc2-4d66-9dfa-2e7bf5166b21"
  690. },
  691. "service_category_type": {
  692. "_type": "service_category_types",
  693. "_id": "77a62f96-d371-45de-8643-e37215820d9a"
  694. },
  695. "apps": null,
  696. "promotions": null,
  697. "additional_services": null,
  698. "created_at": "2018-05-09 14:21",
  699. "updated_at": "2018-05-09 14:21"
  700. }
  701. },
  702. {
  703. "_type": "service_categories",
  704. "_id": "b41d0fa2-12c1-457f-a9ca-3fefc6ba2166",
  705. "attributes": {
  706. "name": "Food",
  707. "name_en": "Food",
  708. "name_fi": "Food",
  709. "hidden_name": false,
  710. "visibility_from": null,
  711. "visibility_to": null,
  712. "disable_ordering": false,
  713. "enable": true,
  714. "enable_search_for_subcategories": true,
  715. "enable_list_view_for_subcategories": true,
  716. "enable_carousel_for_subcategories": true,
  717. "categories": [
  718. {
  719. "_type": "categories",
  720. "_id": "bb93c311-f3ab-4401-9867-8781489badf8"
  721. },
  722. {
  723. "_type": "categories",
  724. "_id": "47c4cd76-b00a-4341-a2b3-dc1bd3bb1f90"
  725. }
  726. ],
  727. "picture": {
  728. "_type": "pictures",
  729. "_id": "de5e9839-517c-4bba-8d97-89d98a093985"
  730. },
  731. "menu": {
  732. "_type": "menus",
  733. "_id": "1ad290c4-fcc2-4d66-9dfa-2e7bf5166b21"
  734. },
  735. "service_category_type": {
  736. "_type": "service_category_types",
  737. "_id": "0c129a51-a6fd-4df5-9f76-3320c6f2d381"
  738. },
  739. "apps": null,
  740. "promotions": null,
  741. "additional_services": null,
  742. "created_at": "2018-05-09 14:21",
  743. "updated_at": "2018-05-09 14:21"
  744. }
  745. },
  746. {
  747. "_type": "service_categories",
  748. "_id": "a45a262a-75a5-4f68-a92c-e99bbc3ed76e",
  749. "attributes": {
  750. "name": "Telephone",
  751. "name_en": "Telephone",
  752. "name_fi": "(Name)",
  753. "hidden_name": false,
  754. "visibility_from": null,
  755. "visibility_to": null,
  756. "disable_ordering": false,
  757. "enable": true,
  758. "enable_search_for_subcategories": true,
  759. "enable_list_view_for_subcategories": true,
  760. "enable_carousel_for_subcategories": true,
  761. "categories": null,
  762. "picture": {
  763. "_type": "pictures",
  764. "_id": "de5e9839-517c-4bba-8d97-89d98a093985"
  765. },
  766. "menu": {
  767. "_type": "menus",
  768. "_id": "1ad290c4-fcc2-4d66-9dfa-2e7bf5166b21"
  769. },
  770. "service_category_type": {
  771. "_type": "service_category_types",
  772. "_id": "0f8161c1-aaf8-487d-a148-4c6683bd9bdc"
  773. },
  774. "apps": null,
  775. "promotions": null,
  776. "additional_services": null,
  777. "created_at": "2018-05-09 14:21",
  778. "updated_at": "2018-05-13 16:00"
  779. }
  780. },
  781. {
  782. "_type": "service_categories",
  783. "_id": "fec72fa3-32b5-4e7a-9258-1d64fe8dfc36",
  784. "attributes": {
  785. "name": "Other",
  786. "name_en": "Other",
  787. "name_fi": "Other",
  788. "hidden_name": false,
  789. "visibility_from": null,
  790. "visibility_to": null,
  791. "disable_ordering": false,
  792. "enable": true,
  793. "enable_search_for_subcategories": true,
  794. "enable_list_view_for_subcategories": true,
  795. "enable_carousel_for_subcategories": true,
  796. "categories": null,
  797. "picture": {
  798. "_type": "pictures",
  799. "_id": "de5e9839-517c-4bba-8d97-89d98a093985"
  800. },
  801. "menu": {
  802. "_type": "menus",
  803. "_id": "1ad290c4-fcc2-4d66-9dfa-2e7bf5166b21"
  804. },
  805. "service_category_type": {
  806. "_type": "service_category_types",
  807. "_id": "732342d4-cc8e-4041-ac59-7e477babd552"
  808. },
  809. "apps": null,
  810. "promotions": null,
  811. "additional_services": null,
  812. "created_at": "2018-05-09 14:21",
  813. "updated_at": "2018-05-09 14:21"
  814. }
  815. }
  816. ],
  817. "additional_services": [
  818. {
  819. "_type": "additional_services",
  820. "_id": "82b619ea-1911-4558-afc3-2f9e02fb230a",
  821. "attributes": {
  822. "name": "Info",
  823. "name_en": "Info",
  824. "name_fi": "(Name)",
  825. "hidden_name": false,
  826. "hide_from_menu_list": false,
  827. "show_as_hotel_information": false,
  828. "visibility_from": null,
  829. "visibility_to": null,
  830. "location": null,
  831. "keyword": null,
  832. "company_name": null,
  833. "company_name_en": null,
  834. "company_name_fi": null,
  835. "company_info": null,
  836. "company_info_en": null,
  837. "company_info_fi": null,
  838. "button_text": null,
  839. "button_text_en": null,
  840. "button_text_fi": null,
  841. "target_url": null,
  842. "book_online_button_text": null,
  843. "book_online_button_text_en": null,
  844. "book_online_button_text_fi": null,
  845. "book_online_url": null,
  846. "enable_send_message_feature": null,
  847. "email": null,
  848. "enable_appointment": false,
  849. "enable_phone_number_and_email": false,
  850. "enable_number_of_guests": false,
  851. "service_category": null,
  852. "additional_service_type": {
  853. "_type": "additional_service_types",
  854. "_id": "b5fe3077-a2ba-46a6-b8ef-a300eab26705"
  855. },
  856. "menu": {
  857. "_type": "menus",
  858. "_id": "1ad290c4-fcc2-4d66-9dfa-2e7bf5166b21"
  859. },
  860. "picture": {
  861. "_type": "pictures",
  862. "_id": "de5e9839-517c-4bba-8d97-89d98a093985"
  863. },
  864. "background_image": {
  865. "_type": "pictures",
  866. "_id": "19fa2939-3bc9-4022-8ec6-e2dd090e3e16"
  867. },
  868. "video_url": null,
  869. "web_page_url": null,
  870. "picture_gallery": [],
  871. "created_at": "2018-05-13 13:07",
  872. "updated_at": "2018-05-13 13:07"
  873. }
  874. }
  875. ],
  876. "device_addresses": [
  877. {
  878. "_type": "device_addresses",
  879. "_id": "6a5362fc-ba82-4518-b8ae-753f1a46f328",
  880. "attributes": {
  881. "name": "Table 1",
  882. "location": {
  883. "_type": "locations",
  884. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  885. },
  886. "phone_number": {
  887. "id": "96ea374f-097f-491f-abb9-ee9aed94a14e",
  888. "number": "+358341091127_2_1",
  889. "enable": true,
  890. "phoneable_id": "6a5362fc-ba82-4518-b8ae-753f1a46f328",
  891. "phoneable_type": "DeviceAddress",
  892. "phone_setting_id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  893. "parent_id": null,
  894. "available_from": null,
  895. "available_to": null,
  896. "created_at": "2018-05-15T15:41:02.025+03:00",
  897. "updated_at": "2018-05-15T15:41:02.025+03:00"
  898. },
  899. "devices": [
  900. {
  901. "_type": "devices",
  902. "_id": "aa90d118-a3ca-41cd-831b-dd415d2ca7e2"
  903. },
  904. {
  905. "_type": "devices",
  906. "_id": "848cfc25-a965-4739-b80b-319237d5c1c4"
  907. },
  908. {
  909. "_type": "devices",
  910. "_id": "60113529-4623-4cfa-9388-14b6d972d4e5"
  911. },
  912. {
  913. "_type": "devices",
  914. "_id": "059dda19-8ff6-4583-b928-7757399e8ca1"
  915. }
  916. ],
  917. "visiting": false,
  918. "deleted_at": null,
  919. "menus": [
  920. {
  921. "_type": "menus",
  922. "_id": "1ad290c4-fcc2-4d66-9dfa-2e7bf5166b21"
  923. }
  924. ],
  925. "created_at": "2018-05-09 14:21",
  926. "updated_at": "2018-05-09 14:21"
  927. }
  928. },
  929. {
  930. "_type": "device_addresses",
  931. "_id": "e4b0c90a-435a-4b6a-950d-b57896f887c6",
  932. "attributes": {
  933. "name": "Table 3",
  934. "location": {
  935. "_type": "locations",
  936. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  937. },
  938. "phone_number": {
  939. "id": "dd889929-c323-4303-a2e6-2a6448829067",
  940. "number": "+358341091127_2_3",
  941. "enable": true,
  942. "phoneable_id": "e4b0c90a-435a-4b6a-950d-b57896f887c6",
  943. "phoneable_type": "DeviceAddress",
  944. "phone_setting_id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  945. "parent_id": null,
  946. "available_from": null,
  947. "available_to": null,
  948. "created_at": "2018-05-15T15:41:02.036+03:00",
  949. "updated_at": "2018-05-15T15:41:02.036+03:00"
  950. },
  951. "devices": null,
  952. "visiting": false,
  953. "deleted_at": null,
  954. "menus": null,
  955. "created_at": "2018-05-09 14:21",
  956. "updated_at": "2018-05-09 14:21"
  957. }
  958. },
  959. {
  960. "_type": "device_addresses",
  961. "_id": "fb8d1570-2c45-4d38-8179-1b5474ba9795",
  962. "attributes": {
  963. "name": "Table 5",
  964. "location": {
  965. "_type": "locations",
  966. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  967. },
  968. "phone_number": {
  969. "id": "8438e24b-1eb5-42b8-a272-b09a09eac2de",
  970. "number": "+358341091127_2_5",
  971. "enable": true,
  972. "phoneable_id": "fb8d1570-2c45-4d38-8179-1b5474ba9795",
  973. "phoneable_type": "DeviceAddress",
  974. "phone_setting_id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  975. "parent_id": null,
  976. "available_from": null,
  977. "available_to": null,
  978. "created_at": "2018-05-15T15:41:02.047+03:00",
  979. "updated_at": "2018-05-15T15:41:02.047+03:00"
  980. },
  981. "devices": null,
  982. "visiting": false,
  983. "deleted_at": null,
  984. "menus": null,
  985. "created_at": "2018-05-09 14:21",
  986. "updated_at": "2018-05-09 14:21"
  987. }
  988. },
  989. {
  990. "_type": "device_addresses",
  991. "_id": "59b4a800-6e04-4c62-9fef-ee083cab78bd",
  992. "attributes": {
  993. "name": "Table 7",
  994. "location": {
  995. "_type": "locations",
  996. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  997. },
  998. "phone_number": {
  999. "id": "093f16d7-6f97-4987-b179-42cd928cb19e",
  1000. "number": "+358341091127_2_7",
  1001. "enable": true,
  1002. "phoneable_id": "59b4a800-6e04-4c62-9fef-ee083cab78bd",
  1003. "phoneable_type": "DeviceAddress",
  1004. "phone_setting_id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  1005. "parent_id": null,
  1006. "available_from": null,
  1007. "available_to": null,
  1008. "created_at": "2018-05-15T15:41:02.058+03:00",
  1009. "updated_at": "2018-05-15T15:41:02.058+03:00"
  1010. },
  1011. "devices": null,
  1012. "visiting": false,
  1013. "deleted_at": null,
  1014. "menus": null,
  1015. "created_at": "2018-05-09 14:21",
  1016. "updated_at": "2018-05-09 14:21"
  1017. }
  1018. },
  1019. {
  1020. "_type": "device_addresses",
  1021. "_id": "8020bcb8-8a94-42f9-9800-dcce2f918157",
  1022. "attributes": {
  1023. "name": "Table 9",
  1024. "location": {
  1025. "_type": "locations",
  1026. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  1027. },
  1028. "phone_number": {
  1029. "id": "912e622c-be41-4220-b18e-474677b0a34c",
  1030. "number": "+358341091127_2_9",
  1031. "enable": true,
  1032. "phoneable_id": "8020bcb8-8a94-42f9-9800-dcce2f918157",
  1033. "phoneable_type": "DeviceAddress",
  1034. "phone_setting_id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  1035. "parent_id": null,
  1036. "available_from": null,
  1037. "available_to": null,
  1038. "created_at": "2018-05-15T15:41:02.070+03:00",
  1039. "updated_at": "2018-05-15T15:41:02.070+03:00"
  1040. },
  1041. "devices": null,
  1042. "visiting": false,
  1043. "deleted_at": null,
  1044. "menus": null,
  1045. "created_at": "2018-05-09 14:21",
  1046. "updated_at": "2018-05-09 14:21"
  1047. }
  1048. },
  1049. {
  1050. "_type": "device_addresses",
  1051. "_id": "0000690d-ea48-4b93-a833-8040a1a9a657",
  1052. "attributes": {
  1053. "name": "Department",
  1054. "location": {
  1055. "_type": "locations",
  1056. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  1057. },
  1058. "phone_number": {
  1059. "id": "9b6d085c-6231-4bf5-a611-0bcee159a0a7",
  1060. "number": "+358341091127_3_1",
  1061. "enable": true,
  1062. "phoneable_id": "fc398932-67d1-4b1a-85c2-a67a8bd80f22",
  1063. "phoneable_type": "DepartmentType",
  1064. "phone_setting_id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  1065. "parent_id": null,
  1066. "available_from": null,
  1067. "available_to": null,
  1068. "created_at": "2018-05-15T15:41:22.119+03:00",
  1069. "updated_at": "2018-05-15T15:41:22.119+03:00"
  1070. },
  1071. "devices": null,
  1072. "visiting": false,
  1073. "deleted_at": null,
  1074. "menus": null,
  1075. "created_at": "2018-05-09 22:41",
  1076. "updated_at": "2018-05-09 22:41"
  1077. }
  1078. },
  1079. {
  1080. "_type": "device_addresses",
  1081. "_id": "0d5f0766-a55c-4ad0-a967-f320cab89661",
  1082. "attributes": {
  1083. "name": "Table 11",
  1084. "location": {
  1085. "_type": "locations",
  1086. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  1087. },
  1088. "phone_number": {
  1089. "id": "2d792a1f-5286-461d-846b-b7e77c66c8f2",
  1090. "number": "+358341091127_2_11",
  1091. "enable": true,
  1092. "phoneable_id": "0d5f0766-a55c-4ad0-a967-f320cab89661",
  1093. "phoneable_type": "DeviceAddress",
  1094. "phone_setting_id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  1095. "parent_id": null,
  1096. "available_from": null,
  1097. "available_to": null,
  1098. "created_at": "2018-05-15T15:41:02.092+03:00",
  1099. "updated_at": "2018-05-15T15:41:02.092+03:00"
  1100. },
  1101. "devices": null,
  1102. "visiting": false,
  1103. "deleted_at": null,
  1104. "menus": null,
  1105. "created_at": "2018-05-13 14:28",
  1106. "updated_at": "2018-05-13 14:28"
  1107. }
  1108. },
  1109. {
  1110. "_type": "device_addresses",
  1111. "_id": "d02112ac-8422-457d-b4e6-e6b89c83cc68",
  1112. "attributes": {
  1113. "name": "Table 2",
  1114. "location": {
  1115. "_type": "locations",
  1116. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  1117. },
  1118. "phone_number": {
  1119. "id": "c330af9d-a314-4e8f-9c23-4d86645e4895",
  1120. "number": "+358341091127_2_2",
  1121. "enable": true,
  1122. "phoneable_id": "d02112ac-8422-457d-b4e6-e6b89c83cc68",
  1123. "phoneable_type": "DeviceAddress",
  1124. "phone_setting_id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  1125. "parent_id": null,
  1126. "available_from": null,
  1127. "available_to": null,
  1128. "created_at": "2018-05-15T15:41:02.031+03:00",
  1129. "updated_at": "2018-05-15T15:41:02.031+03:00"
  1130. },
  1131. "devices": [
  1132. {
  1133. "_type": "devices",
  1134. "_id": "19075355-9bfb-4dfe-807e-194906f2b638"
  1135. }
  1136. ],
  1137. "visiting": false,
  1138. "deleted_at": null,
  1139. "menus": [
  1140. {
  1141. "_type": "menus",
  1142. "_id": "1ad290c4-fcc2-4d66-9dfa-2e7bf5166b21"
  1143. }
  1144. ],
  1145. "created_at": "2018-05-09 14:21",
  1146. "updated_at": "2018-05-09 14:21"
  1147. }
  1148. },
  1149. {
  1150. "_type": "device_addresses",
  1151. "_id": "39c9f23c-e903-4330-9e48-ada1d9986783",
  1152. "attributes": {
  1153. "name": "Table 6",
  1154. "location": {
  1155. "_type": "locations",
  1156. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  1157. },
  1158. "phone_number": {
  1159. "id": "fffaf0a7-a247-405f-bc4e-7e0321d68706",
  1160. "number": "+358341091127_2_6",
  1161. "enable": true,
  1162. "phoneable_id": "39c9f23c-e903-4330-9e48-ada1d9986783",
  1163. "phoneable_type": "DeviceAddress",
  1164. "phone_setting_id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  1165. "parent_id": null,
  1166. "available_from": null,
  1167. "available_to": null,
  1168. "created_at": "2018-05-15T15:41:02.052+03:00",
  1169. "updated_at": "2018-05-15T15:41:02.052+03:00"
  1170. },
  1171. "devices": null,
  1172. "visiting": false,
  1173. "deleted_at": null,
  1174. "menus": null,
  1175. "created_at": "2018-05-09 14:21",
  1176. "updated_at": "2018-05-09 14:21"
  1177. }
  1178. },
  1179. {
  1180. "_type": "device_addresses",
  1181. "_id": "2577ea46-bc9e-4787-882d-45d5533b6036",
  1182. "attributes": {
  1183. "name": "Table 10",
  1184. "location": {
  1185. "_type": "locations",
  1186. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  1187. },
  1188. "phone_number": {
  1189. "id": "00872dd5-f618-4a04-bec5-5178931daa93",
  1190. "number": "+358341091127_2_10",
  1191. "enable": true,
  1192. "phoneable_id": "2577ea46-bc9e-4787-882d-45d5533b6036",
  1193. "phoneable_type": "DeviceAddress",
  1194. "phone_setting_id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  1195. "parent_id": null,
  1196. "available_from": null,
  1197. "available_to": null,
  1198. "created_at": "2018-05-15T15:41:02.076+03:00",
  1199. "updated_at": "2018-05-15T15:41:02.076+03:00"
  1200. },
  1201. "devices": [
  1202. {
  1203. "_type": "devices",
  1204. "_id": "d347004a-bc30-4949-8d41-cdfbec31acff"
  1205. }
  1206. ],
  1207. "visiting": false,
  1208. "deleted_at": null,
  1209. "menus": [
  1210. {
  1211. "_type": "menus",
  1212. "_id": "1ad290c4-fcc2-4d66-9dfa-2e7bf5166b21"
  1213. }
  1214. ],
  1215. "created_at": "2018-05-09 14:21",
  1216. "updated_at": "2018-05-09 14:21"
  1217. }
  1218. },
  1219. {
  1220. "_type": "device_addresses",
  1221. "_id": "f92c1b54-bf33-4bb8-ae9c-1e5c5edd5a57",
  1222. "attributes": {
  1223. "name": "Reception",
  1224. "location": {
  1225. "_type": "locations",
  1226. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  1227. },
  1228. "phone_number": {
  1229. "id": "579e317d-bd5c-4126-ac48-38ba1915ae51",
  1230. "number": "+358341091127_2_14",
  1231. "enable": true,
  1232. "phoneable_id": "f92c1b54-bf33-4bb8-ae9c-1e5c5edd5a57",
  1233. "phoneable_type": "DeviceAddress",
  1234. "phone_setting_id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  1235. "parent_id": null,
  1236. "available_from": null,
  1237. "available_to": null,
  1238. "created_at": "2018-05-15T15:41:02.101+03:00",
  1239. "updated_at": "2018-05-15T15:41:02.101+03:00"
  1240. },
  1241. "devices": null,
  1242. "visiting": false,
  1243. "deleted_at": null,
  1244. "menus": null,
  1245. "created_at": "2018-05-15 15:40",
  1246. "updated_at": "2018-05-15 15:40"
  1247. }
  1248. },
  1249. {
  1250. "_type": "device_addresses",
  1251. "_id": "c8e26e4e-b5cf-455a-a0bb-664130f8a658",
  1252. "attributes": {
  1253. "name": "Table 4",
  1254. "location": {
  1255. "_type": "locations",
  1256. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  1257. },
  1258. "phone_number": {
  1259. "id": "50977873-8d1a-4ad9-ac32-c4242207f8b3",
  1260. "number": "+358341091127_2_4",
  1261. "enable": true,
  1262. "phoneable_id": "c8e26e4e-b5cf-455a-a0bb-664130f8a658",
  1263. "phoneable_type": "DeviceAddress",
  1264. "phone_setting_id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  1265. "parent_id": null,
  1266. "available_from": null,
  1267. "available_to": null,
  1268. "created_at": "2018-05-15T15:41:02.042+03:00",
  1269. "updated_at": "2018-05-15T15:41:02.042+03:00"
  1270. },
  1271. "devices": [
  1272. {
  1273. "_type": "devices",
  1274. "_id": "72f461c8-adcb-476e-b70b-250dcdb32290"
  1275. }
  1276. ],
  1277. "visiting": false,
  1278. "deleted_at": null,
  1279. "menus": [
  1280. {
  1281. "_type": "menus",
  1282. "_id": "1ad290c4-fcc2-4d66-9dfa-2e7bf5166b21"
  1283. }
  1284. ],
  1285. "created_at": "2018-05-09 14:21",
  1286. "updated_at": "2018-05-09 14:21"
  1287. }
  1288. },
  1289. {
  1290. "_type": "device_addresses",
  1291. "_id": "076447b4-b194-4497-b0ab-4bb2b3659006",
  1292. "attributes": {
  1293. "name": "Table 12",
  1294. "location": {
  1295. "_type": "locations",
  1296. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  1297. },
  1298. "phone_number": {
  1299. "id": "77567608-00ba-4bc9-823d-1c25347e7363",
  1300. "number": "+358341091127_2_12",
  1301. "enable": true,
  1302. "phoneable_id": "076447b4-b194-4497-b0ab-4bb2b3659006",
  1303. "phoneable_type": "DeviceAddress",
  1304. "phone_setting_id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  1305. "parent_id": null,
  1306. "available_from": null,
  1307. "available_to": null,
  1308. "created_at": "2018-05-15T15:41:02.087+03:00",
  1309. "updated_at": "2018-05-15T15:41:02.087+03:00"
  1310. },
  1311. "devices": null,
  1312. "visiting": false,
  1313. "deleted_at": null,
  1314. "menus": null,
  1315. "created_at": "2018-05-13 14:22",
  1316. "updated_at": "2018-05-13 14:22"
  1317. }
  1318. },
  1319. {
  1320. "_type": "device_addresses",
  1321. "_id": "e83a58bc-be77-4d80-bbc1-a05bf4f4ddec",
  1322. "attributes": {
  1323. "name": "Table 8",
  1324. "location": {
  1325. "_type": "locations",
  1326. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  1327. },
  1328. "phone_number": {
  1329. "id": "23143ac8-a3e2-4a39-8990-b77e927a26f7",
  1330. "number": "+358341091127_2_8",
  1331. "enable": true,
  1332. "phoneable_id": "e83a58bc-be77-4d80-bbc1-a05bf4f4ddec",
  1333. "phoneable_type": "DeviceAddress",
  1334. "phone_setting_id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  1335. "parent_id": null,
  1336. "available_from": null,
  1337. "available_to": null,
  1338. "created_at": "2018-05-15T15:41:02.064+03:00",
  1339. "updated_at": "2018-05-15T15:41:02.064+03:00"
  1340. },
  1341. "devices": null,
  1342. "visiting": false,
  1343. "deleted_at": null,
  1344. "menus": null,
  1345. "created_at": "2018-05-09 14:21",
  1346. "updated_at": "2018-05-09 14:21"
  1347. }
  1348. }
  1349. ],
  1350. "pictures": [
  1351. {
  1352. "_type": "pictures",
  1353. "_id": "de5e9839-517c-4bba-8d97-89d98a093985",
  1354. "attributes": {
  1355. "name": "item_placeholder.png",
  1356. "url": "http://beta.poshiemedia.com/system/media_files/files/cba/651/1d-/original/item_placeholder.png?1525864896",
  1357. "medium": "http://beta.poshiemedia.com/system/media_files/files/cba/651/1d-/medium/item_placeholder.png?1525864896",
  1358. "thumb": "http://beta.poshiemedia.com/system/media_files/files/cba/651/1d-/thumb/item_placeholder.png?1525864896",
  1359. "can_delete": false,
  1360. "created_at": "2018-05-09 14:21",
  1361. "updated_at": "2018-05-09 14:21"
  1362. }
  1363. },
  1364. {
  1365. "_type": "pictures",
  1366. "_id": "19fa2939-3bc9-4022-8ec6-e2dd090e3e16",
  1367. "attributes": {
  1368. "name": "bg_placeholder.png",
  1369. "url": "http://beta.poshiemedia.com/system/media_files/files/082/bd5/de-/original/bg_placeholder.png?1525894052",
  1370. "medium": "http://beta.poshiemedia.com/system/media_files/files/082/bd5/de-/medium/bg_placeholder.png?1525894052",
  1371. "thumb": "http://beta.poshiemedia.com/system/media_files/files/082/bd5/de-/thumb/bg_placeholder.png?1525894052",
  1372. "can_delete": false,
  1373. "created_at": "2018-05-09 22:27",
  1374. "updated_at": "2018-05-09 22:27"
  1375. }
  1376. },
  1377. {
  1378. "_type": "pictures",
  1379. "_id": "9919181b-6f52-455e-a3d5-e2be5c4191ff",
  1380. "attributes": {
  1381. "name": "customerservice.png",
  1382. "url": "http://beta.poshiemedia.com/system/media_files/files/1fe/555/67-/original/customerservice.png?1525864919",
  1383. "medium": "http://beta.poshiemedia.com/system/media_files/files/1fe/555/67-/medium/customerservice.png?1525864919",
  1384. "thumb": "http://beta.poshiemedia.com/system/media_files/files/1fe/555/67-/thumb/customerservice.png?1525864919",
  1385. "can_delete": false,
  1386. "created_at": "2018-05-09 14:21",
  1387. "updated_at": "2018-05-09 14:21"
  1388. }
  1389. },
  1390. {
  1391. "_type": "pictures",
  1392. "_id": "d2a209e6-3ce9-4654-b818-a89f4987bcdf",
  1393. "attributes": {
  1394. "name": "bg_placeholder.png",
  1395. "url": "http://beta.poshiemedia.com/system/media_files/files/7fc/dd1/5f-/original/bg_placeholder.png?1525864873",
  1396. "medium": "http://beta.poshiemedia.com/system/media_files/files/7fc/dd1/5f-/medium/bg_placeholder.png?1525864873",
  1397. "thumb": "http://beta.poshiemedia.com/system/media_files/files/7fc/dd1/5f-/thumb/bg_placeholder.png?1525864873",
  1398. "info": null,
  1399. "info_en": "",
  1400. "info_fi": "",
  1401. "button_text": null,
  1402. "button_text_en": "",
  1403. "button_text_fi": "",
  1404. "target_url": null,
  1405. "text_align": "right",
  1406. "text_color": "#ffffff",
  1407. "book_online_button_text": null,
  1408. "book_online_button_text_en": "",
  1409. "book_online_button_text_fi": "",
  1410. "book_online_url": null,
  1411. "can_delete": true,
  1412. "created_at": "2018-05-09 14:21",
  1413. "updated_at": "2018-05-09 14:21"
  1414. }
  1415. },
  1416. {
  1417. "_type": "pictures",
  1418. "_id": "95534aa1-ad0f-4b08-a6fc-5e18c134ee16",
  1419. "attributes": {
  1420. "name": "flag-en.png",
  1421. "url": "http://beta.poshiemedia.com/system/media_files/files/709/b0b/40-/original/flag-en.png?1525864872",
  1422. "medium": "http://beta.poshiemedia.com/system/media_files/files/709/b0b/40-/medium/flag-en.png?1525864872",
  1423. "thumb": "http://beta.poshiemedia.com/system/media_files/files/709/b0b/40-/thumb/flag-en.png?1525864872",
  1424. "can_delete": true,
  1425. "created_at": "2018-05-09 14:21",
  1426. "updated_at": "2018-05-09 14:21"
  1427. }
  1428. }
  1429. ],
  1430. "customers": [
  1431. {
  1432. "_type": "customers",
  1433. "_id": "897b2c63-caf9-4411-a312-36d0d090c1da",
  1434. "attributes": {
  1435. "name": "Amarrillo",
  1436. "street_address": "Mikonkatu 10 C 1",
  1437. "postal_code": "00100",
  1438. "town": "Helsinki",
  1439. "country": "FI",
  1440. "timezone": "Europe/Helsinki",
  1441. "email": "amarillomikko@example.com",
  1442. "phone": "+35840100100",
  1443. "default_language": "en",
  1444. "currency": "USD",
  1445. "currency_symbol": "$",
  1446. "can_create_location": true,
  1447. "locations_amount": 2,
  1448. "menus": null,
  1449. "locations": [
  1450. {
  1451. "_type": "locations",
  1452. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  1453. },
  1454. {
  1455. "_type": "locations",
  1456. "_id": "f13d568a-faf7-4b27-a792-898c0cedbfd1"
  1457. }
  1458. ],
  1459. "customer_type": {
  1460. "_type": "customer_types",
  1461. "_id": "8b3db848-a4ee-4dab-81b8-495fa2c6a308"
  1462. },
  1463. "created_at": "2018-05-09 14:21",
  1464. "updated_at": "2018-05-09 14:21"
  1465. }
  1466. }
  1467. ],
  1468. "users": [
  1469. {
  1470. "_type": "users",
  1471. "_id": "db80f59e-50ac-4217-8e16-53a33a9af984",
  1472. "attributes": {
  1473. "name": "Location Admin",
  1474. "email": "location_admin@example.com",
  1475. "auth_token": "db80f59e-50ac-4217-8e16-53a33a9af984:9nZ_XWn2u7Q8VBeMivQa",
  1476. "role": "Location Admin",
  1477. "have_theme": true,
  1478. "customer": {
  1479. "_type": "customers",
  1480. "_id": "897b2c63-caf9-4411-a312-36d0d090c1da"
  1481. },
  1482. "location": {
  1483. "_type": "locations",
  1484. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  1485. },
  1486. "permits": [
  1487. {
  1488. "_type": "permits",
  1489. "_id": "f2db2abe-e075-4417-8c59-584029a64e6f"
  1490. }
  1491. ],
  1492. "created_at": "2018-05-13 00:28",
  1493. "updated_at": "2018-05-13 00:28"
  1494. }
  1495. },
  1496. {
  1497. "_type": "users",
  1498. "_id": "3a4656a5-562b-41ff-8cb1-282e3048da13",
  1499. "attributes": {
  1500. "department": "Department",
  1501. "pin_code": 114455,
  1502. "username": "staff5",
  1503. "auth_token": "3a4656a5-562b-41ff-8cb1-282e3048da13:etU2sPTFkqpiLgs6kVpS",
  1504. "role": "Staff",
  1505. "customer": {
  1506. "_type": "customers",
  1507. "_id": "897b2c63-caf9-4411-a312-36d0d090c1da"
  1508. },
  1509. "location": {
  1510. "_type": "locations",
  1511. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  1512. },
  1513. "permits": [
  1514. {
  1515. "_type": "permits",
  1516. "_id": "e7d69b26-ed5d-4473-bc7d-bbb51cf37fc0",
  1517. "name": "Orders"
  1518. }
  1519. ],
  1520. "picture": {
  1521. "_type": "pictures",
  1522. "_id": "9919181b-6f52-455e-a3d5-e2be5c4191ff"
  1523. },
  1524. "created_at": "2018-05-13 15:21",
  1525. "updated_at": "2018-05-13 15:21"
  1526. }
  1527. },
  1528. {
  1529. "_type": "users",
  1530. "_id": "f7fd776f-da59-414e-9238-dc6af5bd46a8",
  1531. "attributes": {
  1532. "department": "Department",
  1533. "pin_code": 123456,
  1534. "username": "waiter",
  1535. "auth_token": "f7fd776f-da59-414e-9238-dc6af5bd46a8:r5gWJ_eyyP8RgRULR8bS",
  1536. "role": "Staff",
  1537. "customer": {
  1538. "_type": "customers",
  1539. "_id": "897b2c63-caf9-4411-a312-36d0d090c1da"
  1540. },
  1541. "location": {
  1542. "_type": "locations",
  1543. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  1544. },
  1545. "permits": [
  1546. {
  1547. "_type": "permits",
  1548. "_id": "e7d69b26-ed5d-4473-bc7d-bbb51cf37fc0",
  1549. "name": "Orders"
  1550. },
  1551. {
  1552. "_type": "permits",
  1553. "_id": "3262e528-c51f-4d1d-a810-167c55d12658",
  1554. "name": "Rejected orders"
  1555. },
  1556. {
  1557. "_type": "permits",
  1558. "_id": "e2512ee4-1c20-4420-a333-5fa438c656fe",
  1559. "name": "Edit tables"
  1560. },
  1561. {
  1562. "_type": "permits",
  1563. "_id": "ef7f5eca-9fac-4582-b9ea-6c6b4e0f50c2",
  1564. "name": "Reservations"
  1565. },
  1566. {
  1567. "_type": "permits",
  1568. "_id": "f2db2abe-e075-4417-8c59-584029a64e6d",
  1569. "name": "Edit menu"
  1570. },
  1571. {
  1572. "_type": "permits",
  1573. "_id": "5e1b60ee-b01c-472d-956f-2b22610c797c",
  1574. "name": "Chat"
  1575. },
  1576. {
  1577. "_type": "permits",
  1578. "_id": "e025be1d-ed77-4672-8b5f-ade2bd84cade",
  1579. "name": "Sales"
  1580. },
  1581. {
  1582. "_type": "permits",
  1583. "_id": "f1c9318e-2855-43fc-9000-c9be0489d929",
  1584. "name": "Edit promotions"
  1585. }
  1586. ],
  1587. "picture": {
  1588. "_type": "pictures",
  1589. "_id": "9919181b-6f52-455e-a3d5-e2be5c4191ff"
  1590. },
  1591. "created_at": "2018-05-09 14:21",
  1592. "updated_at": "2018-05-16 12:11"
  1593. }
  1594. },
  1595. {
  1596. "_type": "users",
  1597. "_id": "8ccf9654-5cb0-4ac0-8b82-71aa0710dda2",
  1598. "attributes": {
  1599. "department": "Department",
  1600. "pin_code": 113344,
  1601. "username": "staff3",
  1602. "auth_token": "8ccf9654-5cb0-4ac0-8b82-71aa0710dda2:4HgCZSc1nGJp8yRwC87z",
  1603. "role": "Staff",
  1604. "customer": {
  1605. "_type": "customers",
  1606. "_id": "897b2c63-caf9-4411-a312-36d0d090c1da"
  1607. },
  1608. "location": {
  1609. "_type": "locations",
  1610. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  1611. },
  1612. "permits": [
  1613. {
  1614. "_type": "permits",
  1615. "_id": "e7d69b26-ed5d-4473-bc7d-bbb51cf37fc0",
  1616. "name": "Orders"
  1617. }
  1618. ],
  1619. "picture": {
  1620. "_type": "pictures",
  1621. "_id": "9919181b-6f52-455e-a3d5-e2be5c4191ff"
  1622. },
  1623. "created_at": "2018-05-13 15:15",
  1624. "updated_at": "2018-05-13 15:15"
  1625. }
  1626. },
  1627. {
  1628. "_type": "users",
  1629. "_id": "26ecabdf-034b-4ea7-b25f-8ef62c514864",
  1630. "attributes": {
  1631. "department": "Reception",
  1632. "pin_code": 114455,
  1633. "username": "staff6",
  1634. "auth_token": "26ecabdf-034b-4ea7-b25f-8ef62c514864:9_xsX1azkxLY5paCSLJt",
  1635. "role": "Staff",
  1636. "customer": {
  1637. "_type": "customers",
  1638. "_id": "897b2c63-caf9-4411-a312-36d0d090c1da"
  1639. },
  1640. "location": {
  1641. "_type": "locations",
  1642. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  1643. },
  1644. "permits": [
  1645. {
  1646. "_type": "permits",
  1647. "_id": "e7d69b26-ed5d-4473-bc7d-bbb51cf37fc0",
  1648. "name": "Orders"
  1649. },
  1650. {
  1651. "_type": "permits",
  1652. "_id": "f2db2abe-e075-4417-8c59-584029a64e6e",
  1653. "name": "Phone"
  1654. }
  1655. ],
  1656. "picture": {
  1657. "_type": "pictures",
  1658. "_id": "9919181b-6f52-455e-a3d5-e2be5c4191ff"
  1659. },
  1660. "created_at": "2018-05-13 15:31",
  1661. "updated_at": "2018-05-15 15:40"
  1662. }
  1663. },
  1664. {
  1665. "_type": "users",
  1666. "_id": "1c2b8751-f0ec-4073-b433-208b4f7fb168",
  1667. "attributes": {
  1668. "department": "Department",
  1669. "pin_code": 112233,
  1670. "username": "staff4",
  1671. "auth_token": "1c2b8751-f0ec-4073-b433-208b4f7fb168:e3z1hgsWAxKz-sax2VAy",
  1672. "role": "Staff",
  1673. "customer": {
  1674. "_type": "customers",
  1675. "_id": "897b2c63-caf9-4411-a312-36d0d090c1da"
  1676. },
  1677. "location": {
  1678. "_type": "locations",
  1679. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  1680. },
  1681. "permits": [
  1682. {
  1683. "_type": "permits",
  1684. "_id": "5e1b60ee-b01c-472d-956f-2b22610c797c",
  1685. "name": "Chat"
  1686. }
  1687. ],
  1688. "picture": {
  1689. "_type": "pictures",
  1690. "_id": "9919181b-6f52-455e-a3d5-e2be5c4191ff"
  1691. },
  1692. "created_at": "2018-05-13 14:51",
  1693. "updated_at": "2018-05-13 14:51"
  1694. }
  1695. }
  1696. ],
  1697. "devices": [
  1698. {
  1699. "_type": "devices",
  1700. "_id": "aa90d118-a3ca-41cd-831b-dd415d2ca7e2",
  1701. "attributes": {
  1702. "uuid": "8252E338-D962-5E3F-98C8-1E5B959A5E490123456789",
  1703. "latest_update": "2018-05-09 15:52",
  1704. "requested_waiter_at": null,
  1705. "location": {
  1706. "_type": "locations",
  1707. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  1708. },
  1709. "device_address": {
  1710. "_type": "device_addresses",
  1711. "_id": "6a5362fc-ba82-4518-b8ae-753f1a46f328"
  1712. },
  1713. "menu": {
  1714. "_type": "menus",
  1715. "_id": "1ad290c4-fcc2-4d66-9dfa-2e7bf5166b21"
  1716. },
  1717. "basic_setting": {
  1718. "_type": "basic_settings",
  1719. "_id": "eec40d69-2b83-4394-bc17-13eb0e302d2e"
  1720. },
  1721. "additional_setting": {
  1722. "_type": "additional_settings",
  1723. "_id": "7dc53a0e-fc8c-4fe1-bc19-05dfd986a7e0"
  1724. },
  1725. "payment_setting": {
  1726. "_type": "payment_settings",
  1727. "_id": "233d19b4-59a8-425f-a74a-b14522ad759a"
  1728. },
  1729. "visiting": false,
  1730. "created_at": "2018-05-09 15:51",
  1731. "updated_at": "2018-05-09 15:52",
  1732. "quick_calls": [
  1733. {
  1734. "id": "b167e436-f266-485b-b07a-9168858fd104",
  1735. "name": "Table 10",
  1736. "number": "+358341091127_2_10",
  1737. "order": null,
  1738. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  1739. "created_at": "2018-05-13T23:40:01.475+03:00",
  1740. "updated_at": "2018-05-13T23:40:01.475+03:00"
  1741. },
  1742. {
  1743. "id": "6be84c20-45da-4676-9ee3-be52f4076519",
  1744. "name": "Table 9",
  1745. "number": "+358341091127_2_9",
  1746. "order": null,
  1747. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  1748. "created_at": "2018-05-13T23:40:11.014+03:00",
  1749. "updated_at": "2018-05-13T23:40:11.014+03:00"
  1750. },
  1751. {
  1752. "id": "accaa2c1-b96f-4e32-99f6-e79cfcde0b6e",
  1753. "name": "Table 4",
  1754. "number": "+358341091127_2_4",
  1755. "order": null,
  1756. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  1757. "created_at": "2018-05-13T23:40:12.545+03:00",
  1758. "updated_at": "2018-05-13T23:40:12.545+03:00"
  1759. },
  1760. {
  1761. "id": "3a521b83-8bf7-41c3-be8d-0b669c9aad29",
  1762. "name": "Table 6",
  1763. "number": "+358341091127_2_6",
  1764. "order": null,
  1765. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  1766. "created_at": "2018-05-15T15:47:14.043+03:00",
  1767. "updated_at": "2018-05-15T15:47:14.043+03:00"
  1768. },
  1769. {
  1770. "id": "978e0b0b-a2fd-427f-8108-9a61f005f131",
  1771. "name": "Table 7",
  1772. "number": "+358341091127_2_7",
  1773. "order": null,
  1774. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  1775. "created_at": "2018-05-15T15:47:14.904+03:00",
  1776. "updated_at": "2018-05-15T15:47:14.904+03:00"
  1777. },
  1778. {
  1779. "id": "638f2772-c550-49cc-b85f-92eb0a2f237e",
  1780. "name": "Department",
  1781. "number": "+358341091127_3_1",
  1782. "order": null,
  1783. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  1784. "created_at": "2018-05-15T15:47:27.660+03:00",
  1785. "updated_at": "2018-05-15T15:47:27.660+03:00"
  1786. },
  1787. {
  1788. "id": "91a52c6e-25d6-471f-b9f1-4caa9a595bdd",
  1789. "name": "Location Admin",
  1790. "number": "+358341091127_4_2",
  1791. "order": null,
  1792. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  1793. "created_at": "2018-05-15T15:47:29.998+03:00",
  1794. "updated_at": "2018-05-15T15:47:29.998+03:00"
  1795. }
  1796. ],
  1797. "phone_setting": [
  1798. {
  1799. "id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  1800. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  1801. "category_prefix": "1",
  1802. "device_address_prefix": "2",
  1803. "department_prefix": "3",
  1804. "staff_prefix": "4",
  1805. "room_prefix": "5",
  1806. "enable": true,
  1807. "enable_internal": true,
  1808. "enable_external": true,
  1809. "available_from": null,
  1810. "available_to": null,
  1811. "available_from_internal": null,
  1812. "available_to_internal": null,
  1813. "available_from_external": null,
  1814. "available_to_external": null,
  1815. "root_number": "+358341091127",
  1816. "phone_server_secret_key": "vvfD0KAB56H1ZFut1xps",
  1817. "created_at": "2018-05-09T16:48:18.920+03:00",
  1818. "updated_at": "2018-05-09T16:48:18.920+03:00"
  1819. }
  1820. ],
  1821. "phone_number": {
  1822. "id": "db095c16-3744-455e-a41c-34f1b099bf33",
  1823. "number": "+358341091127_4_1",
  1824. "enable": true,
  1825. "phoneable_id": "f7fd776f-da59-414e-9238-dc6af5bd46a8",
  1826. "phoneable_type": "User",
  1827. "phone_setting_id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  1828. "parent_id": null,
  1829. "available_from": null,
  1830. "available_to": null,
  1831. "created_at": "2018-05-15T15:41:22.131+03:00",
  1832. "updated_at": "2018-05-15T15:41:22.131+03:00"
  1833. },
  1834. "parent_phone_number": null
  1835. }
  1836. },
  1837. {
  1838. "_type": "devices",
  1839. "_id": "60113529-4623-4cfa-9388-14b6d972d4e5",
  1840. "attributes": {
  1841. "uuid": "8de8d1e71b5310e451eaa0e92b24207d0123456789",
  1842. "latest_update": "2018-05-10 20:43",
  1843. "requested_waiter_at": null,
  1844. "location": {
  1845. "_type": "locations",
  1846. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  1847. },
  1848. "device_address": {
  1849. "_type": "device_addresses",
  1850. "_id": "6a5362fc-ba82-4518-b8ae-753f1a46f328"
  1851. },
  1852. "menu": {
  1853. "_type": "menus",
  1854. "_id": "1ad290c4-fcc2-4d66-9dfa-2e7bf5166b21"
  1855. },
  1856. "basic_setting": {
  1857. "_type": "basic_settings",
  1858. "_id": "eec40d69-2b83-4394-bc17-13eb0e302d2e"
  1859. },
  1860. "additional_setting": {
  1861. "_type": "additional_settings",
  1862. "_id": "7dc53a0e-fc8c-4fe1-bc19-05dfd986a7e0"
  1863. },
  1864. "payment_setting": {
  1865. "_type": "payment_settings",
  1866. "_id": "233d19b4-59a8-425f-a74a-b14522ad759a"
  1867. },
  1868. "visiting": false,
  1869. "created_at": "2018-05-10 20:43",
  1870. "updated_at": "2018-05-10 20:43",
  1871. "quick_calls": [
  1872. {
  1873. "id": "b167e436-f266-485b-b07a-9168858fd104",
  1874. "name": "Table 10",
  1875. "number": "+358341091127_2_10",
  1876. "order": null,
  1877. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  1878. "created_at": "2018-05-13T23:40:01.475+03:00",
  1879. "updated_at": "2018-05-13T23:40:01.475+03:00"
  1880. },
  1881. {
  1882. "id": "6be84c20-45da-4676-9ee3-be52f4076519",
  1883. "name": "Table 9",
  1884. "number": "+358341091127_2_9",
  1885. "order": null,
  1886. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  1887. "created_at": "2018-05-13T23:40:11.014+03:00",
  1888. "updated_at": "2018-05-13T23:40:11.014+03:00"
  1889. },
  1890. {
  1891. "id": "accaa2c1-b96f-4e32-99f6-e79cfcde0b6e",
  1892. "name": "Table 4",
  1893. "number": "+358341091127_2_4",
  1894. "order": null,
  1895. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  1896. "created_at": "2018-05-13T23:40:12.545+03:00",
  1897. "updated_at": "2018-05-13T23:40:12.545+03:00"
  1898. },
  1899. {
  1900. "id": "3a521b83-8bf7-41c3-be8d-0b669c9aad29",
  1901. "name": "Table 6",
  1902. "number": "+358341091127_2_6",
  1903. "order": null,
  1904. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  1905. "created_at": "2018-05-15T15:47:14.043+03:00",
  1906. "updated_at": "2018-05-15T15:47:14.043+03:00"
  1907. },
  1908. {
  1909. "id": "978e0b0b-a2fd-427f-8108-9a61f005f131",
  1910. "name": "Table 7",
  1911. "number": "+358341091127_2_7",
  1912. "order": null,
  1913. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  1914. "created_at": "2018-05-15T15:47:14.904+03:00",
  1915. "updated_at": "2018-05-15T15:47:14.904+03:00"
  1916. },
  1917. {
  1918. "id": "638f2772-c550-49cc-b85f-92eb0a2f237e",
  1919. "name": "Department",
  1920. "number": "+358341091127_3_1",
  1921. "order": null,
  1922. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  1923. "created_at": "2018-05-15T15:47:27.660+03:00",
  1924. "updated_at": "2018-05-15T15:47:27.660+03:00"
  1925. },
  1926. {
  1927. "id": "91a52c6e-25d6-471f-b9f1-4caa9a595bdd",
  1928. "name": "Location Admin",
  1929. "number": "+358341091127_4_2",
  1930. "order": null,
  1931. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  1932. "created_at": "2018-05-15T15:47:29.998+03:00",
  1933. "updated_at": "2018-05-15T15:47:29.998+03:00"
  1934. }
  1935. ],
  1936. "phone_setting": [
  1937. {
  1938. "id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  1939. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  1940. "category_prefix": "1",
  1941. "device_address_prefix": "2",
  1942. "department_prefix": "3",
  1943. "staff_prefix": "4",
  1944. "room_prefix": "5",
  1945. "enable": true,
  1946. "enable_internal": true,
  1947. "enable_external": true,
  1948. "available_from": null,
  1949. "available_to": null,
  1950. "available_from_internal": null,
  1951. "available_to_internal": null,
  1952. "available_from_external": null,
  1953. "available_to_external": null,
  1954. "root_number": "+358341091127",
  1955. "phone_server_secret_key": "vvfD0KAB56H1ZFut1xps",
  1956. "created_at": "2018-05-09T16:48:18.920+03:00",
  1957. "updated_at": "2018-05-09T16:48:18.920+03:00"
  1958. }
  1959. ],
  1960. "phone_number": {
  1961. "id": "96ea374f-097f-491f-abb9-ee9aed94a14e",
  1962. "number": "+358341091127_2_1",
  1963. "enable": true,
  1964. "phoneable_id": "6a5362fc-ba82-4518-b8ae-753f1a46f328",
  1965. "phoneable_type": "DeviceAddress",
  1966. "phone_setting_id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  1967. "parent_id": null,
  1968. "available_from": null,
  1969. "available_to": null,
  1970. "created_at": "2018-05-15T15:41:02.025+03:00",
  1971. "updated_at": "2018-05-15T15:41:02.025+03:00"
  1972. },
  1973. "parent_phone_number": null
  1974. }
  1975. },
  1976. {
  1977. "_type": "devices",
  1978. "_id": "e489ed25-cbf4-4ed3-8995-d7610c80637d",
  1979. "attributes": {
  1980. "uuid": "8252E338-D962-5E3F-98C8-1E5B959A5E490123456789\n",
  1981. "latest_update": "2018-05-12 20:48",
  1982. "requested_waiter_at": null,
  1983. "location": {
  1984. "_type": "locations",
  1985. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  1986. },
  1987. "device_address": null,
  1988. "menu": {
  1989. "_type": "menus",
  1990. "_id": "1ad290c4-fcc2-4d66-9dfa-2e7bf5166b21"
  1991. },
  1992. "basic_setting": {
  1993. "_type": "basic_settings",
  1994. "_id": "eec40d69-2b83-4394-bc17-13eb0e302d2e"
  1995. },
  1996. "additional_setting": {
  1997. "_type": "additional_settings",
  1998. "_id": "7dc53a0e-fc8c-4fe1-bc19-05dfd986a7e0"
  1999. },
  2000. "payment_setting": {
  2001. "_type": "payment_settings",
  2002. "_id": "233d19b4-59a8-425f-a74a-b14522ad759a"
  2003. },
  2004. "visiting": false,
  2005. "created_at": "2018-05-12 20:48",
  2006. "updated_at": "2018-05-12 20:48",
  2007. "quick_calls": [
  2008. {
  2009. "id": "b167e436-f266-485b-b07a-9168858fd104",
  2010. "name": "Table 10",
  2011. "number": "+358341091127_2_10",
  2012. "order": null,
  2013. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2014. "created_at": "2018-05-13T23:40:01.475+03:00",
  2015. "updated_at": "2018-05-13T23:40:01.475+03:00"
  2016. },
  2017. {
  2018. "id": "6be84c20-45da-4676-9ee3-be52f4076519",
  2019. "name": "Table 9",
  2020. "number": "+358341091127_2_9",
  2021. "order": null,
  2022. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2023. "created_at": "2018-05-13T23:40:11.014+03:00",
  2024. "updated_at": "2018-05-13T23:40:11.014+03:00"
  2025. },
  2026. {
  2027. "id": "accaa2c1-b96f-4e32-99f6-e79cfcde0b6e",
  2028. "name": "Table 4",
  2029. "number": "+358341091127_2_4",
  2030. "order": null,
  2031. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2032. "created_at": "2018-05-13T23:40:12.545+03:00",
  2033. "updated_at": "2018-05-13T23:40:12.545+03:00"
  2034. },
  2035. {
  2036. "id": "3a521b83-8bf7-41c3-be8d-0b669c9aad29",
  2037. "name": "Table 6",
  2038. "number": "+358341091127_2_6",
  2039. "order": null,
  2040. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2041. "created_at": "2018-05-15T15:47:14.043+03:00",
  2042. "updated_at": "2018-05-15T15:47:14.043+03:00"
  2043. },
  2044. {
  2045. "id": "978e0b0b-a2fd-427f-8108-9a61f005f131",
  2046. "name": "Table 7",
  2047. "number": "+358341091127_2_7",
  2048. "order": null,
  2049. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2050. "created_at": "2018-05-15T15:47:14.904+03:00",
  2051. "updated_at": "2018-05-15T15:47:14.904+03:00"
  2052. },
  2053. {
  2054. "id": "638f2772-c550-49cc-b85f-92eb0a2f237e",
  2055. "name": "Department",
  2056. "number": "+358341091127_3_1",
  2057. "order": null,
  2058. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2059. "created_at": "2018-05-15T15:47:27.660+03:00",
  2060. "updated_at": "2018-05-15T15:47:27.660+03:00"
  2061. },
  2062. {
  2063. "id": "91a52c6e-25d6-471f-b9f1-4caa9a595bdd",
  2064. "name": "Location Admin",
  2065. "number": "+358341091127_4_2",
  2066. "order": null,
  2067. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2068. "created_at": "2018-05-15T15:47:29.998+03:00",
  2069. "updated_at": "2018-05-15T15:47:29.998+03:00"
  2070. }
  2071. ],
  2072. "phone_setting": [
  2073. {
  2074. "id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  2075. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2076. "category_prefix": "1",
  2077. "device_address_prefix": "2",
  2078. "department_prefix": "3",
  2079. "staff_prefix": "4",
  2080. "room_prefix": "5",
  2081. "enable": true,
  2082. "enable_internal": true,
  2083. "enable_external": true,
  2084. "available_from": null,
  2085. "available_to": null,
  2086. "available_from_internal": null,
  2087. "available_to_internal": null,
  2088. "available_from_external": null,
  2089. "available_to_external": null,
  2090. "root_number": "+358341091127",
  2091. "phone_server_secret_key": "vvfD0KAB56H1ZFut1xps",
  2092. "created_at": "2018-05-09T16:48:18.920+03:00",
  2093. "updated_at": "2018-05-09T16:48:18.920+03:00"
  2094. }
  2095. ],
  2096. "phone_number": null,
  2097. "parent_phone_number": null
  2098. }
  2099. },
  2100. {
  2101. "_type": "devices",
  2102. "_id": "b7482657-642b-4a66-acb6-89b642691361",
  2103. "attributes": {
  2104. "uuid": "8252E338-D962-5E3F-98C8-1E5B959A5E490123456789\r\n",
  2105. "latest_update": "2018-05-15 10:34",
  2106. "requested_waiter_at": null,
  2107. "location": {
  2108. "_type": "locations",
  2109. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  2110. },
  2111. "device_address": null,
  2112. "menu": {
  2113. "_type": "menus",
  2114. "_id": "1ad290c4-fcc2-4d66-9dfa-2e7bf5166b21"
  2115. },
  2116. "basic_setting": {
  2117. "_type": "basic_settings",
  2118. "_id": "eec40d69-2b83-4394-bc17-13eb0e302d2e"
  2119. },
  2120. "additional_setting": {
  2121. "_type": "additional_settings",
  2122. "_id": "7dc53a0e-fc8c-4fe1-bc19-05dfd986a7e0"
  2123. },
  2124. "payment_setting": {
  2125. "_type": "payment_settings",
  2126. "_id": "233d19b4-59a8-425f-a74a-b14522ad759a"
  2127. },
  2128. "visiting": false,
  2129. "created_at": "2018-05-15 10:34",
  2130. "updated_at": "2018-05-15 10:34",
  2131. "quick_calls": [
  2132. {
  2133. "id": "b167e436-f266-485b-b07a-9168858fd104",
  2134. "name": "Table 10",
  2135. "number": "+358341091127_2_10",
  2136. "order": null,
  2137. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2138. "created_at": "2018-05-13T23:40:01.475+03:00",
  2139. "updated_at": "2018-05-13T23:40:01.475+03:00"
  2140. },
  2141. {
  2142. "id": "6be84c20-45da-4676-9ee3-be52f4076519",
  2143. "name": "Table 9",
  2144. "number": "+358341091127_2_9",
  2145. "order": null,
  2146. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2147. "created_at": "2018-05-13T23:40:11.014+03:00",
  2148. "updated_at": "2018-05-13T23:40:11.014+03:00"
  2149. },
  2150. {
  2151. "id": "accaa2c1-b96f-4e32-99f6-e79cfcde0b6e",
  2152. "name": "Table 4",
  2153. "number": "+358341091127_2_4",
  2154. "order": null,
  2155. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2156. "created_at": "2018-05-13T23:40:12.545+03:00",
  2157. "updated_at": "2018-05-13T23:40:12.545+03:00"
  2158. },
  2159. {
  2160. "id": "3a521b83-8bf7-41c3-be8d-0b669c9aad29",
  2161. "name": "Table 6",
  2162. "number": "+358341091127_2_6",
  2163. "order": null,
  2164. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2165. "created_at": "2018-05-15T15:47:14.043+03:00",
  2166. "updated_at": "2018-05-15T15:47:14.043+03:00"
  2167. },
  2168. {
  2169. "id": "978e0b0b-a2fd-427f-8108-9a61f005f131",
  2170. "name": "Table 7",
  2171. "number": "+358341091127_2_7",
  2172. "order": null,
  2173. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2174. "created_at": "2018-05-15T15:47:14.904+03:00",
  2175. "updated_at": "2018-05-15T15:47:14.904+03:00"
  2176. },
  2177. {
  2178. "id": "638f2772-c550-49cc-b85f-92eb0a2f237e",
  2179. "name": "Department",
  2180. "number": "+358341091127_3_1",
  2181. "order": null,
  2182. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2183. "created_at": "2018-05-15T15:47:27.660+03:00",
  2184. "updated_at": "2018-05-15T15:47:27.660+03:00"
  2185. },
  2186. {
  2187. "id": "91a52c6e-25d6-471f-b9f1-4caa9a595bdd",
  2188. "name": "Location Admin",
  2189. "number": "+358341091127_4_2",
  2190. "order": null,
  2191. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2192. "created_at": "2018-05-15T15:47:29.998+03:00",
  2193. "updated_at": "2018-05-15T15:47:29.998+03:00"
  2194. }
  2195. ],
  2196. "phone_setting": [
  2197. {
  2198. "id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  2199. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2200. "category_prefix": "1",
  2201. "device_address_prefix": "2",
  2202. "department_prefix": "3",
  2203. "staff_prefix": "4",
  2204. "room_prefix": "5",
  2205. "enable": true,
  2206. "enable_internal": true,
  2207. "enable_external": true,
  2208. "available_from": null,
  2209. "available_to": null,
  2210. "available_from_internal": null,
  2211. "available_to_internal": null,
  2212. "available_from_external": null,
  2213. "available_to_external": null,
  2214. "root_number": "+358341091127",
  2215. "phone_server_secret_key": "vvfD0KAB56H1ZFut1xps",
  2216. "created_at": "2018-05-09T16:48:18.920+03:00",
  2217. "updated_at": "2018-05-09T16:48:18.920+03:00"
  2218. }
  2219. ],
  2220. "phone_number": null,
  2221. "parent_phone_number": null
  2222. }
  2223. },
  2224. {
  2225. "_type": "devices",
  2226. "_id": "72f461c8-adcb-476e-b70b-250dcdb32290",
  2227. "attributes": {
  2228. "uuid": "89027f81e378bb48f9b2abd4f5fd72b30123456789",
  2229. "latest_update": "2018-05-16 02:30",
  2230. "requested_waiter_at": null,
  2231. "location": {
  2232. "_type": "locations",
  2233. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  2234. },
  2235. "device_address": {
  2236. "_type": "device_addresses",
  2237. "_id": "c8e26e4e-b5cf-455a-a0bb-664130f8a658"
  2238. },
  2239. "menu": {
  2240. "_type": "menus",
  2241. "_id": "1ad290c4-fcc2-4d66-9dfa-2e7bf5166b21"
  2242. },
  2243. "basic_setting": {
  2244. "_type": "basic_settings",
  2245. "_id": "eec40d69-2b83-4394-bc17-13eb0e302d2e"
  2246. },
  2247. "additional_setting": {
  2248. "_type": "additional_settings",
  2249. "_id": "7dc53a0e-fc8c-4fe1-bc19-05dfd986a7e0"
  2250. },
  2251. "payment_setting": {
  2252. "_type": "payment_settings",
  2253. "_id": "233d19b4-59a8-425f-a74a-b14522ad759a"
  2254. },
  2255. "visiting": false,
  2256. "created_at": "2018-05-16 02:29",
  2257. "updated_at": "2018-05-16 02:30",
  2258. "quick_calls": [
  2259. {
  2260. "id": "b167e436-f266-485b-b07a-9168858fd104",
  2261. "name": "Table 10",
  2262. "number": "+358341091127_2_10",
  2263. "order": null,
  2264. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2265. "created_at": "2018-05-13T23:40:01.475+03:00",
  2266. "updated_at": "2018-05-13T23:40:01.475+03:00"
  2267. },
  2268. {
  2269. "id": "6be84c20-45da-4676-9ee3-be52f4076519",
  2270. "name": "Table 9",
  2271. "number": "+358341091127_2_9",
  2272. "order": null,
  2273. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2274. "created_at": "2018-05-13T23:40:11.014+03:00",
  2275. "updated_at": "2018-05-13T23:40:11.014+03:00"
  2276. },
  2277. {
  2278. "id": "accaa2c1-b96f-4e32-99f6-e79cfcde0b6e",
  2279. "name": "Table 4",
  2280. "number": "+358341091127_2_4",
  2281. "order": null,
  2282. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2283. "created_at": "2018-05-13T23:40:12.545+03:00",
  2284. "updated_at": "2018-05-13T23:40:12.545+03:00"
  2285. },
  2286. {
  2287. "id": "3a521b83-8bf7-41c3-be8d-0b669c9aad29",
  2288. "name": "Table 6",
  2289. "number": "+358341091127_2_6",
  2290. "order": null,
  2291. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2292. "created_at": "2018-05-15T15:47:14.043+03:00",
  2293. "updated_at": "2018-05-15T15:47:14.043+03:00"
  2294. },
  2295. {
  2296. "id": "978e0b0b-a2fd-427f-8108-9a61f005f131",
  2297. "name": "Table 7",
  2298. "number": "+358341091127_2_7",
  2299. "order": null,
  2300. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2301. "created_at": "2018-05-15T15:47:14.904+03:00",
  2302. "updated_at": "2018-05-15T15:47:14.904+03:00"
  2303. },
  2304. {
  2305. "id": "638f2772-c550-49cc-b85f-92eb0a2f237e",
  2306. "name": "Department",
  2307. "number": "+358341091127_3_1",
  2308. "order": null,
  2309. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2310. "created_at": "2018-05-15T15:47:27.660+03:00",
  2311. "updated_at": "2018-05-15T15:47:27.660+03:00"
  2312. },
  2313. {
  2314. "id": "91a52c6e-25d6-471f-b9f1-4caa9a595bdd",
  2315. "name": "Location Admin",
  2316. "number": "+358341091127_4_2",
  2317. "order": null,
  2318. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2319. "created_at": "2018-05-15T15:47:29.998+03:00",
  2320. "updated_at": "2018-05-15T15:47:29.998+03:00"
  2321. }
  2322. ],
  2323. "phone_setting": [
  2324. {
  2325. "id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  2326. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2327. "category_prefix": "1",
  2328. "device_address_prefix": "2",
  2329. "department_prefix": "3",
  2330. "staff_prefix": "4",
  2331. "room_prefix": "5",
  2332. "enable": true,
  2333. "enable_internal": true,
  2334. "enable_external": true,
  2335. "available_from": null,
  2336. "available_to": null,
  2337. "available_from_internal": null,
  2338. "available_to_internal": null,
  2339. "available_from_external": null,
  2340. "available_to_external": null,
  2341. "root_number": "+358341091127",
  2342. "phone_server_secret_key": "vvfD0KAB56H1ZFut1xps",
  2343. "created_at": "2018-05-09T16:48:18.920+03:00",
  2344. "updated_at": "2018-05-09T16:48:18.920+03:00"
  2345. }
  2346. ],
  2347. "phone_number": {
  2348. "id": "50977873-8d1a-4ad9-ac32-c4242207f8b3",
  2349. "number": "+358341091127_2_4",
  2350. "enable": true,
  2351. "phoneable_id": "c8e26e4e-b5cf-455a-a0bb-664130f8a658",
  2352. "phoneable_type": "DeviceAddress",
  2353. "phone_setting_id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  2354. "parent_id": null,
  2355. "available_from": null,
  2356. "available_to": null,
  2357. "created_at": "2018-05-15T15:41:02.042+03:00",
  2358. "updated_at": "2018-05-15T15:41:02.042+03:00"
  2359. },
  2360. "parent_phone_number": null
  2361. }
  2362. },
  2363. {
  2364. "_type": "devices",
  2365. "_id": "848cfc25-a965-4739-b80b-319237d5c1c4",
  2366. "attributes": {
  2367. "uuid": "b8af9977b498a46a5eaa605aeb3d6f39aeafa26f0123456789",
  2368. "latest_update": "2018-05-10 05:49",
  2369. "requested_waiter_at": null,
  2370. "location": {
  2371. "_type": "locations",
  2372. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  2373. },
  2374. "device_address": {
  2375. "_type": "device_addresses",
  2376. "_id": "6a5362fc-ba82-4518-b8ae-753f1a46f328"
  2377. },
  2378. "menu": {
  2379. "_type": "menus",
  2380. "_id": "1ad290c4-fcc2-4d66-9dfa-2e7bf5166b21"
  2381. },
  2382. "basic_setting": {
  2383. "_type": "basic_settings",
  2384. "_id": "eec40d69-2b83-4394-bc17-13eb0e302d2e"
  2385. },
  2386. "additional_setting": {
  2387. "_type": "additional_settings",
  2388. "_id": "7dc53a0e-fc8c-4fe1-bc19-05dfd986a7e0"
  2389. },
  2390. "payment_setting": {
  2391. "_type": "payment_settings",
  2392. "_id": "233d19b4-59a8-425f-a74a-b14522ad759a"
  2393. },
  2394. "visiting": false,
  2395. "created_at": "2018-05-10 05:49",
  2396. "updated_at": "2018-05-10 05:49",
  2397. "quick_calls": [
  2398. {
  2399. "id": "b167e436-f266-485b-b07a-9168858fd104",
  2400. "name": "Table 10",
  2401. "number": "+358341091127_2_10",
  2402. "order": null,
  2403. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2404. "created_at": "2018-05-13T23:40:01.475+03:00",
  2405. "updated_at": "2018-05-13T23:40:01.475+03:00"
  2406. },
  2407. {
  2408. "id": "6be84c20-45da-4676-9ee3-be52f4076519",
  2409. "name": "Table 9",
  2410. "number": "+358341091127_2_9",
  2411. "order": null,
  2412. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2413. "created_at": "2018-05-13T23:40:11.014+03:00",
  2414. "updated_at": "2018-05-13T23:40:11.014+03:00"
  2415. },
  2416. {
  2417. "id": "accaa2c1-b96f-4e32-99f6-e79cfcde0b6e",
  2418. "name": "Table 4",
  2419. "number": "+358341091127_2_4",
  2420. "order": null,
  2421. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2422. "created_at": "2018-05-13T23:40:12.545+03:00",
  2423. "updated_at": "2018-05-13T23:40:12.545+03:00"
  2424. },
  2425. {
  2426. "id": "3a521b83-8bf7-41c3-be8d-0b669c9aad29",
  2427. "name": "Table 6",
  2428. "number": "+358341091127_2_6",
  2429. "order": null,
  2430. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2431. "created_at": "2018-05-15T15:47:14.043+03:00",
  2432. "updated_at": "2018-05-15T15:47:14.043+03:00"
  2433. },
  2434. {
  2435. "id": "978e0b0b-a2fd-427f-8108-9a61f005f131",
  2436. "name": "Table 7",
  2437. "number": "+358341091127_2_7",
  2438. "order": null,
  2439. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2440. "created_at": "2018-05-15T15:47:14.904+03:00",
  2441. "updated_at": "2018-05-15T15:47:14.904+03:00"
  2442. },
  2443. {
  2444. "id": "638f2772-c550-49cc-b85f-92eb0a2f237e",
  2445. "name": "Department",
  2446. "number": "+358341091127_3_1",
  2447. "order": null,
  2448. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2449. "created_at": "2018-05-15T15:47:27.660+03:00",
  2450. "updated_at": "2018-05-15T15:47:27.660+03:00"
  2451. },
  2452. {
  2453. "id": "91a52c6e-25d6-471f-b9f1-4caa9a595bdd",
  2454. "name": "Location Admin",
  2455. "number": "+358341091127_4_2",
  2456. "order": null,
  2457. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2458. "created_at": "2018-05-15T15:47:29.998+03:00",
  2459. "updated_at": "2018-05-15T15:47:29.998+03:00"
  2460. }
  2461. ],
  2462. "phone_setting": [
  2463. {
  2464. "id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  2465. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2466. "category_prefix": "1",
  2467. "device_address_prefix": "2",
  2468. "department_prefix": "3",
  2469. "staff_prefix": "4",
  2470. "room_prefix": "5",
  2471. "enable": true,
  2472. "enable_internal": true,
  2473. "enable_external": true,
  2474. "available_from": null,
  2475. "available_to": null,
  2476. "available_from_internal": null,
  2477. "available_to_internal": null,
  2478. "available_from_external": null,
  2479. "available_to_external": null,
  2480. "root_number": "+358341091127",
  2481. "phone_server_secret_key": "vvfD0KAB56H1ZFut1xps",
  2482. "created_at": "2018-05-09T16:48:18.920+03:00",
  2483. "updated_at": "2018-05-09T16:48:18.920+03:00"
  2484. }
  2485. ],
  2486. "phone_number": {
  2487. "id": "db095c16-3744-455e-a41c-34f1b099bf33",
  2488. "number": "+358341091127_4_1",
  2489. "enable": true,
  2490. "phoneable_id": "f7fd776f-da59-414e-9238-dc6af5bd46a8",
  2491. "phoneable_type": "User",
  2492. "phone_setting_id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  2493. "parent_id": null,
  2494. "available_from": null,
  2495. "available_to": null,
  2496. "created_at": "2018-05-15T15:41:22.131+03:00",
  2497. "updated_at": "2018-05-15T15:41:22.131+03:00"
  2498. },
  2499. "parent_phone_number": null
  2500. }
  2501. },
  2502. {
  2503. "_type": "devices",
  2504. "_id": "d347004a-bc30-4949-8d41-cdfbec31acff",
  2505. "attributes": {
  2506. "uuid": "952c6098a5b0a13a7a268830029c73f50123456789",
  2507. "latest_update": "2018-05-16 12:09",
  2508. "requested_waiter_at": null,
  2509. "location": {
  2510. "_type": "locations",
  2511. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  2512. },
  2513. "device_address": {
  2514. "_type": "device_addresses",
  2515. "_id": "2577ea46-bc9e-4787-882d-45d5533b6036"
  2516. },
  2517. "menu": {
  2518. "_type": "menus",
  2519. "_id": "1ad290c4-fcc2-4d66-9dfa-2e7bf5166b21"
  2520. },
  2521. "basic_setting": {
  2522. "_type": "basic_settings",
  2523. "_id": "eec40d69-2b83-4394-bc17-13eb0e302d2e"
  2524. },
  2525. "additional_setting": {
  2526. "_type": "additional_settings",
  2527. "_id": "7dc53a0e-fc8c-4fe1-bc19-05dfd986a7e0"
  2528. },
  2529. "payment_setting": {
  2530. "_type": "payment_settings",
  2531. "_id": "233d19b4-59a8-425f-a74a-b14522ad759a"
  2532. },
  2533. "visiting": false,
  2534. "created_at": "2018-05-16 11:44",
  2535. "updated_at": "2018-05-16 12:09",
  2536. "quick_calls": [
  2537. {
  2538. "id": "b167e436-f266-485b-b07a-9168858fd104",
  2539. "name": "Table 10",
  2540. "number": "+358341091127_2_10",
  2541. "order": null,
  2542. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2543. "created_at": "2018-05-13T23:40:01.475+03:00",
  2544. "updated_at": "2018-05-13T23:40:01.475+03:00"
  2545. },
  2546. {
  2547. "id": "6be84c20-45da-4676-9ee3-be52f4076519",
  2548. "name": "Table 9",
  2549. "number": "+358341091127_2_9",
  2550. "order": null,
  2551. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2552. "created_at": "2018-05-13T23:40:11.014+03:00",
  2553. "updated_at": "2018-05-13T23:40:11.014+03:00"
  2554. },
  2555. {
  2556. "id": "accaa2c1-b96f-4e32-99f6-e79cfcde0b6e",
  2557. "name": "Table 4",
  2558. "number": "+358341091127_2_4",
  2559. "order": null,
  2560. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2561. "created_at": "2018-05-13T23:40:12.545+03:00",
  2562. "updated_at": "2018-05-13T23:40:12.545+03:00"
  2563. },
  2564. {
  2565. "id": "3a521b83-8bf7-41c3-be8d-0b669c9aad29",
  2566. "name": "Table 6",
  2567. "number": "+358341091127_2_6",
  2568. "order": null,
  2569. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2570. "created_at": "2018-05-15T15:47:14.043+03:00",
  2571. "updated_at": "2018-05-15T15:47:14.043+03:00"
  2572. },
  2573. {
  2574. "id": "978e0b0b-a2fd-427f-8108-9a61f005f131",
  2575. "name": "Table 7",
  2576. "number": "+358341091127_2_7",
  2577. "order": null,
  2578. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2579. "created_at": "2018-05-15T15:47:14.904+03:00",
  2580. "updated_at": "2018-05-15T15:47:14.904+03:00"
  2581. },
  2582. {
  2583. "id": "638f2772-c550-49cc-b85f-92eb0a2f237e",
  2584. "name": "Department",
  2585. "number": "+358341091127_3_1",
  2586. "order": null,
  2587. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2588. "created_at": "2018-05-15T15:47:27.660+03:00",
  2589. "updated_at": "2018-05-15T15:47:27.660+03:00"
  2590. },
  2591. {
  2592. "id": "91a52c6e-25d6-471f-b9f1-4caa9a595bdd",
  2593. "name": "Location Admin",
  2594. "number": "+358341091127_4_2",
  2595. "order": null,
  2596. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2597. "created_at": "2018-05-15T15:47:29.998+03:00",
  2598. "updated_at": "2018-05-15T15:47:29.998+03:00"
  2599. }
  2600. ],
  2601. "phone_setting": [
  2602. {
  2603. "id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  2604. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2605. "category_prefix": "1",
  2606. "device_address_prefix": "2",
  2607. "department_prefix": "3",
  2608. "staff_prefix": "4",
  2609. "room_prefix": "5",
  2610. "enable": true,
  2611. "enable_internal": true,
  2612. "enable_external": true,
  2613. "available_from": null,
  2614. "available_to": null,
  2615. "available_from_internal": null,
  2616. "available_to_internal": null,
  2617. "available_from_external": null,
  2618. "available_to_external": null,
  2619. "root_number": "+358341091127",
  2620. "phone_server_secret_key": "vvfD0KAB56H1ZFut1xps",
  2621. "created_at": "2018-05-09T16:48:18.920+03:00",
  2622. "updated_at": "2018-05-09T16:48:18.920+03:00"
  2623. }
  2624. ],
  2625. "phone_number": {
  2626. "id": "db095c16-3744-455e-a41c-34f1b099bf33",
  2627. "number": "+358341091127_4_1",
  2628. "enable": true,
  2629. "phoneable_id": "f7fd776f-da59-414e-9238-dc6af5bd46a8",
  2630. "phoneable_type": "User",
  2631. "phone_setting_id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  2632. "parent_id": null,
  2633. "available_from": null,
  2634. "available_to": null,
  2635. "created_at": "2018-05-15T15:41:22.131+03:00",
  2636. "updated_at": "2018-05-15T15:41:22.131+03:00"
  2637. },
  2638. "parent_phone_number": null
  2639. }
  2640. },
  2641. {
  2642. "_type": "devices",
  2643. "_id": "059dda19-8ff6-4583-b928-7757399e8ca1",
  2644. "attributes": {
  2645. "uuid": "1dad0190b3b013f04c4fcebe57903fd7840c3f580123456789",
  2646. "latest_update": "2018-05-12 13:06",
  2647. "requested_waiter_at": null,
  2648. "location": {
  2649. "_type": "locations",
  2650. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  2651. },
  2652. "device_address": {
  2653. "_type": "device_addresses",
  2654. "_id": "6a5362fc-ba82-4518-b8ae-753f1a46f328"
  2655. },
  2656. "menu": {
  2657. "_type": "menus",
  2658. "_id": "1ad290c4-fcc2-4d66-9dfa-2e7bf5166b21"
  2659. },
  2660. "basic_setting": {
  2661. "_type": "basic_settings",
  2662. "_id": "eec40d69-2b83-4394-bc17-13eb0e302d2e"
  2663. },
  2664. "additional_setting": {
  2665. "_type": "additional_settings",
  2666. "_id": "7dc53a0e-fc8c-4fe1-bc19-05dfd986a7e0"
  2667. },
  2668. "payment_setting": {
  2669. "_type": "payment_settings",
  2670. "_id": "233d19b4-59a8-425f-a74a-b14522ad759a"
  2671. },
  2672. "visiting": false,
  2673. "created_at": "2018-05-12 13:06",
  2674. "updated_at": "2018-05-12 13:06",
  2675. "quick_calls": [
  2676. {
  2677. "id": "b167e436-f266-485b-b07a-9168858fd104",
  2678. "name": "Table 10",
  2679. "number": "+358341091127_2_10",
  2680. "order": null,
  2681. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2682. "created_at": "2018-05-13T23:40:01.475+03:00",
  2683. "updated_at": "2018-05-13T23:40:01.475+03:00"
  2684. },
  2685. {
  2686. "id": "6be84c20-45da-4676-9ee3-be52f4076519",
  2687. "name": "Table 9",
  2688. "number": "+358341091127_2_9",
  2689. "order": null,
  2690. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2691. "created_at": "2018-05-13T23:40:11.014+03:00",
  2692. "updated_at": "2018-05-13T23:40:11.014+03:00"
  2693. },
  2694. {
  2695. "id": "accaa2c1-b96f-4e32-99f6-e79cfcde0b6e",
  2696. "name": "Table 4",
  2697. "number": "+358341091127_2_4",
  2698. "order": null,
  2699. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2700. "created_at": "2018-05-13T23:40:12.545+03:00",
  2701. "updated_at": "2018-05-13T23:40:12.545+03:00"
  2702. },
  2703. {
  2704. "id": "3a521b83-8bf7-41c3-be8d-0b669c9aad29",
  2705. "name": "Table 6",
  2706. "number": "+358341091127_2_6",
  2707. "order": null,
  2708. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2709. "created_at": "2018-05-15T15:47:14.043+03:00",
  2710. "updated_at": "2018-05-15T15:47:14.043+03:00"
  2711. },
  2712. {
  2713. "id": "978e0b0b-a2fd-427f-8108-9a61f005f131",
  2714. "name": "Table 7",
  2715. "number": "+358341091127_2_7",
  2716. "order": null,
  2717. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2718. "created_at": "2018-05-15T15:47:14.904+03:00",
  2719. "updated_at": "2018-05-15T15:47:14.904+03:00"
  2720. },
  2721. {
  2722. "id": "638f2772-c550-49cc-b85f-92eb0a2f237e",
  2723. "name": "Department",
  2724. "number": "+358341091127_3_1",
  2725. "order": null,
  2726. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2727. "created_at": "2018-05-15T15:47:27.660+03:00",
  2728. "updated_at": "2018-05-15T15:47:27.660+03:00"
  2729. },
  2730. {
  2731. "id": "91a52c6e-25d6-471f-b9f1-4caa9a595bdd",
  2732. "name": "Location Admin",
  2733. "number": "+358341091127_4_2",
  2734. "order": null,
  2735. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2736. "created_at": "2018-05-15T15:47:29.998+03:00",
  2737. "updated_at": "2018-05-15T15:47:29.998+03:00"
  2738. }
  2739. ],
  2740. "phone_setting": [
  2741. {
  2742. "id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  2743. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2744. "category_prefix": "1",
  2745. "device_address_prefix": "2",
  2746. "department_prefix": "3",
  2747. "staff_prefix": "4",
  2748. "room_prefix": "5",
  2749. "enable": true,
  2750. "enable_internal": true,
  2751. "enable_external": true,
  2752. "available_from": null,
  2753. "available_to": null,
  2754. "available_from_internal": null,
  2755. "available_to_internal": null,
  2756. "available_from_external": null,
  2757. "available_to_external": null,
  2758. "root_number": "+358341091127",
  2759. "phone_server_secret_key": "vvfD0KAB56H1ZFut1xps",
  2760. "created_at": "2018-05-09T16:48:18.920+03:00",
  2761. "updated_at": "2018-05-09T16:48:18.920+03:00"
  2762. }
  2763. ],
  2764. "phone_number": {
  2765. "id": "96ea374f-097f-491f-abb9-ee9aed94a14e",
  2766. "number": "+358341091127_2_1",
  2767. "enable": true,
  2768. "phoneable_id": "6a5362fc-ba82-4518-b8ae-753f1a46f328",
  2769. "phoneable_type": "DeviceAddress",
  2770. "phone_setting_id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  2771. "parent_id": null,
  2772. "available_from": null,
  2773. "available_to": null,
  2774. "created_at": "2018-05-15T15:41:02.025+03:00",
  2775. "updated_at": "2018-05-15T15:41:02.025+03:00"
  2776. },
  2777. "parent_phone_number": null
  2778. }
  2779. },
  2780. {
  2781. "_type": "devices",
  2782. "_id": "19075355-9bfb-4dfe-807e-194906f2b638",
  2783. "attributes": {
  2784. "uuid": "3AB9AC60-5C8B-45A6-8F00-4B9A113685EB0123456789",
  2785. "latest_update": "2018-05-15 11:22",
  2786. "requested_waiter_at": null,
  2787. "location": {
  2788. "_type": "locations",
  2789. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  2790. },
  2791. "device_address": {
  2792. "_type": "device_addresses",
  2793. "_id": "d02112ac-8422-457d-b4e6-e6b89c83cc68"
  2794. },
  2795. "menu": {
  2796. "_type": "menus",
  2797. "_id": "1ad290c4-fcc2-4d66-9dfa-2e7bf5166b21"
  2798. },
  2799. "basic_setting": {
  2800. "_type": "basic_settings",
  2801. "_id": "eec40d69-2b83-4394-bc17-13eb0e302d2e"
  2802. },
  2803. "additional_setting": {
  2804. "_type": "additional_settings",
  2805. "_id": "7dc53a0e-fc8c-4fe1-bc19-05dfd986a7e0"
  2806. },
  2807. "payment_setting": {
  2808. "_type": "payment_settings",
  2809. "_id": "233d19b4-59a8-425f-a74a-b14522ad759a"
  2810. },
  2811. "visiting": false,
  2812. "created_at": "2018-05-12 18:08",
  2813. "updated_at": "2018-05-15 11:22",
  2814. "quick_calls": [
  2815. {
  2816. "id": "b167e436-f266-485b-b07a-9168858fd104",
  2817. "name": "Table 10",
  2818. "number": "+358341091127_2_10",
  2819. "order": null,
  2820. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2821. "created_at": "2018-05-13T23:40:01.475+03:00",
  2822. "updated_at": "2018-05-13T23:40:01.475+03:00"
  2823. },
  2824. {
  2825. "id": "6be84c20-45da-4676-9ee3-be52f4076519",
  2826. "name": "Table 9",
  2827. "number": "+358341091127_2_9",
  2828. "order": null,
  2829. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2830. "created_at": "2018-05-13T23:40:11.014+03:00",
  2831. "updated_at": "2018-05-13T23:40:11.014+03:00"
  2832. },
  2833. {
  2834. "id": "accaa2c1-b96f-4e32-99f6-e79cfcde0b6e",
  2835. "name": "Table 4",
  2836. "number": "+358341091127_2_4",
  2837. "order": null,
  2838. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2839. "created_at": "2018-05-13T23:40:12.545+03:00",
  2840. "updated_at": "2018-05-13T23:40:12.545+03:00"
  2841. },
  2842. {
  2843. "id": "3a521b83-8bf7-41c3-be8d-0b669c9aad29",
  2844. "name": "Table 6",
  2845. "number": "+358341091127_2_6",
  2846. "order": null,
  2847. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2848. "created_at": "2018-05-15T15:47:14.043+03:00",
  2849. "updated_at": "2018-05-15T15:47:14.043+03:00"
  2850. },
  2851. {
  2852. "id": "978e0b0b-a2fd-427f-8108-9a61f005f131",
  2853. "name": "Table 7",
  2854. "number": "+358341091127_2_7",
  2855. "order": null,
  2856. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2857. "created_at": "2018-05-15T15:47:14.904+03:00",
  2858. "updated_at": "2018-05-15T15:47:14.904+03:00"
  2859. },
  2860. {
  2861. "id": "638f2772-c550-49cc-b85f-92eb0a2f237e",
  2862. "name": "Department",
  2863. "number": "+358341091127_3_1",
  2864. "order": null,
  2865. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2866. "created_at": "2018-05-15T15:47:27.660+03:00",
  2867. "updated_at": "2018-05-15T15:47:27.660+03:00"
  2868. },
  2869. {
  2870. "id": "91a52c6e-25d6-471f-b9f1-4caa9a595bdd",
  2871. "name": "Location Admin",
  2872. "number": "+358341091127_4_2",
  2873. "order": null,
  2874. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2875. "created_at": "2018-05-15T15:47:29.998+03:00",
  2876. "updated_at": "2018-05-15T15:47:29.998+03:00"
  2877. }
  2878. ],
  2879. "phone_setting": [
  2880. {
  2881. "id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  2882. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2883. "category_prefix": "1",
  2884. "device_address_prefix": "2",
  2885. "department_prefix": "3",
  2886. "staff_prefix": "4",
  2887. "room_prefix": "5",
  2888. "enable": true,
  2889. "enable_internal": true,
  2890. "enable_external": true,
  2891. "available_from": null,
  2892. "available_to": null,
  2893. "available_from_internal": null,
  2894. "available_to_internal": null,
  2895. "available_from_external": null,
  2896. "available_to_external": null,
  2897. "root_number": "+358341091127",
  2898. "phone_server_secret_key": "vvfD0KAB56H1ZFut1xps",
  2899. "created_at": "2018-05-09T16:48:18.920+03:00",
  2900. "updated_at": "2018-05-09T16:48:18.920+03:00"
  2901. }
  2902. ],
  2903. "phone_number": {
  2904. "id": "c330af9d-a314-4e8f-9c23-4d86645e4895",
  2905. "number": "+358341091127_2_2",
  2906. "enable": true,
  2907. "phoneable_id": "d02112ac-8422-457d-b4e6-e6b89c83cc68",
  2908. "phoneable_type": "DeviceAddress",
  2909. "phone_setting_id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  2910. "parent_id": null,
  2911. "available_from": null,
  2912. "available_to": null,
  2913. "created_at": "2018-05-15T15:41:02.031+03:00",
  2914. "updated_at": "2018-05-15T15:41:02.031+03:00"
  2915. },
  2916. "parent_phone_number": null
  2917. }
  2918. },
  2919. {
  2920. "_type": "devices",
  2921. "_id": "e38acd70-fea3-401d-92bd-483acacfdc61",
  2922. "attributes": {
  2923. "uuid": "abcccc",
  2924. "latest_update": "2018-05-12 20:56",
  2925. "requested_waiter_at": null,
  2926. "location": {
  2927. "_type": "locations",
  2928. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  2929. },
  2930. "device_address": null,
  2931. "menu": {
  2932. "_type": "menus",
  2933. "_id": "1ad290c4-fcc2-4d66-9dfa-2e7bf5166b21"
  2934. },
  2935. "basic_setting": {
  2936. "_type": "basic_settings",
  2937. "_id": "eec40d69-2b83-4394-bc17-13eb0e302d2e"
  2938. },
  2939. "additional_setting": {
  2940. "_type": "additional_settings",
  2941. "_id": "7dc53a0e-fc8c-4fe1-bc19-05dfd986a7e0"
  2942. },
  2943. "payment_setting": {
  2944. "_type": "payment_settings",
  2945. "_id": "233d19b4-59a8-425f-a74a-b14522ad759a"
  2946. },
  2947. "visiting": false,
  2948. "created_at": "2018-05-12 20:56",
  2949. "updated_at": "2018-05-12 20:56",
  2950. "quick_calls": [
  2951. {
  2952. "id": "b167e436-f266-485b-b07a-9168858fd104",
  2953. "name": "Table 10",
  2954. "number": "+358341091127_2_10",
  2955. "order": null,
  2956. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2957. "created_at": "2018-05-13T23:40:01.475+03:00",
  2958. "updated_at": "2018-05-13T23:40:01.475+03:00"
  2959. },
  2960. {
  2961. "id": "6be84c20-45da-4676-9ee3-be52f4076519",
  2962. "name": "Table 9",
  2963. "number": "+358341091127_2_9",
  2964. "order": null,
  2965. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2966. "created_at": "2018-05-13T23:40:11.014+03:00",
  2967. "updated_at": "2018-05-13T23:40:11.014+03:00"
  2968. },
  2969. {
  2970. "id": "accaa2c1-b96f-4e32-99f6-e79cfcde0b6e",
  2971. "name": "Table 4",
  2972. "number": "+358341091127_2_4",
  2973. "order": null,
  2974. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2975. "created_at": "2018-05-13T23:40:12.545+03:00",
  2976. "updated_at": "2018-05-13T23:40:12.545+03:00"
  2977. },
  2978. {
  2979. "id": "3a521b83-8bf7-41c3-be8d-0b669c9aad29",
  2980. "name": "Table 6",
  2981. "number": "+358341091127_2_6",
  2982. "order": null,
  2983. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2984. "created_at": "2018-05-15T15:47:14.043+03:00",
  2985. "updated_at": "2018-05-15T15:47:14.043+03:00"
  2986. },
  2987. {
  2988. "id": "978e0b0b-a2fd-427f-8108-9a61f005f131",
  2989. "name": "Table 7",
  2990. "number": "+358341091127_2_7",
  2991. "order": null,
  2992. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  2993. "created_at": "2018-05-15T15:47:14.904+03:00",
  2994. "updated_at": "2018-05-15T15:47:14.904+03:00"
  2995. },
  2996. {
  2997. "id": "638f2772-c550-49cc-b85f-92eb0a2f237e",
  2998. "name": "Department",
  2999. "number": "+358341091127_3_1",
  3000. "order": null,
  3001. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  3002. "created_at": "2018-05-15T15:47:27.660+03:00",
  3003. "updated_at": "2018-05-15T15:47:27.660+03:00"
  3004. },
  3005. {
  3006. "id": "91a52c6e-25d6-471f-b9f1-4caa9a595bdd",
  3007. "name": "Location Admin",
  3008. "number": "+358341091127_4_2",
  3009. "order": null,
  3010. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  3011. "created_at": "2018-05-15T15:47:29.998+03:00",
  3012. "updated_at": "2018-05-15T15:47:29.998+03:00"
  3013. }
  3014. ],
  3015. "phone_setting": [
  3016. {
  3017. "id": "81eb899c-6f50-4236-8d72-9c3fb0de5000",
  3018. "location_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a",
  3019. "category_prefix": "1",
  3020. "device_address_prefix": "2",
  3021. "department_prefix": "3",
  3022. "staff_prefix": "4",
  3023. "room_prefix": "5",
  3024. "enable": true,
  3025. "enable_internal": true,
  3026. "enable_external": true,
  3027. "available_from": null,
  3028. "available_to": null,
  3029. "available_from_internal": null,
  3030. "available_to_internal": null,
  3031. "available_from_external": null,
  3032. "available_to_external": null,
  3033. "root_number": "+358341091127",
  3034. "phone_server_secret_key": "vvfD0KAB56H1ZFut1xps",
  3035. "created_at": "2018-05-09T16:48:18.920+03:00",
  3036. "updated_at": "2018-05-09T16:48:18.920+03:00"
  3037. }
  3038. ],
  3039. "phone_number": null,
  3040. "parent_phone_number": null
  3041. }
  3042. }
  3043. ],
  3044. "night_mode_settings": [
  3045. {
  3046. "_type": "night_mode_settings",
  3047. "_id": "0f74e87d-fa5c-4995-9fc5-6f92594d5638",
  3048. "attributes": {
  3049. "night_mode": false,
  3050. "start_time": null,
  3051. "end_time": null,
  3052. "activation_delay": null,
  3053. "location": {
  3054. "_type": "locations",
  3055. "_id": "f74e76ef-28f5-43b1-a18b-c107ce8bfb8a"
  3056. },
  3057. "picture": null,
  3058. "created_at": "2018-05-09 14:21",
  3059. "updated_at": "2018-05-09 14:21"
  3060. }
  3061. }
  3062. ],
  3063. "themes": [
  3064. {
  3065. "_type": "themes",
  3066. "_id": "a772b6a4-1290-44b4-9c76-0f7cc648a81b",
  3067. "attributes": {
  3068. "name": "Dark",
  3069. "font_style": "Quicksand",
  3070. "font_color": "#222222",
  3071. "element_color": "#dddddd",
  3072. "element_opacity": "90",
  3073. "title_box_background_color": {
  3074. "r": 26,
  3075. "g": 26,
  3076. "b": 26,
  3077. "a": 0.6
  3078. },
  3079. "url": "http://beta.poshiemedia.com/system/themes/preview_images/a77/2b6/a4-/original/background_dark-preview.png?1525864869",
  3080. "medium": "http://beta.poshiemedia.com/system/themes/preview_images/a77/2b6/a4-/medium/background_dark-preview.png?1525864869",
  3081. "thumb": "http://beta.poshiemedia.com/system/themes/preview_images/a77/2b6/a4-/thumb/background_dark-preview.png?1525864869",
  3082. "created_at": "2018-05-09 14:21",
  3083. "updated_at": "2018-05-09 14:21"
  3084. }
  3085. }
  3086. ],
  3087. "languages": [
  3088. {
  3089. "_type": "languages",
  3090. "_id": "ad6e5748-eb24-4a6a-8dff-adff768b1c9b",
  3091. "attributes": {
  3092. "name": "English",
  3093. "code": "en",
  3094. "picture": {
  3095. "_type": "pictures",
  3096. "_id": "95534aa1-ad0f-4b08-a6fc-5e18c134ee16"
  3097. },
  3098. "created_at": "2018-05-09 14:21",
  3099. "updated_at": "2018-05-09 14:21"
  3100. }
  3101. }
  3102. ],
  3103. "service_category_types": [
  3104. {
  3105. "_type": "service_category_types",
  3106. "_id": "47502200-c75a-4333-9a66-20cc380f02e5",
  3107. "attributes": {
  3108. "name": "Additional Services"
  3109. }
  3110. },
  3111. {
  3112. "_type": "service_category_types",
  3113. "_id": "77a62f96-d371-45de-8643-e37215820d9a",
  3114. "attributes": {
  3115. "name": "Promotions"
  3116. }
  3117. },
  3118. {
  3119. "_type": "service_category_types",
  3120. "_id": "0f8161c1-aaf8-487d-a148-4c6683bd9bdc",
  3121. "attributes": {
  3122. "name": "Phone Service"
  3123. }
  3124. },
  3125. {
  3126. "_type": "service_category_types",
  3127. "_id": "0c129a51-a6fd-4df5-9f76-3320c6f2d381",
  3128. "attributes": {
  3129. "name": "Menu"
  3130. }
  3131. },
  3132. {
  3133. "_type": "service_category_types",
  3134. "_id": "732342d4-cc8e-4041-ac59-7e477babd552",
  3135. "attributes": {
  3136. "name": "Apps"
  3137. }
  3138. }
  3139. ],
  3140. "categories": [
  3141. {
  3142. "_type": "categories",
  3143. "_id": "4bb0bfb5-5952-4aa5-9f1c-7c9be9778489",
  3144. "attributes": {
  3145. "enable": true,
  3146. "name": "Water",
  3147. "name_en": "Water",
  3148. "name_fi": "Water",
  3149. "hidden_name": false,
  3150. "visibility_from": "06:00",
  3151. "visibility_to": "24:00",
  3152. "info": null,
  3153. "info_en": null,
  3154. "info_fi": null,
  3155. "service_category": {
  3156. "_type": "service_categories",
  3157. "_id": "83a677fe-e57d-43c8-8b58-8835f86916f2"
  3158. },
  3159. "menu": {
  3160. "_type": "menus",
  3161. "_id": "1ad290c4-fcc2-4d66-9dfa-2e7bf5166b21"
  3162. },
  3163. "picture": {
  3164. "_type": "pictures",
  3165. "_id": "de5e9839-517c-4bba-8d97-89d98a093985"
  3166. },
  3167. "products": null,
  3168. "created_at": "2018-05-09 14:21",
  3169. "updated_at": "2018-05-09 14:21"
  3170. }
  3171. },
  3172. {
  3173. "_type": "categories",
  3174. "_id": "0a3a6065-98c8-49c8-b3a0-dc3322035cb7",
  3175. "attributes": {
  3176. "enable": true,
  3177. "name": "Wine",
  3178. "name_en": "Wine",
  3179. "name_fi": "Wine",
  3180. "hidden_name": false,
  3181. "visibility_from": "06:00",
  3182. "visibility_to": "24:00",
  3183. "info": null,
  3184. "info_en": null,
  3185. "info_fi": null,
  3186. "service_category": {
  3187. "_type": "service_categories",
  3188. "_id": "83a677fe-e57d-43c8-8b58-8835f86916f2"
  3189. },
  3190. "menu": {
  3191. "_type": "menus",
  3192. "_id": "1ad290c4-fcc2-4d66-9dfa-2e7bf5166b21"
  3193. },
  3194. "picture": {
  3195. "_type": "pictures",
  3196. "_id": "de5e9839-517c-4bba-8d97-89d98a093985"
  3197. },
  3198. "products": null,
  3199. "created_at": "2018-05-09 14:21",
  3200. "updated_at": "2018-05-09 14:21"
  3201. }
  3202. },
  3203. {
  3204. "_type": "categories",
  3205. "_id": "47c4cd76-b00a-4341-a2b3-dc1bd3bb1f90",
  3206. "attributes": {
  3207. "enable": true,
  3208. "name": "Main Courses",
  3209. "name_en": "Main Courses",
  3210. "name_fi": "Main Courses",
  3211. "hidden_name": false,
  3212. "visibility_from": "06:00",
  3213. "visibility_to": "24:00",
  3214. "info": null,
  3215. "info_en": null,
  3216. "info_fi": null,
  3217. "service_category": {
  3218. "_type": "service_categories",
  3219. "_id": "b41d0fa2-12c1-457f-a9ca-3fefc6ba2166"
  3220. },
  3221. "menu": {
  3222. "_type": "menus",
  3223. "_id": "1ad290c4-fcc2-4d66-9dfa-2e7bf5166b21"
  3224. },
  3225. "picture": {
  3226. "_type": "pictures",
  3227. "_id": "de5e9839-517c-4bba-8d97-89d98a093985"
  3228. },
  3229. "products": null,
  3230. "created_at": "2018-05-09 14:21",
  3231. "updated_at": "2018-05-09 14:21"
  3232. }
  3233. },
  3234. {
  3235. "_type": "categories",
  3236. "_id": "b7371902-3861-426c-ac52-8cbfdc377a6c",
  3237. "attributes": {
  3238. "enable": true,
  3239. "name": "Beer",
  3240. "name_en": "Beer",
  3241. "name_fi": "Beer",
  3242. "hidden_name": false,
  3243. "visibility_from": "06:00",
  3244. "visibility_to": "24:00",
  3245. "info": null,
  3246. "info_en": null,
  3247. "info_fi": null,
  3248. "service_category": {
  3249. "_type": "service_categories",
  3250. "_id": "83a677fe-e57d-43c8-8b58-8835f86916f2"
  3251. },
  3252. "menu": {
  3253. "_type": "menus",
  3254. "_id": "1ad290c4-fcc2-4d66-9dfa-2e7bf5166b21"
  3255. },
  3256. "picture": {
  3257. "_type": "pictures",
  3258. "_id": "de5e9839-517c-4bba-8d97-89d98a093985"
  3259. },
  3260. "products": null,
  3261. "created_at": "2018-05-09 14:21",
  3262. "updated_at": "2018-05-09 14:21"
  3263. }
  3264. },
  3265. {
  3266. "_type": "categories",
  3267. "_id": "bb93c311-f3ab-4401-9867-8781489badf8",
  3268. "attributes": {
  3269. "enable": true,
  3270. "name": "Starters",
  3271. "name_en": "Starters",
  3272. "name_fi": "Starters",
  3273. "hidden_name": false,
  3274. "visibility_from": "06:00",
  3275. "visibility_to": "24:00",
  3276. "info": null,
  3277. "info_en": null,
  3278. "info_fi": null,
  3279. "service_category": {
  3280. "_type": "service_categories",
  3281. "_id": "b41d0fa2-12c1-457f-a9ca-3fefc6ba2166"
  3282. },
  3283. "menu": {
  3284. "_type": "menus",
  3285. "_id": "1ad290c4-fcc2-4d66-9dfa-2e7bf5166b21"
  3286. },
  3287. "picture": {
  3288. "_type": "pictures",
  3289. "_id": "de5e9839-517c-4bba-8d97-89d98a093985"
  3290. },
  3291. "products": null,
  3292. "created_at": "2018-05-09 14:21",
  3293. "updated_at": "2018-05-09 14:21"
  3294. }
  3295. }
  3296. ],
  3297. "additional_service_types": [
  3298. {
  3299. "_type": "additional_service_types",
  3300. "_id": "b5fe3077-a2ba-46a6-b8ef-a300eab26705",
  3301. "attributes": {
  3302. "name": "Info site",
  3303. "name_en": "Info site",
  3304. "name_fi": "Info site",
  3305. "const_value": "INFO",
  3306. "created_at": "2018-05-09 14:21",
  3307. "updated_at": "2018-05-09 14:21"
  3308. }
  3309. }
  3310. ],
  3311. "customer_types": [
  3312. {
  3313. "_type": "customer_types",
  3314. "_id": "8b3db848-a4ee-4dab-81b8-495fa2c6a308",
  3315. "attributes": {
  3316. "name": "Other",
  3317. "count": 1,
  3318. "name_with_count": "Other (1)",
  3319. "created_at": "2018-05-09 14:21",
  3320. "updated_at": "2018-05-09 14:21"
  3321. }
  3322. }
  3323. ],
  3324. "permits": [
  3325. {
  3326. "_type": "permits",
  3327. "_id": "e7d69b26-ed5d-4473-bc7d-bbb51cf37fc0",
  3328. "attributes": {
  3329. "name": "Orders",
  3330. "created_at": "2018-05-09 14:21",
  3331. "updated_at": "2018-05-09 14:21"
  3332. }
  3333. },
  3334. {
  3335. "_type": "permits",
  3336. "_id": "e2512ee4-1c20-4420-a333-5fa438c656fe",
  3337. "attributes": {
  3338. "name": "Edit tables",
  3339. "created_at": "2018-05-09 14:21",
  3340. "updated_at": "2018-05-09 14:21"
  3341. }
  3342. },
  3343. {
  3344. "_type": "permits",
  3345. "_id": "f2db2abe-e075-4417-8c59-584029a64e6d",
  3346. "attributes": {
  3347. "name": "Edit menu",
  3348. "created_at": "2018-05-09 14:21",
  3349. "updated_at": "2018-05-09 14:21"
  3350. }
  3351. },
  3352. {
  3353. "_type": "permits",
  3354. "_id": "e025be1d-ed77-4672-8b5f-ade2bd84cade",
  3355. "attributes": {
  3356. "name": "Sales",
  3357. "created_at": "2018-05-09 14:21",
  3358. "updated_at": "2018-05-09 14:21"
  3359. }
  3360. },
  3361. {
  3362. "_type": "permits",
  3363. "_id": "f2db2abe-e075-4417-8c59-584029a64e6e",
  3364. "attributes": {
  3365. "name": "Phone",
  3366. "created_at": "2018-05-09 14:21",
  3367. "updated_at": "2018-05-09 14:21"
  3368. }
  3369. },
  3370. {
  3371. "_type": "permits",
  3372. "_id": "3262e528-c51f-4d1d-a810-167c55d12658",
  3373. "attributes": {
  3374. "name": "Rejected orders",
  3375. "created_at": "2018-05-09 14:21",
  3376. "updated_at": "2018-05-09 14:21"
  3377. }
  3378. },
  3379. {
  3380. "_type": "permits",
  3381. "_id": "5e1b60ee-b01c-472d-956f-2b22610c797c",
  3382. "attributes": {
  3383. "name": "Chat",
  3384. "created_at": "2018-05-09 14:21",
  3385. "updated_at": "2018-05-09 14:21"
  3386. }
  3387. },
  3388. {
  3389. "_type": "permits",
  3390. "_id": "ef7f5eca-9fac-4582-b9ea-6c6b4e0f50c2",
  3391. "attributes": {
  3392. "name": "Reservations",
  3393. "created_at": "2018-05-09 14:21",
  3394. "updated_at": "2018-05-09 14:21"
  3395. }
  3396. },
  3397. {
  3398. "_type": "permits",
  3399. "_id": "f1c9318e-2855-43fc-9000-c9be0489d929",
  3400. "attributes": {
  3401. "name": "Edit promotions",
  3402. "created_at": "2018-05-09 14:21",
  3403. "updated_at": "2018-05-09 14:21"
  3404. }
  3405. }
  3406. ]
  3407. }
  3408. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement