Advertisement
Guest User

gc-golf-export-sample

a guest
Mar 20th, 2021
523
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 15.64 KB | None | 0 0
  1. {
  2.   "summary": {
  3.     "pageNumber": 1,
  4.     "rowsPerPage": 10000,
  5.     "totalRows": 2,
  6.     "scorecardSummaries": [
  7.       {
  8.         "id": 99999991,
  9.         "customerId": "123456789",
  10.         "playerProfileId": 87654321,
  11.         "scoreType": "STROKE_PLAY",
  12.         "courseName": "Random Course Name 2",
  13.         "startTime": "2021-03-18T01:57:47.000Z",
  14.         "endTime": "2021-03-18T01:57:53.000Z",
  15.         "roundInProgress": false,
  16.         "strokes": 0,
  17.         "handicappedStrokes": 0,
  18.         "holesCompleted": 0,
  19.         "roundType": "ALL"
  20.       },
  21.       {
  22.         "id": 99999992,
  23.         "customerId": "123456789",
  24.         "playerProfileId": 87654321,
  25.         "scoreType": "STROKE_PLAY",
  26.         "courseName": "Random Course Name 1",
  27.         "startTime": "2021-03-18T01:57:28.000Z",
  28.         "endTime": "2021-03-18T01:57:41.000Z",
  29.         "roundInProgress": false,
  30.         "strokes": 12,
  31.         "handicappedStrokes": 12,
  32.         "scoreWithHandicap": 3,
  33.         "scoreWithoutHandicap": 3,
  34.         "holesCompleted": 2,
  35.         "roundType": "ALL"
  36.       }
  37.     ]
  38.   },
  39.   "details": [
  40.     {
  41.       "startTime": "2021-03-18T01:57:28.000Z",
  42.       "formattedStartTime": "2021-03-17T20:57:28-05:00",
  43.       "scorecardURL": "https://connect.garmin.com/modern/scorecard/FAKEID",
  44.       "scorecardDetails": [
  45.         {
  46.           "scorecard": {
  47.             "id": 99999992,
  48.             "customerId": "123456789",
  49.             "playerProfileId": 87654321,
  50.             "roundPlayerName": "FakeName",
  51.             "connectDisplayName": "FakeDisplayName",
  52.             "courseGlobalId": 156781234,
  53.             "courseSnapshotId": 43249999,
  54.             "frontNineGlobalCourseId": 156781234,
  55.             "scoreType": "STROKE_PLAY",
  56.             "useHandicapScoring": true,
  57.             "useStrokeCounting": true,
  58.             "startTime": "2021-03-18T01:57:28.000Z",
  59.             "formattedStartTime": "2021-03-17T20:57:28-05:00",
  60.             "endTime": "2021-03-18T01:57:41.000Z",
  61.             "formattedEndTime": "2021-03-17T20:57:41-05:00",
  62.             "unitId": "11",
  63.             "roundType": "ALL",
  64.             "inProgress": false,
  65.             "excludeFromStats": false,
  66.             "holesCompleted": 2,
  67.             "publicRound": true,
  68.             "score": 3,
  69.             "playerHandicap": 0,
  70.             "courseHandicapStr": "140206101608180412050901150317071311",
  71.             "teeBox": "Blue",
  72.             "handicapType": "MEN",
  73.             "teeBoxRating": 70,
  74.             "teeBoxSlope": 124,
  75.             "lastModifiedDt": "2021-03-18T01:57:41.000Z",
  76.             "sensorOnPutter": false,
  77.             "handicappedStrokes": 12,
  78.             "strokes": 12,
  79.             "holes": [
  80.               {
  81.                 "number": 1,
  82.                 "strokes": 5,
  83.                 "handicapScore": 5,
  84.                 "lastModifiedDt": "2021-03-18T01:57:36.000Z",
  85.                 "pinPositionLat": 1,
  86.                 "pinPositionLon": -1
  87.               },
  88.               {
  89.                 "number": 2,
  90.                 "pinPositionLat": 1,
  91.                 "pinPositionLon": -1
  92.               },
  93.               {
  94.                 "number": 3,
  95.                 "pinPositionLat": 1,
  96.                 "pinPositionLon": -1
  97.               },
  98.               {
  99.                 "number": 4,
  100.                 "pinPositionLat": 1,
  101.                 "pinPositionLon": -1
  102.               },
  103.               {
  104.                 "number": 5,
  105.                 "pinPositionLat": 1,
  106.                 "pinPositionLon": -1
  107.               },
  108.               {
  109.                 "number": 6,
  110.                 "pinPositionLat": 1,
  111.                 "pinPositionLon": -1
  112.               },
  113.               {
  114.                 "number": 7,
  115.                 "pinPositionLat": 1,
  116.                 "pinPositionLon": -1
  117.               },
  118.               {
  119.                 "number": 8,
  120.                 "strokes": 7,
  121.                 "handicapScore": 7,
  122.                 "lastModifiedDt": "2021-03-18T01:57:38.000Z",
  123.                 "pinPositionLat": 1,
  124.                 "pinPositionLon": -1
  125.               },
  126.               {
  127.                 "number": 9,
  128.                 "pinPositionLat": 1,
  129.                 "pinPositionLon": -1
  130.               },
  131.               {
  132.                 "number": 10,
  133.                 "pinPositionLat": 1,
  134.                 "pinPositionLon": -1
  135.               },
  136.               {
  137.                 "number": 11,
  138.                 "pinPositionLat": 1,
  139.                 "pinPositionLon": -1
  140.               },
  141.               {
  142.                 "number": 12,
  143.                 "pinPositionLat": 1,
  144.                 "pinPositionLon": -1
  145.               },
  146.               {
  147.                 "number": 13,
  148.                 "pinPositionLat": 1,
  149.                 "pinPositionLon": -1
  150.               },
  151.               {
  152.                 "number": 14,
  153.                 "pinPositionLat": 1,
  154.                 "pinPositionLon": -1
  155.               },
  156.               {
  157.                 "number": 15,
  158.                 "pinPositionLat": 1,
  159.                 "pinPositionLon": -1
  160.               },
  161.               {
  162.                 "number": 16,
  163.                 "pinPositionLat": 1,
  164.                 "pinPositionLon": -1
  165.               },
  166.               {
  167.                 "number": 17,
  168.                 "pinPositionLat": 1,
  169.                 "pinPositionLon": -1
  170.               },
  171.               {
  172.                 "number": 18,
  173.                 "pinPositionLat": 1,
  174.                 "pinPositionLon": -1
  175.               }
  176.             ]
  177.           },
  178.           "scorecardStats": {
  179.             "frontNine": {
  180.               "holesPlayed": 2,
  181.               "fairwaysRecorded": 0,
  182.               "fairwaysHit": 0,
  183.               "fairwaysLeft": 0,
  184.               "fairwaysRight": 0,
  185.               "greensInRegulation": 0,
  186.               "greensRecorded": 0,
  187.               "putts": 0,
  188.               "strokes": 12,
  189.               "handicappedStrokes": 12,
  190.               "scoreWithHandicap": 3,
  191.               "scoreWithoutHandicap": 3,
  192.               "holesUnderPar": 0,
  193.               "holesPar": 0,
  194.               "holesBogey": 1,
  195.               "holesOverBogey": 1,
  196.               "holesBirdie": 0,
  197.               "holesEagle": 0,
  198.               "holesDoubleEagleOrUnder": 0
  199.             },
  200.             "backNine": {
  201.               "holesPlayed": 0,
  202.               "fairwaysRecorded": 0,
  203.               "fairwaysHit": 0,
  204.               "fairwaysLeft": 0,
  205.               "fairwaysRight": 0,
  206.               "greensInRegulation": 0,
  207.               "greensRecorded": 0,
  208.               "putts": 0,
  209.               "strokes": 0,
  210.               "handicappedStrokes": 0,
  211.               "scoreWithHandicap": 0,
  212.               "scoreWithoutHandicap": 0,
  213.               "holesUnderPar": 0,
  214.               "holesPar": 0,
  215.               "holesBogey": 0,
  216.               "holesOverBogey": 0,
  217.               "holesBirdie": 0,
  218.               "holesEagle": 0,
  219.               "holesDoubleEagleOrUnder": 0
  220.             },
  221.             "round": {
  222.               "holesPlayed": 2,
  223.               "fairwaysRecorded": 0,
  224.               "fairwaysHit": 0,
  225.               "fairwaysLeft": 0,
  226.               "fairwaysRight": 0,
  227.               "greensInRegulation": 0,
  228.               "greensRecorded": 0,
  229.               "putts": 0,
  230.               "strokes": 12,
  231.               "handicappedStrokes": 12,
  232.               "scoreWithHandicap": 3,
  233.               "scoreWithoutHandicap": 3,
  234.               "holesUnderPar": 0,
  235.               "holesPar": 0,
  236.               "holesBogey": 1,
  237.               "holesOverBogey": 1,
  238.               "holesBirdie": 0,
  239.               "holesEagle": 0,
  240.               "holesDoubleEagleOrUnder": 0
  241.             }
  242.           }
  243.         }
  244.       ],
  245.       "courseSnapshots": [
  246.         {
  247.           "courseGlobalId": 156781234,
  248.           "courseSnapshotId": 43249999,
  249.           "name": "Fake Golf Course",
  250.           "holePars": "445435354445343444",
  251.           "continent": "North America",
  252.           "country": "Canada",
  253.           "street": "Fake Street",
  254.           "city": "Toronto",
  255.           "state": "ON",
  256.           "zip": "A12 1B3",
  257.           "phone": "416-123-4567",
  258.           "web": "http://this.is.fake.com",
  259.           "frontNinePar": 37,
  260.           "backNinePar": 35,
  261.           "roundPar": 72,
  262.           "releaseDate": "2000-07-17",
  263.           "tees": [
  264.             {
  265.               "name": "Blue",
  266.               "handicapType": "MEN",
  267.               "rating": 70,
  268.               "slope": 124,
  269.               "holeHandicaps": "140206101608180412050901150317071311"
  270.             },
  271.             {
  272.               "name": "White",
  273.               "handicapType": "MEN",
  274.               "rating": 67.5,
  275.               "slope": 121,
  276.               "holeHandicaps": "140206101608180412050901150317071311"
  277.             },
  278.             {
  279.               "name": "Red",
  280.               "handicapType": "WOMEN",
  281.               "rating": 69,
  282.               "slope": 120,
  283.               "holeHandicaps": "140806101602180412050901150317111307"
  284.             },
  285.             {
  286.               "name": "White",
  287.               "handicapType": "WOMEN",
  288.               "rating": 71.2,
  289.               "slope": 128,
  290.               "holeHandicaps": "140806101602180412050901150317111307"
  291.             }
  292.           ]
  293.         }
  294.       ]
  295.     },
  296.     {
  297.       "startTime": "2021-03-18T01:57:47.000Z",
  298.       "formattedStartTime": "2021-03-17T20:57:47-05:00",
  299.       "scorecardURL": "https://connect.garmin.com/modern/scorecard/FAKEID",
  300.       "scorecardDetails": [
  301.         {
  302.           "scorecard": {
  303.             "id": 99999991,
  304.             "customerId": "123456789",
  305.             "playerProfileId": 87654321,
  306.             "roundPlayerName": "FakeName",
  307.             "connectDisplayName": "FakeDisplayName",
  308.             "courseGlobalId": 384923423,
  309.             "courseSnapshotId": 895834958,
  310.             "frontNineGlobalCourseId": 384923423,
  311.             "scoreType": "STROKE_PLAY",
  312.             "useHandicapScoring": true,
  313.             "useStrokeCounting": true,
  314.             "startTime": "2021-03-18T01:57:47.000Z",
  315.             "formattedStartTime": "2021-03-17T20:57:47-05:00",
  316.             "endTime": "2021-03-18T01:57:53.000Z",
  317.             "formattedEndTime": "2021-03-17T20:57:53-05:00",
  318.             "unitId": "11",
  319.             "roundType": "ALL",
  320.             "inProgress": false,
  321.             "excludeFromStats": false,
  322.             "holesCompleted": 0,
  323.             "publicRound": true,
  324.             "score": 0,
  325.             "playerHandicap": 0,
  326.             "courseHandicapStr": "060307020104080509",
  327.             "teeBox": "Red",
  328.             "handicapType": "WOMEN",
  329.             "teeBoxRating": 35.2,
  330.             "teeBoxSlope": 120,
  331.             "lastModifiedDt": "2021-03-18T01:57:53.000Z",
  332.             "sensorOnPutter": false,
  333.             "handicappedStrokes": 0,
  334.             "strokes": 0,
  335.             "holes": [
  336.               {
  337.                 "number": 1,
  338.                 "pinPositionLat": 1,
  339.                 "pinPositionLon": -1
  340.               },
  341.               {
  342.                 "number": 2,
  343.                 "pinPositionLat": 1,
  344.                 "pinPositionLon": -1
  345.               },
  346.               {
  347.                 "number": 3,
  348.                 "pinPositionLat": 1,
  349.                 "pinPositionLon": -1
  350.               },
  351.               {
  352.                 "number": 4,
  353.                 "pinPositionLat": 1,
  354.                 "pinPositionLon": -1
  355.               },
  356.               {
  357.                 "number": 5,
  358.                 "pinPositionLat": 1,
  359.                 "pinPositionLon": -1
  360.               },
  361.               {
  362.                 "number": 6,
  363.                 "pinPositionLat": 1,
  364.                 "pinPositionLon": -1
  365.               },
  366.               {
  367.                 "number": 7,
  368.                 "pinPositionLat": 1,
  369.                 "pinPositionLon": -1
  370.               },
  371.               {
  372.                 "number": 8,
  373.                 "pinPositionLat": 1,
  374.                 "pinPositionLon": -1
  375.               },
  376.               {
  377.                 "number": 9,
  378.                 "pinPositionLat": 1,
  379.                 "pinPositionLon": -1
  380.               }
  381.             ]
  382.           },
  383.           "scorecardStats": {
  384.             "frontNine": {
  385.               "holesPlayed": 0,
  386.               "fairwaysRecorded": 0,
  387.               "fairwaysHit": 0,
  388.               "fairwaysLeft": 0,
  389.               "fairwaysRight": 0,
  390.               "greensInRegulation": 0,
  391.               "greensRecorded": 0,
  392.               "putts": 0,
  393.               "strokes": 0,
  394.               "handicappedStrokes": 0,
  395.               "scoreWithHandicap": 0,
  396.               "scoreWithoutHandicap": 0,
  397.               "holesUnderPar": 0,
  398.               "holesPar": 0,
  399.               "holesBogey": 0,
  400.               "holesOverBogey": 0,
  401.               "holesBirdie": 0,
  402.               "holesEagle": 0,
  403.               "holesDoubleEagleOrUnder": 0
  404.             },
  405.             "backNine": {
  406.               "holesPlayed": 0,
  407.               "fairwaysRecorded": 0,
  408.               "fairwaysHit": 0,
  409.               "fairwaysLeft": 0,
  410.               "fairwaysRight": 0,
  411.               "greensInRegulation": 0,
  412.               "greensRecorded": 0,
  413.               "putts": 0,
  414.               "strokes": 0,
  415.               "handicappedStrokes": 0,
  416.               "scoreWithHandicap": 0,
  417.               "scoreWithoutHandicap": 0,
  418.               "holesUnderPar": 0,
  419.               "holesPar": 0,
  420.               "holesBogey": 0,
  421.               "holesOverBogey": 0,
  422.               "holesBirdie": 0,
  423.               "holesEagle": 0,
  424.               "holesDoubleEagleOrUnder": 0
  425.             },
  426.             "round": {
  427.               "holesPlayed": 0,
  428.               "fairwaysRecorded": 0,
  429.               "fairwaysHit": 0,
  430.               "fairwaysLeft": 0,
  431.               "fairwaysRight": 0,
  432.               "greensInRegulation": 0,
  433.               "greensRecorded": 0,
  434.               "putts": 0,
  435.               "strokes": 0,
  436.               "handicappedStrokes": 0,
  437.               "scoreWithHandicap": 0,
  438.               "scoreWithoutHandicap": 0,
  439.               "holesUnderPar": 0,
  440.               "holesPar": 0,
  441.               "holesBogey": 0,
  442.               "holesOverBogey": 0,
  443.               "holesBirdie": 0,
  444.               "holesEagle": 0,
  445.               "holesDoubleEagleOrUnder": 0
  446.             }
  447.           }
  448.         }
  449.       ],
  450.       "courseSnapshots": [
  451.         {
  452.           "courseGlobalId": 384923423,
  453.           "courseSnapshotId": 895834958,
  454.           "name": "Random Course Name 2",
  455.           "holePars": "453545344",
  456.           "continent": "North America",
  457.           "country": "Canada",
  458.           "street": "Fake Street",
  459.           "city": "Fake City",
  460.           "state": "ON",
  461.           "zip": "A01 1B3",
  462.           "phone": "905-123-4567",
  463.           "web": "http://fakeurl.com/",
  464.           "designer": "Fake Designer",
  465.           "frontNinePar": 37,
  466.           "backNinePar": 0,
  467.           "roundPar": 37,
  468.           "releaseDate": "2000-01-01",
  469.           "tees": [
  470.             {
  471.               "name": "Blue",
  472.               "handicapType": "MEN",
  473.               "rating": 34.8,
  474.               "slope": 118,
  475.               "holeHandicaps": "060307020104080509"
  476.             },
  477.             {
  478.               "name": "Blue",
  479.               "handicapType": "WOMEN",
  480.               "rating": 37.3,
  481.               "slope": 129,
  482.               "holeHandicaps": "060307020104080509"
  483.             },
  484.             {
  485.               "name": "Red",
  486.               "handicapType": "WOMEN",
  487.               "rating": 35.2,
  488.               "slope": 120,
  489.               "holeHandicaps": "060307020104080509"
  490.             },
  491.             {
  492.               "name": "Yellow",
  493.               "handicapType": "WOMEN",
  494.               "rating": 36.3,
  495.               "slope": 125,
  496.               "holeHandicaps": "060307020104080509"
  497.             }
  498.           ]
  499.         }
  500.       ]
  501.     }
  502.   ]
  503. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement