Get Last Week Statistics

This service is used to view the statistics of searches in the last 1 week. The information required to perform the service call is the name of the person to be interrogated. The “GET” method should be used when making a service call. In addition, the “username” and “password” information required for the service should be sent via “header” as “Authorization” information. The service call should be done as follows;

Token Informations
Parameter Name Data Type Requirement Description
username String Yes

Api Username Info

password String Yes

Api Password Info

Output Informations
Parameter Name Data Type Description
HttpStatusCode Int

Transaction Result Code

200: Success

400: Unsuccess

IsSuccess Boolean

Transaction Result

True: Success

False: Unsuccess

ErrorCode String

Error Code

ErrorMessage String

Error Message

ExtraInfo String

Extra Information

Result Result Class

Result Information. The following internal table describes the internal parameters.

Result Class Informations
Parameter Name Data Type Description
TotalSearchCount Integer

Count Of All Searches

AlertedSearchCount Integer

Count Of Alerted Searches

Date DateTime

Statistic Day Date

https://api.sanctionscanner.com/api/Reports/GetLastWeekStatistics

The result of the call is a result and the status of the transaction is returned in response. In successful transactions , this status returns to 200, and in unsuccessful transactions it returns to 400.

Sample Service Response Codes

 

//Request 
GET /api/Reports/GetLastWeekStatistics  

//Response
{
    "HttpStatusCode": 200,
    "IsSuccess": true,
    "ErrorCode": null,
    "ErrorMessage": null,
    "ExtraInfo": null,
    "Result": [
        {
            "TotalSearchCount": 13,
            "AlertedSearchCount": 10,
            "Date": "01.01.2020"
        },
        {
            "TotalSearchCount": 13,
            "AlertedSearchCount": 10,
            "Date": "31.12.2019"
        }
    ]
}
                    

Get Statistics With Date Range

This service is used to view the statistics of searches in the last 1 month. The information required to perform the service call is the name of the person to be interrogated. The “GET” method should be used when making a service call. In addition, the “username” and “password” information required for the service should be sent via “header” as “Authorization” information. The service call should be done as follows;

Token Informations
Parameter Name Data Type Requirement Description
username String Yes

Api Username Info

password String Yes

Api Password Info

Input Informations
Parameter Name Data Type Requriment Description
StartDate DateTime Yes

Start Date (MM/DD/YYYY)

EndDate DateTime Yes

End Date (MM/DD/YYYY)

Output Informations
Parameter Name Data Type Description
HttpStatusCode Int

Transaction Result Code

200: Success

400: Unsuccess

IsSuccess Boolean

Transaction Result

True: Success

False: Unsuccess

ErrorCode String

Error Code

ErrorMessage String

Error Message

ExtraInfo String

Extra Information

Result Result Class

Result Information. The following internal table describes the internal parameters.

Result Class Informations
Parameter Name Data Type Description
TotalSearchCount Integer

Count Of All Searches

AlertedSearchCount Integer

Count Of Alerted Searches

Date DateTime

Statistic Day Date

https://api.sanctionscanner.com/api/Reports/GetStatisticsWithDateRange?StartDate=startdate&EndDate=enddate

The result of the call is a result and the status of the transaction is returned in response. In successful transactions , this status returns to 200, and in unsuccessful transactions it returns to 400.

Sample Service Response Codes

 

//Request 
GET /api/Reports/GetStatisticsWithDateRange?StartDate=startdate&EndDate=enddate 

//Response
{
    "HttpStatusCode": 200,
    "IsSuccess": true,
    "ErrorCode": null,
    "ErrorMessage": null,
    "ExtraInfo": null,
    "Result": [
        {
            "TotalSearchCount": 13,
            "AlertedSearchCount": 10,
            "Date": "01.01.2020"
        },
        {
            "TotalSearchCount": 13,
            "AlertedSearchCount": 10,
            "Date": "31.12.2019"
        }
    ]
}
                    

Get Monitoring Report By Scan Id

This service is used to list monitoring reports. The “GET” method should be used when making a service call. In addition, the “username” and “password” information required for the service should be sent via “header” as “Authorization” information. The service call should be done as follows;

Token Informations
Parameter Name Data Type Requriment Description
username String Yes

Api Username Info

password String Yes

Api Password Info

Input Informations
Parameter Name Data Type Requriment Description
ScanId String Yes

Memo Id Of Search (Example: "scanId":"D0000000000")

Output Informations
Parameter Name Data Type Description
HttpStatusCode Int

Transaction Result Code

200: Success

400: Unsuccess

IsSuccess Boolean

Transaction Result

True: Success

False: Unsuccess

ErrorCode String

Error Code

ErrorMessage String

Error Message

ExtraInfo String

Extra Information

Result Class

