Following example illustrate how you can Generate Match Token for record in Base Object using SIF API:
TokenizeRequest request = new TokenizeRequest();
request.setSiperianObjectUid("BASE_OBJECT.MY_BASE_OBJECT"); // Name of the Base Object
RecordKey recordKey = new RecordKey();
recordKey.setRowid("34342"); // Rowid Object of record
request.setRecordKey( recordKey );
request.setActionType("Insert"); // ActionType: Insert, Update, Update Xref, No Action
TokenizeResponse response = (TokenizeResponse) sipClient.process(request);
Please note that if for record match tokens is already generated, firing request again will regenerate the tokens.
0 Comment(s)