Create, Retrieve, Update, and Delete Folders

You can use SOAP API to interact with new or existing folders in your account. Use these folders to better organize the portfolio items, programs, or other assets in your account. This process allows you to maintain the tight integration between your development environment and Marketing Cloud Engagement.

Use these code examples to create your own API calls.

Create a Folder 

The Create call requires the name of the folder, the description of the folder, and the parent folder in which to place the new folder. You can specify whether the folder is active, editable, or can support child folders using Boolean operators outlined in the sample code.

By default, the Create call for a DataFolder object sets the IsEditable and AllowChildren properties to false.

Note

.NET Code Example 

1private void CreateDataFolder()
2{
3    SoapClient framework2 = new SoapClient();
4    framework2.ClientCredentials.UserName.UserName = "xxx";
5    framework2.ClientCredentials.UserName.Password = "xxx";
6    String requestID;
7    String status;
8    DataFolder datafolder = new DataFolder();
9    datafolder.Name = "API Created Folder";
10    datafolder.Description = "API Created Folder";
11    datafolder.ParentFolder = new DataFolder();
12    datafolder.ParentFolder.ID = 12345; // This is the ID of the 'my emails' folder that you can get from doing a retrieve
13    datafolder.ParentFolder.IDSpecified = true;
14    datafolder.ContentType = "email";
15    CreateResult[] cresults = framework2.Create(new CreateOptions(), new APIObject[] { datafolder }, out requestID, out status);
16    foreach (CreateResult result in cresults)
17    {
18        Console.WriteLine(result.StatusMessage);
19    }
20    Console.WriteLine(requestID + ": " + status);
21}

SOAP Envelope Example 

1<?xml version="1.0" encoding="UTF-8"?>
2<SOAP-ENV:Envelope
3	xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
4	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
5	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
6	<SOAP-ENV:Header>
7		<wsse:Security
8			xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
9			xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
10			<wsu:Timestamp>
11				<wsu:Created>2010-06-02T14:40:19Z</wsu:Created>
12				<wsu:Expires>2010-06-02T14:45:19Z</wsu:Expires>
13			</wsu:Timestamp>
14			<wsse:UsernameToken>
15				<wsse:Username>XXX</wsse:Username>
16				<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">XXX</wsse:Password>
17				<wsse:Nonce>XXX</wsse:Nonce>
18				<wsu:Created>2010-06-02T14:40:19Z</wsu:Created>
19			</wsse:UsernameToken>
20		</wsse:Security>
21	</SOAP-ENV:Header>
22	<SOAP-ENV:Body>
23		<CreateRequest
24			xmlns="http://exacttarget.com/wsdl/partnerAPI">
25			<Options/>
26			<ns1:Objects
27				xmlns:ns1="http://exacttarget.com/wsdl/partnerAPI" xsi:type="ns1:DataFolder">
28				<ns1:ModifiedDate xsi:nil="true"/>
29				<ns1:ObjectID xsi:nil="true"/>
30				<ns1:CustomerKey>email folder1</ns1:CustomerKey>
31				<ns1:ParentFolder>
32					<ns1:ModifiedDate xsi:nil="true"/>
33					<ns1:ID>123</ns1:ID>
34					<ns1:ObjectID xsi:nil="true"/>
35				</ns1:ParentFolder>
36				<ns1:Name>email folder1</ns1:Name>
37				<ns1:Description>email folder1</ns1:Description>
38				<ns1:ContentType>email</ns1:ContentType>
39				<ns1:IsActive>true</ns1:IsActive>
40				<ns1:IsEditable>true</ns1:IsEditable>
41				<ns1:AllowChildren>true</ns1:AllowChildren>
42			</ns1:Objects>
43			<ns2:Objects
44				xmlns:ns2="http://exacttarget.com/wsdl/partnerAPI" xsi:type="ns2:DataFolder">
45				<ns2:ModifiedDate xsi:nil="true"/>
46				<ns2:ObjectID xsi:nil="true"/>
47				<ns2:CustomerKey>email folder2</ns2:CustomerKey>
48				<ns2:ParentFolder>
49					<ns2:ModifiedDate xsi:nil="true"/>
50					<ns2:ID>124</ns2:ID>
51					<ns2:ObjectID xsi:nil="true"/>
52				</ns2:ParentFolder>
53				<ns2:Name>email folder2</ns2:Name>
54				<ns2:Description>email folder2</ns2:Description>
55				<ns2:ContentType>email</ns2:ContentType>
56				<ns2:IsActive>true</ns2:IsActive>
57				<ns2:IsEditable>true</ns2:IsEditable>
58				<ns2:AllowChildren>true</ns2:AllowChildren>
59			</ns2:Objects>
60			<ns3:Objects
61				xmlns:ns3="http://exacttarget.com/wsdl/partnerAPI" xsi:type="ns3:DataFolder">
62				<ns3:ModifiedDate xsi:nil="true"/>
63				<ns3:ObjectID xsi:nil="true"/>
64				<ns3:CustomerKey>email folder3</ns3:CustomerKey>
65				<ns3:ParentFolder>
66					<ns3:ModifiedDate xsi:nil="true"/>
67					<ns3:ID>125</ns3:ID>
68					<ns3:ObjectID xsi:nil="true"/>
69				</ns3:ParentFolder>
70				<ns3:Name>email folder3</ns3:Name>
71				<ns3:Description>email folder3</ns3:Description>
72				<ns3:ContentType>email</ns3:ContentType>
73				<ns3:IsActive>true</ns3:IsActive>
74				<ns3:IsEditable>true</ns3:IsEditable>
75				<ns3:AllowChildren>true</ns3:AllowChildren>
76			</ns3:Objects>
77		</CreateRequest>
78	</SOAP-ENV:Body>
79</SOAP-ENV:Envelope>

The SOAP response contains information about the folder.

1<?xml version="1.0" encoding="UTF-8"?>
2<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
3    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
4    xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
5    xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
6    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
7    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
8    <soap:Header>
9        <wsa:Action>CreateResponse</wsa:Action>
10        <wsa:MessageID>urn:uuid:cb885f66-cfca-4022-a179-98eaf7cc85a2</wsa:MessageID>
11        <wsa:RelatesTo>urn:uuid:a78f7bbd-ecda-4faf-ace9-3f9b19b486ad</wsa:RelatesTo>
12        <wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
13        <wsse:Security>
14            <wsu:Timestamp
15                wsu:Id="Timestamp-e79bfbd7-b1ed-4eaa-8c35-9e3ccba1d86b">
16                <wsu:Created>2010-06-02T14:40:19Z</wsu:Created>
17                <wsu:Expires>2010-06-02T14:45:19Z</wsu:Expires>
18            </wsu:Timestamp>
19        </wsse:Security>
20        </soap:Header>
21        <soap:Body>
22            <CreateResponse xmlns="http://exacttarget.com/wsdl/partnerAPI">
23                <Results>
24                    <StatusCode>OK</StatusCode>
25                    <StatusMessage>Folder created successfully.</StatusMessage>
26                    <OrdinalID>0</OrdinalID>
27                    <NewID>705821</NewID>
28                    <NewObjectID>72c97bcc-3992-4e69-ac1d-0d21d71209f4</NewObjectID>
29                </Results>
30                <Results>
31                    <StatusCode>OK</StatusCode>
32                    <StatusMessage>Folder created successfully.</StatusMessage>
33                    <OrdinalID>1</OrdinalID>
34                    <NewID>705822</NewID>
35                    <NewObjectID>0dcc63d3-cfbe-4d9e-83d0-13e99cbdbe9c</NewObjectID>
36                </Results>
37                <Results>
38                    <StatusCode>OK</StatusCode>
39                    <StatusMessage>Folder created successfully.</StatusMessage>
40                    <OrdinalID>2</OrdinalID>
41                    <NewID>705823</NewID>
42                    <NewObjectID>30c709fa-bbc2-4571-ae00-079c4511a1e0</NewObjectID>
43                </Results>
44                <RequestID>bd23ba6f-c491-480f-bb47-6b9e5d5b7a22</RequestID>
45                <OverallStatus>OK</OverallStatus>
46            </CreateResponse>
47        </soap:Body>
48</soap:Envelope>

Retrieve Folders 

.NET Code Example 

1private void RetrieveDataFolder(object sender, EventArgs e)
2{
3    SoapClient framework = new SoapClient();
4    framework.ClientCredentials.UserName.UserName = "xxx";
5    framework.ClientCredentials.UserName.Password = "xxx";
6    String requestID;
7    String status;
8    APIObject[] results;
9    SimpleFilterPart sfp = new SimpleFilterPart();
10    sfp.Property = "ContentType";
11    sfp.SimpleOperator = SimpleOperators.equals;
12    sfp.Value = new string[] { "email" };
13    RetrieveRequest rr = new RetrieveRequest();
14    rr.ObjectType = "DataFolder";
15    rr.Properties = new string[] { "ID", "Name"};
16    rr.Filter = sfp;
17    status = framework.Retrieve(rr, out requestID, out results);
18    Console.WriteLine(status);
19    foreach (DataFolder df in results)
20    {
21        Console.WriteLine("Folder Name: " + df.Name);
22        Console.WriteLine("Folder ID: " + df.ID);
23    }
24}

Sample SOAP Envelope 

1<?xml version="1.0" encoding="UTF-8"?>
2<SOAP-ENV:Envelope
3    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
4    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
5    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
6    <SOAP-ENV:Header>
7        <wsse:Security
8            xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
9            xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
10            <wsu:Timestamp>
11                <wsu:Created>2010-06-02T14:40:30Z</wsu:Created>
12                <wsu:Expires>2010-06-02T14:45:30Z</wsu:Expires>
13            </wsu:Timestamp>
14            <wsse:UsernameToken>
15                <wsse:Username>XXX</wsse:Username>
16                <wsse:Password
17                        Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">XXX</wsse:Password>
18                <wsse:Nonce>XXX</wsse:Nonce>
19                <wsu:Created>2010-06-02T14:40:30Z</wsu:Created>
20            </wsse:UsernameToken>
21        </wsse:Security>     </SOAP-ENV:Header>
22    <SOAP-ENV:Body>
23        <RetrieveRequestMsg
24            xmlns="http://exacttarget.com/wsdl/partnerAPI">
25            <RetrieveRequest>
26                <ObjectType>DataFolder</ObjectType>
27                <Properties>ID</Properties>
28                <Properties>Description</Properties>
29                <Properties>ParentFolder.Description</Properties>
30                <Properties>Client.ID</Properties>
31                <Properties>ParentFolder.CustomerKey</Properties>
32                <Properties>Name</Properties>
33                <Properties>ContentType</Properties>
34                <Properties>ParentFolder.Name</Properties>
35                <Properties>ObjectID</Properties>
36                <Properties>ParentFolder.ObjectID</Properties>
37                <ns1:Filter
38                        xmlns:ns1="http://exacttarget.com/wsdl/partnerAPI" xsi:type="ns1:SimpleFilterPart">
39                        <ns1:Property>ID</ns1:Property>
40                        <ns1:SimpleOperator>IN</ns1:SimpleOperator>
41                        <ns1:Value>705821</ns1:Value>
42                        <ns1:Value>705822</ns1:Value>
43                        <ns1:Value>705823</ns1:Value>
44                </ns1:Filter>
45                <QueryAllAccounts>false</QueryAllAccounts>
46            </RetrieveRequest>
47        </RetrieveRequestMsg>
48    </SOAP-ENV:Body>
49</SOAP-ENV:Envelope>

The response contains information about the folder.

1<?xml version="1.0" encoding="UTF-8"?>
2    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
3        xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
4        xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
5        xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
6        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
7        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
8        <soap:Header>
9            <wsa:Action>RetrieveResponse</wsa:Action>
10            <wsa:MessageID>urn:uuid:829ef1df-4a24-4d3c-825d-de0f18227177</wsa:MessageID>
11            <wsa:RelatesTo>urn:uuid:669d194c-c918-431f-8df9-579888a567ab</wsa:RelatesTo>
12            <wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
13            <wsse:Security>
14                <wsu:Timestamp
15                    wsu:Id="Timestamp-895b8734-c688-47df-834b-3a8dc85bd506">
16                <wsu:Created>2010-06-02T14:40:29Z</wsu:Created>
17                <wsu:Expires>2010-06-02T14:45:29Z</wsu:Expires>
18                </wsu:Timestamp>
19            </wsse:Security>
20        </soap:Header>
21        <soap:Body>
22            <RetrieveResponseMsg
23                xmlns="http://exacttarget.com/wsdl/partnerAPI">
24                <OverallStatus>OK</OverallStatus>
25                <RequestID>b985f834-933b-4177-b1e8-c8965a674cf9</RequestID>
26                <Results
27                    xsi:type="DataFolder">
28                    <Client>
29                        <ID>41018</ID>
30                    </Client>
31                    <ID>705821</ID>
32                    <ObjectID>72c97bcc-3992-4e69-ac1d-0d21d71209f4</ObjectID>
33                    <ParentFolder>
34                        <ObjectID>d991eb1a-7b3c-4482-823d-e93fe878592b</ObjectID>
35                        <Name>my emails</Name>
36                        <Description/>
37                    </ParentFolder>
38                    <Name>email folder1</Name>
39                    <Description>email folder1</Description>
40                    <ContentType>email</ContentType>
41                </Results>
42                <Results
43                    xsi:type="DataFolder">
44                    <Client>
45                        <ID>41018</ID>
46                    </Client>
47                    <ID>705822</ID>
48                    <ObjectID>0dcc63d3-cfbe-4d9e-83d0-13e99cbdbe9c</ObjectID>
49                    <ParentFolder>
50                        <ObjectID>d991eb1a-7b3c-4482-823d-e93fe878592b</ObjectID>
51                        <Name>my emails</Name>
52                        <Description/>
53                    </ParentFolder>
54                    <Name>email folder20100602104019403</Name>
55                    <Description>email folder20100602104019403</Description>
56                    <ContentType>email</ContentType>
57                </Results>
58                <Results
59                    xsi:type="DataFolder">
60                    <Client>
61                        <ID>41018</ID>
62                    </Client>
63                    <ID>705823</ID>
64                    <ObjectID>30c709fa-bbc2-4571-ae00-079c4511a1e0</ObjectID>
65                    <ParentFolder>
66                        <ObjectID>d991eb1a-7b3c-4482-823d-e93fe878592b</ObjectID>
67                        <Name>my emails</Name>
68                        <Description/>
69                    </ParentFolder>
70                    <Name>email folder20100602104019419</Name>
71                    <Description>email folder20100602104019419</Description>
72                    <ContentType>email</ContentType>
73                </Results>
74            </RetrieveResponseMsg>
75        </soap:Body>
76    </soap:Envelope>

Update Folders 

Sample SOAP Request 

1<?xml version="1.0" encoding="UTF-8"?>
2    <SOAP-ENV:Envelope
3        xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
4        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
5        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
6        <SOAP-ENV:Header>
7            <wsse:Security
8                xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
9                xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
10                <wsu:Timestamp>
11                    <wsu:Created>2010-06-02T14:40:34Z</wsu:Created>
12                    <wsu:Expires>2010-06-02T14:45:34Z</wsu:Expires>
13                </wsu:Timestamp>
14                <wsse:UsernameToken>
15                    <wsse:Username>XXX</wsse:Username>
16                    <wsse:Password
17                        Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">XXX</wsse:Password>
18                    <wsse:Nonce>XXX</wsse:Nonce>
19                    <wsu:Created>2010-06-02T14:40:34Z</wsu:Created>
20                </wsse:UsernameToken>
21            </wsse:Security>
22        </SOAP-ENV:Header>
23        <SOAP-ENV:Body>
24            <UpdateRequest
25                xmlns="http://exacttarget.com/wsdl/partnerAPI">
26                <Options/>
27                <ns1:Objects
28                    xmlns:ns1="http://exacttarget.com/wsdl/partnerAPI"
29                    xsi:type="ns1:DataFolder">
30                    <ns1:ModifiedDate
31                        xsi:nil="true"/>
32                    <ns1:ID>705821</ns1:ID>
33                    <ns1:ObjectID xsi:nil="true"/>
34                    <ns1:Name>changing the foldername</ns1:Name>
35                    <ns1:ContentType>email</ns1:ContentType>
36                    <ns1:IsEditable>true</ns1:IsEditable>
37                    <ns1:AllowChildren>true</ns1:AllowChildren>
38                </ns1:Objects>
39            </UpdateRequest>
40        </SOAP-ENV:Body>
41    </SOAP-ENV:Envelope>

The response contains information about the folders.

