Skip to content

Instantly share code, notes, and snippets.

@birinder-lobana
Last active July 13, 2022 19:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save birinder-lobana/8fed59796fc19a1c4456cfda680aa741 to your computer and use it in GitHub Desktop.
Save birinder-lobana/8fed59796fc19a1c4456cfda680aa741 to your computer and use it in GitHub Desktop.
A Scan object like this one is generated after each dynamic QR code scan
{
"entityType": "get_scans_by_asset_id.response_body",
"assetId": "0a43a07c-0e57-4879-9420-332a13174458",
"numberOfScans": 1,
"scans": [
{
"entityType": "app.scan",
"created": "2021-10-07T18:38:06.616Z",
"modified": "2021-10-07T18:38:06.616Z",
"assetId": "0a43a07c-0e57-4879-9420-332a13174458",
"scanId": "f3333e42-e864-44f1-b5c0-bde9c31952d7",
"projectId": "c166f2dd-9ea8-4a79-90d5-fa6989f885e6",
"qrCodeId": "2a1ffa66-9a3f-4ea3-ab40-35a93f392d57",
"ipAddress": "xx.xxx.xxx.xx",
"scanTime": "2021-10-07T18:38:05.557Z",
"userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Mobile/15E148 Safari/604.1",
"deviceType": "mobile",
"deviceModel": "iPhone",
"deviceVendor": "Apple",
"osName": "iOS",
"osVersion": "14.7.1",
"engineName": "WebKit",
"engineVersion": "605.1.15",
"browserName": "Mobile Safari",
"browserVersion": "14.1.2",
"locationPostalCode": "M6H",
"locationLatitude": "43.66530",
"locationLongitude": "-79.43430",
"locationCityName": "Toronto",
"locationRegionName": "Ontario",
"locationRegionCode": "ON",
"locationCountryName": "Canada",
"locationCountryCode": "CA",
"locationTimeZone": "America/Toronto",
"locationString": "Toronto, Ontario, Canada"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment