Skip to content

Commit c184199

Browse files
Readme changes for get transaction extra parameters.
1 parent 46f300e commit c184199

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,10 @@ For executing transactions, you need to understand the 4 modules described below
566566
statusesArray.add("SUCCESS");
567567
statusesArray.add("FAILED");
568568

569+
// To get transactions between some specific time, add start time and end time.
570+
long startTime = 1563260786;
571+
long let endTime = 1563280786;
572+
569573
// Name of the transaction. Eg. "like", "download", etc.
570574
// NOTE: Max length 25 characters (Allowed characters: [A-Za-z0-9_/s])
571575
String transactionName = "like";
@@ -596,6 +600,8 @@ For executing transactions, you need to understand the 4 modules described below
596600

597601
HashMap <String,Object> params = new HashMap<String,Object>();
598602
params.put("user_id", userId);
603+
params.put("start_time", startTime);
604+
params.put("end_time", endTime);
599605
params.put("statuses", statusesArray);
600606
params.put("meta_properties", metaPropertyArrayJsonStr);
601607
params.put("limit", limit);

0 commit comments

Comments
 (0)