Advertisement
teknoraver

opentable

May 23rd, 2025 (edited)
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.73 KB | None | 0 0
  1. // GET https://www.opentable.com/dapi/fe/gql?optype=mutation&opname=RsvpInvitation
  2. // referer https://www.opentable.com/booking/view?rid=51628&invitationId=bb16a834-258c-48eb-aa7a-22b6316d38e0&confirmationNumber=2109823423
  3.  
  4. // request
  5. {
  6.   "operationName": "RsvpInvitation",
  7.   "variables": {
  8.     "input": {
  9.       "restaurantId": 51628,
  10.       "confirmationNumber": 2109823423,
  11.       "invitationId": "bb16a834-258c-48eb-aa7a-22b6316d38e0",
  12.       "accepted": true
  13.     }
  14.   },
  15.   "extensions": {
  16.     "persistedQuery": {
  17.       "version": 1,
  18.       "sha256Hash": "b4d2873a1109ca85e2a455e26c9639c50b499e8fa9063d7f5e55c6a6841391c5"
  19.     }
  20.   }
  21. }
  22.  
  23. // response
  24. {
  25.     "data": {
  26.         "rsvpInvitation": {
  27.             "success": false,
  28.             "invite": {
  29.                 "inviteId": "bb16a834-258c-48eb-aa7a-22b6316d38e0",
  30.                 "invitees": [
  31.                     {
  32.                         "accepted": true,
  33.                         "inviteeGpid": 120181038572,
  34.                         "inviteeUserProfile": {
  35.                             "firstName": "Davide",
  36.                             "lastNameFirstCodepoint": "C",
  37.                             "profilePhoto": {
  38.                                 "pid": 0,
  39.                                 "photoBySize": null,
  40.                                 "__typename": "PublicDinerProfilePhoto"
  41.                             },
  42.                             "__typename": "UserProfile"
  43.                         },
  44.                         "__typename": "ReservationInvitee"
  45.                     }
  46.                 ],
  47.                 "__typename": "ReservationInvite"
  48.             },
  49.             "__typename": "RsvpInvitationResponse"
  50.         }
  51.     },
  52.     "loading": false,
  53.     "networkStatus": 7
  54. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement