-
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.
Merge pull request #1267 from Accenture/feature/1266-add-support-for-…
…sendclassification-createupdatedelete-and-resolve-deliveryprofile-and-senderprofile Feature/1266 add support for sendClassification create/update/delete and resolve deliveryProfile and senderProfile
- Loading branch information
Showing
18 changed files
with
619 additions
and
23 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
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
8 changes: 8 additions & 0 deletions
8
...ce/testBU/sendClassification/testExisting_sendClassification.sendClassification-meta.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,8 @@ | ||
{ | ||
"CustomerKey": "testExisting_sendClassification", | ||
"Name": "testExisting_sendClassification", | ||
"Description": "updated on deploy", | ||
"c__classification": "Commercial", | ||
"r__senderProfile_CustomerKey": "testExisting_senderProfile", | ||
"r__deliveryProfile_key": "Default" | ||
} |
8 changes: 8 additions & 0 deletions
8
...nstance/testBU/sendClassification/testNew_sendClassification.sendClassification-meta.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,8 @@ | ||
{ | ||
"CustomerKey": "testNew_sendClassification", | ||
"Name": "testNew_sendClassification", | ||
"Description": "created on deploy", | ||
"c__classification": "Commercial", | ||
"r__senderProfile_CustomerKey": "testExisting_senderProfile", | ||
"r__deliveryProfile_key": "Default" | ||
} |
8 changes: 8 additions & 0 deletions
8
test/resources/9999999/sendClassification/build-expected.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,8 @@ | ||
{ | ||
"CustomerKey": "testTemplated_sendClassification", | ||
"Description": "", | ||
"Name": "testTemplated_sendClassification", | ||
"c__classification": "Commercial", | ||
"r__deliveryProfile_key": "Default", | ||
"r__senderProfile_CustomerKey": "testTemplated_senderProfile" | ||
} |
51 changes: 51 additions & 0 deletions
51
test/resources/9999999/sendClassification/create-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,51 @@ | ||
<?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>CreateResponse</wsa:Action> | ||
<wsa:MessageID>urn:uuid:bb642235-9021-414c-8f0e-31d693a573e8</wsa:MessageID> | ||
<wsa:RelatesTo>urn:uuid:b49d6c14-33d7-4ba8-8aea-0fe3282fdbfd</wsa:RelatesTo> | ||
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To> | ||
<wsse:Security> | ||
<wsu:Timestamp wsu:Id="Timestamp-3e603e14-dc4c-4733-be8a-e2d8d3e205cb"> | ||
<wsu:Created>2024-04-15T21:38:02Z</wsu:Created> | ||
<wsu:Expires>2024-04-15T21:43:02Z</wsu:Expires> | ||
</wsu:Timestamp> | ||
</wsse:Security> | ||
</soap:Header> | ||
<soap:Body> | ||
<CreateResponse xmlns="http://exacttarget.com/wsdl/partnerAPI"> | ||
<Results> | ||
<StatusCode>OK</StatusCode> | ||
<StatusMessage>SendClassification created</StatusMessage> | ||
<OrdinalID>0</OrdinalID> | ||
<NewID>0</NewID> | ||
<NewObjectID>07cf2a6e-70fb-ee11-a5c8-5cba2c6fc270</NewObjectID> | ||
<Object xsi:type="SendClassification"> | ||
<PartnerKey xsi:nil="true" /> | ||
<ObjectID>07cf2a6e-70fb-ee11-a5c8-5cba2c6fc270</ObjectID> | ||
<CustomerKey>testNew_sendClassification</CustomerKey> | ||
<SendClassificationType>Operational</SendClassificationType> | ||
<Name>testNew_sendClassification</Name> | ||
<Description>created on deploy</Description> | ||
<SenderProfile> | ||
<PartnerKey xsi:nil="true" /> | ||
<ObjectID xsi:nil="true" /> | ||
<CustomerKey>testExisting_senderProfile</CustomerKey> | ||
</SenderProfile> | ||
<DeliveryProfile> | ||
<PartnerKey xsi:nil="true" /> | ||
<ObjectID xsi:nil="true" /> | ||
<CustomerKey>Default</CustomerKey> | ||
</DeliveryProfile> | ||
</Object> | ||
</Results> | ||
<RequestID>d5f798f9-02eb-4b76-a4b4-90cfee939ce2</RequestID> | ||
<OverallStatus>OK</OverallStatus> | ||
</CreateResponse> | ||
</soap:Body> | ||
</soap:Envelope> |
Oops, something went wrong.