Following example illustrate how you can Generate Match Token for ALL records in Base Object using SIF API:
ExecuteBatchGenerateMatchTokensRequest req = new ExecuteBatchGenerateMatchTokensRequest();
req.setTableName("MY_BASE_OBJECT"); // BO table name
ExecuteBatchGenerateMatchTokensResponse resp= (ExecuteBatchGenerateMatchTokensResponse) sipClient.process( req );
String errMessage = resp.getMessage();
int retCd= executed.getRetCode();
Please note that if for record match tokens are already generated, firing request again will regenerate the tokens. Above SIF API call is equivalent to MDM Hub feature of "Generate Match Token" on Base Object.
0 Comment(s)