Advertisement
Guest User

reservation.messageReceived

a guest
Aug 15th, 2017
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 18.45 KB | None | 0 0
  1. {
  2.     "reservation": {
  3.         "_id": "5992770515fb67040046f977",
  4.         "accountId": "5936189e88fefb1000d7763b",
  5.         "conversationWith": "Guest",
  6.         "__v": 2,
  7.         "guestId": "59623e97c555ef0400fa0268",
  8.         "lastSyncedAt": "2017-08-15T04:22:29.515Z",
  9.         "lastUpdatedAt": "2017-08-15T04:22:29.469Z",
  10.         "subject": "Hi! My wife and I and spending a couple nights in Seattle to visit her brother -- we're excited to t...",
  11.         "readLog": [{
  12.             "by": "59417d4d91700c1000462fa3",
  13.             "_id": "5962466a57788910005512a7",
  14.             "at": "2017-07-09T15:06:18.559Z"
  15.         }],
  16.         "isRead": true,
  17.         "language": "en",
  18.         "thread": [{
  19.             "module": "airbnb",
  20.             "type": "fromGuest",
  21.             "body": "Hi Addison —\n\nWe are looking forward to visiting! Here’s our information:\n\nPreferred e-mail address: chrishenjum@gmail.com\nPhone number: 612.709.3538 (my wife’s is 920-205-6094 in case you can’t get a hold of me for whatever reason)\nEstimated arrival time: We will be arriving later on Wednesday — around 8pm. I am flying standby (my mom works for Delta) and my wife is flying separately. Because I’m flying on standby (and just hanging out in in the city until she arrives), we’ll both be arriving at 8pm...\nMode of transportation (flying or driving) with associated information like flight number: My wife’s flight number is DL 2263.\n\nThanks again — let me know if you have any questions.\n\nChris",
  22.             "_id": "5992770515fb67040046f977",
  23.             "createdAt": "2017-08-15T04:22:18.000Z",
  24.             "id": "5992770515fb67040046f977"
  25.         }, {
  26.             "body": "Hi Chris,\n\nThank you for booking with Domicile apartments! I look forward to hosting you during your visit to Seattle. As a Domicile host, I am committed to ensuring that you have a 5-star experience. If there is anything I can do to improve your stay, please let me know.\n\nTo help me provide the best service, when you have a moment please send me your:\nPreferred e-mail address\nPhone number\nEstimated arrival time\nMode of transportation (flying or driving) with associated information like flight number\nSpecial requests (air mattress)\n\nYour check-in and stay instructions can be found at: BookDomicile.com/m623\n\nPlease let us know if you have any questions.\nWe look forward to hosting you soon!\n\nAll the best,\nAddison, Eve, and Dafne\nBookDomicile",
  27.             "status": "completed",
  28.             "postId": "59923a8d310b1c04000c6ed5",
  29.             "employeeName": "hook",
  30.             "module": "airbnb",
  31.             "isAutomatic": true,
  32.             "type": "fromHost",
  33.             "_id": "59923a8d310b1c04000c6ed6",
  34.             "sentAt": "2017-08-15T00:09:58.335Z",
  35.             "createdAt": "2017-08-15T00:04:29.387Z",
  36.             "id": "59923a8d310b1c04000c6ed6"
  37.         }, {
  38.             "body": "Hello Chris,\n\nThank you for booking with Domicile! We are looking forward to hosting you for your upcoming Seattle trip. \n\nWe will send you check in and apartment instructions about 2 days prior to your arrival via e-mail and text. \n\nIf you have any questions in the meantime please let us know!\n\nWarmly,\nAddison, Dafne, and Eve\nBookDomicile.com",
  39.             "status": "completed",
  40.             "postId": "59624a172ff32e040078ac5d",
  41.             "employeeName": "hook",
  42.             "module": "airbnb",
  43.             "isAutomatic": true,
  44.             "type": "fromHost",
  45.             "_id": "59624a172ff32e040078ac5e",
  46.             "sentAt": "2017-07-09T15:23:27.624Z",
  47.             "createdAt": "2017-07-09T15:21:59.257Z",
  48.             "id": "59624a172ff32e040078ac5e"
  49.         }, {
  50.             "body": "Hello Chris,\n\nThank you for booking with Domicile! We are confirming your upcoming Seattle reservation. We will send you check in and apartment instructions about 2 days prior to your arrival via e-mail and text. \n\nWarmly,\nAddison, Dafne, and Eve\nBookDomicile.com",
  51.             "status": "completed",
  52.             "postId": "59624a162ff32e040078ac5b",
  53.             "reservationId": "59623e97c555ef0400fa026a",
  54.             "employeeName": "hook",
  55.             "module": "sms",
  56.             "isAutomatic": true,
  57.             "to": "16127093538",
  58.             "from": "14154729811",
  59.             "type": "fromHost",
  60.             "_id": "59624a162ff32e040078ac5c",
  61.             "sentAt": "2017-07-09T15:22:28.288Z",
  62.             "createdAt": "2017-07-09T15:21:58.806Z",
  63.             "id": "59624a162ff32e040078ac5c"
  64.         }, {
  65.             "body": "Chris,\n\nI would absolutely love to host you! I have pre-approved you so that you may finish booking.",
  66.             "status": "completed",
  67.             "postId": "596246a957788910005512d8",
  68.             "by": "Eve Vashkus",
  69.             "module": "airbnb",
  70.             "userId": "59417d4d91700c1000462fa3",
  71.             "type": "fromHost",
  72.             "_id": "596246a957788910005512d9",
  73.             "sentAt": "2017-07-09T15:22:20.073Z",
  74.             "createdAt": "2017-07-09T15:07:21.496Z",
  75.             "id": "596246a957788910005512d9"
  76.         }, {
  77.             "module": "airbnb",
  78.             "type": "fromGuest",
  79.             "body": "Hi! My wife and I and spending a couple nights in Seattle to visit her brother -- we're excited to take our first trip away since our daughter was born about a year ago! This places looks wonderful and we're excited to visit :)",
  80.             "_id": "59623e98c555ef0400fa0271",
  81.             "createdAt": "2017-07-09T14:23:31.000Z",
  82.             "id": "59623e98c555ef0400fa0271"
  83.         }],
  84.         "createdAt": "2017-08-15T04:22:18.000Z",
  85.         "pendingTasks": [{
  86.             "description": "Approve booking request",
  87.             "platform": "airbnb",
  88.             "mqId": "6440788113070029040",
  89.             "_id": "596246aaebc24d100053aad4",
  90.             "error": "Your request could not be completed because of the following errors: The reservation is no longer pending.",
  91.             "createdAt": "2017-07-09T15:07:22.594Z"
  92.         }, {
  93.             "description": "Approve booking request",
  94.             "platform": "airbnb",
  95.             "mqId": "6440790642805771011",
  96.             "_id": "596248f710a62d100071a788",
  97.             "error": "Your request could not be completed because of the following errors: The reservation is no longer pending.",
  98.             "createdAt": "2017-07-09T15:17:11.808Z"
  99.         }],
  100.         "integration": {
  101.             "_id": "5936ee9fb534ec1000cec856",
  102.             "platform": "airbnb",
  103.             "airbnb": {
  104.                 "guestId": 6030401,
  105.                 "listingId": 15660532,
  106.                 "id": 388725969
  107.             },
  108.             "limitations": {
  109.                 "availableStatuses": []
  110.             }
  111.         },
  112.         "id": "5992770515fb67040046f977",
  113.         "status": "confirmed",
  114.         "confirmationCode": "HMR94AT4QM",
  115.         "source": "Airbnb",
  116.         "checkInDateLocalized": "2017-08-16",
  117.         "nightsCount": 3,
  118.         "guestsCount": 2,
  119.         "cancellationPolicy": "Strict",
  120.         "listingId": "5951d21f1c1ccf0400b2568d",
  121.         "checkOutDateLocalized": "2017-08-19",
  122.         "reservedAt": "2017-07-09T14:23:32.000Z",
  123.         "reservedExpiresAt": "2017-07-10T14:23:32.000Z",
  124.         "checkIn": "2017-08-17T00:00:00.000Z",
  125.         "checkOut": "2017-08-19T18:00:00.000Z",
  126.         "confirmedAt": "2017-07-09T15:21:22.146Z",
  127.         "daysInAdvance": 38,
  128.         "customFields": [],
  129.         "confirmedPreBookings": [],
  130.         "log": [{
  131.             "event": "Guest sent a booking request",
  132.             "_id": "59623e97c555ef0400fa026e",
  133.             "changes": [],
  134.             "at": "2017-07-09T14:23:32.000Z"
  135.         }, {
  136.             "event": "Reservation was updated",
  137.             "by": "eve@bookdomicile.com",
  138.             "description": "Set to approve request",
  139.             "_id": "59624671ebc24d100053aa9f",
  140.             "changes": [],
  141.             "at": "2017-07-09T15:06:25.810Z"
  142.         }, {
  143.             "event": "Reservation was updated",
  144.             "by": "eve@bookdomicile.com",
  145.             "description": "Set to approve request",
  146.             "_id": "596246aaebc24d100053aad5",
  147.             "changes": [],
  148.             "at": "2017-07-09T15:07:22.613Z"
  149.         }, {
  150.             "event": "Reservation was updated",
  151.             "by": "eve@bookdomicile.com",
  152.             "description": "Set to approve request",
  153.             "_id": "596248f710a62d100071a789",
  154.             "changes": [],
  155.             "at": "2017-07-09T15:17:11.820Z"
  156.         }, {
  157.             "event": "Booking was confirmed",
  158.             "_id": "596249f24b336b040031c528",
  159.             "changes": [],
  160.             "at": "2017-07-09T15:21:22.246Z"
  161.         }, {
  162.             "event": "Hook was deleted",
  163.             "description": "Send email to guest 2 days before check in",
  164.             "by": "eve@bookdomicile.com",
  165.             "_id": "5964e15c16c2aa1000faf903",
  166.             "changes": [],
  167.             "at": "2017-07-11T14:31:56.820Z"
  168.         }],
  169.         "review": {
  170.             "shouldReview": true
  171.         },
  172.         "guestyFeeDetails": {
  173.             "commission": 3,
  174.             "feeMinimum": 3,
  175.             "fee": 22,
  176.             "feeUsd": 22,
  177.             "isMinimumFee": false,
  178.             "planItems": [{
  179.                 "name": "SOFTWARE",
  180.                 "planType": "RESERVATION_COMMISSION",
  181.                 "value": 3,
  182.                 "isLocked": true,
  183.                 "_id": "5936e06cad87ba10009a5ff2",
  184.                 "id": "5936e06cad87ba10009a5ff2"
  185.             }]
  186.         },
  187.         "money": {
  188.             "currency": "USD",
  189.             "fareAccommodation": 657,
  190.             "hostPayout": 710,
  191.             "fareCleaning": 75,
  192.             "subTotalPrice": 732,
  193.             "guestServiceFee": 91,
  194.             "guestTotalPrice": 896,
  195.             "hostServiceFee": 22,
  196.             "ownerRevenue": 0,
  197.             "commissionIncTax": 710,
  198.             "commissionTax": 0,
  199.             "commissionTaxPercentage": 0,
  200.             "commission": 710,
  201.             "commissionFormula": "net_income",
  202.             "netIncome": 710,
  203.             "netIncomeFormula": "host_payout",
  204.             "isFullyPaid": false,
  205.             "balanceDue": 710,
  206.             "paymentsDue": 710,
  207.             "totalPaid": 0,
  208.             "totalRefunded": 0,
  209.             "hostPayoutUsd": 710,
  210.             "autoPaymentsPolicy": [],
  211.             "payments": [{
  212.                 "paymentMethodId": "58a48a4fea2a13ea9fda5873",
  213.                 "guestId": "59623e97c555ef0400fa0268",
  214.                 "confirmationCode": "193621957",
  215.                 "amount": 710,
  216.                 "currency": "USD",
  217.                 "shouldBePaidAt": "2017-08-24T07:00:00.000Z",
  218.                 "_id": "59639229ca349b0400ab8dc7",
  219.                 "receiptTargets": [],
  220.                 "attempts": [],
  221.                 "createdAt": "2017-07-10T14:41:45.403Z",
  222.                 "refunds": [],
  223.                 "status": "PENDING"
  224.             }],
  225.             "invoiceItems": [{
  226.                 "title": "Accommodation fare",
  227.                 "amount": 657,
  228.                 "currency": "USD",
  229.                 "isLocked": true,
  230.                 "_id": "59623e97c555ef0400fa026b"
  231.             }, {
  232.                 "title": "Cleaning fee",
  233.                 "amount": 75,
  234.                 "currency": "USD",
  235.                 "isLocked": true,
  236.                 "_id": "59623e97c555ef0400fa026c"
  237.             }, {
  238.                 "title": "Host channel fee",
  239.                 "amount": -22,
  240.                 "currency": "USD",
  241.                 "isLocked": true,
  242.                 "_id": "59623e97c555ef0400fa026d"
  243.             }]
  244.         },
  245.         "module": "airbnb",
  246.         "type": "fromGuest",
  247.         "body": "Hi Addison —\n\nWe are looking forward to visiting! Here’s our information:\n\nPreferred e-mail address:...",
  248.         "_readLog": "[{\"by\":\"59417d4d91700c1000462fa3\",\"_id\":\"5962466a57788910005512a7\",\"at\":\"2017-07-09T15:06:18.559Z\"}]",
  249.         "_thread": "[{\"module\":\"airbnb\",\"type\":\"fromGuest\",\"body\":\"Hi Addison —\\n\\nWe are looking forward to visiting! Here’s our information:\\n\\nPreferred e-mail address: chrishenjum@gmail.com\\nPhone number: 612.709.3538 (my wife’s is 920-205-6094 in case you can’t get a hold of me for whatever reason)\\nEstimated arrival time: We will be arriving later on Wednesday — around 8pm. I am flying standby (my mom works for Delta) and my wife is flying separately. Because I’m flying on standby (and just hanging out in in the city until she arrives), we’ll both be arriving at 8pm...\\nMode of transportation (flying or driving) with associated information like flight number: My wife’s flight number is DL 2263.\\n\\nThanks again — let me know if you have any questions.\\n\\nChris\",\"_id\":\"5992770515fb67040046f977\",\"createdAt\":\"2017-08-15T04:22:18.000Z\",\"id\":\"5992770515fb67040046f977\"},{\"body\":\"Hi Chris,\\n\\nThank you for booking with Domicile apartments! I look forward to hosting you during your visit to Seattle. As a Domicile host, I am committed to ensuring that you have a 5-star experience. If there is anything I can do to improve your stay, please let me know.\\n\\nTo help me provide the best service, when you have a moment please send me your:\\nPreferred e-mail address\\nPhone number\\nEstimated arrival time\\nMode of transportation (flying or driving) with associated information like flight number\\nSpecial requests (air mattress)\\n\\nYour check-in and stay instructions can be found at: BookDomicile.com/m623\\n\\nPlease let us know if you have any questions.\\nWe look forward to hosting you soon!\\n\\nAll the best,\\nAddison, Eve, and Dafne\\nBookDomicile\",\"status\":\"completed\",\"postId\":\"59923a8d310b1c04000c6ed5\",\"employeeName\":\"hook\",\"module\":\"airbnb\",\"isAutomatic\":true,\"type\":\"fromHost\",\"_id\":\"59923a8d310b1c04000c6ed6\",\"sentAt\":\"2017-08-15T00:09:58.335Z\",\"createdAt\":\"2017-08-15T00:04:29.387Z\",\"id\":\"59923a8d310b1c04000c6ed6\"},{\"body\":\"Hello Chris,\\n\\nThank you for booking with Domicile! We are looking forward to hosting you for your upcoming Seattle trip. \\n\\nWe will send you check in and apartment instructions about 2 days prior to your arrival via e-mail and text. \\n\\nIf you have any questions in the meantime please let us know!\\n\\nWarmly,\\nAddison, Dafne, and Eve\\nBookDomicile.com\",\"status\":\"completed\",\"postId\":\"59624a172ff32e040078ac5d\",\"employeeName\":\"hook\",\"module\":\"airbnb\",\"isAutomatic\":true,\"type\":\"fromHost\",\"_id\":\"59624a172ff32e040078ac5e\",\"sentAt\":\"2017-07-09T15:23:27.624Z\",\"createdAt\":\"2017-07-09T15:21:59.257Z\",\"id\":\"59624a172ff32e040078ac5e\"},{\"body\":\"Hello Chris,\\n\\nThank you for booking with Domicile! We are confirming your upcoming Seattle reservation. We will send you check in and apartment instructions about 2 days prior to your arrival via e-mail and text. \\n\\nWarmly,\\nAddison, Dafne, and Eve\\nBookDomicile.com\",\"status\":\"completed\",\"postId\":\"59624a162ff32e040078ac5b\",\"reservationId\":\"59623e97c555ef0400fa026a\",\"employeeName\":\"hook\",\"module\":\"sms\",\"isAutomatic\":true,\"to\":\"16127093538\",\"from\":\"14154729811\",\"type\":\"fromHost\",\"_id\":\"59624a162ff32e040078ac5c\",\"sentAt\":\"2017-07-09T15:22:28.288Z\",\"createdAt\":\"2017-07-09T15:21:58.806Z\",\"id\":\"59624a162ff32e040078ac5c\"},{\"body\":\"Chris,\\n\\nI would absolutely love to host you! I have pre-approved you so that you may finish booking.\",\"status\":\"completed\",\"postId\":\"596246a957788910005512d8\",\"by\":\"Eve Vashkus\",\"module\":\"airbnb\",\"userId\":\"59417d4d91700c1000462fa3\",\"type\":\"fromHost\",\"_id\":\"596246a957788910005512d9\",\"sentAt\":\"2017-07-09T15:22:20.073Z\",\"createdAt\":\"2017-07-09T15:07:21.496Z\",\"id\":\"596246a957788910005512d9\"},{\"module\":\"airbnb\",\"type\":\"fromGuest\",\"body\":\"Hi! My wife and I and spending a couple nights in Seattle to visit her brother -- we're excited to take our first trip away since our daughter was born about a year ago! This places looks wonderful and we're excited to visit :)\",\"_id\":\"59623e98c555ef0400fa0271\",\"createdAt\":\"2017-07-09T14:23:31.000Z\",\"id\":\"59623e98c555ef0400fa0271\"}]",
  250.         "_pendingTasks": "[{\"description\":\"Approve booking request\",\"platform\":\"airbnb\",\"mqId\":\"6440788113070029040\",\"_id\":\"596246aaebc24d100053aad4\",\"error\":\"Your request could not be completed because of the following errors: The reservation is no longer pending.\",\"createdAt\":\"2017-07-09T15:07:22.594Z\"},{\"description\":\"Approve booking request\",\"platform\":\"airbnb\",\"mqId\":\"6440790642805771011\",\"_id\":\"596248f710a62d100071a788\",\"error\":\"Your request could not be completed because of the following errors: The reservation is no longer pending.\",\"createdAt\":\"2017-07-09T15:17:11.808Z\"}]",
  251.         "_integration": "{\"_id\":\"5936ee9fb534ec1000cec856\",\"platform\":\"airbnb\",\"airbnb\":{\"guestId\":6030401,\"listingId\":15660532,\"id\":388725969},\"limitations\":{\"availableStatuses\":[]}}",
  252.         "_customFields": "[]",
  253.         "_confirmedPreBookings": "[]",
  254.         "_log": "[{\"event\":\"Guest sent a booking request\",\"_id\":\"59623e97c555ef0400fa026e\",\"changes\":[],\"at\":\"2017-07-09T14:23:32.000Z\"},{\"event\":\"Reservation was updated\",\"by\":\"eve@bookdomicile.com\",\"description\":\"Set to approve request\",\"_id\":\"59624671ebc24d100053aa9f\",\"changes\":[],\"at\":\"2017-07-09T15:06:25.810Z\"},{\"event\":\"Reservation was updated\",\"by\":\"eve@bookdomicile.com\",\"description\":\"Set to approve request\",\"_id\":\"596246aaebc24d100053aad5\",\"changes\":[],\"at\":\"2017-07-09T15:07:22.613Z\"},{\"event\":\"Reservation was updated\",\"by\":\"eve@bookdomicile.com\",\"description\":\"Set to approve request\",\"_id\":\"596248f710a62d100071a789\",\"changes\":[],\"at\":\"2017-07-09T15:17:11.820Z\"},{\"event\":\"Booking was confirmed\",\"_id\":\"596249f24b336b040031c528\",\"changes\":[],\"at\":\"2017-07-09T15:21:22.246Z\"},{\"event\":\"Hook was deleted\",\"description\":\"Send email to guest 2 days before check in\",\"by\":\"eve@bookdomicile.com\",\"_id\":\"5964e15c16c2aa1000faf903\",\"changes\":[],\"at\":\"2017-07-11T14:31:56.820Z\"}]",
  255.         "_review": "{\"shouldReview\":true}",
  256.         "_guestyFeeDetails": "{\"commission\":3,\"feeMinimum\":3,\"fee\":22,\"feeUsd\":22,\"isMinimumFee\":false,\"planItems\":[{\"name\":\"SOFTWARE\",\"planType\":\"RESERVATION_COMMISSION\",\"value\":3,\"isLocked\":true,\"_id\":\"5936e06cad87ba10009a5ff2\",\"id\":\"5936e06cad87ba10009a5ff2\"}]}",
  257.         "_money": "{\"currency\":\"USD\",\"fareAccommodation\":657,\"hostPayout\":710,\"fareCleaning\":75,\"subTotalPrice\":732,\"guestServiceFee\":91,\"guestTotalPrice\":896,\"hostServiceFee\":22,\"ownerRevenue\":0,\"commissionIncTax\":710,\"commissionTax\":0,\"commissionTaxPercentage\":0,\"commission\":710,\"commissionFormula\":\"net_income\",\"netIncome\":710,\"netIncomeFormula\":\"host_payout\",\"isFullyPaid\":false,\"balanceDue\":710,\"paymentsDue\":710,\"totalPaid\":0,\"totalRefunded\":0,\"hostPayoutUsd\":710,\"autoPaymentsPolicy\":[],\"payments\":[{\"paymentMethodId\":\"58a48a4fea2a13ea9fda5873\",\"guestId\":\"59623e97c555ef0400fa0268\",\"confirmationCode\":\"193621957\",\"amount\":710,\"currency\":\"USD\",\"shouldBePaidAt\":\"2017-08-24T07:00:00.000Z\",\"_id\":\"59639229ca349b0400ab8dc7\",\"receiptTargets\":[],\"attempts\":[],\"createdAt\":\"2017-07-10T14:41:45.403Z\",\"refunds\":[],\"status\":\"PENDING\"}],\"invoiceItems\":[{\"title\":\"Accommodation fare\",\"amount\":657,\"currency\":\"USD\",\"isLocked\":true,\"_id\":\"59623e97c555ef0400fa026b\"},{\"title\":\"Cleaning fee\",\"amount\":75,\"currency\":\"USD\",\"isLocked\":true,\"_id\":\"59623e97c555ef0400fa026c\"},{\"title\":\"Host channel fee\",\"amount\":-22,\"currency\":\"USD\",\"isLocked\":true,\"_id\":\"59623e97c555ef0400fa026d\"}]}"
  258.     },
  259.     "message": {
  260.         "module": "airbnb",
  261.         "type": "fromGuest",
  262.         "body": "Hi Addison —\n\nWe are looking forward to visiting! Here’s our information:\n\nPreferred e-mail address: chrishenjum@gmail.com\nPhone number: 612.709.3538 (my wife’s is 920-205-6094 in case you can’t get a hold of me for whatever reason)\nEstimated arrival time: We will be arriving later on Wednesday — around 8pm. I am flying standby (my mom works for Delta) and my wife is flying separately. Because I’m flying on standby (and just hanging out in in the city until she arrives), we’ll both be arriving at 8pm...\nMode of transportation (flying or driving) with associated information like flight number: My wife’s flight number is DL 2263.\n\nThanks again — let me know if you have any questions.\n\nChris",
  263.         "_id": "5992770515fb67040046f977",
  264.         "createdAt": "2017-08-15T04:22:18.000Z",
  265.         "id": "5992770515fb67040046f977"
  266.     },
  267.     "event": "reservation.messageReceived"
  268. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement