{"_id":"59e70b9fe027ae002e7d2f0b","category":{"_id":"59e70b9ee027ae002e7d2eda","version":"59e70b9ee027ae002e7d2ed2","project":"5496d393f52a630b00519cdd","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2014-12-21T18:49:06.424Z","from_sync":false,"order":8,"slug":"structures","title":"Structures"},"project":"5496d393f52a630b00519cdd","user":"5496d353f52a630b00519cdc","parentDoc":null,"version":{"_id":"59e70b9ee027ae002e7d2ed2","project":"5496d393f52a630b00519cdd","__v":2,"createdAt":"2017-10-18T08:06:54.462Z","releaseDate":"2017-10-18T08:06:54.462Z","categories":["59e70b9ee027ae002e7d2ed3","59e70b9ee027ae002e7d2ed4","59e70b9ee027ae002e7d2ed5","59e70b9ee027ae002e7d2ed6","59e70b9ee027ae002e7d2ed7","59e70b9ee027ae002e7d2ed8","59e70b9ee027ae002e7d2ed9","59e70b9ee027ae002e7d2eda","59e70b9ee027ae002e7d2edb","59e70b9ee027ae002e7d2edc","59e70b9ee027ae002e7d2edd","59e70b9ee027ae002e7d2ede","59e70b9ee027ae002e7d2edf","5b8661ccdd19310003a3fa0b"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"2.0.10","version":"2.0.10"},"githubsync":"","__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2014-12-21T18:49:49.885Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":0,"body":"[block:parameters]\n{\n  \"data\": {\n    \"0-0\": \"creation_time\",\n    \"1-0\": \"user_id\",\n    \"2-0\": \"device_id\",\n    \"4-0\": \"profile_last_modified\",\n    \"3-0\": \"last_seen\",\n    \"5-0\": \"custom_data\",\n    \"6-0\": \"status\",\n    \"h-0\": \"Field\",\n    \"7-0\": \"status_error\",\n    \"0-2\": \"UTC Date/Time\",\n    \"1-2\": \"String\",\n    \"2-2\": \"String\",\n    \"3-2\": \"UTC Date/Time\",\n    \"4-2\": \"UTC Date/Time\",\n    \"5-2\": \"JSON\",\n    \"6-2\": \"String\",\n    \"7-2\": \"JSON Array of [Status Error](#status-error)  Structure\",\n    \"0-1\": \"User creation timestamp\",\n    \"h-1\": \"Description\",\n    \"h-2\": \"Type\",\n    \"h-3\": \"Example\",\n    \"0-3\": \"2014-03-05T13:43:26.917Z\",\n    \"1-1\": \"The user ID which was defined by you in the Placer’s mobile SDK. user_id can be used for specific user queries of insights and places data.\",\n    \"2-1\": \"Placer’s unique device ID. device_id can be used for specific user queries of insights and places data.\",\n    \"3-1\": \"The last time the user was active.\",\n    \"4-1\": \"The last time the user’s insights profile was updated.\\n\\nCurrently user’s profile are not generated in real time. This parameter represents the last time a user profile was generated.\",\n    \"5-1\": \"Using the Placer’s mobile SDK, developers can send custom data to server, which is retrieved here. The custom data is returned as a JSON.\",\n    \"6-1\": \"Device SDK status can be one of the following:\\n  * active\\n  * active_with_errors\\n  * not_active\\nFor more details, please see SDK status appendix.\",\n    \"7-1\": \"If status is “active_with_errors”, a list of error codes and details will be added for each error. For more details, please see [SDK Status](doc:sdk-status)  appendix.\",\n    \"6-3\": \"active\",\n    \"5-3\": \"{“number_of_family_members”:4}\",\n    \"4-3\": \"2014-03-06T11:53:27.427Z\",\n    \"3-3\": \"2014-03-06T11:53:27.427Z\",\n    \"2-3\": \"531729fe2989bd000dfc43db\",\n    \"1-3\": \"robert_78\"\n  },\n  \"cols\": 4,\n  \"rows\": 8\n}\n[/block]\n##Status Error\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Field\",\n    \"h-1\": \"Description\",\n    \"h-2\": \"Type\",\n    \"h-3\": \"Example\",\n    \"0-3\": \"21\",\n    \"1-3\": \"App is missing location permissions.\",\n    \"1-0\": \"error_details\",\n    \"0-0\": \"error_code\",\n    \"0-1\": \"The error code.\",\n    \"1-1\": \"The error details.\",\n    \"0-2\": \"int\",\n    \"1-2\": \"String\"\n  },\n  \"cols\": 4,\n  \"rows\": 2\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Example\"\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"creation_time\\\": \\\"2014-03-05T13:43:26.917Z\\\",\\n  \\\"user_id\\\": \\\"123455675443\\\",\\n  \\\"device_id\\\": \\\"531729fe2989bd000dfc43db\\\",\\n  \\\"last_seen\\\": \\\"2014-03-06T11:53:27.427Z\\\",\\n  \\\"profile_last_modfied\\\": \\\"2014-03-06T11:53:27.427Z\\\",\\n  \\\"custom_data\\\": {\\n    \\\"number_of_family_memebers\\\": 4\\n  }\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"device-details","type":"basic","title":"Device Details"}
[block:parameters] { "data": { "0-0": "creation_time", "1-0": "user_id", "2-0": "device_id", "4-0": "profile_last_modified", "3-0": "last_seen", "5-0": "custom_data", "6-0": "status", "h-0": "Field", "7-0": "status_error", "0-2": "UTC Date/Time", "1-2": "String", "2-2": "String", "3-2": "UTC Date/Time", "4-2": "UTC Date/Time", "5-2": "JSON", "6-2": "String", "7-2": "JSON Array of [Status Error](#status-error) Structure", "0-1": "User creation timestamp", "h-1": "Description", "h-2": "Type", "h-3": "Example", "0-3": "2014-03-05T13:43:26.917Z", "1-1": "The user ID which was defined by you in the Placer’s mobile SDK. user_id can be used for specific user queries of insights and places data.", "2-1": "Placer’s unique device ID. device_id can be used for specific user queries of insights and places data.", "3-1": "The last time the user was active.", "4-1": "The last time the user’s insights profile was updated.\n\nCurrently user’s profile are not generated in real time. This parameter represents the last time a user profile was generated.", "5-1": "Using the Placer’s mobile SDK, developers can send custom data to server, which is retrieved here. The custom data is returned as a JSON.", "6-1": "Device SDK status can be one of the following:\n * active\n * active_with_errors\n * not_active\nFor more details, please see SDK status appendix.", "7-1": "If status is “active_with_errors”, a list of error codes and details will be added for each error. For more details, please see [SDK Status](doc:sdk-status) appendix.", "6-3": "active", "5-3": "{“number_of_family_members”:4}", "4-3": "2014-03-06T11:53:27.427Z", "3-3": "2014-03-06T11:53:27.427Z", "2-3": "531729fe2989bd000dfc43db", "1-3": "robert_78" }, "cols": 4, "rows": 8 } [/block] ##Status Error [block:parameters] { "data": { "h-0": "Field", "h-1": "Description", "h-2": "Type", "h-3": "Example", "0-3": "21", "1-3": "App is missing location permissions.", "1-0": "error_details", "0-0": "error_code", "0-1": "The error code.", "1-1": "The error details.", "0-2": "int", "1-2": "String" }, "cols": 4, "rows": 2 } [/block] [block:api-header] { "type": "basic", "title": "Example" } [/block] [block:code] { "codes": [ { "code": "{\n \"creation_time\": \"2014-03-05T13:43:26.917Z\",\n \"user_id\": \"123455675443\",\n \"device_id\": \"531729fe2989bd000dfc43db\",\n \"last_seen\": \"2014-03-06T11:53:27.427Z\",\n \"profile_last_modfied\": \"2014-03-06T11:53:27.427Z\",\n \"custom_data\": {\n \"number_of_family_memebers\": 4\n }\n}", "language": "json" } ] } [/block]