Post GuestCheck
URL: /api/login/GuestCheck
Description
Check if there are any Public view reports and if so returns true.
Method
POST
Data Params
{
}
Example
{
}
Success Response
Code: 200
The GuestCheck response JSON object contain a Boolean value.
true
Sample Call
var loginJSON = {};
$.ajax({
url: ApiUrl + '/api/login/GuestCheck',
type: 'POST',
data: JSON.stringify(loginJSON),
contentType: 'application/json; charset=utf-8',
dataType: 'json',
async: false,
success: function(msg) {
if(msg != null && msg == true){
//we can allow guest login
}
},
error: function (msg, ajaxOptions, thrownError) {
//error
}
});