1<?xml version="1.0" encoding="UTF-8"?>
2    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
3        xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
4        xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
5        xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
6        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
7        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
8        <soap:Header>
9            <wsa:Action>UpdateResponse</wsa:Action>
10            <wsa:MessageID>urn:uuid:88320e26-abd4-49d2-b7f2-6494ab778856</wsa:MessageID>
11            <wsa:RelatesTo>urn:uuid:92d0f682-2f2b-484a-a5af-a700fb44899a</wsa:RelatesTo>
12            <wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
13            <wsse:Security>
14                <wsu:Timestamp
15                    wsu:Id="Timestamp-a3104331-a8c4-43a3-bcbd-4d3ecebcdee9">
16                    <wsu:Created>2010-06-02T14:40:34Z</wsu:Created>
17                    <wsu:Expires>2010-06-02T14:45:34Z</wsu:Expires>
18                </wsu:Timestamp>
19            </wsse:Security>
20        </soap:Header>
21        <soap:Body>
22            <UpdateResponse xmlns="http://exacttarget.com/wsdl/partnerAPI">
23                <Results>
24                    <StatusCode>OK</StatusCode>
25                    <StatusMessage>Folder updated successfully.</StatusMessage>
26                    <OrdinalID>0</OrdinalID>
27                </Results>
28                <RequestID>df6468d2-f3bc-4975-a441-c396f2dead24</RequestID>
29                <OverallStatus>OK</OverallStatus>
30            </UpdateResponse>
31        </soap:Body>
32    </soap:Envelope>

Delete Folders 

Example SOAP Envelope 

1<?xml version="1.0" encoding="UTF-8"?>
2    <SOAP-ENV:Envelope
3        xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
4        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
5        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
6        <SOAP-ENV:Header>
7            <wsse:Security
8                xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
9                xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
10                <wsu:Timestamp>
11                    <wsu:Created>2010-06-02T14:41:07Z</wsu:Created>
12                    <wsu:Expires>2010-06-02T14:46:07Z</wsu:Expires>
13                </wsu:Timestamp>
14                <wsse:UsernameToken>
15                    <wsse:Username>XXX</wsse:Username>
16                    <wsse:Password
17                        Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">XXX</wsse:Password>
18                    <wsse:Nonce>XXX</wsse:Nonce>
19                    <wsu:Created>2010-06-02T14:41:07Z</wsu:Created>
20                </wsse:UsernameToken>
21            </wsse:Security>
22        </SOAP-ENV:Header>
23        <SOAP-ENV:Body>
24            <DeleteRequest
25                xmlns="http://exacttarget.com/wsdl/partnerAPI">
26                <Options/>
27                <ns1:Objects
28                    xmlns:ns1="http://exacttarget.com/wsdl/partnerAPI"
29                    xsi:type="ns1:DataFolder">
30                    <ns1:ModifiedDate
31                    xsi:nil="true"/>
32                    <ns1:ID>705821</ns1:ID>
33                    <ns1:ObjectID xsi:nil="true"/>
34                </ns1:Objects>
35            </DeleteRequest>
36        </SOAP-ENV:Body>
37    </SOAP-ENV:Envelope>

The response contains information about the folders that were deleted.

1<?xml version="1.0" encoding="UTF-8"?>
2    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
3        xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
4        xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
5        xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
6        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
7        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
8        <soap:Header>
9            <wsa:Action>DeleteResponse</wsa:Action>
10            <wsa:MessageID>urn:uuid:20a68e8b-8ab2-42ef-9dc4-5d4aead5bddd</wsa:MessageID>
11            <wsa:RelatesTo>urn:uuid:d29c9e94-209e-4acb-9ef9-af44886f94ed</wsa:RelatesTo>
12            <wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
13            <wsse:Security>
14                <wsu:Timestamp
15                    wsu:Id="Timestamp-957bf0a1-765e-4d66-a0a8-fab49af86931">
16                    <wsu:Created>2010-06-02T14:41:06Z</wsu:Created>
17                    <wsu:Expires>2010-06-02T14:46:06Z</wsu:Expires>
18                </wsu:Timestamp>
19            </wsse:Security>
20        </soap:Header>
21        <soap:Body>
22            <DeleteResponse xmlns="http://exacttarget.com/wsdl/partnerAPI">
23                <Results>
24                    <StatusCode>OK</StatusCode>
25                    <StatusMessage>Folder deleted successfully.</StatusMessage>
26                    <OrdinalID>0</OrdinalID>
27                </Results>
28                <RequestID>a71aa629-64d8-4326-a26e-97a7a928dba5</RequestID>
29                <OverallStatus>OK</OverallStatus>
30            </DeleteResponse>
31        </soap:Body>
32    </soap:Envelope>