mcdev 5.1.0 → 5.2.0
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.
- package/.eslintrc.json +4 -4
- package/.github/ISSUE_TEMPLATE/bug.yml +1 -0
- package/.github/PULL_REQUEST_TEMPLATE.md +2 -2
- package/.github/workflows/coverage-develop-branch.yml +0 -2
- package/.github/workflows/coverage-main-branch.yml +0 -2
- package/.github/workflows/coverage.yml +0 -2
- package/.husky/post-checkout +1 -0
- package/.husky/post-merge +1 -0
- package/.vscode/extensions.json +4 -0
- package/docs/dist/documentation.md +633 -286
- package/lib/Deployer.js +25 -25
- package/lib/MetadataTypeDefinitions.js +1 -1
- package/lib/MetadataTypeInfo.js +1 -1
- package/lib/Retriever.js +1 -1
- package/lib/cli.js +159 -9
- package/lib/index.js +395 -95
- package/lib/metadataTypes/Asset.js +10 -11
- package/lib/metadataTypes/AttributeGroup.js +76 -2
- package/lib/metadataTypes/AttributeSet.js +260 -0
- package/lib/metadataTypes/Automation.js +413 -96
- package/lib/metadataTypes/DataExtension.js +2 -2
- package/lib/metadataTypes/DataExtensionField.js +1 -1
- package/lib/metadataTypes/Event.js +2 -3
- package/lib/metadataTypes/Folder.js +1 -1
- package/lib/metadataTypes/Journey.js +5 -6
- package/lib/metadataTypes/MetadataType.js +149 -49
- package/lib/metadataTypes/MobileKeyword.js +8 -8
- package/lib/metadataTypes/MobileMessage.js +5 -5
- package/lib/metadataTypes/Query.js +26 -10
- package/lib/metadataTypes/Script.js +3 -3
- package/lib/metadataTypes/TransactionalSMS.js +5 -5
- package/lib/metadataTypes/TriggeredSend.js +25 -50
- package/lib/metadataTypes/User.js +7 -4
- package/lib/metadataTypes/definitions/AttributeGroup.definition.js +117 -106
- package/lib/metadataTypes/definitions/{SetDefinition.definition.js → AttributeSet.definition.js} +54 -27
- package/lib/metadataTypes/definitions/Automation.definition.js +22 -15
- package/lib/metadataTypes/definitions/ImportFile.definition.js +36 -6
- package/lib/metadataTypes/definitions/TriggeredSend.definition.js +1 -0
- package/lib/util/cache.js +9 -4
- package/lib/util/cli.js +40 -0
- package/lib/util/file.js +2 -2
- package/lib/util/init.js +84 -0
- package/lib/util/util.js +121 -13
- package/package.json +11 -11
- package/test/mockRoot/.mcdevrc.json +1 -1
- package/test/mockRoot/deploy/testInstance/testBU/automation/testExisting_automation.automation-meta.json +1 -2
- package/test/mockRoot/deploy/testInstance/testBU/automation/testNew_automation.automation-meta.json +5 -6
- package/test/mockRoot/deploy/testInstance/testBU/dataExtract/testExisting_dataExtract.dataExtract-meta.json +35 -0
- package/test/mockRoot/deploy/testInstance/testBU/dataExtract/testNew_dataExtract.dataExtract-meta.json +35 -0
- package/test/mockRoot/deploy/testInstance/testBU/fileTransfer/testExisting_fileTransfer.fileTransfer-meta.json +17 -0
- package/test/mockRoot/deploy/testInstance/testBU/fileTransfer/testNew_fileTransfer.fileTransfer-meta.json +17 -0
- package/test/mockRoot/deploy/testInstance/testBU/importFile/testExisting_importFile.importFile-meta.json +29 -0
- package/test/mockRoot/deploy/testInstance/testBU/importFile/testNew_importFile.importFile-meta.json +29 -0
- package/test/mockRoot/deploy/testInstance/testBU/query/testExisting_query_fixKeys.query-meta.json +11 -0
- package/test/mockRoot/deploy/testInstance/testBU/query/testExisting_query_fixKeys.query-meta.sql +6 -0
- package/test/mockRoot/deploy/testInstance/testBU/script/testExisting_script.script-meta.json +6 -0
- package/test/mockRoot/deploy/testInstance/testBU/script/testExisting_script.script-meta.ssjs +1 -0
- package/test/mockRoot/deploy/testInstance/testBU/script/testNew_script.script-meta.json +6 -0
- package/test/mockRoot/deploy/testInstance/testBU/script/testNew_script.script-meta.ssjs +1 -0
- package/test/mockRoot/deploy/testInstance/testBU/triggeredSend/testExisting_triggeredSend.triggeredSend-meta.json +29 -0
- package/test/mockRoot/deploy/testInstance/testBU/triggeredSend/testNew_triggeredSend.triggeredSend-meta.json +29 -0
- package/test/resourceFactory.js +77 -12
- package/test/resources/1111111/accountUser/retrieve-ActiveFlag=falseANDCustomerKey=testExisting_userANDEmaillike@-response.xml +27 -0
- package/test/resources/1111111/accountUser/retrieve-ActiveFlag=falseANDEmaillike@-response.xml +156 -0
- package/test/resources/1111111/accountUser/retrieve-ActiveFlag=trueANDEmailisNullORNamelikeapp userANDMustChangePassword=false-response.xml +87 -0
- package/test/resources/1111111/accountUser/retrieve-ActiveFlag=trueANDEmaillike@-response.xml +156 -0
- package/test/resources/1111111/accountUser/retrieve-CustomerKey=testExisting_userANDActiveFlag=trueANDEmailisNullORNamelikeapp userANDMustChangePassword=false-response.xml +27 -0
- package/test/resources/1111111/accountUserAccount/retrieve-AccountUser.AccountUserID=700301950-response.xml +60 -0
- package/test/resources/1111111/user/retrieve-expected.md +4 -2
- package/test/resources/9999999/attributeGroup/retrieve-expected.json +25 -0
- package/test/resources/9999999/attributeSet/retrieve-expected.json +748 -0
- package/test/resources/9999999/automation/build-expected.json +1 -2
- package/test/resources/9999999/automation/create-expected.json +7 -8
- package/test/resources/9999999/automation/create-testNew_automation-expected.md +4 -4
- package/test/resources/9999999/automation/patch_fixKeys-pause-expected.json +44 -0
- package/test/resources/9999999/automation/patch_fixKeys-schedule-expected.json +44 -0
- package/test/resources/9999999/automation/perform-08afb0e2-b00a-4c88-ad2e-1f7f8788c560-response.xml +42 -0
- package/test/resources/9999999/automation/perform-08afb0e2-b00a-4c88-fixKey_pause-response.xml +42 -0
- package/test/resources/9999999/automation/perform-08afb0e2-b00a-4c88-fixKey_schedule-response.xml +42 -0
- package/test/resources/9999999/automation/perform-a8afb0e2-b00a-4c88-ad2e-1f7f8788c560-response.xml +42 -0
- package/test/resources/9999999/automation/retrieve-expected.json +1 -2
- package/test/resources/9999999/automation/retrieve-testExisting_automation-expected.md +2 -2
- package/test/resources/9999999/automation/schedule-08afb0e2-b00a-4c88-ad2e-1f7f8788c560-response.xml +52 -0
- package/test/resources/9999999/automation/schedule-08afb0e2-b00a-4c88-ad2e-pause-response.xml +38 -0
- package/test/resources/9999999/automation/schedule-08afb0e2-b00a-4c88-fixKey_pause-response.xml +52 -0
- package/test/resources/9999999/automation/schedule-08afb0e2-b00a-4c88-fixKey_schedule-response.xml +52 -0
- package/test/resources/9999999/automation/schedule-a8afb0e2-b00a-4c88-ad2e-1f7f8788c560-response.xml +52 -0
- package/test/resources/9999999/automation/template-expected.json +1 -2
- package/test/resources/9999999/automation/update-expected.json +1 -2
- package/test/resources/9999999/automation/update-testExisting_automation-expected.md +2 -2
- package/test/resources/9999999/automation/v1/automations/08afb0e2-b00a-4c88-ad2e-pause/get-response.json +85 -0
- package/test/resources/9999999/automation/v1/automations/08afb0e2-b00a-4c88-ad2e-pause/patch-response.json +85 -0
- package/test/resources/9999999/automation/v1/automations/08afb0e2-b00a-4c88-fixKey_pause/get-response.json +85 -0
- package/test/resources/9999999/automation/v1/automations/08afb0e2-b00a-4c88-fixKey_pause/patch-response.json +85 -0
- package/test/resources/9999999/automation/v1/automations/08afb0e2-b00a-4c88-fixKey_schedule/get-response.json +85 -0
- package/test/resources/9999999/automation/v1/automations/08afb0e2-b00a-4c88-fixKey_schedule/patch-response.json +85 -0
- package/test/resources/9999999/automation/v1/automations/a8afb0e2-b00a-4c88-ad2e-1f7f8788c560/get-response.json +1 -1
- package/test/resources/9999999/automation/v1/automations/post-response.json +20 -19
- package/test/resources/9999999/automation/v1/dataextracts/56c5370a-f988-4f36-b0ee-0f876573f6d7/patch-response.json +38 -0
- package/test/resources/9999999/automation/v1/dataextracts/post-response.json +38 -0
- package/test/resources/9999999/automation/v1/dataextracttypes/get-response.json +50 -0
- package/test/resources/9999999/automation/v1/filetransfers/72c328ac-f5b0-4e37-91d3-a775666f15a6/patch-response.json +18 -0
- package/test/resources/9999999/automation/v1/filetransfers/post-response.json +18 -0
- package/test/resources/9999999/automation/v1/ftplocations/get-response.json +18 -0
- package/test/resources/9999999/automation/v1/imports/9d16f42c-2260-ed11-b849-48df37d1de8b/patch-response.json +31 -0
- package/test/resources/9999999/automation/v1/imports/get-response.json +1 -1
- package/test/resources/9999999/automation/v1/imports/post-response.json +30 -0
- package/test/resources/9999999/automation/v1/queries/549f0568-607c-4940-afef-437965094dae/actions/start/post-response.txt +1 -0
- package/test/resources/9999999/automation/v1/queries/549f0568-607c-4940-afef-437965094dat_fixKeys/get-response.json +17 -0
- package/test/resources/9999999/automation/v1/queries/549f0568-607c-4940-afef-437965094dat_fixKeys/patch-response.json +18 -0
- package/test/resources/9999999/automation/v1/queries/get-response.json +18 -1
- package/test/resources/9999999/automation/v1/scripts/39f6a488-20eb-4ba0-b0b9-023725b574e4/patch-response.json +10 -0
- package/test/resources/9999999/automation/v1/scripts/get-response.json +12 -2
- package/test/resources/9999999/automation/v1/scripts/post-response.json +10 -0
- package/test/resources/9999999/dataExtension/retrieve-Name=testExisting_dataExtension-response.xml +52 -0
- package/test/resources/9999999/dataExtensionField/retrieve-DataExtension.CustomerKey=testExisting_dataExtension-response.xml +98 -0
- package/test/resources/9999999/dataExtensionField/retrieve-DataExtension.CustomerKey=testNew_dataExtensionORDataExtension.CustomerKey=testExisting_dataExtension-response.xml +99 -0
- package/test/resources/9999999/dataExtract/build-expected.json +35 -0
- package/test/resources/9999999/dataExtract/get-expected.json +39 -0
- package/test/resources/9999999/dataExtract/patch-expected.json +37 -0
- package/test/resources/9999999/dataExtract/post-expected.json +37 -0
- package/test/resources/9999999/dataExtract/template-expected.json +35 -0
- package/test/resources/9999999/dataFolder/retrieve-ContentType=contextual_suppression_listORContentType=publicationORContentType=suppression_listORContentType=mysubsORContentType=list-response.xml +136 -0
- package/test/resources/9999999/dataFolder/retrieve-ContentType=ssjsactivity-response.xml +48 -0
- package/test/resources/9999999/dataFolder/retrieve-ContentType=triggered_send_journeybuilderORContentType=triggered_sendORContentType=hidden-response.xml +276 -0
- package/test/resources/9999999/dataFolder/retrieve-response.xml +23 -0
- package/test/resources/9999999/email/retrieve-response.xml +203 -0
- package/test/resources/9999999/fileTransfer/build-expected.json +15 -0
- package/test/resources/9999999/fileTransfer/get-expected.json +17 -0
- package/test/resources/9999999/fileTransfer/patch-expected.json +17 -0
- package/test/resources/9999999/fileTransfer/post-expected.json +17 -0
- package/test/resources/9999999/fileTransfer/template-expected.json +15 -0
- package/test/resources/9999999/hub/v1/contacts/schema/attributeGroups/get-response.json +585 -0
- package/test/resources/9999999/hub/v1/contacts/schema/setDefinitions/get-response.json +19807 -0
- package/test/resources/9999999/importFile/build-expected.json +27 -0
- package/test/resources/9999999/importFile/get-expected.json +29 -0
- package/test/resources/9999999/importFile/patch-expected.json +29 -0
- package/test/resources/9999999/importFile/post-expected.json +29 -0
- package/test/resources/9999999/importFile/template-expected.json +27 -0
- package/test/resources/9999999/program/retrieve-CustomerKey=testExisting_automation_fixKey_pause-response.xml +32 -0
- package/test/resources/9999999/program/retrieve-CustomerKey=testExisting_automation_fixKey_schedule-response.xml +32 -0
- package/test/resources/9999999/program/retrieve-CustomerKey=testExisting_automation_fixedKey_paused-response.xml +32 -0
- package/test/resources/9999999/program/retrieve-CustomerKey=testExisting_automation_fixedKey_scheduled-response.xml +32 -0
- package/test/resources/9999999/program/retrieve-CustomerKey=testExisting_automation_pause-response.xml +30 -0
- package/test/resources/9999999/program/retrieve-response.xml +21 -3
- package/test/resources/9999999/query/patch_fixKeys-expected.json +11 -0
- package/test/resources/9999999/query/patch_fixKeys-expected.sql +6 -0
- package/test/resources/9999999/queryDefinition/retrieve-CustomerKey=testExisting_query_fixKeysANDStatus=Active-response.xml +30 -0
- package/test/resources/9999999/queryDefinition/retrieve-CustomerKey=testExisting_query_fixedKeysANDStatus=Active-response.xml +30 -0
- package/test/resources/9999999/queryDefinition/retrieve-CustomerKey=testNew_queryANDStatus=Active-response.xml +30 -0
- package/test/resources/9999999/script/build-expected.json +6 -0
- package/test/resources/9999999/script/build-expected.ssjs +1 -0
- package/test/resources/9999999/script/get-expected.json +8 -0
- package/test/resources/9999999/script/get-expected.ssjs +1 -0
- package/test/resources/9999999/script/get_noScriptTag-expected.html +1 -0
- package/test/resources/9999999/script/get_noScriptTag-expected.json +8 -0
- package/test/resources/9999999/script/patch-expected.json +8 -0
- package/test/resources/9999999/script/patch-expected.ssjs +1 -0
- package/test/resources/9999999/script/post-expected.json +8 -0
- package/test/resources/9999999/script/post-expected.ssjs +1 -0
- package/test/resources/9999999/script/template-expected.json +6 -0
- package/test/resources/9999999/script/template-expected.ssjs +1 -0
- package/test/resources/9999999/triggeredSend/build-expected.json +29 -0
- package/test/resources/9999999/triggeredSend/get-expected.json +29 -0
- package/test/resources/9999999/triggeredSend/patch-expected.json +29 -0
- package/test/resources/9999999/triggeredSend/post-expected.json +29 -0
- package/test/resources/9999999/triggeredSend/template-expected.json +29 -0
- package/test/resources/9999999/triggeredSendDefinition/create-response.xml +75 -0
- package/test/resources/9999999/triggeredSendDefinition/delete-response.xml +36 -0
- package/test/resources/9999999/triggeredSendDefinition/{retrieve-response.xml → retrieve-TriggeredSendStatusINNew,Active,Inactive,Moved,Canceled-response.xml} +4 -4
- package/test/resources/9999999/triggeredSendDefinition/update-response.xml +74 -0
- package/test/type.attributeGroup.test.js +55 -0
- package/test/type.attributeSet.test.js +55 -0
- package/test/type.automation.test.js +638 -11
- package/test/type.dataExtension.test.js +0 -1
- package/test/type.dataExtract.test.js +187 -0
- package/test/type.fileTransfer.test.js +185 -0
- package/test/type.importFile.test.js +186 -0
- package/test/type.mobileKeyword.test.js +0 -1
- package/test/type.query.test.js +464 -13
- package/test/type.script.test.js +367 -0
- package/test/type.triggeredSend.test.js +152 -0
- package/test/type.user.test.js +22 -10
- package/test/utils.js +4 -1
- package/lib/metadataTypes/SetDefinition.js +0 -37
- /package/test/resources/1111111/accountUser/{retrieve-response.xml → retrieve-ActiveFlag=trueANDCustomerKey=testExisting_userANDEmaillike@-response.xml} +0 -0
- /package/test/resources/1111111/accountUserAccount/{retrieve-response.xml → retrieve-AccountUser.AccountUserIDIN700301950,700301951,7471228-response.xml} +0 -0
- /package/test/resources/1111111/businessUnit/{retrieve-response.xml → retrieve-ID=1111111-response.xml} +0 -0
- /package/test/resources/1111111/list/{retrieve-response.xml → retrieve-CustomerKey=All SubscribersORListName=All Subscribers-response.xml} +0 -0
- /package/test/resources/1111111/role/{retrieve-response.xml → retrieve-IsPrivate=false-response.xml} +0 -0
- /package/test/resources/9999999/emailSendDefinition/{retrieve-response.xml → retrieve-IsPlatformObject=falseANDDescriptionnotEqualsSFSendDefinition-response.xml} +0 -0
- /package/test/resources/9999999/queryDefinition/{retrieve-response.xml → retrieve-CustomerKey=testExisting_queryANDStatus=Active-response.xml} +0 -0
|
@@ -7,8 +7,7 @@
|
|
|
7
7
|
"endDate": "2022-07-30T00:00:00",
|
|
8
8
|
"icalRecur": "FREQ=DAILY;COUNT=1;INTERVAL=1",
|
|
9
9
|
"startDate": "2022-07-30T00:00:00",
|
|
10
|
-
"timezoneName": "W. Europe Standard Time"
|
|
11
|
-
"typeId": 3
|
|
10
|
+
"timezoneName": "W. Europe Standard Time"
|
|
12
11
|
},
|
|
13
12
|
"status": "PausedSchedule",
|
|
14
13
|
"steps": [
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
"key": "testNew_automation",
|
|
4
4
|
"name": "testNew_automation",
|
|
5
5
|
"r__folder_Path": "my automations",
|
|
6
|
+
"type": "scheduled",
|
|
7
|
+
"status": "PausedSchedule",
|
|
6
8
|
"schedule": {
|
|
7
|
-
"endDate": "
|
|
8
|
-
"icalRecur": "FREQ=
|
|
9
|
-
"startDate": "
|
|
10
|
-
"timezoneName": "W. Europe Standard Time"
|
|
11
|
-
"typeId": 3
|
|
9
|
+
"endDate": "2079-06-06T21:00:00-06:00",
|
|
10
|
+
"icalRecur": "FREQ=MINUTELY;UNTIL=20790607T050000;INTERVAL=5",
|
|
11
|
+
"startDate": "2020-05-13T18:30:32.11-06:00",
|
|
12
|
+
"timezoneName": "W. Europe Standard Time"
|
|
12
13
|
},
|
|
13
|
-
"status": "PausedSchedule",
|
|
14
14
|
"steps": [
|
|
15
15
|
{
|
|
16
16
|
"activities": [
|
|
@@ -41,6 +41,5 @@
|
|
|
41
41
|
],
|
|
42
42
|
"name": ""
|
|
43
43
|
}
|
|
44
|
-
]
|
|
45
|
-
"type": "scheduled"
|
|
44
|
+
]
|
|
46
45
|
}
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
|
|
11
11
|
**Schedule:**
|
|
12
12
|
|
|
13
|
-
* Start:
|
|
14
|
-
* End:
|
|
15
|
-
* Timezone:
|
|
16
|
-
* Recurrance: every
|
|
13
|
+
* Start: 2020-05-13 18:30:32.11-06:00 +01:00
|
|
14
|
+
* End: 2079-06-06 21:00:00-06:00 +01:00
|
|
15
|
+
* Timezone: W. Europe Standard Time
|
|
16
|
+
* Recurrance: every 5 minutes until end date
|
|
17
17
|
|
|
18
18
|
**Notifications:** _none_
|
|
19
19
|
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "testing fixKey on an a paused automation",
|
|
3
|
+
"key": "testExisting_automation_fixedKey_paused",
|
|
4
|
+
"name": "testExisting_automation_fixedKey_paused",
|
|
5
|
+
"r__folder_Path": "my automations",
|
|
6
|
+
"schedule": {
|
|
7
|
+
"endDate": "2022-07-30T00:00:00",
|
|
8
|
+
"icalRecur": "FREQ=DAILY;COUNT=1;INTERVAL=1",
|
|
9
|
+
"startDate": "2022-07-30T00:00:00",
|
|
10
|
+
"timezoneName": "W. Europe Standard Time"
|
|
11
|
+
},
|
|
12
|
+
"status": "PausedSchedule",
|
|
13
|
+
"steps": [
|
|
14
|
+
{
|
|
15
|
+
"activities": [
|
|
16
|
+
{
|
|
17
|
+
"name": "testExisting_dataExtract",
|
|
18
|
+
"r__type": "dataExtract"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "testExisting_emailSend",
|
|
22
|
+
"r__type": "emailSend"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "testExisting_fileTransfer",
|
|
26
|
+
"r__type": "fileTransfer"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "testExisting_importFile",
|
|
30
|
+
"r__type": "importFile"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "testExisting_query",
|
|
34
|
+
"r__type": "query"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "testExisting_script",
|
|
38
|
+
"r__type": "script"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"type": "scheduled"
|
|
44
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "testing fixKey on an a scheduled automation",
|
|
3
|
+
"key": "testExisting_automation_fixedKey_scheduled",
|
|
4
|
+
"name": "testExisting_automation_fixedKey_scheduled",
|
|
5
|
+
"r__folder_Path": "my automations",
|
|
6
|
+
"schedule": {
|
|
7
|
+
"endDate": "2022-07-30T00:00:00",
|
|
8
|
+
"icalRecur": "FREQ=DAILY;COUNT=1;INTERVAL=1",
|
|
9
|
+
"startDate": "2022-07-30T00:00:00",
|
|
10
|
+
"timezoneName": "W. Europe Standard Time"
|
|
11
|
+
},
|
|
12
|
+
"status": "Scheduled",
|
|
13
|
+
"steps": [
|
|
14
|
+
{
|
|
15
|
+
"activities": [
|
|
16
|
+
{
|
|
17
|
+
"name": "testExisting_dataExtract",
|
|
18
|
+
"r__type": "dataExtract"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "testExisting_emailSend",
|
|
22
|
+
"r__type": "emailSend"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "testExisting_fileTransfer",
|
|
26
|
+
"r__type": "fileTransfer"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "testExisting_importFile",
|
|
30
|
+
"r__type": "importFile"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "testExisting_query",
|
|
34
|
+
"r__type": "query"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "testExisting_script",
|
|
38
|
+
"r__type": "script"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"type": "scheduled"
|
|
44
|
+
}
|
package/test/resources/9999999/automation/perform-08afb0e2-b00a-4c88-ad2e-1f7f8788c560-response.xml
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
|
3
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
4
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
5
|
+
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
|
|
6
|
+
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
|
|
7
|
+
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
|
|
8
|
+
<soap:Header>
|
|
9
|
+
<wsa:Action>PerformResponse</wsa:Action>
|
|
10
|
+
<wsa:MessageID>urn:uuid:cc45bb83-15a3-4a82-ba48-47ac4fb13000</wsa:MessageID>
|
|
11
|
+
<wsa:RelatesTo>urn:uuid:29986848-a0c3-4f3b-bf5a-91151f784449</wsa:RelatesTo>
|
|
12
|
+
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
|
|
13
|
+
<wsse:Security>
|
|
14
|
+
<wsu:Timestamp wsu:Id="Timestamp-4e8dad58-7a68-4653-8406-a172d1960c8a">
|
|
15
|
+
<wsu:Created>2023-06-02T13:41:30Z</wsu:Created>
|
|
16
|
+
<wsu:Expires>2023-06-02T13:46:30Z</wsu:Expires>
|
|
17
|
+
</wsu:Timestamp>
|
|
18
|
+
</wsse:Security>
|
|
19
|
+
</soap:Header>
|
|
20
|
+
<soap:Body>
|
|
21
|
+
<PerformResponseMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
|
|
22
|
+
<Results>
|
|
23
|
+
<Result>
|
|
24
|
+
<StatusCode>OK</StatusCode>
|
|
25
|
+
<StatusMessage>Performed Activity</StatusMessage>
|
|
26
|
+
<Object xsi:type="Automation">
|
|
27
|
+
<PartnerKey xsi:nil="true" />
|
|
28
|
+
<ObjectID>08afb0e2-b00a-4c88-ad2e-1f7f8788c560</ObjectID>
|
|
29
|
+
<CustomerKey>testExisting_automation</CustomerKey>
|
|
30
|
+
<IsPlatformObject>false</IsPlatformObject>
|
|
31
|
+
<Name />
|
|
32
|
+
<Description />
|
|
33
|
+
<IsActive>true</IsActive>
|
|
34
|
+
</Object>
|
|
35
|
+
</Result>
|
|
36
|
+
</Results>
|
|
37
|
+
<OverallStatus>OK</OverallStatus>
|
|
38
|
+
<OverallStatusMessage />
|
|
39
|
+
<RequestID>898702fc-a432-4176-8130-5d6dd5ad9ca6</RequestID>
|
|
40
|
+
</PerformResponseMsg>
|
|
41
|
+
</soap:Body>
|
|
42
|
+
</soap:Envelope>
|
package/test/resources/9999999/automation/perform-08afb0e2-b00a-4c88-fixKey_pause-response.xml
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
|
3
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
4
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
5
|
+
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
|
|
6
|
+
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
|
|
7
|
+
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
|
|
8
|
+
<soap:Header>
|
|
9
|
+
<wsa:Action>PerformResponse</wsa:Action>
|
|
10
|
+
<wsa:MessageID>urn:uuid:cc45bb83-15a3-4a82-ba48-47ac4fb13000</wsa:MessageID>
|
|
11
|
+
<wsa:RelatesTo>urn:uuid:29986848-a0c3-4f3b-bf5a-91151f784449</wsa:RelatesTo>
|
|
12
|
+
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
|
|
13
|
+
<wsse:Security>
|
|
14
|
+
<wsu:Timestamp wsu:Id="Timestamp-4e8dad58-7a68-4653-8406-a172d1960c8a">
|
|
15
|
+
<wsu:Created>2023-06-02T13:41:30Z</wsu:Created>
|
|
16
|
+
<wsu:Expires>2023-06-02T13:46:30Z</wsu:Expires>
|
|
17
|
+
</wsu:Timestamp>
|
|
18
|
+
</wsse:Security>
|
|
19
|
+
</soap:Header>
|
|
20
|
+
<soap:Body>
|
|
21
|
+
<PerformResponseMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
|
|
22
|
+
<Results>
|
|
23
|
+
<Result>
|
|
24
|
+
<StatusCode>OK</StatusCode>
|
|
25
|
+
<StatusMessage>Performed Activity</StatusMessage>
|
|
26
|
+
<Object xsi:type="Automation">
|
|
27
|
+
<PartnerKey xsi:nil="true" />
|
|
28
|
+
<ObjectID>08afb0e2-b00a-4c88-fixKey_pause</ObjectID>
|
|
29
|
+
<CustomerKey>testExisting_automation_fixedKey_paused</CustomerKey>
|
|
30
|
+
<IsPlatformObject>false</IsPlatformObject>
|
|
31
|
+
<Name />
|
|
32
|
+
<Description />
|
|
33
|
+
<IsActive>true</IsActive>
|
|
34
|
+
</Object>
|
|
35
|
+
</Result>
|
|
36
|
+
</Results>
|
|
37
|
+
<OverallStatus>OK</OverallStatus>
|
|
38
|
+
<OverallStatusMessage />
|
|
39
|
+
<RequestID>898702fc-a432-4176-8130-5d6dd5ad9ca6</RequestID>
|
|
40
|
+
</PerformResponseMsg>
|
|
41
|
+
</soap:Body>
|
|
42
|
+
</soap:Envelope>
|
package/test/resources/9999999/automation/perform-08afb0e2-b00a-4c88-fixKey_schedule-response.xml
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
|
3
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
4
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
5
|
+
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
|
|
6
|
+
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
|
|
7
|
+
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
|
|
8
|
+
<soap:Header>
|
|
9
|
+
<wsa:Action>PerformResponse</wsa:Action>
|
|
10
|
+
<wsa:MessageID>urn:uuid:cc45bb83-15a3-4a82-ba48-47ac4fb13000</wsa:MessageID>
|
|
11
|
+
<wsa:RelatesTo>urn:uuid:29986848-a0c3-4f3b-bf5a-91151f784449</wsa:RelatesTo>
|
|
12
|
+
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
|
|
13
|
+
<wsse:Security>
|
|
14
|
+
<wsu:Timestamp wsu:Id="Timestamp-4e8dad58-7a68-4653-8406-a172d1960c8a">
|
|
15
|
+
<wsu:Created>2023-06-02T13:41:30Z</wsu:Created>
|
|
16
|
+
<wsu:Expires>2023-06-02T13:46:30Z</wsu:Expires>
|
|
17
|
+
</wsu:Timestamp>
|
|
18
|
+
</wsse:Security>
|
|
19
|
+
</soap:Header>
|
|
20
|
+
<soap:Body>
|
|
21
|
+
<PerformResponseMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
|
|
22
|
+
<Results>
|
|
23
|
+
<Result>
|
|
24
|
+
<StatusCode>OK</StatusCode>
|
|
25
|
+
<StatusMessage>Performed Activity</StatusMessage>
|
|
26
|
+
<Object xsi:type="Automation">
|
|
27
|
+
<PartnerKey xsi:nil="true" />
|
|
28
|
+
<ObjectID>08afb0e2-b00a-4c88-fixKey_schedule</ObjectID>
|
|
29
|
+
<CustomerKey>testExisting_automation_fixedKey_scheduled</CustomerKey>
|
|
30
|
+
<IsPlatformObject>false</IsPlatformObject>
|
|
31
|
+
<Name />
|
|
32
|
+
<Description />
|
|
33
|
+
<IsActive>true</IsActive>
|
|
34
|
+
</Object>
|
|
35
|
+
</Result>
|
|
36
|
+
</Results>
|
|
37
|
+
<OverallStatus>OK</OverallStatus>
|
|
38
|
+
<OverallStatusMessage />
|
|
39
|
+
<RequestID>898702fc-a432-4176-8130-5d6dd5ad9ca6</RequestID>
|
|
40
|
+
</PerformResponseMsg>
|
|
41
|
+
</soap:Body>
|
|
42
|
+
</soap:Envelope>
|
package/test/resources/9999999/automation/perform-a8afb0e2-b00a-4c88-ad2e-1f7f8788c560-response.xml
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
|
3
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
4
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
5
|
+
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
|
|
6
|
+
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
|
|
7
|
+
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
|
|
8
|
+
<soap:Header>
|
|
9
|
+
<wsa:Action>PerformResponse</wsa:Action>
|
|
10
|
+
<wsa:MessageID>urn:uuid:cc45bb83-15a3-4a82-ba48-47ac4fb13000</wsa:MessageID>
|
|
11
|
+
<wsa:RelatesTo>urn:uuid:29986848-a0c3-4f3b-bf5a-91151f784449</wsa:RelatesTo>
|
|
12
|
+
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
|
|
13
|
+
<wsse:Security>
|
|
14
|
+
<wsu:Timestamp wsu:Id="Timestamp-4e8dad58-7a68-4653-8406-a172d1960c8a">
|
|
15
|
+
<wsu:Created>2023-06-02T13:41:30Z</wsu:Created>
|
|
16
|
+
<wsu:Expires>2023-06-02T13:46:30Z</wsu:Expires>
|
|
17
|
+
</wsu:Timestamp>
|
|
18
|
+
</wsse:Security>
|
|
19
|
+
</soap:Header>
|
|
20
|
+
<soap:Body>
|
|
21
|
+
<PerformResponseMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
|
|
22
|
+
<Results>
|
|
23
|
+
<Result>
|
|
24
|
+
<StatusCode>OK</StatusCode>
|
|
25
|
+
<StatusMessage>Performed Activity</StatusMessage>
|
|
26
|
+
<Object xsi:type="Automation">
|
|
27
|
+
<PartnerKey xsi:nil="true" />
|
|
28
|
+
<ObjectID>a8afb0e2-b00a-4c88-ad2e-1f7f8788c560</ObjectID>
|
|
29
|
+
<CustomerKey>testNew_automation</CustomerKey>
|
|
30
|
+
<IsPlatformObject>false</IsPlatformObject>
|
|
31
|
+
<Name />
|
|
32
|
+
<Description />
|
|
33
|
+
<IsActive>true</IsActive>
|
|
34
|
+
</Object>
|
|
35
|
+
</Result>
|
|
36
|
+
</Results>
|
|
37
|
+
<OverallStatus>OK</OverallStatus>
|
|
38
|
+
<OverallStatusMessage />
|
|
39
|
+
<RequestID>898702fc-a432-4176-8130-5d6dd5ad9ca6</RequestID>
|
|
40
|
+
</PerformResponseMsg>
|
|
41
|
+
</soap:Body>
|
|
42
|
+
</soap:Envelope>
|
|
@@ -7,8 +7,7 @@
|
|
|
7
7
|
"endDate": "2022-07-30T00:00:00",
|
|
8
8
|
"icalRecur": "FREQ=DAILY;COUNT=1;INTERVAL=1",
|
|
9
9
|
"startDate": "2022-07-30T00:00:00",
|
|
10
|
-
"timezoneName": "W. Europe Standard Time"
|
|
11
|
-
"typeId": 3
|
|
10
|
+
"timezoneName": "W. Europe Standard Time"
|
|
12
11
|
},
|
|
13
12
|
"status": "PausedSchedule",
|
|
14
13
|
"steps": [
|
package/test/resources/9999999/automation/schedule-08afb0e2-b00a-4c88-ad2e-1f7f8788c560-response.xml
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
|
3
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
4
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
5
|
+
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
|
|
6
|
+
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
|
|
7
|
+
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
|
|
8
|
+
<soap:Header>
|
|
9
|
+
<wsa:Action>ScheduleResponse</wsa:Action>
|
|
10
|
+
<wsa:MessageID>urn:uuid:b58a82d9-a251-4be4-b50c-bd300d71601d</wsa:MessageID>
|
|
11
|
+
<wsa:RelatesTo>urn:uuid:9d3dbeb3-68b7-4f0a-b0af-04855dc0fd1e</wsa:RelatesTo>
|
|
12
|
+
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
|
|
13
|
+
<wsse:Security>
|
|
14
|
+
<wsu:Timestamp wsu:Id="Timestamp-5ff54ff3-2408-496a-b4ea-6df5e9ebee03">
|
|
15
|
+
<wsu:Created>2023-07-05T10:29:58Z</wsu:Created>
|
|
16
|
+
<wsu:Expires>2023-07-05T10:34:58Z</wsu:Expires>
|
|
17
|
+
</wsu:Timestamp>
|
|
18
|
+
</wsse:Security>
|
|
19
|
+
</soap:Header>
|
|
20
|
+
<soap:Body>
|
|
21
|
+
<ScheduleResponseMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
|
|
22
|
+
<Results>
|
|
23
|
+
<Result>
|
|
24
|
+
<StatusCode>OK</StatusCode>
|
|
25
|
+
<StatusMessage>Program scheduled.</StatusMessage>
|
|
26
|
+
<RequestID>3a677ca8-5423-4d59-a1bb-c5fbe1c87197</RequestID>
|
|
27
|
+
<Object>
|
|
28
|
+
<PartnerKey xsi:nil="true" />
|
|
29
|
+
<ObjectID xsi:nil="true" />
|
|
30
|
+
<Recurrence xsi:type="DailyRecurrence">
|
|
31
|
+
<DailyRecurrencePatternType>Interval</DailyRecurrencePatternType>
|
|
32
|
+
<DayInterval>1</DayInterval>
|
|
33
|
+
</Recurrence>
|
|
34
|
+
<RecurrenceType>Daily</RecurrenceType>
|
|
35
|
+
<RecurrenceRangeType>EndAfter</RecurrenceRangeType>
|
|
36
|
+
<StartDateTime>2023-07-05T16:00:57</StartDateTime>
|
|
37
|
+
<Occurrences>1</Occurrences>
|
|
38
|
+
<TimeZone>
|
|
39
|
+
<PartnerKey xsi:nil="true" />
|
|
40
|
+
<ID>5</ID>
|
|
41
|
+
<ObjectID xsi:nil="true" />
|
|
42
|
+
</TimeZone>
|
|
43
|
+
</Object>
|
|
44
|
+
<Task />
|
|
45
|
+
</Result>
|
|
46
|
+
</Results>
|
|
47
|
+
<OverallStatus>OK</OverallStatus>
|
|
48
|
+
<OverallStatusMessage />
|
|
49
|
+
<RequestID>cfe97488-3c5e-49a9-b338-c0e9f6b6f684</RequestID>
|
|
50
|
+
</ScheduleResponseMsg>
|
|
51
|
+
</soap:Body>
|
|
52
|
+
</soap:Envelope>
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
|
3
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
4
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
5
|
+
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
|
|
6
|
+
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
|
|
7
|
+
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
|
|
8
|
+
<soap:Header>
|
|
9
|
+
<wsa:Action>ScheduleResponse</wsa:Action>
|
|
10
|
+
<wsa:MessageID>urn:uuid:b58a82d9-a251-4be4-b50c-bd300d71601d</wsa:MessageID>
|
|
11
|
+
<wsa:RelatesTo>urn:uuid:9d3dbeb3-68b7-4f0a-b0af-04855dc0fd1e</wsa:RelatesTo>
|
|
12
|
+
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
|
|
13
|
+
<wsse:Security>
|
|
14
|
+
<wsu:Timestamp wsu:Id="Timestamp-5ff54ff3-2408-496a-b4ea-6df5e9ebee03">
|
|
15
|
+
<wsu:Created>2023-07-05T10:29:58Z</wsu:Created>
|
|
16
|
+
<wsu:Expires>2023-07-05T10:34:58Z</wsu:Expires>
|
|
17
|
+
</wsu:Timestamp>
|
|
18
|
+
</wsse:Security>
|
|
19
|
+
</soap:Header>
|
|
20
|
+
<soap:Body>
|
|
21
|
+
<ScheduleResponseMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
|
|
22
|
+
<Results>
|
|
23
|
+
<Result>
|
|
24
|
+
<StatusCode>OK</StatusCode>
|
|
25
|
+
<StatusMessage>Schedule Paused. To reactivate the schedule use proxy.Schedule with the action 'start'.</StatusMessage>
|
|
26
|
+
<Object>
|
|
27
|
+
<PartnerKey xsi:nil="true" />
|
|
28
|
+
<ObjectID xsi:nil="true" />
|
|
29
|
+
</Object>
|
|
30
|
+
<Task />
|
|
31
|
+
</Result>
|
|
32
|
+
</Results>
|
|
33
|
+
<OverallStatus>OK</OverallStatus>
|
|
34
|
+
<OverallStatusMessage />
|
|
35
|
+
<RequestID>cfe97488-3c5e-49a9-b338-c0e9f6b6f684</RequestID>
|
|
36
|
+
</ScheduleResponseMsg>
|
|
37
|
+
</soap:Body>
|
|
38
|
+
</soap:Envelope>
|
package/test/resources/9999999/automation/schedule-08afb0e2-b00a-4c88-fixKey_pause-response.xml
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
|
3
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
4
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
5
|
+
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
|
|
6
|
+
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
|
|
7
|
+
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
|
|
8
|
+
<soap:Header>
|
|
9
|
+
<wsa:Action>ScheduleResponse</wsa:Action>
|
|
10
|
+
<wsa:MessageID>urn:uuid:b58a82d9-a251-4be4-b50c-bd300d71601d</wsa:MessageID>
|
|
11
|
+
<wsa:RelatesTo>urn:uuid:9d3dbeb3-68b7-4f0a-b0af-04855dc0fd1e</wsa:RelatesTo>
|
|
12
|
+
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
|
|
13
|
+
<wsse:Security>
|
|
14
|
+
<wsu:Timestamp wsu:Id="Timestamp-5ff54ff3-2408-496a-b4ea-6df5e9ebee03">
|
|
15
|
+
<wsu:Created>2023-07-05T10:29:58Z</wsu:Created>
|
|
16
|
+
<wsu:Expires>2023-07-05T10:34:58Z</wsu:Expires>
|
|
17
|
+
</wsu:Timestamp>
|
|
18
|
+
</wsse:Security>
|
|
19
|
+
</soap:Header>
|
|
20
|
+
<soap:Body>
|
|
21
|
+
<ScheduleResponseMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
|
|
22
|
+
<Results>
|
|
23
|
+
<Result>
|
|
24
|
+
<StatusCode>OK</StatusCode>
|
|
25
|
+
<StatusMessage>Program scheduled.</StatusMessage>
|
|
26
|
+
<RequestID>3a677ca8-5423-4d59-a1bb-c5fbe1c87197</RequestID>
|
|
27
|
+
<Object>
|
|
28
|
+
<PartnerKey xsi:nil="true" />
|
|
29
|
+
<ObjectID xsi:nil="true" />
|
|
30
|
+
<Recurrence xsi:type="DailyRecurrence">
|
|
31
|
+
<DailyRecurrencePatternType>Interval</DailyRecurrencePatternType>
|
|
32
|
+
<DayInterval>1</DayInterval>
|
|
33
|
+
</Recurrence>
|
|
34
|
+
<RecurrenceType>Daily</RecurrenceType>
|
|
35
|
+
<RecurrenceRangeType>EndAfter</RecurrenceRangeType>
|
|
36
|
+
<StartDateTime>2023-07-05T16:00:57</StartDateTime>
|
|
37
|
+
<Occurrences>1</Occurrences>
|
|
38
|
+
<TimeZone>
|
|
39
|
+
<PartnerKey xsi:nil="true" />
|
|
40
|
+
<ID>5</ID>
|
|
41
|
+
<ObjectID xsi:nil="true" />
|
|
42
|
+
</TimeZone>
|
|
43
|
+
</Object>
|
|
44
|
+
<Task />
|
|
45
|
+
</Result>
|
|
46
|
+
</Results>
|
|
47
|
+
<OverallStatus>OK</OverallStatus>
|
|
48
|
+
<OverallStatusMessage />
|
|
49
|
+
<RequestID>cfe97488-3c5e-49a9-b338-c0e9f6b6f684</RequestID>
|
|
50
|
+
</ScheduleResponseMsg>
|
|
51
|
+
</soap:Body>
|
|
52
|
+
</soap:Envelope>
|
package/test/resources/9999999/automation/schedule-08afb0e2-b00a-4c88-fixKey_schedule-response.xml
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
|
3
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
4
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
5
|
+
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
|
|
6
|
+
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
|
|
7
|
+
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
|
|
8
|
+
<soap:Header>
|
|
9
|
+
<wsa:Action>ScheduleResponse</wsa:Action>
|
|
10
|
+
<wsa:MessageID>urn:uuid:b58a82d9-a251-4be4-b50c-bd300d71601d</wsa:MessageID>
|
|
11
|
+
<wsa:RelatesTo>urn:uuid:9d3dbeb3-68b7-4f0a-b0af-04855dc0fd1e</wsa:RelatesTo>
|
|
12
|
+
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
|
|
13
|
+
<wsse:Security>
|
|
14
|
+
<wsu:Timestamp wsu:Id="Timestamp-5ff54ff3-2408-496a-b4ea-6df5e9ebee03">
|
|
15
|
+
<wsu:Created>2023-07-05T10:29:58Z</wsu:Created>
|
|
16
|
+
<wsu:Expires>2023-07-05T10:34:58Z</wsu:Expires>
|
|
17
|
+
</wsu:Timestamp>
|
|
18
|
+
</wsse:Security>
|
|
19
|
+
</soap:Header>
|
|
20
|
+
<soap:Body>
|
|
21
|
+
<ScheduleResponseMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
|
|
22
|
+
<Results>
|
|
23
|
+
<Result>
|
|
24
|
+
<StatusCode>OK</StatusCode>
|
|
25
|
+
<StatusMessage>Program scheduled.</StatusMessage>
|
|
26
|
+
<RequestID>3a677ca8-5423-4d59-a1bb-c5fbe1c87197</RequestID>
|
|
27
|
+
<Object>
|
|
28
|
+
<PartnerKey xsi:nil="true" />
|
|
29
|
+
<ObjectID xsi:nil="true" />
|
|
30
|
+
<Recurrence xsi:type="DailyRecurrence">
|
|
31
|
+
<DailyRecurrencePatternType>Interval</DailyRecurrencePatternType>
|
|
32
|
+
<DayInterval>1</DayInterval>
|
|
33
|
+
</Recurrence>
|
|
34
|
+
<RecurrenceType>Daily</RecurrenceType>
|
|
35
|
+
<RecurrenceRangeType>EndAfter</RecurrenceRangeType>
|
|
36
|
+
<StartDateTime>2023-07-05T16:00:57</StartDateTime>
|
|
37
|
+
<Occurrences>1</Occurrences>
|
|
38
|
+
<TimeZone>
|
|
39
|
+
<PartnerKey xsi:nil="true" />
|
|
40
|
+
<ID>5</ID>
|
|
41
|
+
<ObjectID xsi:nil="true" />
|
|
42
|
+
</TimeZone>
|
|
43
|
+
</Object>
|
|
44
|
+
<Task />
|
|
45
|
+
</Result>
|
|
46
|
+
</Results>
|
|
47
|
+
<OverallStatus>OK</OverallStatus>
|
|
48
|
+
<OverallStatusMessage />
|
|
49
|
+
<RequestID>cfe97488-3c5e-49a9-b338-c0e9f6b6f684</RequestID>
|
|
50
|
+
</ScheduleResponseMsg>
|
|
51
|
+
</soap:Body>
|
|
52
|
+
</soap:Envelope>
|
package/test/resources/9999999/automation/schedule-a8afb0e2-b00a-4c88-ad2e-1f7f8788c560-response.xml
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
|
3
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
4
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
5
|
+
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
|
|
6
|
+
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
|
|
7
|
+
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
|
|
8
|
+
<soap:Header>
|
|
9
|
+
<wsa:Action>ScheduleResponse</wsa:Action>
|
|
10
|
+
<wsa:MessageID>urn:uuid:6c743640-b80f-456a-abed-b542247f2414</wsa:MessageID>
|
|
11
|
+
<wsa:RelatesTo>urn:uuid:29fc6536-3c75-4e07-a05d-e63f7ee520d3</wsa:RelatesTo>
|
|
12
|
+
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
|
|
13
|
+
<wsse:Security>
|
|
14
|
+
<wsu:Timestamp wsu:Id="Timestamp-49e9b916-1ac1-4cb0-bacc-d0060fdca2ec">
|
|
15
|
+
<wsu:Created>2023-07-04T13:13:15Z</wsu:Created>
|
|
16
|
+
<wsu:Expires>2023-07-04T13:18:15Z</wsu:Expires>
|
|
17
|
+
</wsu:Timestamp>
|
|
18
|
+
</wsse:Security>
|
|
19
|
+
</soap:Header>
|
|
20
|
+
<soap:Body>
|
|
21
|
+
<ScheduleResponseMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
|
|
22
|
+
<Results>
|
|
23
|
+
<Result>
|
|
24
|
+
<StatusCode>OK</StatusCode>
|
|
25
|
+
<StatusMessage>Program scheduled.</StatusMessage>
|
|
26
|
+
<RequestID>89cd977a-3927-49fa-b8e5-47c7e6093bef</RequestID>
|
|
27
|
+
<Object>
|
|
28
|
+
<PartnerKey xsi:nil="true" />
|
|
29
|
+
<ObjectID xsi:nil="true" />
|
|
30
|
+
<Recurrence xsi:type="MinutelyRecurrence">
|
|
31
|
+
<MinutelyRecurrencePatternType>Interval</MinutelyRecurrencePatternType>
|
|
32
|
+
<MinuteInterval>5</MinuteInterval>
|
|
33
|
+
</Recurrence>
|
|
34
|
+
<RecurrenceType>Minutely</RecurrenceType>
|
|
35
|
+
<RecurrenceRangeType>EndOn</RecurrenceRangeType>
|
|
36
|
+
<StartDateTime>2023-07-04T06:21:14.408</StartDateTime>
|
|
37
|
+
<EndDateTime>2079-06-06T20:00:00</EndDateTime>
|
|
38
|
+
<TimeZone>
|
|
39
|
+
<PartnerKey xsi:nil="true" />
|
|
40
|
+
<ID>5</ID>
|
|
41
|
+
<ObjectID xsi:nil="true" />
|
|
42
|
+
</TimeZone>
|
|
43
|
+
</Object>
|
|
44
|
+
<Task />
|
|
45
|
+
</Result>
|
|
46
|
+
</Results>
|
|
47
|
+
<OverallStatus>OK</OverallStatus>
|
|
48
|
+
<OverallStatusMessage />
|
|
49
|
+
<RequestID>3b03417b-649e-4a1d-963d-05f42fc8f1b5</RequestID>
|
|
50
|
+
</ScheduleResponseMsg>
|
|
51
|
+
</soap:Body>
|
|
52
|
+
</soap:Envelope>
|
|
@@ -7,8 +7,7 @@
|
|
|
7
7
|
"endDate": "2022-07-30T00:00:00",
|
|
8
8
|
"icalRecur": "FREQ=DAILY;COUNT=1;INTERVAL=1",
|
|
9
9
|
"startDate": "2022-07-30T00:00:00",
|
|
10
|
-
"timezoneName": "W. Europe Standard Time"
|
|
11
|
-
"typeId": 3
|
|
10
|
+
"timezoneName": "W. Europe Standard Time"
|
|
12
11
|
},
|
|
13
12
|
"status": "PausedSchedule",
|
|
14
13
|
"steps": [
|
|
@@ -7,8 +7,7 @@
|
|
|
7
7
|
"endDate": "2022-07-30T00:00:00",
|
|
8
8
|
"icalRecur": "FREQ=DAILY;COUNT=1;INTERVAL=1",
|
|
9
9
|
"startDate": "2022-07-30T00:00:00",
|
|
10
|
-
"timezoneName": "W. Europe Standard Time"
|
|
11
|
-
"typeId": 3
|
|
10
|
+
"timezoneName": "W. Europe Standard Time"
|
|
12
11
|
},
|
|
13
12
|
"status": "PausedSchedule",
|
|
14
13
|
"steps": [
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
|
|
13
13
|
* Start: 2022-07-30 00:00:00 +01:00
|
|
14
14
|
* End: 2022-07-30 00:00:00 +01:00
|
|
15
|
-
* Timezone:
|
|
16
|
-
* Recurrance:
|
|
15
|
+
* Timezone: W. Europe Standard Time
|
|
16
|
+
* Recurrance: run only once
|
|
17
17
|
|
|
18
18
|
**Notifications:** _none_
|
|
19
19
|
|