Result class information. The following internal table describes the internal parameters.

Result Class Informations
Parameter Name Data Type Description
ApiUsername String

Api user name

UserId Integer

User Id

Username String

User name

SearchedType String

Searched Type

QueryString String

Query String

CreatedDate DateTime

Created Date

CreatedDateText String

Created Date Text

Name String

Name

ScanId String

Scan Id

MinMatchRate Integer

Min Match Rate

MaxMatchRate Integer

Max Match Rate

RiskLevelId Integer

Risk Level Id of scan
0:Unknown
1:Low
2:Medium
3:High
4:Neutral
5:Increased
6:Unacceptable

MonitoringModifiedDate DateTime

Monitoring Modified Date

LastMonitoringDate DateTime

Last Monitoring Date

LastMonitoringDateText String

Last Monitoring Date Text

MonitoringDay Integer

Monitoring Day

MonitoringStatus Boolean

Monitoring Status

Period String

Period Info
1:Daily
2:Weekly
3:Monthly
4:Quarterly
5:HalfEarly
6:Yearly

Result String

Result information

NextMonitoringDate DateTime

Next Monitoring Date

https://api.sanctionscanner.com/api/Reports/GetMonitoringReportByScanId?scanId=ScanId

The result of the call is a result and the status of the transaction is returned in response. In successful transactions , this status returns to 200, and in unsuccessful transactions it returns to 400.

Sample Service Response Codes

 
                                          
//Request
{
    "scanId":"D0000000000",
}
//Response
{
"HttpStatusCode": 200,
"IsSuccess": true,
"ErrorCode": null,
"ErrorMessage": null,
"ExtraInfo": null,
"Result": {
    "ApiUsername": null,
    "UserId": null,
    "Username": null,
    "SearchedType": null,
    "QueryString": null,
    "CreatedDate": null,
    "CreatedDateText": null,
    "Name": null,
    "ScanId": null,
    "MinMatchRate": null,
    "MaxMatchRate": null,
    "RiskLevelId": null,
    "MonitoringModifiedDate": null,
    "LastMonitoringDate": null,
    "LastMonitoringDateText": null,
    "MonitoringDay": null,
    "MonitoringStatus": null,
    "Period": null,
    "Result": null,
    "NextMonitoringDate": null,
    }
}
                                                              

Get Monitoring History

This service is used to list monitoring history. The “GET” method should be used when making a service call. In addition, the “username” and “password” information required for the service should be sent via “header” as “Authorization” information. The service call should be done as follows;

Token Informations
Parameter Name Data Type Requriment Description
username String Yes

Api Username Info

password String Yes

Api Password Info

Input Informations
Parameter Name Data Type Requriment Description
ScanId String Yes

Memo Id Of Search (Example: "scanId":"D0000000000")

Output Informations
Parameter Name Data Type Description
HttpStatusCode Int

Transaction Result Code

200: Success

400: Unsuccess

IsSuccess Boolean

Transaction Result

True: Success

False: Unsuccess

ErrorCode String

Error Code

ErrorMessage String

Error Message

ExtraInfo String

Extra Information

Result String

Result Message

HistoryList Class

HistoryList Class Information. The following internal table describes the internal parameters.

HistoryList Class Informations
Parameter Name Data Type Description
DateTime String

DateTime Information

Added Class

Added class information. The following internal table describes the internal parameters.

Updated Class

Updated class information. The following internal table describes the internal parameters.

Removed Class

Removed class information. The following internal table describes the internal parameters.

Added Class Informations
Parameter Name Data Type Description
Count Integer

Number of data added

ListNames String

Names

Updated Class Informations
Parameter Name Data Type Description
Count Integer

Number of data updated

ListNames String

Names

Removed Class Informations
Parameter Name Data Type Description
Count Integer

Number of data removed

ListNames String

Names

https://api.sanctionscanner.com/api/Reports/GetMonitoringHistory

The result of the call is a result and the status of the transaction is returned in response. In successful transactions , this status returns to 200, and in unsuccessful transactions it returns to 400.

Sample Service Response Codes



//Request 
    {
		"Id":"*****"
    }

//Response
{
"HttpStatusCode": 200,
"IsSuccess": true,
"ErrorCode": null,
"ErrorMessage": null,
"ExtraInfo": null,
"Result": null,
"HistoryList": [
                "DateTime":null,
                {
                "Added":{
                         "Count":null,
                         "ListNames":
                                     {
                                     "****","****"
                                     }
                        },
                "Updated":{
                           "Count":null,
                           "ListNames":
                                       {
                                       "****","****"
                                       }
                          },
                "Removed":{
                           "Count":null,
                           "ListNames":
                                       {
                                        "****","****"
                                       }
                          }
                }
               ]
}