Advertisement
Guest User

Untitled

a guest
Sep 18th, 2018
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.34 KB | None | 0 0
  1. {
  2. "jsonapi": {
  3. "version": "1.0"
  4. },
  5. "meta": {
  6. "totalPages": 1,
  7. "totalObjects": 2
  8. },
  9. "links": {
  10. "self": "http://local.swivel-api.com/in-home/booking/history",
  11. "first": "http://local.swivel-api.com/in-home/booking/history?page%5Bsize%5D=10&page%5Bnumber%5D=1",
  12. "prev": null,
  13. "next": null,
  14. "last": "http://local.swivel-api.com/in-home/booking/history?page%5Bsize%5D=10&page%5Bnumber%5D=1"
  15. },
  16. "data": [
  17. {
  18. "type": "InHomeBooking",
  19. "id": "1",
  20. "attributes": {
  21. "date_book": "2018-09-19",
  22. "notes": "sdsdsdsds",
  23. "your_hair_now": null,
  24. "your_inspo_look": null,
  25. "wash_needed": 0,
  26. "location": "ưewsdsdsd",
  27. "services_total": "10000.00",
  28. "stripe_charge_id": "213123131231",
  29. "first_name": "sfsadsfsd",
  30. "last_name": "fsdfsdfsdfds",
  31. "phone": "12313312313",
  32. "email": "aaa@gmail.com",
  33. "id": "1",
  34. "status": "1",
  35. "amount": "10000",
  36. "createdAt": {
  37. "date": "2018-09-19 08:34:23.000000",
  38. "timezone_type": 3,
  39. "timezone": "UTC"
  40. }
  41. },
  42. "relationships": {
  43. "user": {
  44. "id": "2",
  45. "type": "User"
  46. },
  47. "stylist": {
  48. "id": "1",
  49. "type": "InHomeStylist"
  50. },
  51. "style": {
  52. "id": "1",
  53. "type": "InHomeStyle"
  54. },
  55. "hair_type": {
  56. "id": "1",
  57. "type": "InHomeHairType"
  58. },
  59. "time_slot": {
  60. "id": "1",
  61. "type": "InHomeTimeSlot"
  62. }
  63. }
  64. },
  65. {
  66. "type": "InHomeBooking",
  67. "id": "2",
  68. "attributes": {
  69. "date_book": "2018-09-21",
  70. "notes": "sdsdsd",
  71. "your_hair_now": null,
  72. "your_inspo_look": null,
  73. "wash_needed": 0,
  74. "location": "sdsdsd",
  75. "services_total": "90000.00",
  76. "stripe_charge_id": "12244234",
  77. "first_name": "ZCDSDSDSA",
  78. "last_name": "adsdsfsdfsdfsd",
  79. "phone": "2324234",
  80. "email": "aaa@gmail.com",
  81. "id": "2",
  82. "status": "1",
  83. "amount": "90000",
  84. "createdAt": {
  85. "date": "2018-09-20 10:08:47.000000",
  86. "timezone_type": 3,
  87. "timezone": "UTC"
  88. }
  89. },
  90. "relationships": {
  91. "user": {
  92. "id": "2",
  93. "type": "User"
  94. },
  95. "stylist": {
  96. "id": "4",
  97. "type": "InHomeStylist"
  98. },
  99. "style": {
  100. "id": "4",
  101. "type": "InHomeStyle"
  102. },
  103. "hair_type": {
  104. "id": "4",
  105. "type": "InHomeHairType"
  106. },
  107. "time_slot": {
  108. "id": "4",
  109. "type": "InHomeTimeSlot"
  110. }
  111. }
  112. }
  113. ],
  114. "included": [
  115. {
  116. "type": "User",
  117. "id": "2",
  118. "attributes": {
  119. "id": "2",
  120. "hair_type_id": "",
  121. "username": "bnbnbnbnbn",
  122. "email": "aaa@gmail.com",
  123. "first_name": "aaa",
  124. "last_name": "aaa",
  125. "phone": "5464645654",
  126. "avatar": "http://192.168.2.40/local.swivel-api.com/public/photos/5ba1b922dd7bc.png",
  127. "roles": [],
  128. "fb_info": "",
  129. "salons": []
  130. },
  131. "relationships": []
  132. },
  133. {
  134. "type": "InHomeStylist",
  135. "id": "1",
  136. "attributes": {
  137. "name": "Stylist 0",
  138. "description": "Stylist description 0",
  139. "phone": null,
  140. "photo": null,
  141. "instagram_url": null,
  142. "rating": 0,
  143. "order": 1,
  144. "id": "1",
  145. "status": "2",
  146. "createdAt": "2018-09-19T01:24:35+00:00"
  147. }
  148. },
  149. {
  150. "type": "InHomeStyle",
  151. "id": "1",
  152. "attributes": {
  153. "name": "Blowouts",
  154. "description": null,
  155. "price": "100.00",
  156. "text_price": null,
  157. "image": null,
  158. "id": "1",
  159. "createdAt": ""
  160. }
  161. },
  162. {
  163. "type": "InHomeHairType",
  164. "id": "1",
  165. "attributes": {
  166. "name": "Straight to minimal wave",
  167. "texture": "Thin to thick",
  168. "growth_pattern": "Grows down from the scalp",
  169. "volume": "Lack of body or volume",
  170. "elasticity": "Marginal stretching with return",
  171. "porosity": "Compact to slightly raised cuticle. Less prone to frizz",
  172. "image": "",
  173. "id": "1",
  174. "createdAt": "2018-09-19T01:23:08+00:00"
  175. }
  176. },
  177. {
  178. "type": "InHomeTimeSlot",
  179. "id": "1",
  180. "attributes": {
  181. "name": "7:00am - 9:00am",
  182. "from": "07:00:00",
  183. "to": "09:00:00",
  184. "id": "1"
  185. }
  186. },
  187. {
  188. "type": "InHomeProduct",
  189. "data": [
  190. {
  191. "type": "InHomeProduct",
  192. "id": "4",
  193. "attributes": {
  194. "id": "4",
  195. "name": "Product4",
  196. "image": "https://placehold.jp/83b7d7/ffffff/400x400.png?text=product_04",
  197. "url": "https://placehold.jp/83b7d7/ffffff/400x400.png?text=product_04",
  198. "created_at": "2018-09-19T01:23:14+00:00"
  199. }
  200. },
  201. {
  202. "type": "InHomeProduct",
  203. "id": "5",
  204. "attributes": {
  205. "id": "5",
  206. "name": "Product5",
  207. "image": "https://placehold.jp/83b7d7/ffffff/400x400.png?text=product_05",
  208. "url": "https://placehold.jp/83b7d7/ffffff/400x400.png?text=product_05",
  209. "created_at": "2018-09-19T01:23:14+00:00"
  210. }
  211. }
  212. ]
  213. },
  214. {
  215. "type": "InHomeBookingPhoto",
  216. "data": [
  217. {
  218. "type": "InHomeBookingPhoto",
  219. "id": "10",
  220. "attributes": {
  221. "id": "10",
  222. "photo_url": "https://placehold.jp/3d4070/ffffff/500x600.png?text=bbbb",
  223. "created_at": "2018-09-19T02:36:15+00:00"
  224. }
  225. },
  226. {
  227. "type": "InHomeBookingPhoto",
  228. "id": "11",
  229. "attributes": {
  230. "id": "11",
  231. "photo_url": "https://placehold.jp/3d4070/ffffff/500x600.png?text=bbbb",
  232. "created_at": "2018-09-19T02:36:15+00:00"
  233. }
  234. },
  235. {
  236. "type": "InHomeBookingPhoto",
  237. "id": "12",
  238. "attributes": {
  239. "id": "12",
  240. "photo_url": "https://placehold.jp/3d4070/ffffff/500x600.png?text=ccc",
  241. "created_at": "2018-09-19T02:36:15+00:00"
  242. }
  243. }
  244. ]
  245. },
  246. {
  247. "type": "InHomeStylist",
  248. "id": "4",
  249. "attributes": {
  250. "name": "Stylist 3",
  251. "description": "Stylist description 3",
  252. "phone": null,
  253. "photo": null,
  254. "instagram_url": null,
  255. "rating": 0,
  256. "order": 4,
  257. "id": "4",
  258. "status": "2",
  259. "createdAt": "2018-09-19T01:24:35+00:00"
  260. }
  261. },
  262. {
  263. "type": "InHomeStyle",
  264. "id": "4",
  265. "attributes": {
  266. "name": "Extensions",
  267. "description": null,
  268. "price": "400.00",
  269. "text_price": null,
  270. "image": null,
  271. "id": "4",
  272. "createdAt": ""
  273. }
  274. },
  275. {
  276. "type": "InHomeHairType",
  277. "id": "4",
  278. "attributes": {
  279. "name": "Curl",
  280. "texture": "Thin to thick",
  281. "growth_pattern": "Grows down from the scalp",
  282. "volume": "Body, volume and bounce",
  283. "elasticity": "Moderate stretching with moderate return",
  284. "porosity": "Slightly raised to raised cuticle. Prone to fizz",
  285. "image": "",
  286. "id": "4",
  287. "createdAt": "2018-09-19T01:23:08+00:00"
  288. }
  289. },
  290. {
  291. "type": "InHomeTimeSlot",
  292. "id": "4",
  293. "attributes": {
  294. "name": "2:00pm - 5:00pm",
  295. "from": "14:00:00",
  296. "to": "17:00:00",
  297. "id": "4"
  298. }
  299. },
  300. {
  301. "type": "InHomeProduct",
  302. "data": [
  303. {
  304. "type": "InHomeProduct",
  305. "id": "7",
  306. "attributes": {
  307. "id": "7",
  308. "name": "Product7",
  309. "image": "https://placehold.jp/83b7d7/ffffff/400x400.png?text=product_07",
  310. "url": "https://placehold.jp/83b7d7/ffffff/400x400.png?text=product_07",
  311. "created_at": "2018-09-19T01:23:14+00:00"
  312. }
  313. },
  314. {
  315. "type": "InHomeProduct",
  316. "id": "8",
  317. "attributes": {
  318. "id": "8",
  319. "name": "Product8",
  320. "image": "https://placehold.jp/83b7d7/ffffff/400x400.png?text=product_08",
  321. "url": "https://placehold.jp/83b7d7/ffffff/400x400.png?text=product_08",
  322. "created_at": "2018-09-19T01:23:14+00:00"
  323. }
  324. }
  325. ]
  326. },
  327. {
  328. "type": "InHomeBookingPhoto",
  329. "data": [
  330. {
  331. "type": "InHomeBookingPhoto",
  332. "id": "15",
  333. "attributes": {
  334. "id": "15",
  335. "photo_url": "https://vnn-imgs-f.vgcloud.vn/2018/03/22/09/nhac-den-gai-dep-thanh-hoa-khong-the-quen-3-hot-girl-nuc-tieng-nay-14.jpg",
  336. "created_at": "2018-09-19T03:29:11+00:00"
  337. }
  338. }
  339. ]
  340. }
  341. ]
  342. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement