Guest User

Untitled

a guest
Feb 9th, 2017
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 14.83 KB | None | 0 0
  1. {
  2.   "data": [
  3.     {
  4.       "id": "4",
  5.       "type": "mailboxer-conversations",
  6.       "attributes": {
  7.         "subject": "Job Request #4: Countdown on Fri, 02/24/17 @ The Navy Yard,  4:00 PM -  8:00 PM",
  8.         "job-id": 4,
  9.         "created-at": "2017-02-01T14:42:29.874Z"
  10.       },
  11.       "relationships": {
  12.         "last-message": {
  13.           "data": {
  14.             "id": "9",
  15.             "type": "mailboxer-messages"
  16.           }
  17.         }
  18.       }
  19.     },
  20.     {
  21.       "id": "5",
  22.       "type": "mailboxer-conversations",
  23.       "attributes": {
  24.         "subject": "Job Request #5: Countdown on Fri, 02/10/17 @ The Navy Yard,  4:00 PM -  8:00 PM",
  25.         "job-id": 5,
  26.         "created-at": "2017-02-01T14:53:07.020Z"
  27.       },
  28.       "relationships": {
  29.         "last-message": {
  30.           "data": {
  31.             "id": "7",
  32.             "type": "mailboxer-messages"
  33.           }
  34.         }
  35.       }
  36.     },
  37.     {
  38.       "id": "3",
  39.       "type": "mailboxer-conversations",
  40.       "attributes": {
  41.         "subject": "Job Request #3: Countdown on Fri, 02/17/17 @ The Navy Yard,  4:00 PM -  8:00 PM",
  42.         "job-id": 3,
  43.         "created-at": "2017-02-01T14:35:25.834Z"
  44.       },
  45.       "relationships": {
  46.         "last-message": {
  47.           "data": {
  48.             "id": "6",
  49.             "type": "mailboxer-messages"
  50.           }
  51.         }
  52.       }
  53.     },
  54.     {
  55.       "id": "2",
  56.       "type": "mailboxer-conversations",
  57.       "attributes": {
  58.         "subject": "Job Request #2: Blue Hen on Sun, 06/25/17 @ Caravel Academy,  1:00 PM -  6:00 PM",
  59.         "job-id": 2,
  60.         "created-at": "2017-02-01T14:04:42.308Z"
  61.       },
  62.       "relationships": {
  63.         "last-message": {
  64.           "data": {
  65.             "id": "2",
  66.             "type": "mailboxer-messages"
  67.           }
  68.         }
  69.       }
  70.     },
  71.     {
  72.       "id": "1",
  73.       "type": "mailboxer-conversations",
  74.       "attributes": {
  75.         "subject": "Job Request #1: Summer Jam on Sun, 06/11/17 @ KSU Sports and Recreation Park,  1:00 PM -  6:00 PM",
  76.         "job-id": 1,
  77.         "created-at": "2017-01-29T03:12:15.216Z"
  78.       },
  79.       "relationships": {
  80.         "last-message": {
  81.           "data": {
  82.             "id": "1",
  83.             "type": "mailboxer-messages"
  84.           }
  85.         }
  86.       }
  87.     }
  88.   ],
  89.   "included": [
  90.     {
  91.       "id": "9",
  92.       "type": "mailboxer-messages",
  93.       "attributes": {
  94.         "subject": "Job Request #4: Countdown on Fri, 02/24/17 @ The Navy Yard,  4:00 PM -  8:00 PM",
  95.         "body": "Joel Zuercher has made decision to ACCEPT your request. To complete the job process you must make final confirmation.",
  96.         "sender": {
  97.           "id": 1,
  98.           "first_name": "Go4Ellis",
  99.           "last_name": "Admin",
  100.           "email": "messenger@go4ellis.com",
  101.           "created_at": "2017-01-24T13:33:16.690Z",
  102.           "updated_at": "2017-01-24T20:36:00.167Z",
  103.           "profile_pic": {
  104.             "url": "https://staging-nxt-trainers.s3.amazonaws.com/uploads/user/profile_pic/1/go4ellis-profile-pic.png?X-Amz-Expires=304800&X-Amz-Date=20170209T163358Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWGINOL6XTXBNS7Q/20170209/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=20e920cf08cfe87531221b8c0416fa057f780d5852f927a9af387293a9d2bfe7",
  105.             "small_size": {
  106.               "url": "https://staging-nxt-trainers.s3.amazonaws.com/uploads/user/profile_pic/1/small_size_go4ellis-profile-pic.png?X-Amz-Expires=304800&X-Amz-Date=20170209T163358Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWGINOL6XTXBNS7Q/20170209/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=a52868d7e1a03db9d8642f76d7746a070287faf3d104904df5032e76a96a2f37"
  107.             },
  108.             "medium_size": {
  109.               "url": "https://staging-nxt-trainers.s3.amazonaws.com/uploads/user/profile_pic/1/medium_size_go4ellis-profile-pic.png?X-Amz-Expires=304800&X-Amz-Date=20170209T163358Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWGINOL6XTXBNS7Q/20170209/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=76813a8b87dce3529ba5252781f4c826e1874d837d56d9d5c7eb232a83ec70de"
  110.             }
  111.           },
  112.           "address_zip": null,
  113.           "phone_no": null,
  114.           "company_id": null,
  115.           "role": "bot",
  116.           "stripe_customer_id": null,
  117.           "authentication_token": "5G_nJ9jds2nu_vQr26zq",
  118.           "provider": "email",
  119.           "uid": "messenger@go4ellis.com",
  120.           "admin": false,
  121.           "receive_notifications": true,
  122.           "latitude": 37.09024,
  123.           "longitude": -95.712891
  124.         },
  125.         "created-at": "2017-02-01T14:56:18.746Z"
  126.       },
  127.       "relationships": {
  128.         "sender": {
  129.           "data": {
  130.             "id": "1",
  131.             "type": "users"
  132.           }
  133.         }
  134.       }
  135.     },
  136.     {
  137.       "id": "7",
  138.       "type": "mailboxer-messages",
  139.       "attributes": {
  140.         "subject": "Job Request #5: Countdown on Fri, 02/10/17 @ The Navy Yard,  4:00 PM -  8:00 PM",
  141.         "body": "Joel Zuercher has made decision to DECLINE your request.",
  142.         "sender": {
  143.           "id": 1,
  144.           "first_name": "Go4Ellis",
  145.           "last_name": "Admin",
  146.           "email": "messenger@go4ellis.com",
  147.           "created_at": "2017-01-24T13:33:16.690Z",
  148.           "updated_at": "2017-01-24T20:36:00.167Z",
  149.           "profile_pic": {
  150.             "url": "https://staging-nxt-trainers.s3.amazonaws.com/uploads/user/profile_pic/1/go4ellis-profile-pic.png?X-Amz-Expires=304800&X-Amz-Date=20170209T163358Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWGINOL6XTXBNS7Q/20170209/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=20e920cf08cfe87531221b8c0416fa057f780d5852f927a9af387293a9d2bfe7",
  151.             "small_size": {
  152.               "url": "https://staging-nxt-trainers.s3.amazonaws.com/uploads/user/profile_pic/1/small_size_go4ellis-profile-pic.png?X-Amz-Expires=304800&X-Amz-Date=20170209T163358Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWGINOL6XTXBNS7Q/20170209/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=a52868d7e1a03db9d8642f76d7746a070287faf3d104904df5032e76a96a2f37"
  153.             },
  154.             "medium_size": {
  155.               "url": "https://staging-nxt-trainers.s3.amazonaws.com/uploads/user/profile_pic/1/medium_size_go4ellis-profile-pic.png?X-Amz-Expires=304800&X-Amz-Date=20170209T163358Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWGINOL6XTXBNS7Q/20170209/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=76813a8b87dce3529ba5252781f4c826e1874d837d56d9d5c7eb232a83ec70de"
  156.             }
  157.           },
  158.           "address_zip": null,
  159.           "phone_no": null,
  160.           "company_id": null,
  161.           "role": "bot",
  162.           "stripe_customer_id": null,
  163.           "authentication_token": "5G_nJ9jds2nu_vQr26zq",
  164.           "provider": "email",
  165.           "uid": "messenger@go4ellis.com",
  166.           "admin": false,
  167.           "receive_notifications": true,
  168.           "latitude": 37.09024,
  169.           "longitude": -95.712891
  170.         },
  171.         "created-at": "2017-02-01T14:55:37.817Z"
  172.       },
  173.       "relationships": {
  174.         "sender": {
  175.           "data": {
  176.             "id": "1",
  177.             "type": "users"
  178.           }
  179.         }
  180.       }
  181.     },
  182.     {
  183.       "id": "6",
  184.       "type": "mailboxer-messages",
  185.       "attributes": {
  186.         "subject": "Job Request #3: Countdown on Fri, 02/17/17 @ The Navy Yard,  4:00 PM -  8:00 PM",
  187.         "body": "Joel Zuercher has made decision to ACCEPT your request. To complete the job process you must make final confirmation.",
  188.         "sender": {
  189.           "id": 1,
  190.           "first_name": "Go4Ellis",
  191.           "last_name": "Admin",
  192.           "email": "messenger@go4ellis.com",
  193.           "created_at": "2017-01-24T13:33:16.690Z",
  194.           "updated_at": "2017-01-24T20:36:00.167Z",
  195.           "profile_pic": {
  196.             "url": "https://staging-nxt-trainers.s3.amazonaws.com/uploads/user/profile_pic/1/go4ellis-profile-pic.png?X-Amz-Expires=304800&X-Amz-Date=20170209T163358Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWGINOL6XTXBNS7Q/20170209/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=20e920cf08cfe87531221b8c0416fa057f780d5852f927a9af387293a9d2bfe7",
  197.             "small_size": {
  198.               "url": "https://staging-nxt-trainers.s3.amazonaws.com/uploads/user/profile_pic/1/small_size_go4ellis-profile-pic.png?X-Amz-Expires=304800&X-Amz-Date=20170209T163358Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWGINOL6XTXBNS7Q/20170209/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=a52868d7e1a03db9d8642f76d7746a070287faf3d104904df5032e76a96a2f37"
  199.             },
  200.             "medium_size": {
  201.               "url": "https://staging-nxt-trainers.s3.amazonaws.com/uploads/user/profile_pic/1/medium_size_go4ellis-profile-pic.png?X-Amz-Expires=304800&X-Amz-Date=20170209T163358Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWGINOL6XTXBNS7Q/20170209/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=76813a8b87dce3529ba5252781f4c826e1874d837d56d9d5c7eb232a83ec70de"
  202.             }
  203.           },
  204.           "address_zip": null,
  205.           "phone_no": null,
  206.           "company_id": null,
  207.           "role": "bot",
  208.           "stripe_customer_id": null,
  209.           "authentication_token": "5G_nJ9jds2nu_vQr26zq",
  210.           "provider": "email",
  211.           "uid": "messenger@go4ellis.com",
  212.           "admin": false,
  213.           "receive_notifications": true,
  214.           "latitude": 37.09024,
  215.           "longitude": -95.712891
  216.         },
  217.         "created-at": "2017-02-01T14:55:31.378Z"
  218.       },
  219.       "relationships": {
  220.         "sender": {
  221.           "data": {
  222.             "id": "1",
  223.             "type": "users"
  224.           }
  225.         }
  226.       }
  227.     },
  228.     {
  229.       "id": "2",
  230.       "type": "mailboxer-messages",
  231.       "attributes": {
  232.         "subject": "Job Request #2: Blue Hen on Sun, 06/25/17 @ Caravel Academy,  1:00 PM -  6:00 PM",
  233.         "body": "Cash Singh has requested to work job for Blue Hen on Sun, 06/25/17 @ Caravel Academy from  1:00 PM -  6:00 PM. <br> Approval process is awaiting Organizer decision",
  234.         "sender": {
  235.           "id": 1,
  236.           "first_name": "Go4Ellis",
  237.           "last_name": "Admin",
  238.           "email": "messenger@go4ellis.com",
  239.           "created_at": "2017-01-24T13:33:16.690Z",
  240.           "updated_at": "2017-01-24T20:36:00.167Z",
  241.           "profile_pic": {
  242.             "url": "https://staging-nxt-trainers.s3.amazonaws.com/uploads/user/profile_pic/1/go4ellis-profile-pic.png?X-Amz-Expires=304800&X-Amz-Date=20170209T163358Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWGINOL6XTXBNS7Q/20170209/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=20e920cf08cfe87531221b8c0416fa057f780d5852f927a9af387293a9d2bfe7",
  243.             "small_size": {
  244.               "url": "https://staging-nxt-trainers.s3.amazonaws.com/uploads/user/profile_pic/1/small_size_go4ellis-profile-pic.png?X-Amz-Expires=304800&X-Amz-Date=20170209T163358Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWGINOL6XTXBNS7Q/20170209/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=a52868d7e1a03db9d8642f76d7746a070287faf3d104904df5032e76a96a2f37"
  245.             },
  246.             "medium_size": {
  247.               "url": "https://staging-nxt-trainers.s3.amazonaws.com/uploads/user/profile_pic/1/medium_size_go4ellis-profile-pic.png?X-Amz-Expires=304800&X-Amz-Date=20170209T163358Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWGINOL6XTXBNS7Q/20170209/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=76813a8b87dce3529ba5252781f4c826e1874d837d56d9d5c7eb232a83ec70de"
  248.             }
  249.           },
  250.           "address_zip": null,
  251.           "phone_no": null,
  252.           "company_id": null,
  253.           "role": "bot",
  254.           "stripe_customer_id": null,
  255.           "authentication_token": "5G_nJ9jds2nu_vQr26zq",
  256.           "provider": "email",
  257.           "uid": "messenger@go4ellis.com",
  258.           "admin": false,
  259.           "receive_notifications": true,
  260.           "latitude": 37.09024,
  261.           "longitude": -95.712891
  262.         },
  263.         "created-at": "2017-02-01T14:04:42.308Z"
  264.       },
  265.       "relationships": {
  266.         "sender": {
  267.           "data": {
  268.             "id": "1",
  269.             "type": "users"
  270.           }
  271.         }
  272.       }
  273.     },
  274.     {
  275.       "id": "1",
  276.       "type": "mailboxer-messages",
  277.       "attributes": {
  278.         "subject": "Job Request #1: Summer Jam on Sun, 06/11/17 @ KSU Sports and Recreation Park,  1:00 PM -  6:00 PM",
  279.         "body": "Cash Singh has requested to work job for Summer Jam on Sun, 06/11/17 @ KSU Sports and Recreation Park from  1:00 PM -  6:00 PM. <br> Approval process is awaiting Organizer decision",
  280.         "sender": {
  281.           "id": 1,
  282.           "first_name": "Go4Ellis",
  283.           "last_name": "Admin",
  284.           "email": "messenger@go4ellis.com",
  285.           "created_at": "2017-01-24T13:33:16.690Z",
  286.           "updated_at": "2017-01-24T20:36:00.167Z",
  287.           "profile_pic": {
  288.             "url": "https://staging-nxt-trainers.s3.amazonaws.com/uploads/user/profile_pic/1/go4ellis-profile-pic.png?X-Amz-Expires=304800&X-Amz-Date=20170209T163358Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWGINOL6XTXBNS7Q/20170209/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=20e920cf08cfe87531221b8c0416fa057f780d5852f927a9af387293a9d2bfe7",
  289.             "small_size": {
  290.               "url": "https://staging-nxt-trainers.s3.amazonaws.com/uploads/user/profile_pic/1/small_size_go4ellis-profile-pic.png?X-Amz-Expires=304800&X-Amz-Date=20170209T163358Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWGINOL6XTXBNS7Q/20170209/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=a52868d7e1a03db9d8642f76d7746a070287faf3d104904df5032e76a96a2f37"
  291.             },
  292.             "medium_size": {
  293.               "url": "https://staging-nxt-trainers.s3.amazonaws.com/uploads/user/profile_pic/1/medium_size_go4ellis-profile-pic.png?X-Amz-Expires=304800&X-Amz-Date=20170209T163358Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWGINOL6XTXBNS7Q/20170209/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=76813a8b87dce3529ba5252781f4c826e1874d837d56d9d5c7eb232a83ec70de"
  294.             }
  295.           },
  296.           "address_zip": null,
  297.           "phone_no": null,
  298.           "company_id": null,
  299.           "role": "bot",
  300.           "stripe_customer_id": null,
  301.           "authentication_token": "5G_nJ9jds2nu_vQr26zq",
  302.           "provider": "email",
  303.           "uid": "messenger@go4ellis.com",
  304.           "admin": false,
  305.           "receive_notifications": true,
  306.           "latitude": 37.09024,
  307.           "longitude": -95.712891
  308.         },
  309.         "created-at": "2017-01-29T03:12:15.216Z"
  310.       },
  311.       "relationships": {
  312.         "sender": {
  313.           "data": {
  314.             "id": "1",
  315.             "type": "users"
  316.           }
  317.         }
  318.       }
  319.     }
  320.   ]
  321. }
Add Comment
Please, Sign In to add comment