forked from lesleyhiggins/sfmc-data-views
-
Notifications
You must be signed in to change notification settings - Fork 0
/
EnterpriseAttribute
28 lines (28 loc) · 1.24 KB
/
EnterpriseAttribute
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header>
<fueloauth>{{accessToken}}</fueloauth>
</soapenv:Header>
<soapenv:Body>
<CreateRequest xmlns="http://exacttarget.com/wsdl/partnerAPI">
<Options/>
<Objects xsi:type="ns2:DataExtension" xmlns:ns2="http://exacttarget.com/wsdl/partnerAPI">
<CustomerKey>EnterpriseAttribute Data View</CustomerKey>
<Name>EnterpriseAttribute Data View</Name>
<Description>Mimics the EnterpriseAttribute Data View</Description>
<IsSendable>false</IsSendable>
<IsTestable>false</IsTestable>
<Fields>
<Field xsi:type="ns2:DataExtensionField">
<CustomerKey>SubscriberID</CustomerKey>
<Name>SubscriberID</Name>
<Label>SubscriberID</Label>
<IsRequired>true</IsRequired>
<IsPrimaryKey>false</IsPrimaryKey>
<FieldType>Number</FieldType>
</Field>
</Fields>
</Objects>
</CreateRequest>
</soapenv:Body>
</soapenv:Envelope>