Activity and metrics endpoints
GetAuthenticationActivity
GetAuthenticationActivity(System.String,System.String,DataLayer.Entity.Authentication.AuthResult,System.Int32,System.Int32)
Get authentication activity for the account. User name is optional. AuthResult can be none for all results.
Parameters
Param: userName: User name filter. (Optional)
Param: organization: Account
Param: authResult: Result filter. (Optional)
Param: firstRecord: First record.
Param: pageSize: Number of records to retrieve.
Returns
A table with the following columns:
actDate | Time of the event |
username | User it was for |
ActionText | What the request was for |
ResultText | Result |
Serial | |
sourceIP | Client IP/auth node |
agentID | SAS agent that was used for authentication |
orgName | |
message |
SOAP 1.1 sample
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
Request:
Response:
SOAP 1.2 sample
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
Request:
Response:
HTTP GET sample
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
Request:
Response:
HTTP POST sample
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
Request:
Response:
GetAuthenticationMetrics
GetAuthenticationMetrics(System.String,System.String)
Gets a summary of recent authentication activity for the current day, week to date, last week, month to date, last month, year to date and last year. User name is optional.
Parameters
Param: userName: Optional user to filter by
Param: organization: Account
Returns
A table with 3 rows (Pass, Fail, All) and the following columns:
-
result
-
today
-
weektodate
-
lastweek
-
monthtodate
-
lastmonth
-
yeartodate
-
lastyear
SOAP 1.1 sample
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
Request:
Response:
SOAP 1.2 sample
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
Request:
Response:
HTTP GET sample
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
Request:
Response:
HTTP POST sample
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
Request:
Response:
GetSimpleAuthMetrics
GetSimpleAuthMetrics(System.String,System.String,System.String)
Gets a simple list of pass/fail/total authentications for a user's token.
Parameters
Param: userName: User name
Param: serial: Token serial
Param: organization: Account
Returns
Integer array that contains { totalPasses, totalFailures, total }
SOAP 1.1 sample
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
Request:
Response:
SOAP 1.2 sample
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
Request:
Response:
HTTP GET sample
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
Request:
Response:
HTTP POST sample
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
Request:
Response: