Advertisement
ffajarpratama

[Ticket Master] Get List Ticket Response

Jul 23rd, 2023
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 8.79 KB | None | 0 0
  1. {
  2.   "new_tickets": [
  3.     {
  4.       "id": 2,
  5.       "title": "Back-End Development",
  6.       "cost": 200,
  7.       "summary": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse maximus, felis sit amet pretium convallis, tellus urna laoreet mi, ac consectetur orci eros vestibulum ante.",
  8.       "status": "new",
  9.       "type": "regular",
  10.       "order": 1,
  11.       "scheduled_at": null,
  12.       "created_by": 2,
  13.       "created_at": "2023-07-23T08:19:23.000000Z",
  14.       "updated_at": "2023-07-23T08:19:23.000000Z",
  15.       "deleted_at": null,
  16.       "users_count": 4,
  17.       "pivot": {
  18.         "user_id": 2,
  19.         "ticket_id": 2
  20.       },
  21.       "users": [
  22.         {
  23.           "id": 2,
  24.           "name": "Fajar Pratama",
  25.           "email": "[email protected]",
  26.           "phone_number": null,
  27.           "email_verified_at": "2023-07-22T13:45:44.000000Z",
  28.           "two_factor_confirmed_at": null,
  29.           "profile_photo_path": null,
  30.           "created_at": "2023-07-22T13:10:03.000000Z",
  31.           "updated_at": "2023-07-22T13:45:44.000000Z",
  32.           "stripe_id": null,
  33.           "is_admin": 0,
  34.           "is_receive_notification": 0,
  35.           "profile_photo_url": "https://ui-avatars.com/api/?name=F+P&color=7F9CF5&background=EBF4FF",
  36.           "pivot": {
  37.             "ticket_id": 2,
  38.             "user_id": 2
  39.           }
  40.         },
  41.         {
  42.           "id": 5,
  43.           "name": "Omnissiah",
  44.           "email": "[email protected]",
  45.           "phone_number": null,
  46.           "email_verified_at": null,
  47.           "two_factor_confirmed_at": null,
  48.           "profile_photo_path": null,
  49.           "created_at": "2023-07-23T07:52:28.000000Z",
  50.           "updated_at": "2023-07-23T07:52:28.000000Z",
  51.           "stripe_id": null,
  52.           "is_admin": 0,
  53.           "is_receive_notification": 0,
  54.           "profile_photo_url": "https://ui-avatars.com/api/?name=O&color=7F9CF5&background=EBF4FF",
  55.           "pivot": {
  56.             "ticket_id": 2,
  57.             "user_id": 5
  58.           }
  59.         },
  60.         {
  61.           "id": 6,
  62.           "name": "Sanguinius",
  63.           "email": "[email protected]",
  64.           "phone_number": null,
  65.           "email_verified_at": null,
  66.           "two_factor_confirmed_at": null,
  67.           "profile_photo_path": null,
  68.           "created_at": "2023-07-23T08:02:09.000000Z",
  69.           "updated_at": "2023-07-23T08:02:09.000000Z",
  70.           "stripe_id": null,
  71.           "is_admin": 0,
  72.           "is_receive_notification": 0,
  73.           "profile_photo_url": "https://ui-avatars.com/api/?name=S&color=7F9CF5&background=EBF4FF",
  74.           "pivot": {
  75.             "ticket_id": 2,
  76.             "user_id": 6
  77.           }
  78.         },
  79.         {
  80.           "id": 7,
  81.           "name": "circe",
  82.           "email": "[email protected]",
  83.           "phone_number": null,
  84.           "email_verified_at": null,
  85.           "two_factor_confirmed_at": null,
  86.           "profile_photo_path": null,
  87.           "created_at": "2023-07-23T08:04:38.000000Z",
  88.           "updated_at": "2023-07-23T08:04:38.000000Z",
  89.           "stripe_id": null,
  90.           "is_admin": 0,
  91.           "is_receive_notification": 0,
  92.           "profile_photo_url": "https://ui-avatars.com/api/?name=c&color=7F9CF5&background=EBF4FF",
  93.           "pivot": {
  94.             "ticket_id": 2,
  95.             "user_id": 7
  96.           }
  97.         }
  98.       ]
  99.     },
  100.     {
  101.       "id": 5,
  102.       "title": "Server Setup",
  103.       "cost": 200,
  104.       "summary": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse maximus, felis sit amet pretium convallis, tellus urna laoreet mi, ac consectetur orci eros vestibulum ante.",
  105.       "status": "new",
  106.       "type": "regular",
  107.       "order": 2,
  108.       "scheduled_at": null,
  109.       "created_by": 2,
  110.       "created_at": "2023-07-23T09:19:32.000000Z",
  111.       "updated_at": "2023-07-23T09:19:32.000000Z",
  112.       "deleted_at": null,
  113.       "users_count": 2,
  114.       "pivot": {
  115.         "user_id": 2,
  116.         "ticket_id": 5
  117.       },
  118.       "users": [
  119.         {
  120.           "id": 2,
  121.           "name": "Fajar Pratama",
  122.           "email": "[email protected]",
  123.           "phone_number": null,
  124.           "email_verified_at": "2023-07-22T13:45:44.000000Z",
  125.           "two_factor_confirmed_at": null,
  126.           "profile_photo_path": null,
  127.           "created_at": "2023-07-22T13:10:03.000000Z",
  128.           "updated_at": "2023-07-22T13:45:44.000000Z",
  129.           "stripe_id": null,
  130.           "is_admin": 0,
  131.           "is_receive_notification": 0,
  132.           "profile_photo_url": "https://ui-avatars.com/api/?name=F+P&color=7F9CF5&background=EBF4FF",
  133.           "pivot": {
  134.             "ticket_id": 5,
  135.             "user_id": 2
  136.           }
  137.         },
  138.         {
  139.           "id": 5,
  140.           "name": "Omnissiah",
  141.           "email": "[email protected]",
  142.           "phone_number": null,
  143.           "email_verified_at": null,
  144.           "two_factor_confirmed_at": null,
  145.           "profile_photo_path": null,
  146.           "created_at": "2023-07-23T07:52:28.000000Z",
  147.           "updated_at": "2023-07-23T07:52:28.000000Z",
  148.           "stripe_id": null,
  149.           "is_admin": 0,
  150.           "is_receive_notification": 0,
  151.           "profile_photo_url": "https://ui-avatars.com/api/?name=O&color=7F9CF5&background=EBF4FF",
  152.           "pivot": {
  153.             "ticket_id": 5,
  154.             "user_id": 5
  155.           }
  156.         }
  157.       ]
  158.     }
  159.   ],
  160.   "scheduled_tickets": [
  161.     {
  162.       "id": 4,
  163.       "title": "Front-End Development",
  164.       "cost": 200,
  165.       "summary": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse maximus, felis sit amet pretium convallis, tellus urna laoreet mi, ac consectetur orci eros vestibulum ante.",
  166.       "status": "new",
  167.       "type": "scheduled",
  168.       "order": 1,
  169.       "scheduled_at": "2023-07-23 14:00:00",
  170.       "created_by": 2,
  171.       "created_at": "2023-07-23T09:18:30.000000Z",
  172.       "updated_at": "2023-07-23T09:18:30.000000Z",
  173.       "deleted_at": null,
  174.       "users_count": 4,
  175.       "pivot": {
  176.         "user_id": 2,
  177.         "ticket_id": 4
  178.       },
  179.       "users": [
  180.         {
  181.           "id": 2,
  182.           "name": "Fajar Pratama",
  183.           "email": "[email protected]",
  184.           "phone_number": null,
  185.           "email_verified_at": "2023-07-22T13:45:44.000000Z",
  186.           "two_factor_confirmed_at": null,
  187.           "profile_photo_path": null,
  188.           "created_at": "2023-07-22T13:10:03.000000Z",
  189.           "updated_at": "2023-07-22T13:45:44.000000Z",
  190.           "stripe_id": null,
  191.           "is_admin": 0,
  192.           "is_receive_notification": 0,
  193.           "profile_photo_url": "https://ui-avatars.com/api/?name=F+P&color=7F9CF5&background=EBF4FF",
  194.           "pivot": {
  195.             "ticket_id": 4,
  196.             "user_id": 2
  197.           }
  198.         },
  199.         {
  200.           "id": 5,
  201.           "name": "Omnissiah",
  202.           "email": "[email protected]",
  203.           "phone_number": null,
  204.           "email_verified_at": null,
  205.           "two_factor_confirmed_at": null,
  206.           "profile_photo_path": null,
  207.           "created_at": "2023-07-23T07:52:28.000000Z",
  208.           "updated_at": "2023-07-23T07:52:28.000000Z",
  209.           "stripe_id": null,
  210.           "is_admin": 0,
  211.           "is_receive_notification": 0,
  212.           "profile_photo_url": "https://ui-avatars.com/api/?name=O&color=7F9CF5&background=EBF4FF",
  213.           "pivot": {
  214.             "ticket_id": 4,
  215.             "user_id": 5
  216.           }
  217.         },
  218.         {
  219.           "id": 6,
  220.           "name": "Sanguinius",
  221.           "email": "[email protected]",
  222.           "phone_number": null,
  223.           "email_verified_at": null,
  224.           "two_factor_confirmed_at": null,
  225.           "profile_photo_path": null,
  226.           "created_at": "2023-07-23T08:02:09.000000Z",
  227.           "updated_at": "2023-07-23T08:02:09.000000Z",
  228.           "stripe_id": null,
  229.           "is_admin": 0,
  230.           "is_receive_notification": 0,
  231.           "profile_photo_url": "https://ui-avatars.com/api/?name=S&color=7F9CF5&background=EBF4FF",
  232.           "pivot": {
  233.             "ticket_id": 4,
  234.             "user_id": 6
  235.           }
  236.         },
  237.         {
  238.           "id": 7,
  239.           "name": "circe",
  240.           "email": "[email protected]",
  241.           "phone_number": null,
  242.           "email_verified_at": null,
  243.           "two_factor_confirmed_at": null,
  244.           "profile_photo_path": null,
  245.           "created_at": "2023-07-23T08:04:38.000000Z",
  246.           "updated_at": "2023-07-23T08:04:38.000000Z",
  247.           "stripe_id": null,
  248.           "is_admin": 0,
  249.           "is_receive_notification": 0,
  250.           "profile_photo_url": "https://ui-avatars.com/api/?name=c&color=7F9CF5&background=EBF4FF",
  251.           "pivot": {
  252.             "ticket_id": 4,
  253.             "user_id": 7
  254.           }
  255.         }
  256.       ]
  257.     }
  258.   ],
  259.   "in_progress_tickets": [],
  260.   "finished_tickets": []
  261. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement