User Session Summary
The following are the different APIs that are used to fetch, clear inactive, terminate user sessions etc.
1. Fetching all User Sessions¶
Description
The getSessionRecords
endpoint is used to fetch the user sessions that exists in the application.
Request
Endpoint
ui//v1/sessionRecords
Method
POST
Header
Content-Type: application/json
Request Body
{
"startDate": "2020-02-27",
"endDate": "2020-02-27",
"sessionStatus": [],
"userId": [],
"merchantId": ["1"]
}
Response
{
"records": [{
"id": 87550,
"deviceInfo": "{\"city\":\"Alpharetta\",\"country\":{\"code\":\"US\",\"name\":\"United States\"},\"timestamp\":1582837086855,\"location\":{\"latitude\":34.07102810000001,\"longitude\":-84.17515449999999,\"address\":\"6910 McGinnis Ferry Rd, Alpharetta, GA 30005, USA\",\"placeId\":\"ChIJMwYv7S-Z9YgRrJkybozeVgg\",\"altitude\":null,\"accuracy_radius\":6983,\"altitudeAccuracy\":null,\"heading\":null,\"speed\":null,\"time_zone\":\"America/New_York\"},\"userAgent\":\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36\",\"ip\":\"74.223.27.18\",\"remoteHost\":\"\"}",
"cookieInfo": "39F2646F79AE6DDE355E4F23F2F3825C",
"createdDateTime": 1582837099000,
"userId": 503,
"sessionStatus": {
"value": "Active",
"name": "ACTIVE"
},
"sessionTerminatedUserId": null,
"sessionTerminatedDateTime": null,
"loginAttemptedUserName": null,
"merchantId": 1,
"geoLocation": {
"city": "Alpharetta",
"country": {
"name": "United States",
"code": "US"
},
"location": {
"accuracy_radius": 6983,
"latitude": 34.07102810000001,
"longitude": -84.17515449999999,
"time_zone": "America/New_York",
"address": "6910 McGinnis Ferry Rd, Alpharetta, GA 30005, USA",
"placeId": "ChIJMwYv7S-Z9YgRrJkybozeVgg",
"altitude": 0.0,
"altitudeAccuracy": null,
"heading": null,
"speed": 0.0
},
"ip": "74.223.27.18",
"remoteHost": "",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36",
"timestamp": "1582837086855",
"deviceName": null,
"browserName": null,
"operatingSystem": null
},
"username": "Performance.tester",
"session": null,
"currentSession": true,
"nDaysAgo": "Current Session",
"merchantName": "ClubMed Sandpiper",
"ndaysAgo": "Current Session"
}, {
"id": 87549,
"deviceInfo": "{\"city\":\"Johns Creek\",\"country\":{\"code\":\"US\",\"name\":\"United States\"},\"timestamp\":1582825901269,\"location\":{\"latitude\":34.0627178,\"longitude\":-84.17327680000001,\"address\":\"12000 Findley Rd, Johns Creek, GA 30097, USA\",\"placeId\":\"ChIJmRYcqyeZ9YgRKQL5_rk398Q\",\"altitude\":null,\"accuracy_radius\":38,\"altitudeAccuracy\":null,\"heading\":null,\"speed\":null,\"time_zone\":\"America/New_York\"},\"userAgent\":\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36\",\"ip\":\"74.223.27.18\",\"remoteHost\":\"\"}",
"cookieInfo": "E55BFC0DC0CA8D91A71E0269156EBC7B",
"createdDateTime": 1582825910000,
"userId": 1,
"sessionStatus": {
"value": "Logged Out",
"name": "LOGGED_OUT"
},
"sessionTerminatedUserId": 1,
"sessionTerminatedDateTime": 1582825955000,
"loginAttemptedUserName": null,
"merchantId": 1,
"geoLocation": {
"city": "Johns Creek",
"country": {
"name": "United States",
"code": "US"
},
"location": {
"accuracy_radius": 38,
"latitude": 34.0627178,
"longitude": -84.17327680000001,
"time_zone": "America/New_York",
"address": "12000 Findley Rd, Johns Creek, GA 30097, USA",
"placeId": "ChIJmRYcqyeZ9YgRKQL5_rk398Q",
"altitude": 0.0,
"altitudeAccuracy": null,
"heading": null,
"speed": 0.0
},
"ip": "74.223.27.18",
"remoteHost": "",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36",
"timestamp": "1582825901269",
"deviceName": null,
"browserName": null,
"operatingSystem": null
},
"username": "superuser",
"session": null,
"currentSession": false,
"nDaysAgo": "0 Day Ago",
"merchantName": "ClubMed Sandpiper",
"ndaysAgo": "0 Day Ago"
}, {
"id": 87548,
"deviceInfo": null,
"cookieInfo": "388ED70599134CB4F590D809C4AF4581",
"createdDateTime": 1582823646000,
"userId": 503,
"sessionStatus": {
"value": "Active",
"name": "ACTIVE"
},
"sessionTerminatedUserId": null,
"sessionTerminatedDateTime": null,
"loginAttemptedUserName": null,
"merchantId": 1,
"geoLocation": null,
"username": "Performance.tester",
"session": null,
"currentSession": false,
"nDaysAgo": "0 Day Ago",
"merchantName": "ClubMed Sandpiper",
"ndaysAgo": "0 Day Ago"
}, {
"id": 87547,
"deviceInfo": "{\"city\":\"Suwanee\",\"country\":{\"code\":\"US\",\"name\":\"United States\"},\"timestamp\":1582817150816,\"location\":{\"latitude\":34.074404799999996,\"longitude\":-84.16042310000002,\"address\":\"4170 Madison Bridge Dr, Suwanee, GA 30024, USA\",\"placeId\":\"ChIJD6zx9haZ9YgRfeb7jijH9Fg\",\"altitude\":null,\"accuracy_radius\":7614,\"altitudeAccuracy\":null,\"heading\":null,\"speed\":null,\"time_zone\":\"America/New_York\"},\"userAgent\":\"Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Mobile Safari/537.36\",\"ip\":\"74.223.27.18\",\"remoteHost\":\"\"}",
"cookieInfo": "AEC3EFAFAA76B34FD64897A8C1BF407E",
"createdDateTime": 1582823378000,
"userId": 503,
"sessionStatus": {
"value": "Logged Out",
"name": "LOGGED_OUT"
},
"sessionTerminatedUserId": 503,
"sessionTerminatedDateTime": 1582823916000,
"loginAttemptedUserName": null,
"merchantId": 1,
"geoLocation": {
"city": "Suwanee",
"country": {
"name": "United States",
"code": "US"
},
"location": {
"accuracy_radius": 7614,
"latitude": 34.074404799999996,
"longitude": -84.16042310000002,
"time_zone": "America/New_York",
"address": "4170 Madison Bridge Dr, Suwanee, GA 30024, USA",
"placeId": "ChIJD6zx9haZ9YgRfeb7jijH9Fg",
"altitude": 0.0,
"altitudeAccuracy": null,
"heading": null,
"speed": 0.0
},
"ip": "74.223.27.18",
"remoteHost": "",
"userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Mobile Safari/537.36",
"timestamp": "1582817150816",
"deviceName": null,
"browserName": null,
"operatingSystem": null
},
"username": "Performance.tester",
"session": null,
"currentSession": false,
"nDaysAgo": "0 Day Ago",
"merchantName": "ClubMed Sandpiper",
"ndaysAgo": "0 Day Ago"
}, {
"id": 87546,
"deviceInfo": "{\"city\":\"Suwanee\",\"country\":{\"code\":\"US\",\"name\":\"United States\"},\"timestamp\":1582814764248,\"location\":{\"latitude\":34.074404799999996,\"longitude\":-84.16042310000002,\"address\":\"4170 Madison Bridge Dr, Suwanee, GA 30024, USA\",\"placeId\":\"ChIJD6zx9haZ9YgRfeb7jijH9Fg\",\"altitude\":null,\"accuracy_radius\":7614,\"altitudeAccuracy\":null,\"heading\":null,\"speed\":null,\"time_zone\":\"America/New_York\"},\"userAgent\":\"Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Mobile Safari/537.36\",\"ip\":\"74.223.27.18\",\"remoteHost\":\"\"}",
"cookieInfo": "0C05AEA00008AAAE75CAEED6758C85F8",
"createdDateTime": 1582816228000,
"userId": 503,
"sessionStatus": {
"value": "Logged Out",
"name": "LOGGED_OUT"
},
"sessionTerminatedUserId": 503,
"sessionTerminatedDateTime": 1582816331000,
"loginAttemptedUserName": null,
"merchantId": 1,
"geoLocation": {
"city": "Suwanee",
"country": {
"name": "United States",
"code": "US"
},
"location": {
"accuracy_radius": 7614,
"latitude": 34.074404799999996,
"longitude": -84.16042310000002,
"time_zone": "America/New_York",
"address": "4170 Madison Bridge Dr, Suwanee, GA 30024, USA",
"placeId": "ChIJD6zx9haZ9YgRfeb7jijH9Fg",
"altitude": 0.0,
"altitudeAccuracy": null,
"heading": null,
"speed": 0.0
},
"ip": "74.223.27.18",
"remoteHost": "",
"userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Mobile Safari/537.36",
"timestamp": "1582814764248",
"deviceName": null,
"browserName": null,
"operatingSystem": null
},
"username": "Performance.tester",
"session": null,
"currentSession": false,
"nDaysAgo": "0 Day Ago",
"merchantName": "ClubMed Sandpiper",
"ndaysAgo": "0 Day Ago"
}, {
"id": 87545,
"deviceInfo": "{\"city\":\"Suwanee\",\"country\":{\"code\":\"US\",\"name\":\"United States\"},\"timestamp\":1582814764248,\"location\":{\"latitude\":34.074404799999996,\"longitude\":-84.16042310000002,\"address\":\"4170 Madison Bridge Dr, Suwanee, GA 30024, USA\",\"placeId\":\"ChIJD6zx9haZ9YgRfeb7jijH9Fg\",\"altitude\":null,\"accuracy_radius\":7614,\"altitudeAccuracy\":null,\"heading\":null,\"speed\":null,\"time_zone\":\"America/New_York\"},\"userAgent\":\"Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Mobile Safari/537.36\",\"ip\":\"74.223.27.18\",\"remoteHost\":\"\"}",
"cookieInfo": null,
"createdDateTime": 1582816223000,
"userId": 503,
"sessionStatus": {
"value": "Failed Login Attempt",
"name": "FAILED_LOGIN_ATTEMPT"
},
"sessionTerminatedUserId": null,
"sessionTerminatedDateTime": null,
"loginAttemptedUserName": "performance.tester",
"merchantId": 1,
"geoLocation": {
"city": "Suwanee",
"country": {
"name": "United States",
"code": "US"
},
"location": {
"accuracy_radius": 7614,
"latitude": 34.074404799999996,
"longitude": -84.16042310000002,
"time_zone": "America/New_York",
"address": "4170 Madison Bridge Dr, Suwanee, GA 30024, USA",
"placeId": "ChIJD6zx9haZ9YgRfeb7jijH9Fg",
"altitude": 0.0,
"altitudeAccuracy": null,
"heading": null,
"speed": 0.0
},
"ip": "74.223.27.18",
"remoteHost": "",
"userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Mobile Safari/537.36",
"timestamp": "1582814764248",
"deviceName": null,
"browserName": null,
"operatingSystem": null
},
"username": "Performance.tester",
"session": null,
"currentSession": false,
"nDaysAgo": "0 Day Ago",
"merchantName": "ClubMed Sandpiper",
"ndaysAgo": "0 Day Ago"
}, {
"id": 87544,
"deviceInfo": "{\"city\":\"Suwanee\",\"country\":{\"code\":\"US\",\"name\":\"United States\"},\"timestamp\":1582814508994,\"location\":{\"latitude\":34.074404799999996,\"longitude\":-84.16042310000002,\"address\":\"4170 Madison Bridge Dr, Suwanee, GA 30024, USA\",\"placeId\":\"ChIJD6zx9haZ9YgRfeb7jijH9Fg\",\"altitude\":null,\"accuracy_radius\":7614,\"altitudeAccuracy\":null,\"heading\":null,\"speed\":null,\"time_zone\":\"America/New_York\"},\"userAgent\":\"Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Mobile Safari/537.36\",\"ip\":\"74.223.27.18\",\"remoteHost\":\"\"}",
"cookieInfo": "1A36CB2BE8F7A83BA21C12E5D62D3840",
"createdDateTime": 1582814730000,
"userId": 514,
"sessionStatus": {
"value": "Active",
"name": "ACTIVE"
},
"sessionTerminatedUserId": null,
"sessionTerminatedDateTime": null,
"loginAttemptedUserName": null,
"merchantId": 1,
"geoLocation": {
"city": "Suwanee",
"country": {
"name": "United States",
"code": "US"
},
"location": {
"accuracy_radius": 7614,
"latitude": 34.074404799999996,
"longitude": -84.16042310000002,
"time_zone": "America/New_York",
"address": "4170 Madison Bridge Dr, Suwanee, GA 30024, USA",
"placeId": "ChIJD6zx9haZ9YgRfeb7jijH9Fg",
"altitude": 0.0,
"altitudeAccuracy": null,
"heading": null,
"speed": 0.0
},
"ip": "74.223.27.18",
"remoteHost": "",
"userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Mobile Safari/537.36",
"timestamp": "1582814508994",
"deviceName": null,
"browserName": null,
"operatingSystem": null
},
"username": "New.user",
"session": null,
"currentSession": false,
"nDaysAgo": "0 Day Ago",
"merchantName": "ClubMed Sandpiper",
"ndaysAgo": "0 Day Ago"
}, {
"id": 87543,
"deviceInfo": "{\"city\":\"Suwanee\",\"country\":{\"code\":\"US\",\"name\":\"United States\"},\"timestamp\":1582814495860,\"location\":{\"latitude\":34.074404799999996,\"longitude\":-84.16042310000002,\"address\":\"4170 Madison Bridge Dr, Suwanee, GA 30024, USA\",\"placeId\":\"ChIJD6zx9haZ9YgRfeb7jijH9Fg\",\"altitude\":null,\"accuracy_radius\":7614,\"altitudeAccuracy\":null,\"heading\":null,\"speed\":null,\"time_zone\":\"America/New_York\"},\"userAgent\":\"Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Mobile Safari/537.36\",\"ip\":\"74.223.27.18\",\"remoteHost\":\"\"}",
"cookieInfo": "D92A61B6E5C27F96EEC6740CA0BA827B",
"createdDateTime": 1582814502000,
"userId": 514,
"sessionStatus": {
"value": "Logged Out",
"name": "LOGGED_OUT"
},
"sessionTerminatedUserId": 514,
"sessionTerminatedDateTime": 1582814509000,
"loginAttemptedUserName": null,
"merchantId": 1,
"geoLocation": {
"city": "Suwanee",
"country": {
"name": "United States",
"code": "US"
},
"location": {
"accuracy_radius": 7614,
"latitude": 34.074404799999996,
"longitude": -84.16042310000002,
"time_zone": "America/New_York",
"address": "4170 Madison Bridge Dr, Suwanee, GA 30024, USA",
"placeId": "ChIJD6zx9haZ9YgRfeb7jijH9Fg",
"altitude": 0.0,
"altitudeAccuracy": null,
"heading": null,
"speed": 0.0
},
"ip": "74.223.27.18",
"remoteHost": "",
"userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Mobile Safari/537.36",
"timestamp": "1582814495860",
"deviceName": null,
"browserName": null,
"operatingSystem": null
},
"username": "New.user",
"session": null,
"currentSession": false,
"nDaysAgo": "0 Day Ago",
"merchantName": "ClubMed Sandpiper",
"ndaysAgo": "0 Day Ago"
}, {
"id": 87542,
"deviceInfo": "{\"city\":\"Suwanee\",\"country\":{\"code\":\"US\",\"name\":\"United States\"},\"timestamp\":1582814300863,\"location\":{\"latitude\":34.074404799999996,\"longitude\":-84.16042310000002,\"address\":\"4170 Madison Bridge Dr, Suwanee, GA 30024, USA\",\"placeId\":\"ChIJD6zx9haZ9YgRfeb7jijH9Fg\",\"altitude\":null,\"accuracy_radius\":7614,\"altitudeAccuracy\":null,\"heading\":null,\"speed\":null,\"time_zone\":\"America/New_York\"},\"userAgent\":\"Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Mobile Safari/537.36\",\"ip\":\"74.223.27.18\",\"remoteHost\":\"\"}",
"cookieInfo": "86143C69F20443BA160DF8AE77B19D2F",
"createdDateTime": 1582814467000,
"userId": 514,
"sessionStatus": {
"value": "Active",
"name": "ACTIVE"
},
"sessionTerminatedUserId": null,
"sessionTerminatedDateTime": null,
"loginAttemptedUserName": null,
"merchantId": 1,
"geoLocation": {
"city": "Suwanee",
"country": {
"name": "United States",
"code": "US"
},
"location": {
"accuracy_radius": 7614,
"latitude": 34.074404799999996,
"longitude": -84.16042310000002,
"time_zone": "America/New_York",
"address": "4170 Madison Bridge Dr, Suwanee, GA 30024, USA",
"placeId": "ChIJD6zx9haZ9YgRfeb7jijH9Fg",
"altitude": 0.0,
"altitudeAccuracy": null,
"heading": null,
"speed": 0.0
},
"ip": "74.223.27.18",
"remoteHost": "",
"userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Mobile Safari/537.36",
"timestamp": "1582814300863",
"deviceName": null,
"browserName": null,
"operatingSystem": null
},
"username": "New.user",
"session": null,
"currentSession": false,
"nDaysAgo": "0 Day Ago",
"merchantName": "ClubMed Sandpiper",
"ndaysAgo": "0 Day Ago"
}, {
"id": 87541,
"deviceInfo": "{\"city\":\"Johns Creek\",\"country\":{\"code\":\"US\",\"name\":\"United States\"},\"timestamp\":1582813742015,\"location\":{\"latitude\":34.0627224,\"longitude\":-84.1733034,\"address\":\"12000 Findley Rd, Johns Creek, GA 30097, USA\",\"placeId\":\"ChIJmRYcqyeZ9YgRKQL5_rk398Q\",\"altitude\":null,\"accuracy_radius\":31,\"altitudeAccuracy\":null,\"heading\":null,\"speed\":null,\"time_zone\":\"America/New_York\"},\"userAgent\":\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36\",\"ip\":\"74.223.27.18\",\"remoteHost\":\"\"}",
"cookieInfo": "5FD9B1082B6EC2B05515240E22A90EA6",
"createdDateTime": 1582813749000,
"userId": 514,
"sessionStatus": {
"value": "Active",
"name": "ACTIVE"
},
"sessionTerminatedUserId": null,
"sessionTerminatedDateTime": null,
"loginAttemptedUserName": null,
"merchantId": 1,
"geoLocation": {
"city": "Johns Creek",
"country": {
"name": "United States",
"code": "US"
},
"location": {
"accuracy_radius": 31,
"latitude": 34.0627224,
"longitude": -84.1733034,
"time_zone": "America/New_York",
"address": "12000 Findley Rd, Johns Creek, GA 30097, USA",
"placeId": "ChIJmRYcqyeZ9YgRKQL5_rk398Q",
"altitude": 0.0,
"altitudeAccuracy": null,
"heading": null,
"speed": 0.0
},
"ip": "74.223.27.18",
"remoteHost": "",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36",
"timestamp": "1582813742015",
"deviceName": null,
"browserName": null,
"operatingSystem": null
},
"username": "New.user",
"session": null,
"currentSession": false,
"nDaysAgo": "0 Day Ago",
"merchantName": "ClubMed Sandpiper",
"ndaysAgo": "0 Day Ago"
}, {
"id": 87540,
"deviceInfo": "{\"city\":\"Suwanee\",\"country\":{\"code\":\"US\",\"name\":\"United States\"},\"timestamp\":1582813628631,\"location\":{\"latitude\":34.074404799999996,\"longitude\":-84.16042310000002,\"address\":\"4170 Madison Bridge Dr, Suwanee, GA 30024, USA\",\"placeId\":\"ChIJD6zx9haZ9YgRfeb7jijH9Fg\",\"altitude\":null,\"accuracy_radius\":7614,\"altitudeAccuracy\":null,\"heading\":null,\"speed\":null,\"time_zone\":\"America/New_York\"},\"userAgent\":\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36\",\"ip\":\"74.223.27.18\",\"remoteHost\":\"\"}",
"cookieInfo": "7240B5AC6FB42E5F7D90EC6AE7F440F5",
"createdDateTime": 1582813672000,
"userId": 503,
"sessionStatus": {
"value": "Logged Out",
"name": "LOGGED_OUT"
},
"sessionTerminatedUserId": 503,
"sessionTerminatedDateTime": 1582813742000,
"loginAttemptedUserName": null,
"merchantId": 1,
"geoLocation": {
"city": "Suwanee",
"country": {
"name": "United States",
"code": "US"
},
"location": {
"accuracy_radius": 7614,
"latitude": 34.074404799999996,
"longitude": -84.16042310000002,
"time_zone": "America/New_York",
"address": "4170 Madison Bridge Dr, Suwanee, GA 30024, USA",
"placeId": "ChIJD6zx9haZ9YgRfeb7jijH9Fg",
"altitude": 0.0,
"altitudeAccuracy": null,
"heading": null,
"speed": 0.0
},
"ip": "74.223.27.18",
"remoteHost": "",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36",
"timestamp": "1582813628631",
"deviceName": null,
"browserName": null,
"operatingSystem": null
},
"username": "Performance.tester",
"session": null,
"currentSession": false,
"nDaysAgo": "0 Day Ago",
"merchantName": "ClubMed Sandpiper",
"ndaysAgo": "0 Day Ago"
}, {
"id": 87539,
"deviceInfo": "{\"city\":\"Suwanee\",\"country\":{\"code\":\"US\",\"name\":\"United States\"},\"timestamp\":1582813628631,\"location\":{\"latitude\":34.074404799999996,\"longitude\":-84.16042310000002,\"address\":\"4170 Madison Bridge Dr, Suwanee, GA 30024, USA\",\"placeId\":\"ChIJD6zx9haZ9YgRfeb7jijH9Fg\",\"altitude\":null,\"accuracy_radius\":7614,\"altitudeAccuracy\":null,\"heading\":null,\"speed\":null,\"time_zone\":\"America/New_York\"},\"userAgent\":\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36\",\"ip\":\"74.223.27.18\",\"remoteHost\":\"\"}",
"cookieInfo": null,
"createdDateTime": 1582813661000,
"userId": 514,
"sessionStatus": {
"value": "Failed Login Attempt",
"name": "FAILED_LOGIN_ATTEMPT"
},
"sessionTerminatedUserId": null,
"sessionTerminatedDateTime": null,
"loginAttemptedUserName": "new.user",
"merchantId": 1,
"geoLocation": {
"city": "Suwanee",
"country": {
"name": "United States",
"code": "US"
},
"location": {
"accuracy_radius": 7614,
"latitude": 34.074404799999996,
"longitude": -84.16042310000002,
"time_zone": "America/New_York",
"address": "4170 Madison Bridge Dr, Suwanee, GA 30024, USA",
"placeId": "ChIJD6zx9haZ9YgRfeb7jijH9Fg",
"altitude": 0.0,
"altitudeAccuracy": null,
"heading": null,
"speed": 0.0
},
"ip": "74.223.27.18",
"remoteHost": "",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36",
"timestamp": "1582813628631",
"deviceName": null,
"browserName": null,
"operatingSystem": null
},
"username": "New.user",
"session": null,
"currentSession": false,
"nDaysAgo": "0 Day Ago",
"merchantName": "ClubMed Sandpiper",
"ndaysAgo": "0 Day Ago"
}],
"message": null
}
2. Terminate Inactive Sessions¶
Description
The clearInactiveSessions
endpoint is used to terminate all the inactive user sessions that exists in the application.
Request
Endpoint
ui//v1/clearInactiveSessions
Method
POST
Header
Content-Type: application/json
Response
{
"records": null,
"message": {
"code": "91",
"type": {
"value": "Success",
"name": "SUCCESS"
},
"text": null,
"include_i_icon": false,
"description": "All <strong>Inactive</strong> User Session(s) have been terminated successfully."
}
}
Updated As Of Version 2.4.0.0