Results Format
The results element is an array containing the actual results. Each exception is presented as a JSON object inside the results array. This is the same data contained in the downloadable zipped CSV files.
In the following example, the last 2 lines in the CSV are being requested (the lineCount property is set to 2)
Example Request
POST /exceptionTracking/getLastLines HTTP/1.1
Host: api.revulytics.com
Content-Type: application/json
Accept: application/json
{
"user": "testuser@test.com",
"sessionId": "VSB8E2BzSC2eZSJm4QmTpA",
"productId": 2376158762,
"lineCount": 2
}
Example Response
HTTP/1.1 200 OK
Content-Type: application/json
{
"status":"OK",
"fieldNames":{
"timestamp":"Timestamp",
"clientId":"Client ID",
"prodEdition":"Edition",
"prodVersion":"Version",
"prodBuild":"Build",
"prodLanguage":"Language",
"licenseType":"License Type",
"licenseStatus.whitelisted":"Key Whitelisted",
"licenseStatus.blacklisted":"Key Blacklisted",
"licenseStatus.activated":"Key Activated",
"licenseStatus.expired":"Key Expired",
"os.version":"OS Type",
"osWordLength":"OS Architecture",
"osLanguage":"OS Language",
"cpuType":"CPU Type",
"cpuCores":"CPU Cores",
"ram":"RAM",
"displayCount":"Number of Monitors",
"resolution":"Screen Resolution",
"dotNetVersion": ".NET Versions",
"gpu.model": "GPU",
"formFactor":"Computer Type",
"geography.country":"Country",
"geography.usState":"US State",
"exception.class":"Exception Class",
"exception.method":"Exception Method",
"exception.message":"Exception Message",
"exception.stackTrace":"Exception Stack Trace"
},
"results":[
{
"timestamp":"2017-11-22T01:38:07",
"clientId":"A966094C61A6C181",
"prodEdition":"Standard",
"prodVersion":"2",
"prodBuild":"719",
"prodLanguage":"English",
"licenseType":"purchased",
"licenseStatus.whitelisted":"N",
"licenseStatus.blacklisted":"N",
"licenseStatus.activated":"N",
"licenseStatus.expired":"N",
"os.version":"MS Win XP",
"osWordLength":"64-bit",
"osLanguage":"English",
"cpuType":"Intel Core i7",
"cpuCores":"4",
"ram":"2048",
"displayCount":"1",
"resolution":"1280x1024",
"dotNetVersion": "2.0;3.5 SP1;3.0 SP2",
"gpu.model": "Intel HD Graphics 620",
"formFactor":"Desktop",
"geography.country":"FR",
"geography.usState":"",
"exception.class":"File",
"exception.method":"openFile",
"exception.message":"No such file or directory",
"exception.stackTrace":"Traceback (most recent call last):\r\n File \"main.py\", line 1, in <module>\r\nIOError: [Errno 2] No such file or directory: 'full-template.doc'"
},
{
"timestamp":"2017-11-22T01:38:07",
"clientId":"A966094C61A6C181",
"prodEdition":"Standard",
"prodVersion":"2",
"prodBuild":"719",
"prodLanguage":"English",
"licenseType":"purchased",
"licenseStatus.whitelisted":"N",
"licenseStatus.blacklisted":"N",
"licenseStatus.activated":"N",
"licenseStatus.expired":"N",
"os.version":"MS Win XP",
"osWordLength":"64-bit",
"osLanguage":"English",
"cpuType":"Intel Core i7",
"cpuCores":"4",
"ram":"2048",
"displayCount":"1",
"resolution":"1280x1024",
"dotNetVersion": "2.0;3.5 SP1;3.0 SP2",
"gpu.model": "Intel HD Graphics 620",
"formFactor":"Desktop",
"geography.country":"FR",
"geography.usState":"",
"exception.class":"File",
"exception.method":"openFile",
"exception.message":"No such file or directory",
"exception.stackTrace":"Traceback (most recent call last):\r\n File \"main.py\", line 1, in <module>\r\nIOError: [Errno 2] No such file or directory: 'full-template.doc'"
}
]
}