Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 3.38 KB | None | 0 0
  1. {
  2.   "hook": "event.submitted",
  3.   "event": {
  4.     "id": 14942,
  5.     "event_code": "AA014942",
  6.     "source": "web",
  7.     "status": "submitted",
  8.     "call_time": "2019-07-22T15:50:00.000Z",
  9.     "created_at": "2019-07-22T15:51:40.526Z",
  10.     "updated_at": "2019-07-22T16:00:23.222Z",
  11.     "equipment": {
  12.       "id": 50293,
  13.       "equipment_number": "AAAA000000",
  14.       "equipment_type": "Chassis",
  15.       "status": "defect"
  16.     },
  17.     "associated_equipment_number": "",
  18.     "associated_tractor_number": "",
  19.     "truck_dispatch": {
  20.       "id": 263,
  21.       "name": "Test Webhook",
  22.       "contact_mail": "sreejith+hook@gmail.com"
  23.     },
  24.     "iep": {
  25.       "id": 26,
  26.       "name": "Hub Group Trucking",
  27.       "contact_mail": "abhi+hubgroup@reach24.net"
  28.     },
  29.     "service_center": {
  30.       "id": 321,
  31.       "name": "Interstar Fleet Services, Inc. - Dispatch Center",
  32.       "contact_mail": "abhi@reach24.net"
  33.     },
  34.     "shipper": { "id": null, "name": null },
  35.     "driver": {
  36.       "id": 3556,
  37.       "driver_name": "Sreejith Pillai",
  38.       "driver_phone": "(234) 234-2344"
  39.     },
  40.     "created_by": { "id": 3556, "name": "Sreejith Pillai" },
  41.     "reported_location": {
  42.       "id": 26893,
  43.       "address": "341 9th Ave, New York, NY 10116, USA",
  44.       "city": "New York",
  45.       "state": "NY",
  46.       "country": null,
  47.       "postal_code": null,
  48.       "latitude": 40.750955,
  49.       "longitude": -73.999572
  50.     },
  51.     "drop_location": false,
  52.     "ancillary_location": null,
  53.     "terminal": "Ace Fredericks",
  54.     "loaded": false,
  55.     "driver_with_unit": false,
  56.     "authorization_status": null,
  57.     "equipment_last_active_on": "2019-07-22T10:44:16.639Z",
  58.     "technician_arrived_at": null,
  59.     "departed_date": "2019-07-22T15:50:00.000Z",
  60.     "roll_time": "0 h 8 m",
  61.     "eta": null,
  62.     "departed_terminal": {
  63.       "id": 754,
  64.       "name": "Ace Fredericks",
  65.       "facility_name": "Ace Fredericks",
  66.       "iana_facility_code": "7521502",
  67.       "spic_code": "TBD"
  68.     },
  69.     "service_lines": [
  70.       {
  71.         "id": 6783,
  72.         "is_approved": true,
  73.         "comment": "",
  74.         "category": { "id": 10, "name": "Brakes" },
  75.         "system": { "id": 3, "name": "Brakes" },
  76.         "subsystem": { "id": 8, "name": "Airline" },
  77.         "service": { "id": 21, "name": "Air Hose - Section" },
  78.         "service_line_jobs": [
  79.           {
  80.             "id": 6296,
  81.             "job": {
  82.               "id": 21,
  83.               "code": "2479-C",
  84.               "description": "AirHose - Section"
  85.             },
  86.             "defect": { "id": null, "code": null, "description": null },
  87.             "location": { "id": null, "code": null, "description": null }
  88.           }
  89.         ],
  90.         "attachments": []
  91.       }
  92.     ],
  93.     "comments": [
  94.       {
  95.         "id": 4182,
  96.         "comment": "Testing with comment",
  97.         "commented_by": "Sreejith Pillai",
  98.         "commented_at": "2019-07-22T15:51:40.552Z"
  99.       }
  100.     ],
  101.     "status_log": [
  102.       {
  103.         "status": "Submitted",
  104.         "time": "07/22/19 04:00:23 PM (UTC)",
  105.         "user": "Sreejith Pillai",
  106.         "tenant": "Test Webhook",
  107.         "service_center": "Interstar Fleet Services, Inc. - Dispatch Center"
  108.       },
  109.       {
  110.         "status": "Open",
  111.         "time": "07/22/19 03:51:40 PM (UTC)",
  112.         "user": "Sreejith Pillai",
  113.         "tenant": "Test Webhook",
  114.         "service_center": null
  115.       }
  116.     ]
  117.   }
  118. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement