embulk-input-marketo 0.5.7.alpha.6 → 0.6.0.alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/build.gradle +6 -6
- data/src/main/java/org/embulk/input/marketo/MarketoService.java +1 -1
- data/src/main/java/org/embulk/input/marketo/MarketoServiceImpl.java +4 -5
- data/src/main/java/org/embulk/input/marketo/MarketoUtils.java +45 -14
- data/src/main/java/org/embulk/input/marketo/delegate/ActivityBulkExtractInputPlugin.java +12 -11
- data/src/main/java/org/embulk/input/marketo/delegate/CampaignInputPlugin.java +4 -23
- data/src/main/java/org/embulk/input/marketo/delegate/LeadBulkExtractInputPlugin.java +18 -11
- data/src/main/java/org/embulk/input/marketo/delegate/LeadWithListInputPlugin.java +3 -18
- data/src/main/java/org/embulk/input/marketo/delegate/LeadWithProgramInputPlugin.java +5 -20
- data/src/main/java/org/embulk/input/marketo/delegate/MarketoBaseBulkExtractInputPlugin.java +213 -87
- data/src/main/java/org/embulk/input/marketo/delegate/MarketoBaseInputPluginDelegate.java +22 -0
- data/src/main/java/org/embulk/input/marketo/model/MarketoBulkExtractRequest.java +12 -1
- data/src/main/java/org/embulk/input/marketo/model/MarketoField.java +28 -2
- data/src/main/java/org/embulk/input/marketo/model/MarketoResponse.java +2 -1
- data/src/main/java/org/embulk/input/marketo/model/filter/DateRangeFilter.java +9 -0
- data/src/main/java/org/embulk/input/marketo/rest/MarketoBaseRestClient.java +4 -0
- data/src/main/java/org/embulk/input/marketo/rest/{MarketoFileResponseEntityReader.java → MarketoInputStreamResponseEntityReader.java} +2 -2
- data/src/main/java/org/embulk/input/marketo/rest/MarketoResponseJetty92EntityReader.java +4 -1
- data/src/main/java/org/embulk/input/marketo/rest/MarketoRestClient.java +76 -42
- data/src/main/java/org/embulk/input/marketo/rest/RecordPagingIterable.java +35 -11
- data/src/test/java/org/embulk/input/marketo/MarketoServiceImplTest.java +159 -0
- data/src/test/java/org/embulk/input/marketo/MarketoUtilsTest.java +87 -0
- data/src/test/java/org/embulk/input/marketo/delegate/ActivityBulkExtractInputPluginTest.java +84 -0
- data/src/test/java/org/embulk/input/marketo/delegate/CampaignInputPluginTest.java +73 -0
- data/src/test/java/org/embulk/input/marketo/delegate/LeadBulkExtractInputPluginTest.java +94 -0
- data/src/test/java/org/embulk/input/marketo/delegate/LeadWithListInputPluginTest.java +99 -0
- data/src/test/java/org/embulk/input/marketo/delegate/LeadWithProgramInputPluginTest.java +101 -0
- data/src/test/java/org/embulk/input/marketo/delegate/MarketoBaseBulkExtractInputPluginTest.java +114 -0
- data/src/test/java/org/embulk/input/marketo/rest/MarketoBaseRestClientTest.java +3 -15
- data/src/test/java/org/embulk/input/marketo/rest/MarketoRestClientTest.java +450 -0
- data/src/test/resources/config/activity_bulk_extract_config.yaml +7 -0
- data/src/test/resources/config/lead_bulk_extract_config.yaml +8 -0
- data/src/test/resources/config/rest_config.yaml +3 -0
- data/src/test/resources/fixtures/activity_extract1.csv +35 -0
- data/src/test/resources/fixtures/activity_extract2.csv +22 -0
- data/src/test/resources/fixtures/all_program_full.json +53 -0
- data/src/test/resources/fixtures/campaign_response.json +38 -0
- data/src/test/resources/fixtures/campaign_response_full.json +102 -0
- data/src/test/resources/fixtures/lead_by_list.json +33 -0
- data/src/test/resources/fixtures/lead_by_program_response.json +47 -0
- data/src/test/resources/fixtures/lead_describe.json +221 -0
- data/src/test/resources/fixtures/lead_describe_expected.json +66 -0
- data/src/test/resources/fixtures/lead_describe_marketo_fields_full.json +518 -0
- data/src/test/resources/fixtures/lead_extract1.csv +11 -0
- data/src/test/resources/fixtures/lead_response_full.json +2402 -0
- data/src/test/resources/fixtures/lead_with_program_full.json +17 -0
- data/src/test/resources/fixtures/leads_extract2.csv +10 -0
- data/src/test/resources/fixtures/lists_response.json +31 -0
- data/src/test/resources/fixtures/program_response.json +71 -0
- metadata +39 -8
- data/src/main/java/org/embulk/input/marketo/model/filter/ListFilter.java +0 -10
@@ -0,0 +1,35 @@
|
|
1
|
+
marketoGUID,leadId,activityDate,activityTypeId,campaignId,primaryAttributeValueId,primaryAttributeValue,attributes
|
2
|
+
558681,102419,2017-09-08T16:38:14Z,12,null,102419,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
3
|
+
558682,102420,2017-09-08T16:38:14Z,12,null,102420,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
4
|
+
558683,102421,2017-09-08T16:38:14Z,12,null,102421,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
5
|
+
558684,102422,2017-09-08T16:38:14Z,12,null,102422,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
6
|
+
558685,102423,2017-09-08T16:38:14Z,12,null,102423,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
7
|
+
558686,102424,2017-09-08T16:38:14Z,12,null,102424,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
8
|
+
558687,102425,2017-09-08T16:38:14Z,12,null,102425,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
9
|
+
558688,102426,2017-09-08T16:38:14Z,12,null,102426,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
10
|
+
558689,102427,2017-09-08T16:38:14Z,12,null,102427,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
11
|
+
558690,102428,2017-09-08T16:38:14Z,12,null,102428,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
12
|
+
558691,102429,2017-09-08T16:38:14Z,12,null,102429,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
13
|
+
558692,102430,2017-09-08T16:38:14Z,12,null,102430,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
14
|
+
558693,102431,2017-09-08T16:38:14Z,12,null,102431,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
15
|
+
558694,102432,2017-09-08T16:38:14Z,12,null,102432,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
16
|
+
558695,102433,2017-09-08T16:38:14Z,12,null,102433,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
17
|
+
558696,102434,2017-09-08T16:38:14Z,12,null,102434,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
18
|
+
558697,102435,2017-09-08T16:38:14Z,12,null,102435,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
19
|
+
558698,102436,2017-09-08T16:38:14Z,12,null,102436,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
20
|
+
558699,102437,2017-09-08T16:39:14Z,12,null,102437,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
21
|
+
558700,102438,2017-09-08T16:39:14Z,12,null,102438,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
22
|
+
558701,102439,2017-09-08T16:39:14Z,12,null,102439,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
23
|
+
558702,102440,2017-09-08T16:39:14Z,12,null,102440,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
24
|
+
558703,102441,2017-09-08T16:39:14Z,12,null,102441,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
25
|
+
558704,102442,2017-09-08T16:39:14Z,12,null,102442,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
26
|
+
558705,102443,2017-09-08T16:39:14Z,12,null,102443,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
27
|
+
558706,102444,2017-09-08T16:39:14Z,12,null,102444,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
28
|
+
558707,102445,2017-09-08T16:39:14Z,12,null,102445,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
29
|
+
558708,102446,2017-09-08T16:39:14Z,12,null,102446,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
30
|
+
558709,102447,2017-09-08T16:39:14Z,12,null,102447,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
31
|
+
558710,102448,2017-09-08T16:39:14Z,12,null,102448,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
32
|
+
558711,102449,2017-09-08T16:39:14Z,12,null,102449,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
33
|
+
558712,102450,2017-09-08T16:39:14Z,12,null,102450,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
34
|
+
558713,102451,2017-09-08T16:39:14Z,12,null,102451,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
35
|
+
558714,102452,2017-09-08T16:39:14Z,12,null,102452,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
@@ -0,0 +1,22 @@
|
|
1
|
+
marketoGUID,leadId,activityDate,activityTypeId,campaignId,primaryAttributeValueId,primaryAttributeValue,attributes
|
2
|
+
558716,102454,2017-09-08T16:39:14Z,12,null,102454,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
3
|
+
558717,102455,2017-09-08T16:39:14Z,12,null,102455,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
4
|
+
558718,102456,2017-09-08T16:39:14Z,12,null,102456,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
5
|
+
558719,102457,2017-09-08T16:39:14Z,12,null,102457,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
6
|
+
558720,102458,2017-09-08T16:39:14Z,12,null,102458,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
7
|
+
558721,102459,2017-09-08T16:39:14Z,12,null,102459,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
8
|
+
558722,102460,2017-09-08T16:39:14Z,12,null,102460,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
9
|
+
558723,102461,2017-09-08T16:39:14Z,12,null,102461,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
10
|
+
558724,102462,2017-09-08T16:39:14Z,12,null,102462,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
11
|
+
558725,102463,2017-09-08T16:39:14Z,12,null,102463,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
12
|
+
558726,102464,2017-09-08T16:39:14Z,12,null,102464,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
13
|
+
558727,102465,2017-09-08T16:39:14Z,12,null,102465,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
14
|
+
558728,102466,2017-09-08T16:39:14Z,12,null,102466,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
15
|
+
558729,102467,2017-09-08T16:39:14Z,12,null,102467,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
16
|
+
558730,102468,2017-09-08T16:39:14Z,12,null,102468,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
17
|
+
558731,102469,2017-09-08T16:39:14Z,12,null,102469,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
18
|
+
558732,102470,2017-09-08T16:39:14Z,12,null,102470,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
19
|
+
558733,102471,2017-09-08T16:39:14Z,12,null,102471,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
20
|
+
558734,102472,2017-09-08T16:39:14Z,12,null,102472,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
21
|
+
558735,102473,2017-09-08T16:39:14Z,12,null,102473,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
22
|
+
558736,102474,2017-09-08T16:39:14Z,12,null,102474,null,"{""Source Type"":""List import"",""List Name"":""Yao Import Test"",""Created Date"":""2017-09-08""}"
|
@@ -0,0 +1,53 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"id": 1004,
|
4
|
+
"name": "MB_Sep_25_test_program",
|
5
|
+
"description": "MB_Sep_25_test_program description",
|
6
|
+
"createdAt": "2017-09-25T21:51:20Z+0000",
|
7
|
+
"updatedAt": "2017-09-25T21:51:57Z+0000",
|
8
|
+
"url": "https://app-ab24.marketo.com/#NP1004A1",
|
9
|
+
"type": "Engagement",
|
10
|
+
"channel": "Nurture",
|
11
|
+
"folder": {
|
12
|
+
"type": "Folder",
|
13
|
+
"value": 75,
|
14
|
+
"folderName": "MB_Sep_25_test_campaign_folder"
|
15
|
+
},
|
16
|
+
"status": "on",
|
17
|
+
"workspace": "Default"
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"id": 1001,
|
21
|
+
"name": "TD Output Test Program",
|
22
|
+
"description": "A test program to process list import from TD system",
|
23
|
+
"createdAt": "2017-08-10T03:23:19Z+0000",
|
24
|
+
"updatedAt": "2017-09-06T14:03:57Z+0000",
|
25
|
+
"url": "https://app-ab24.marketo.com/#PG1001A1",
|
26
|
+
"type": "Default",
|
27
|
+
"channel": "List Import",
|
28
|
+
"folder": {
|
29
|
+
"type": "Folder",
|
30
|
+
"value": 66,
|
31
|
+
"folderName": "TD Testing Campaign"
|
32
|
+
},
|
33
|
+
"status": "",
|
34
|
+
"workspace": "Default"
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"id": 1003,
|
38
|
+
"name": "Yao_progream",
|
39
|
+
"description": "",
|
40
|
+
"createdAt": "2017-08-30T20:25:53Z+0000",
|
41
|
+
"updatedAt": "2017-08-31T05:55:49Z+0000",
|
42
|
+
"url": "https://app-ab24.marketo.com/#EBP1003A1",
|
43
|
+
"type": "Email",
|
44
|
+
"channel": "Email Send",
|
45
|
+
"folder": {
|
46
|
+
"type": "Folder",
|
47
|
+
"value": 71,
|
48
|
+
"folderName": "Yao_Campaign_folder"
|
49
|
+
},
|
50
|
+
"status": "completed",
|
51
|
+
"workspace": "Default"
|
52
|
+
}
|
53
|
+
]
|
@@ -0,0 +1,38 @@
|
|
1
|
+
|
2
|
+
{
|
3
|
+
"responses": [
|
4
|
+
{
|
5
|
+
"requestId": "2",
|
6
|
+
"result": [
|
7
|
+
{
|
8
|
+
"id": 1003,
|
9
|
+
"name": "Opened Sales Email",
|
10
|
+
"description": " ",
|
11
|
+
"type": "trigger",
|
12
|
+
"workspaceName": "Default",
|
13
|
+
"createdAt": "2017-08-09T18:48:26Z",
|
14
|
+
"updatedAt": "2017-08-09T18:48:26Z",
|
15
|
+
"active": false
|
16
|
+
}
|
17
|
+
],
|
18
|
+
"success": true,
|
19
|
+
"nextPageToken": "z4MgsIiC5C======"
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"requestId": "1",
|
23
|
+
"result": [
|
24
|
+
{
|
25
|
+
"id": 1004,
|
26
|
+
"name": "Clicks Link in Email",
|
27
|
+
"description": " ",
|
28
|
+
"type": "trigger",
|
29
|
+
"workspaceName": "Default",
|
30
|
+
"createdAt": "2017-08-09T18:48:26Z",
|
31
|
+
"updatedAt": "2017-08-09T18:48:26Z",
|
32
|
+
"active": false
|
33
|
+
}
|
34
|
+
],
|
35
|
+
"success": true
|
36
|
+
}
|
37
|
+
]
|
38
|
+
}
|
@@ -0,0 +1,102 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"id": 1003,
|
4
|
+
"name": "Opened Sales Email",
|
5
|
+
"description": " ",
|
6
|
+
"type": "trigger",
|
7
|
+
"workspaceName": "Default",
|
8
|
+
"createdAt": "2017-08-09T18:48:26Z",
|
9
|
+
"updatedAt": "2017-08-09T18:48:26Z",
|
10
|
+
"active": false
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"id": 1004,
|
14
|
+
"name": "Clicks Link in Email",
|
15
|
+
"description": " ",
|
16
|
+
"type": "trigger",
|
17
|
+
"workspaceName": "Default",
|
18
|
+
"createdAt": "2017-08-09T18:48:26Z",
|
19
|
+
"updatedAt": "2017-08-09T18:48:26Z",
|
20
|
+
"active": false
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"id": 1005,
|
24
|
+
"name": "Fills out Form",
|
25
|
+
"description": " ",
|
26
|
+
"type": "trigger",
|
27
|
+
"workspaceName": "Default",
|
28
|
+
"createdAt": "2017-08-09T18:48:26Z",
|
29
|
+
"updatedAt": "2017-08-09T18:48:26Z",
|
30
|
+
"active": false
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"id": 1006,
|
34
|
+
"name": "Multiple web visits in 1 day",
|
35
|
+
"description": " ",
|
36
|
+
"type": "trigger",
|
37
|
+
"workspaceName": "Default",
|
38
|
+
"createdAt": "2017-08-09T18:48:26Z",
|
39
|
+
"updatedAt": "2017-08-09T18:48:26Z",
|
40
|
+
"active": false
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"id": 1007,
|
44
|
+
"name": "Visits Key Web Page",
|
45
|
+
"description": " ",
|
46
|
+
"type": "trigger",
|
47
|
+
"workspaceName": "Default",
|
48
|
+
"createdAt": "2017-08-09T18:48:26Z",
|
49
|
+
"updatedAt": "2017-08-09T18:48:26Z",
|
50
|
+
"active": false
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"id": 1008,
|
54
|
+
"name": "Unsubscribed",
|
55
|
+
"description": " ",
|
56
|
+
"type": "trigger",
|
57
|
+
"workspaceName": "Default",
|
58
|
+
"createdAt": "2017-08-09T18:48:26Z",
|
59
|
+
"updatedAt": "2017-08-09T18:48:27Z",
|
60
|
+
"active": false
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"id": 1029,
|
64
|
+
"name": "Yao_test_Campaign",
|
65
|
+
"type": "batch",
|
66
|
+
"workspaceName": "Default",
|
67
|
+
"createdAt": "2017-08-30T20:23:40Z",
|
68
|
+
"updatedAt": "2017-08-30T20:32:04Z",
|
69
|
+
"active": false
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"id": 1048,
|
73
|
+
"name": "MB_test_Sep_25_campaign_1",
|
74
|
+
"type": "batch",
|
75
|
+
"workspaceName": "Default",
|
76
|
+
"createdAt": "2017-09-25T21:47:29Z",
|
77
|
+
"updatedAt": "2017-09-27T00:02:50Z",
|
78
|
+
"active": false
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"id": 1051,
|
82
|
+
"name": "MB_Sep_25_test_campaign_3",
|
83
|
+
"description": "MB_Sep_25_test_campaign_3 description",
|
84
|
+
"type": "batch",
|
85
|
+
"workspaceName": "Default",
|
86
|
+
"createdAt": "2017-09-25T21:52:58Z",
|
87
|
+
"updatedAt": "2017-09-25T21:53:20Z",
|
88
|
+
"active": false
|
89
|
+
},
|
90
|
+
{
|
91
|
+
"id": 1065,
|
92
|
+
"name": "MB_Sep_26_test_smart_campaign",
|
93
|
+
"description": "MB_Sep_26_test_smart_campaign description",
|
94
|
+
"type": "batch",
|
95
|
+
"programName": "MB_Sep_25_test_program",
|
96
|
+
"programId": 1004,
|
97
|
+
"workspaceName": "Default",
|
98
|
+
"createdAt": "2017-09-26T22:53:53Z",
|
99
|
+
"updatedAt": "2017-09-26T22:55:34Z",
|
100
|
+
"active": false
|
101
|
+
}
|
102
|
+
]
|
@@ -0,0 +1,33 @@
|
|
1
|
+
{
|
2
|
+
"responses": [
|
3
|
+
{
|
4
|
+
"requestId": "2",
|
5
|
+
"result": [
|
6
|
+
{
|
7
|
+
"id": 103280,
|
8
|
+
"updatedAt": "2017-09-25T17:55:39Z",
|
9
|
+
"lastName": "Doe10093",
|
10
|
+
"email": "JohnDoe_10093@tdtest.combo",
|
11
|
+
"createdAt": "2017-09-18T08:16:13Z",
|
12
|
+
"firstName": "John10093"
|
13
|
+
}
|
14
|
+
],
|
15
|
+
"success": true,
|
16
|
+
"nextPageToken": "z4MgsIiC5C======"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"requestId": "1",
|
20
|
+
"result": [
|
21
|
+
{
|
22
|
+
"id": 103281,
|
23
|
+
"updatedAt": "2017-09-25T17:55:39Z",
|
24
|
+
"lastName": "Doe10094",
|
25
|
+
"email": "JohnDoe_10094@tdtest.combo",
|
26
|
+
"createdAt": "2017-09-18T08:16:13Z",
|
27
|
+
"firstName": "John10094"
|
28
|
+
}
|
29
|
+
],
|
30
|
+
"success": true
|
31
|
+
}
|
32
|
+
]
|
33
|
+
}
|
@@ -0,0 +1,47 @@
|
|
1
|
+
{
|
2
|
+
"responses": [
|
3
|
+
{
|
4
|
+
"requestId": "2",
|
5
|
+
"result": [
|
6
|
+
{
|
7
|
+
"id": 102519,
|
8
|
+
"updatedAt": "2017-09-11T03:14:12Z",
|
9
|
+
"lastName": "Khuu 1",
|
10
|
+
"email": "tai1@treasure-data.com",
|
11
|
+
"createdAt": "2017-09-11T03:14:13Z",
|
12
|
+
"firstName": "Tai 1",
|
13
|
+
"membership": {
|
14
|
+
"progressionStatus": "Member",
|
15
|
+
"isExhausted": false,
|
16
|
+
"acquiredBy": true,
|
17
|
+
"reachedSuccess": false,
|
18
|
+
"membershipDate": "2017-09-11T03:14:13Z"
|
19
|
+
}
|
20
|
+
}
|
21
|
+
],
|
22
|
+
"success": true,
|
23
|
+
"nextPageToken": "z4MgsIiC5C======"
|
24
|
+
},
|
25
|
+
{
|
26
|
+
"requestId": "1",
|
27
|
+
"result": [
|
28
|
+
{
|
29
|
+
"id": 102719,
|
30
|
+
"updatedAt": "2017-09-11T03:14:12Z",
|
31
|
+
"lastName": "Khuu",
|
32
|
+
"email": "tai@treasure-data.com",
|
33
|
+
"createdAt": "2017-09-11T03:14:13Z",
|
34
|
+
"firstName": "Tai",
|
35
|
+
"membership": {
|
36
|
+
"progressionStatus": "Member",
|
37
|
+
"isExhausted": false,
|
38
|
+
"acquiredBy": true,
|
39
|
+
"reachedSuccess": false,
|
40
|
+
"membershipDate": "2017-09-11T03:14:13Z"
|
41
|
+
}
|
42
|
+
}
|
43
|
+
],
|
44
|
+
"success": true
|
45
|
+
}
|
46
|
+
]
|
47
|
+
}
|
@@ -0,0 +1,221 @@
|
|
1
|
+
{
|
2
|
+
"requestId": "121e2#15eebcac5d8",
|
3
|
+
"result": [
|
4
|
+
{
|
5
|
+
"id": 1,
|
6
|
+
"displayName": "Marketo_test_boolean",
|
7
|
+
"dataType": "boolean",
|
8
|
+
"rest": {
|
9
|
+
"name": "mKtestboolean",
|
10
|
+
"readOnly": false
|
11
|
+
},
|
12
|
+
"soap": {
|
13
|
+
"name": "mKtestboolean",
|
14
|
+
"readOnly": false
|
15
|
+
}
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"id": 2,
|
19
|
+
"displayName": "Marketo_test_currency",
|
20
|
+
"dataType": "currency",
|
21
|
+
"length": 255,
|
22
|
+
"rest": {
|
23
|
+
"name": "mKtestcurrency",
|
24
|
+
"readOnly": false
|
25
|
+
},
|
26
|
+
"soap": {
|
27
|
+
"name": "mKtestcurrency",
|
28
|
+
"readOnly": false
|
29
|
+
}
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"id": 3,
|
33
|
+
"displayName": "Marketo_test_date",
|
34
|
+
"dataType": "date",
|
35
|
+
"rest": {
|
36
|
+
"name": "mKtestdate",
|
37
|
+
"readOnly": false
|
38
|
+
},
|
39
|
+
"soap": {
|
40
|
+
"name": "mKtestdate",
|
41
|
+
"readOnly": false
|
42
|
+
}
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"id": 4,
|
46
|
+
"displayName": "Marketo_test_Datetime",
|
47
|
+
"dataType": "datetime",
|
48
|
+
"rest": {
|
49
|
+
"name": "mKtestDatetime",
|
50
|
+
"readOnly": false
|
51
|
+
},
|
52
|
+
"soap": {
|
53
|
+
"name": "mKtestDatetime",
|
54
|
+
"readOnly": false
|
55
|
+
}
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"id": 5,
|
59
|
+
"displayName": "Marketo_test_email",
|
60
|
+
"dataType": "email",
|
61
|
+
"length": 255,
|
62
|
+
"rest": {
|
63
|
+
"name": "mKtestemail",
|
64
|
+
"readOnly": false
|
65
|
+
},
|
66
|
+
"soap": {
|
67
|
+
"name": "mKtestemail",
|
68
|
+
"readOnly": false
|
69
|
+
}
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"id": 6,
|
73
|
+
"displayName": "Marketo_test_float",
|
74
|
+
"dataType": "float",
|
75
|
+
"rest": {
|
76
|
+
"name": "mKtestfloat",
|
77
|
+
"readOnly": false
|
78
|
+
},
|
79
|
+
"soap": {
|
80
|
+
"name": "mKtestfloat",
|
81
|
+
"readOnly": false
|
82
|
+
}
|
83
|
+
},
|
84
|
+
{
|
85
|
+
"id": 7,
|
86
|
+
"displayName": "Marketo_test_integer",
|
87
|
+
"dataType": "integer",
|
88
|
+
"rest": {
|
89
|
+
"name": "mKtestinteger",
|
90
|
+
"readOnly": false
|
91
|
+
},
|
92
|
+
"soap": {
|
93
|
+
"name": "mKtestinteger",
|
94
|
+
"readOnly": false
|
95
|
+
}
|
96
|
+
},
|
97
|
+
{
|
98
|
+
"id": 8,
|
99
|
+
"displayName": "Marketo_test_percent",
|
100
|
+
"dataType": "percent",
|
101
|
+
"rest": {
|
102
|
+
"name": "mKtestpercent",
|
103
|
+
"readOnly": false
|
104
|
+
},
|
105
|
+
"soap": {
|
106
|
+
"name": "mKtestpercent",
|
107
|
+
"readOnly": false
|
108
|
+
}
|
109
|
+
},
|
110
|
+
{
|
111
|
+
"id": 9,
|
112
|
+
"displayName": "Marketo_test_phone",
|
113
|
+
"dataType": "phone",
|
114
|
+
"length": 255,
|
115
|
+
"rest": {
|
116
|
+
"name": "mKtestphone",
|
117
|
+
"readOnly": false
|
118
|
+
},
|
119
|
+
"soap": {
|
120
|
+
"name": "mKtestphone",
|
121
|
+
"readOnly": false
|
122
|
+
}
|
123
|
+
},
|
124
|
+
{
|
125
|
+
"id": 11,
|
126
|
+
"displayName": "Marketo_test_score",
|
127
|
+
"dataType": "score",
|
128
|
+
"rest": {
|
129
|
+
"name": "mKtestscore",
|
130
|
+
"readOnly": false
|
131
|
+
},
|
132
|
+
"soap": {
|
133
|
+
"name": "mKtestscore",
|
134
|
+
"readOnly": false
|
135
|
+
}
|
136
|
+
},
|
137
|
+
{
|
138
|
+
"id": 12,
|
139
|
+
"displayName": "Marketo_test_string",
|
140
|
+
"dataType": "string",
|
141
|
+
"length": 255,
|
142
|
+
"rest": {
|
143
|
+
"name": "mKteststring",
|
144
|
+
"readOnly": false
|
145
|
+
},
|
146
|
+
"soap": {
|
147
|
+
"name": "mKteststring",
|
148
|
+
"readOnly": false
|
149
|
+
}
|
150
|
+
},
|
151
|
+
{
|
152
|
+
"id": 13,
|
153
|
+
"displayName": "Marketo_test_textarea",
|
154
|
+
"dataType": "textarea",
|
155
|
+
"rest": {
|
156
|
+
"name": "mKtesttextarea",
|
157
|
+
"readOnly": false
|
158
|
+
},
|
159
|
+
"soap": {
|
160
|
+
"name": "mKtesttextarea",
|
161
|
+
"readOnly": false
|
162
|
+
}
|
163
|
+
},
|
164
|
+
{
|
165
|
+
"id": 14,
|
166
|
+
"displayName": "Marketo_test_url",
|
167
|
+
"dataType": "url",
|
168
|
+
"length": 255,
|
169
|
+
"rest": {
|
170
|
+
"name": "mKtesturl",
|
171
|
+
"readOnly": false
|
172
|
+
},
|
173
|
+
"soap": {
|
174
|
+
"name": "mKtesturl",
|
175
|
+
"readOnly": false
|
176
|
+
}
|
177
|
+
},
|
178
|
+
{
|
179
|
+
"id": 15,
|
180
|
+
"displayName": "Marketo_test_reference",
|
181
|
+
"dataType": "reference",
|
182
|
+
"length": 255,
|
183
|
+
"rest": {
|
184
|
+
"name": "mKTestReference",
|
185
|
+
"readOnly": true
|
186
|
+
},
|
187
|
+
"soap": {
|
188
|
+
"name": "mKTestReference",
|
189
|
+
"readOnly": false
|
190
|
+
}
|
191
|
+
},
|
192
|
+
{
|
193
|
+
"id": 16,
|
194
|
+
"displayName": "Marketo_test_formula",
|
195
|
+
"dataType": "formula",
|
196
|
+
"length": 255,
|
197
|
+
"rest": {
|
198
|
+
"name": "mKTestFormula",
|
199
|
+
"readOnly": true
|
200
|
+
},
|
201
|
+
"soap": {
|
202
|
+
"name": "mKTestFormula",
|
203
|
+
"readOnly": false
|
204
|
+
}
|
205
|
+
},{
|
206
|
+
"id": 17,
|
207
|
+
"displayName": "Marketo_test_text",
|
208
|
+
"dataType": "text",
|
209
|
+
"rest": {
|
210
|
+
"name": "mKtesttext",
|
211
|
+
"readOnly": false
|
212
|
+
},
|
213
|
+
"soap": {
|
214
|
+
"name": "mKtesttext",
|
215
|
+
"readOnly": false
|
216
|
+
}
|
217
|
+
}
|
218
|
+
|
219
|
+
],
|
220
|
+
"success": true
|
221
|
+
}
|