-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#1189: fixing test cases to deal with additional api request
- Loading branch information
1 parent
ff32087
commit d100576
Showing
12 changed files
with
180 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
...rces/9999999/automation/v1/imports/9d16f42c-2260-ed11-b849-48df37d1de8b/get-response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"allowErrors": true, | ||
"customerKey": "testExisting_importFile", | ||
"createdDate": "2022-11-09T05:32:30.533", | ||
"modifiedDate": "2022-11-17T07:13:03.95", | ||
"dateFormatLocale": "en-US", | ||
"deleteFile": false, | ||
"description": "17.11.2022", | ||
"destinationObjectId": "21711373-72c1-ec11-b83b-48df37d1deb7", | ||
"destinationId": 0, | ||
"destinationObjectTypeId": 310, | ||
"destinationName": "testExisting_dataExtension", | ||
"encodingName": "utf-8", | ||
"fieldMappings": [], | ||
"fieldMappingType": "InferFromColumnHeadings", | ||
"fileNamingPattern": "blabla", | ||
"fileTransferLocationId": "41a5ded7-0d98-4910-a15f-d09e7ab0af24", | ||
"fileTransferLocationName": "ExactTarget Enhanced FTP", | ||
"fileType": "CSV", | ||
"filter": "", | ||
"hasColumnHeader": true, | ||
"importDefinitionId": "9d16f42c-2260-ed11-b849-48df37d1de8b", | ||
"isOrderedImport": true, | ||
"isSequential": true, | ||
"maxFileAgeHours": 0, | ||
"maxImportFrequencyHours": 0, | ||
"maxFileAgeScheduleOffsetHours": 0, | ||
"name": "testExisting_importFile", | ||
"sendEmailNotification": false, | ||
"standardQuotedStrings": true, | ||
"subscriberImportTypeId": 255, | ||
"updateTypeId": 0, | ||
"fileTransferLocationTypeId": 0, | ||
"blankFileProcessingType": 2 | ||
} |
24 changes: 14 additions & 10 deletions
24
...es/9999999/automation/v1/imports/9d16f42c-2260-ed11-b849-48df37d1de8b/patch-response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,35 @@ | ||
{ | ||
"allowErrors": true, | ||
"customerKey": "testExisting_importFile", | ||
"createdDate": "2022-11-09T05:32:30.533", | ||
"modifiedDate": "2023-07-18T09:11:26.19", | ||
"dateFormatLocale": "en-US", | ||
"deleteFile": false, | ||
"description": "updated on deploy", | ||
"fieldMappingType": "InferFromColumnHeadings", | ||
"destinationObjectId": "21711373-72c1-ec11-b83b-48df37d1deb7", | ||
"destinationId": 0, | ||
"destinationObjectTypeId": 310, | ||
"destinationName": "testExisting_dataExtension", | ||
"encodingName": "utf-8", | ||
"fieldMappings": [], | ||
"fieldMappingType": "InferFromColumnHeadings", | ||
"fileNamingPattern": "blabla", | ||
"fileTransferLocationTypeId": 0, | ||
"fileTransferLocationId": "41a5ded7-0d98-4910-a15f-d09e7ab0af24", | ||
"fileTransferLocationName": "ExactTarget Enhanced FTP", | ||
"fileType": "CSV", | ||
"filter": "", | ||
"hasColumnHeader": true, | ||
"importDefinitionId": "9d16f42c-2260-ed11-b849-48df37d1de8b", | ||
"isOrderedImport": true, | ||
"isSequential": true, | ||
"maxFileAgeHours": 0, | ||
"maxFileAgeScheduleOffsetHours": 0, | ||
"maxImportFrequencyHours": 0, | ||
"maxFileAgeScheduleOffsetHours": 0, | ||
"name": "testExisting_importFile", | ||
"sendEmailNotification": false, | ||
"standardQuotedStrings": true, | ||
"fileTransferLocationId": "41a5ded7-0d98-4910-a15f-d09e7ab0af24", | ||
"destinationObjectId": "21711373-72c1-ec11-b83b-48df37d1deb7", | ||
"destinationObjectTypeId": 310, | ||
"subscriberImportTypeId": 255, | ||
"updateTypeId": 0, | ||
"importDefinitionId": "9d16f42c-2260-ed11-b849-48df37d1de8b", | ||
"createdDate": "2022-11-09T05:53:03.243", | ||
"destinationId": 0, | ||
"modifiedDate": "2023-07-18T09:11:26.19" | ||
"fileTransferLocationTypeId": 0, | ||
"blankFileProcessingType": 1 | ||
} |
30 changes: 30 additions & 0 deletions
30
...ources/9999999/importDefinition/retrieve-CustomerKey=testExisting_importFile-response.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:xsd="http://www.w3.org/2001/XMLSchema" | ||
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" | ||
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" | ||
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> | ||
<soap:Header> | ||
<wsa:Action>RetrieveResponse</wsa:Action> | ||
<wsa:MessageID>urn:uuid:58a4181c-9ea7-4d26-835b-f1eb50877b0b</wsa:MessageID> | ||
<wsa:RelatesTo>urn:uuid:dab39bb4-2262-453a-9cb1-c591db9222d9</wsa:RelatesTo> | ||
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To> | ||
<wsse:Security> | ||
<wsu:Timestamp wsu:Id="Timestamp-b8a68a2b-ad18-4ac0-8cea-dabe7d7d55c9"> | ||
<wsu:Created>2024-01-25T21:59:01Z</wsu:Created> | ||
<wsu:Expires>2024-01-25T22:04:01Z</wsu:Expires> | ||
</wsu:Timestamp> | ||
</wsse:Security> | ||
</soap:Header> | ||
<soap:Body> | ||
<RetrieveResponseMsg xmlns="http://exacttarget.com/wsdl/partnerAPI"> | ||
<OverallStatus>OK</OverallStatus> | ||
<RequestID>fdc476c9-46dc-43f5-b8a6-57f2299c65ac</RequestID> | ||
<Results xsi:type="ImportDefinition"> | ||
<PartnerKey xsi:nil="true" /> | ||
<ObjectID>9d16f42c-2260-ed11-b849-48df37d1de8b</ObjectID> | ||
</Results> | ||
</RetrieveResponseMsg> | ||
</soap:Body> | ||
</soap:Envelope> |
30 changes: 30 additions & 0 deletions
30
test/resources/9999999/importDefinition/retrieve-Name=testExisting_importFile-response.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:xsd="http://www.w3.org/2001/XMLSchema" | ||
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" | ||
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" | ||
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> | ||
<soap:Header> | ||
<wsa:Action>RetrieveResponse</wsa:Action> | ||
<wsa:MessageID>urn:uuid:58a4181c-9ea7-4d26-835b-f1eb50877b0b</wsa:MessageID> | ||
<wsa:RelatesTo>urn:uuid:dab39bb4-2262-453a-9cb1-c591db9222d9</wsa:RelatesTo> | ||
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To> | ||
<wsse:Security> | ||
<wsu:Timestamp wsu:Id="Timestamp-b8a68a2b-ad18-4ac0-8cea-dabe7d7d55c9"> | ||
<wsu:Created>2024-01-25T21:59:01Z</wsu:Created> | ||
<wsu:Expires>2024-01-25T22:04:01Z</wsu:Expires> | ||
</wsu:Timestamp> | ||
</wsse:Security> | ||
</soap:Header> | ||
<soap:Body> | ||
<RetrieveResponseMsg xmlns="http://exacttarget.com/wsdl/partnerAPI"> | ||
<OverallStatus>OK</OverallStatus> | ||
<RequestID>fdc476c9-46dc-43f5-b8a6-57f2299c65ac</RequestID> | ||
<Results xsi:type="ImportDefinition"> | ||
<PartnerKey xsi:nil="true" /> | ||
<ObjectID>9d16f42c-2260-ed11-b849-48df37d1de8b</ObjectID> | ||
</Results> | ||
</RetrieveResponseMsg> | ||
</soap:Body> | ||
</soap:Envelope> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.