Advertisement
Guest User

My treat new return response

a guest
Oct 15th, 2018
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 12.03 KB | None | 0 0
  1. {
  2.     "pendings": [
  3.         {
  4.             "id": 7,
  5.             "user_id": 2,
  6.             "type": "LUNCH",
  7.             "preferred_time": "14.00",
  8.             "start_date": "2018-10-15 00:00:00",
  9.             "budget": "100",
  10.             "looking_for": "FEMALE",
  11.             "status": "PRE-REQUEST",
  12.             "restaurant": "Nando's Paradigm Mall",
  13.             "address": "Jalan SS7/26A Lot CF-32, Paradigm Mall, 1, 47301 Petaling Jaya, Selangor",
  14.             "coordinate": "3.104730, 101.596030",
  15.             "latitude": "3.104730",
  16.             "longitude": " 101.596030",
  17.             "uuid": "9daf5500-c84f-11e8-9a3d-277d43d35fb8",
  18.             "created_at": "2018-10-05 11:34:50",
  19.             "updated_at": "2018-10-05 11:34:50",
  20.             "deleted_at": null,
  21.             "invitations": [
  22.                 {
  23.                     "id": 14,
  24.                     "user_id": 1,
  25.                     "treat_id": 7,
  26.                     "status": "PENDING",
  27.                     "created_at": "2018-10-12 11:25:56",
  28.                     "updated_at": "2018-10-12 11:25:56",
  29.                     "user": {
  30.                         "id": 1,
  31.                         "name": "Syamim Hazmi",
  32.                         "first_name": "Syamim",
  33.                         "last_name": "Hazmi",
  34.                         "email": "syamimhazmi@live.com",
  35.                         "phone_code": "+60",
  36.                         "mobile": "1133875673",
  37.                         "mobile_verified": 1,
  38.                         "verification_code": "514149",
  39.                         "notification": 0,
  40.                         "avatar": "avatar-e8953e9d7277bfe3d9257aff961da461.jpeg",
  41.                         "device_id": "f961f0121729642f",
  42.                         "device_platform": "iOS",
  43.                         "device_push_id": "eD7ymHmIrsI:APA91bEX_0dmgJ5KfNKEMRTckif5icnzN-YbczxvgoHC25OZBW9pFYZAQpIyc1E27hEa8FwT1vlbWbins5EYcAtA-8dfKXWbXE6bIfrv-OX_wEQU_jycmwwvg3wu1ojL7c-jelCti4Km",
  44.                         "facebook_id": "101557379922777510",
  45.                         "phone_model": null,
  46.                         "gender": null,
  47.                         "country": "Malaysia",
  48.                         "country_code": null,
  49.                         "created_at": "2018-10-05 00:16:31",
  50.                         "updated_at": "2018-10-06 18:15:17",
  51.                         "deleted_at": null
  52.                     }
  53.                 }
  54.             ]
  55.         },
  56.         {
  57.             "id": 8,
  58.             "user_id": 2,
  59.             "type": "HIGH-TEA",
  60.             "preferred_time": "17.30",
  61.             "start_date": "2018-10-15 00:00:00",
  62.             "budget": "100",
  63.             "looking_for": "FEMALE",
  64.             "status": "PRE-REQUEST",
  65.             "restaurant": "Nando's Paradigm Mall",
  66.             "address": "Jalan SS7/26A Lot CF-32, Paradigm Mall, 1, 47301 Petaling Jaya, Selangor",
  67.             "coordinate": "3.104730, 101.596030",
  68.             "latitude": "3.104730",
  69.             "longitude": " 101.596030",
  70.             "uuid": "c10bd3c0-c84f-11e8-b35c-272a7e138911",
  71.             "created_at": "2018-10-05 11:35:50",
  72.             "updated_at": "2018-10-05 11:35:50",
  73.             "deleted_at": null,
  74.             "invitations": [
  75.                 {
  76.                     "id": 3,
  77.                     "user_id": 1,
  78.                     "treat_id": 8,
  79.                     "status": "PENDING",
  80.                     "created_at": "2018-10-06 21:26:09",
  81.                     "updated_at": "2018-10-06 21:26:09",
  82.                     "user": {
  83.                         "id": 1,
  84.                         "name": "Syamim Hazmi",
  85.                         "first_name": "Syamim",
  86.                         "last_name": "Hazmi",
  87.                         "email": "syamimhazmi@live.com",
  88.                         "phone_code": "+60",
  89.                         "mobile": "1133875673",
  90.                         "mobile_verified": 1,
  91.                         "verification_code": "514149",
  92.                         "notification": 0,
  93.                         "avatar": "avatar-e8953e9d7277bfe3d9257aff961da461.jpeg",
  94.                         "device_id": "f961f0121729642f",
  95.                         "device_platform": "iOS",
  96.                         "device_push_id": "eD7ymHmIrsI:APA91bEX_0dmgJ5KfNKEMRTckif5icnzN-YbczxvgoHC25OZBW9pFYZAQpIyc1E27hEa8FwT1vlbWbins5EYcAtA-8dfKXWbXE6bIfrv-OX_wEQU_jycmwwvg3wu1ojL7c-jelCti4Km",
  97.                         "facebook_id": "101557379922777510",
  98.                         "phone_model": null,
  99.                         "gender": null,
  100.                         "country": "Malaysia",
  101.                         "country_code": null,
  102.                         "created_at": "2018-10-05 00:16:31",
  103.                         "updated_at": "2018-10-06 18:15:17",
  104.                         "deleted_at": null
  105.                     }
  106.                 }
  107.             ]
  108.         },
  109.         {
  110.             "id": 9,
  111.             "user_id": 2,
  112.             "type": "DINNER",
  113.             "preferred_time": "21.00",
  114.             "start_date": "2018-10-15 00:00:00",
  115.             "budget": "100",
  116.             "looking_for": "FEMALE",
  117.             "status": "PRE-REQUEST",
  118.             "restaurant": "Nando's Paradigm Mall",
  119.             "address": "Jalan SS7/26A Lot CF-32, Paradigm Mall, 1, 47301 Petaling Jaya, Selangor",
  120.             "coordinate": "3.104730, 101.596030",
  121.             "latitude": "3.104730",
  122.             "longitude": " 101.596030",
  123.             "uuid": "cd865c60-c84f-11e8-a45b-7709b48b667a",
  124.             "created_at": "2018-10-05 11:36:11",
  125.             "updated_at": "2018-10-05 11:36:11",
  126.             "deleted_at": null,
  127.             "invitations": [
  128.                 {
  129.                     "id": 4,
  130.                     "user_id": 1,
  131.                     "treat_id": 9,
  132.                     "status": "PENDING",
  133.                     "created_at": "2018-10-06 21:26:19",
  134.                     "updated_at": "2018-10-06 21:26:19",
  135.                     "user": {
  136.                         "id": 1,
  137.                         "name": "Syamim Hazmi",
  138.                         "first_name": "Syamim",
  139.                         "last_name": "Hazmi",
  140.                         "email": "syamimhazmi@live.com",
  141.                         "phone_code": "+60",
  142.                         "mobile": "1133875673",
  143.                         "mobile_verified": 1,
  144.                         "verification_code": "514149",
  145.                         "notification": 0,
  146.                         "avatar": "avatar-e8953e9d7277bfe3d9257aff961da461.jpeg",
  147.                         "device_id": "f961f0121729642f",
  148.                         "device_platform": "iOS",
  149.                         "device_push_id": "eD7ymHmIrsI:APA91bEX_0dmgJ5KfNKEMRTckif5icnzN-YbczxvgoHC25OZBW9pFYZAQpIyc1E27hEa8FwT1vlbWbins5EYcAtA-8dfKXWbXE6bIfrv-OX_wEQU_jycmwwvg3wu1ojL7c-jelCti4Km",
  150.                         "facebook_id": "101557379922777510",
  151.                         "phone_model": null,
  152.                         "gender": null,
  153.                         "country": "Malaysia",
  154.                         "country_code": null,
  155.                         "created_at": "2018-10-05 00:16:31",
  156.                         "updated_at": "2018-10-06 18:15:17",
  157.                         "deleted_at": null
  158.                     }
  159.                 }
  160.             ]
  161.         },
  162.         {
  163.             "id": 10,
  164.             "user_id": 2,
  165.             "type": "SUPPER",
  166.             "preferred_time": "00.00",
  167.             "start_date": "2018-10-15 00:00:00",
  168.             "budget": "100",
  169.             "looking_for": "FEMALE",
  170.             "status": "PRE-REQUEST",
  171.             "restaurant": "Nando's Paradigm Mall",
  172.             "address": "Jalan SS7/26A Lot CF-32, Paradigm Mall, 1, 47301 Petaling Jaya, Selangor",
  173.             "coordinate": "3.104730, 101.596030",
  174.             "latitude": "3.104730",
  175.             "longitude": " 101.596030",
  176.             "uuid": "dd0a8040-c84f-11e8-9d8e-3fd0a81e1daa",
  177.             "created_at": "2018-10-05 11:36:37",
  178.             "updated_at": "2018-10-05 11:36:37",
  179.             "deleted_at": null,
  180.             "invitations": [
  181.                 {
  182.                     "id": 5,
  183.                     "user_id": 1,
  184.                     "treat_id": 10,
  185.                     "status": "PENDING",
  186.                     "created_at": "2018-10-06 21:26:28",
  187.                     "updated_at": "2018-10-06 21:26:28",
  188.                     "user": {
  189.                         "id": 1,
  190.                         "name": "Syamim Hazmi",
  191.                         "first_name": "Syamim",
  192.                         "last_name": "Hazmi",
  193.                         "email": "syamimhazmi@live.com",
  194.                         "phone_code": "+60",
  195.                         "mobile": "1133875673",
  196.                         "mobile_verified": 1,
  197.                         "verification_code": "514149",
  198.                         "notification": 0,
  199.                         "avatar": "avatar-e8953e9d7277bfe3d9257aff961da461.jpeg",
  200.                         "device_id": "f961f0121729642f",
  201.                         "device_platform": "iOS",
  202.                         "device_push_id": "eD7ymHmIrsI:APA91bEX_0dmgJ5KfNKEMRTckif5icnzN-YbczxvgoHC25OZBW9pFYZAQpIyc1E27hEa8FwT1vlbWbins5EYcAtA-8dfKXWbXE6bIfrv-OX_wEQU_jycmwwvg3wu1ojL7c-jelCti4Km",
  203.                         "facebook_id": "101557379922777510",
  204.                         "phone_model": null,
  205.                         "gender": null,
  206.                         "country": "Malaysia",
  207.                         "country_code": null,
  208.                         "created_at": "2018-10-05 00:16:31",
  209.                         "updated_at": "2018-10-06 18:15:17",
  210.                         "deleted_at": null
  211.                     }
  212.                 }
  213.             ]
  214.         }
  215.     ],
  216.     "approved": [
  217.         {
  218.             "id": 6,
  219.             "user_id": 2,
  220.             "type": "BREAKFAST",
  221.             "preferred_time": "10.00",
  222.             "start_date": "2018-10-15 00:00:00",
  223.             "budget": "100",
  224.             "looking_for": "FEMALE",
  225.             "status": "ONGOING",
  226.             "restaurant": "Nando's Paradigm Mall",
  227.             "address": "Jalan SS7/26A Lot CF-32, Paradigm Mall, 1, 47301 Petaling Jaya, Selangor",
  228.             "coordinate": "3.104730, 101.596030",
  229.             "latitude": "3.104730",
  230.             "longitude": " 101.596030",
  231.             "uuid": "79a76100-c84f-11e8-ad43-e32ea53bd2c1",
  232.             "created_at": "2018-10-05 11:33:50",
  233.             "updated_at": "2018-10-10 07:16:17",
  234.             "deleted_at": null,
  235.             "invitations": [
  236.                 {
  237.                     "id": 1,
  238.                     "user_id": 1,
  239.                     "treat_id": 6,
  240.                     "status": "APPROVED",
  241.                     "created_at": "2018-10-06 21:24:53",
  242.                     "updated_at": "2018-10-10 07:16:17",
  243.                     "user": {
  244.                         "id": 1,
  245.                         "name": "Syamim Hazmi",
  246.                         "first_name": "Syamim",
  247.                         "last_name": "Hazmi",
  248.                         "email": "syamimhazmi@live.com",
  249.                         "phone_code": "+60",
  250.                         "mobile": "1133875673",
  251.                         "mobile_verified": 1,
  252.                         "verification_code": "514149",
  253.                         "notification": 0,
  254.                         "avatar": "avatar-e8953e9d7277bfe3d9257aff961da461.jpeg",
  255.                         "device_id": "f961f0121729642f",
  256.                         "device_platform": "iOS",
  257.                         "device_push_id": "eD7ymHmIrsI:APA91bEX_0dmgJ5KfNKEMRTckif5icnzN-YbczxvgoHC25OZBW9pFYZAQpIyc1E27hEa8FwT1vlbWbins5EYcAtA-8dfKXWbXE6bIfrv-OX_wEQU_jycmwwvg3wu1ojL7c-jelCti4Km",
  258.                         "facebook_id": "101557379922777510",
  259.                         "phone_model": null,
  260.                         "gender": null,
  261.                         "country": "Malaysia",
  262.                         "country_code": null,
  263.                         "created_at": "2018-10-05 00:16:31",
  264.                         "updated_at": "2018-10-06 18:15:17",
  265.                         "deleted_at": null
  266.                     }
  267.                 }
  268.             ]
  269.         }
  270.     ]
  271. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement