embulk-input-marketo_extended 0.6.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.github/PULL_REQUEST_TEMPLATE.md +37 -0
- data/.gitignore +14 -0
- data/.travis.yml +6 -0
- data/CHANGELOG.md +170 -0
- data/LICENSE.txt +21 -0
- data/README.md +213 -0
- data/build.gradle +103 -0
- data/config/checkstyle/checkstyle.xml +128 -0
- data/config/checkstyle/default.xml +108 -0
- data/gradle/wrapper/gradle-wrapper.jar +0 -0
- data/gradle/wrapper/gradle-wrapper.properties +6 -0
- data/gradlew +169 -0
- data/gradlew.bat +84 -0
- data/lib/embulk/input/marketo.rb +3 -0
- data/settings.gradle +1 -0
- data/src/main/java/org/embulk/input/marketo/CsvTokenizer.java +700 -0
- data/src/main/java/org/embulk/input/marketo/MarketoInputPlugin.java +15 -0
- data/src/main/java/org/embulk/input/marketo/MarketoInputPluginDelegate.java +100 -0
- data/src/main/java/org/embulk/input/marketo/MarketoService.java +38 -0
- data/src/main/java/org/embulk/input/marketo/MarketoServiceImpl.java +245 -0
- data/src/main/java/org/embulk/input/marketo/MarketoUtils.java +212 -0
- data/src/main/java/org/embulk/input/marketo/delegate/ActivityBulkExtractInputPlugin.java +167 -0
- data/src/main/java/org/embulk/input/marketo/delegate/CampaignInputPlugin.java +48 -0
- data/src/main/java/org/embulk/input/marketo/delegate/CustomObjectInputPlugin.java +75 -0
- data/src/main/java/org/embulk/input/marketo/delegate/CustomObjectResponseMapperBuilder.java +81 -0
- data/src/main/java/org/embulk/input/marketo/delegate/LeadBulkExtractInputPlugin.java +66 -0
- data/src/main/java/org/embulk/input/marketo/delegate/LeadServiceResponseMapperBuilder.java +85 -0
- data/src/main/java/org/embulk/input/marketo/delegate/LeadWithListInputPlugin.java +64 -0
- data/src/main/java/org/embulk/input/marketo/delegate/LeadWithProgramInputPlugin.java +60 -0
- data/src/main/java/org/embulk/input/marketo/delegate/MarketoBaseBulkExtractInputPlugin.java +441 -0
- data/src/main/java/org/embulk/input/marketo/delegate/MarketoBaseInputPluginDelegate.java +92 -0
- data/src/main/java/org/embulk/input/marketo/delegate/ProgramInputPlugin.java +228 -0
- data/src/main/java/org/embulk/input/marketo/exception/MarketoAPIException.java +30 -0
- data/src/main/java/org/embulk/input/marketo/model/BulkExtractRangeHeader.java +26 -0
- data/src/main/java/org/embulk/input/marketo/model/MarketoAccessTokenResponse.java +92 -0
- data/src/main/java/org/embulk/input/marketo/model/MarketoBulkExtractRequest.java +68 -0
- data/src/main/java/org/embulk/input/marketo/model/MarketoError.java +40 -0
- data/src/main/java/org/embulk/input/marketo/model/MarketoField.java +126 -0
- data/src/main/java/org/embulk/input/marketo/model/MarketoResponse.java +82 -0
- data/src/main/java/org/embulk/input/marketo/model/filter/DateRangeFilter.java +40 -0
- data/src/main/java/org/embulk/input/marketo/rest/MarketoBaseRestClient.java +306 -0
- data/src/main/java/org/embulk/input/marketo/rest/MarketoInputStreamResponseEntityReader.java +69 -0
- data/src/main/java/org/embulk/input/marketo/rest/MarketoRESTEndpoint.java +47 -0
- data/src/main/java/org/embulk/input/marketo/rest/MarketoResponseJetty92EntityReader.java +89 -0
- data/src/main/java/org/embulk/input/marketo/rest/MarketoRestClient.java +569 -0
- data/src/main/java/org/embulk/input/marketo/rest/RecordPagingIterable.java +180 -0
- data/src/test/java/org/embulk/input/marketo/MarketoServiceImplTest.java +140 -0
- data/src/test/java/org/embulk/input/marketo/MarketoUtilsTest.java +87 -0
- data/src/test/java/org/embulk/input/marketo/delegate/ActivityBulkExtractInputPluginTest.java +128 -0
- data/src/test/java/org/embulk/input/marketo/delegate/CampaignInputPluginTest.java +73 -0
- data/src/test/java/org/embulk/input/marketo/delegate/CustomObjectInputPluginTest.java +102 -0
- data/src/test/java/org/embulk/input/marketo/delegate/LeadBulkExtractInputPluginTest.java +99 -0
- data/src/test/java/org/embulk/input/marketo/delegate/LeadServiceResponseMapperBuilderTest.java +119 -0
- data/src/test/java/org/embulk/input/marketo/delegate/LeadWithListInputPluginTest.java +101 -0
- data/src/test/java/org/embulk/input/marketo/delegate/LeadWithProgramInputPluginTest.java +103 -0
- data/src/test/java/org/embulk/input/marketo/delegate/MarketoBaseBulkExtractInputPluginTest.java +169 -0
- data/src/test/java/org/embulk/input/marketo/delegate/ProgramInputPluginTest.java +343 -0
- data/src/test/java/org/embulk/input/marketo/rest/MarketoBaseRestClientTest.java +368 -0
- data/src/test/java/org/embulk/input/marketo/rest/MarketoRestClientTest.java +584 -0
- data/src/test/resources/config/activity_bulk_extract_config.yaml +7 -0
- data/src/test/resources/config/custom_object_config.yaml +8 -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/activity_types.json +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/custom_object_describe.json +124 -0
- data/src/test/resources/fixtures/custom_object_describe_marketo_fields_full.json +22 -0
- data/src/test/resources/fixtures/custom_object_expected.json +66 -0
- data/src/test/resources/fixtures/custom_object_response.json +24 -0
- data/src/test/resources/fixtures/custom_object_response_full.json +23 -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/list_reponse_full.json +191 -0
- data/src/test/resources/fixtures/lists_response.json +31 -0
- data/src/test/resources/fixtures/program_response.json +71 -0
- metadata +171 -0
@@ -0,0 +1,8 @@
|
|
1
|
+
account_id: 'account_id'
|
2
|
+
client_id: client_id
|
3
|
+
client_secret: client_secret
|
4
|
+
custom_object_api_name: custom_object_api_name
|
5
|
+
custom_object_filter_type: custom_object_filter_type
|
6
|
+
custom_object_fields: ""
|
7
|
+
custom_object_filter_from_value: 1
|
8
|
+
custom_object_filter_to_value: 2
|
@@ -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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill 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"":""Bill Import Test"",""Created Date"":""2017-09-08""}"
|
@@ -0,0 +1,22 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"id": 1,
|
4
|
+
"name": "bb"
|
5
|
+
},
|
6
|
+
{
|
7
|
+
"id": 2,
|
8
|
+
"name": "TD Output Test aa"
|
9
|
+
},
|
10
|
+
{
|
11
|
+
"id": 3,
|
12
|
+
"name": "Bill_progream a"
|
13
|
+
},
|
14
|
+
{
|
15
|
+
"id": 4,
|
16
|
+
"name": "Bill_progream b"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"id": 5,
|
20
|
+
"name": "Bill_progream c"
|
21
|
+
}
|
22
|
+
]
|
@@ -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": "Bill_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": "Bill_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": "Bill_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,124 @@
|
|
1
|
+
{
|
2
|
+
"requestId":"185d6#14b51985ff0",
|
3
|
+
"success":true,
|
4
|
+
"result":[
|
5
|
+
{
|
6
|
+
"name":"custom_object",
|
7
|
+
"displayName":"Custom Object",
|
8
|
+
"description":"Custom Object",
|
9
|
+
"createdAt":"2015-02-03T22:36:23Z",
|
10
|
+
"updatedAt":"2015-02-03T22:36:24Z",
|
11
|
+
"idField":"marketoGUID",
|
12
|
+
"dedupeFields":["mKtestcurrency"],
|
13
|
+
"searchableFields":[
|
14
|
+
["mKtestcurrency"],
|
15
|
+
["marketoGUID"]
|
16
|
+
],
|
17
|
+
"fields":[
|
18
|
+
{
|
19
|
+
"updateable":true,
|
20
|
+
"displayName": "Marketo_test_boolean",
|
21
|
+
"dataType": "boolean",
|
22
|
+
"name": "mKtestboolean"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"updateable":true,
|
26
|
+
"displayName": "Marketo_test_currency",
|
27
|
+
"dataType": "currency",
|
28
|
+
"length": 255,
|
29
|
+
"name": "mKtestcurrency"
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"updateable":true,
|
33
|
+
"displayName": "Marketo_test_date",
|
34
|
+
"dataType": "date",
|
35
|
+
"name": "mKtestdate"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"updateable":true,
|
39
|
+
"displayName": "Marketo_test_Datetime",
|
40
|
+
"dataType": "datetime",
|
41
|
+
"name": "mKtestDatetime"
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"updateable":true,
|
45
|
+
"displayName": "Marketo_test_email",
|
46
|
+
"dataType": "email",
|
47
|
+
"length": 255,
|
48
|
+
"name": "mKtestemail"
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"updateable":true,
|
52
|
+
"displayName": "Marketo_test_float",
|
53
|
+
"dataType": "float",
|
54
|
+
"name": "mKtestfloat"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"updateable":true,
|
58
|
+
"displayName": "Marketo_test_integer",
|
59
|
+
"dataType": "integer",
|
60
|
+
"name": "mKtestinteger"
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"updateable":true,
|
64
|
+
"displayName": "Marketo_test_percent",
|
65
|
+
"dataType": "percent",
|
66
|
+
"name": "mKtestpercent"
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"updateable":true,
|
70
|
+
"displayName": "Marketo_test_phone",
|
71
|
+
"dataType": "phone",
|
72
|
+
"length": 255,
|
73
|
+
"name": "mKtestphone"
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"updateable":true,
|
77
|
+
"displayName": "Marketo_test_score",
|
78
|
+
"dataType": "score",
|
79
|
+
"name": "mKtestscore"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"updateable":true,
|
83
|
+
"displayName": "Marketo_test_string",
|
84
|
+
"dataType": "string",
|
85
|
+
"length": 255,
|
86
|
+
"name": "mKteststring"
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"updateable":true,
|
90
|
+
"displayName": "Marketo_test_textarea",
|
91
|
+
"dataType": "textarea",
|
92
|
+
"name": "mKtesttextarea"
|
93
|
+
},
|
94
|
+
{
|
95
|
+
"updateable":true,
|
96
|
+
"displayName": "Marketo_test_url",
|
97
|
+
"dataType": "url",
|
98
|
+
"length": 255,
|
99
|
+
"name": "mKtesturl"
|
100
|
+
},
|
101
|
+
{
|
102
|
+
"updateable":true,
|
103
|
+
"displayName": "Marketo_test_reference",
|
104
|
+
"dataType": "reference",
|
105
|
+
"length": 255,
|
106
|
+
"name": "mKTestReference"
|
107
|
+
},
|
108
|
+
{
|
109
|
+
"updateable":true,
|
110
|
+
"displayName": "Marketo_test_formula",
|
111
|
+
"dataType": "formula",
|
112
|
+
"length": 255,
|
113
|
+
"name": "mKTestFormula"
|
114
|
+
},
|
115
|
+
{
|
116
|
+
"updateable":true,
|
117
|
+
"displayName": "Marketo_test_text",
|
118
|
+
"dataType": "text",
|
119
|
+
"name": "mKtesttext"
|
120
|
+
}
|
121
|
+
]
|
122
|
+
}
|
123
|
+
]
|
124
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"name": "seq",
|
4
|
+
"marketoDataType": "INTEGER"
|
5
|
+
},
|
6
|
+
{
|
7
|
+
"name": "marketoGUID",
|
8
|
+
"marketoDataType": "STRING"
|
9
|
+
},
|
10
|
+
{
|
11
|
+
"name": "id",
|
12
|
+
"marketoDataType": "INTEGER"
|
13
|
+
},
|
14
|
+
{
|
15
|
+
"name": "createdAt",
|
16
|
+
"marketoDataType": "DATETIME"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"name": "updatedAt",
|
20
|
+
"marketoDataType": "DATETIME"
|
21
|
+
}
|
22
|
+
]
|