User Tools

Site Tools


aml

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
aml [2018/10/03 10:45]
Alexandr Grishin
aml [2018/12/04 08:31]
Alexandr Grishin
Line 28: Line 28:
 For the correct signature generation (Sign) the following is needed: For the correct signature generation (Sign) the following is needed:
   -   ​produce a concatenation of data, transferred to the method of service in request object, and Key.   -   ​produce a concatenation of data, transferred to the method of service in request object, and Key.
-  -   apply to the result ​algorythm ​SHA512.+  -   apply to the result ​algorithm ​SHA512.
   -   ​transfer the result to the upper case.   -   ​transfer the result to the upper case.
 // //
Line 41: Line 41:
 ^ Name                  ^ Type    ^ Required ​ ^ Example ​   ^ Description ​                                     ^ ^ Name                  ^ Type    ^ Required ​ ^ Example ​   ^ Description ​                                     ^
 | Name                  | string ​ | *         | Ben Laden  | Person or company name                           | | Name                  | string ​ | *         | Ben Laden  | Person or company name                           |
-ExcludePoliticallyExposedPersons ​ | int     | *         | 1          | 1 - show only blacklisted person, 0 - show all matches include politically exposed persons|+CheckOnlyBlackListed ​ | int     | *         | 1          | 1 - show only blacklisted person, 0 - show all matches include politically exposed persons|
  
 **Signature:​** ​ **Signature:​** ​
-Name + ExcludePoliticallyExposedPersons ​+ key+Name + CheckOnlyBlackListed ​+ key
  
 ** Output parameters of the method are: ** ** Output parameters of the method are: **
 ^ Name                  ^ Type    ^ Description ​                                                                                            ^ ^ Name                  ^ Type    ^ Description ​                                                                                            ^
-| BlackListCode ​        | string ​ | Short name of blacklist, for example ​RDC_ALIAS ​or UWCFS.                                                | +| BlackListCode ​        | string ​ | Short name of blacklist, for example ​RDC_ENTITY ​or RDC_ALIAS.                                                | 
-| RecordID ​             | int     | ID of record in blacklist ​                                                                              |+| RecordID ​             | int     | ID of the record in blacklist ​                                                                              |
 | Blocked ​              | int | **1** - this person should be blocked, **0** - person exists in blacklist but no need to block, just pay attention. | | Blocked ​              | int | **1** - this person should be blocked, **0** - person exists in blacklist but no need to block, just pay attention. |
 +| Name                  | string ​ | Person'​s name from the RecordID |
 +| EntityID ​             | int | ID of the entity in RDC DB |
  
  
Line 58: Line 60:
 //​BlackListFindName //​BlackListFindName
 $request['​Name'​] = Ben Laden; $request['​Name'​] = Ben Laden;
-$request['​ExcludePoliticallyExposedPersons'] = '​1';​+$request['​CheckOnlyBlackListed'] = '​1';​
 if($accRequest->​Prepare_Data($request)) if($accRequest->​Prepare_Data($request))
 { {
     $result = $accRequest->​Send('​BlackListFindName'​); ​     $result = $accRequest->​Send('​BlackListFindName'​); ​
 +}
 +</​code>​
 +\\
 +\\
 +
 +==== BlackListEntity ====
 +
 +
 +This method allows to retrieve the additional information about the person by the EntityID from the RDC DB.
 +
 +**Input parameters of the method are:**
 +^ Name                  ^ Type    ^ Required ​ ^ Example ​   ^ Description ​                                     ^
 +| EntityID | int  | *         | 9999999 ​ | EntityID from the RDC DB                           |
 +
 +**Signature:​** ​
 +EntityID + key
 +
 +
 +** PHP Example **
 +<code php>
 +//​BlackListEntity
 +$request['​EntityID'​] = 9999999;
 +if($accRequest->​Prepare_Data($request))
 +{
 +    $result = $accRequest->​Send('​BlackListEntity'​); ​
 } }
 </​code>​ </​code>​
aml.txt · Last modified: 2018/12/04 08:31 by Alexandr Grishin