forked from lesleyhiggins/sfmc-data-views
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJourney Activity
74 lines (74 loc) · 3.46 KB
/
Journey Activity
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?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>Journey Activity Data View</CustomerKey>
<Name>Journey Activity Data View</Name>
<Description>Mimics the Journey Activity Data View</Description>
<IsSendable>false</IsSendable>
<IsTestable>false</IsTestable>
<Fields>
<Field xsi:type="ns2:DataExtensionField">
<CustomerKey>VersionID</CustomerKey>
<Name>VersionID</Name>
<Label>VersionID</Label>
<IsRequired>true</IsRequired>
<IsPrimaryKey>false</IsPrimaryKey>
<FieldType>Text</FieldType>
<MaxLength>36</MaxLength>
</Field>
<Field xsi:type="ns2:DataExtensionField">
<CustomerKey>ActivityID</CustomerKey>
<Name>ActivityID</Name>
<Label>ActivityID</Label>
<IsRequired>true</IsRequired>
<IsPrimaryKey>false</IsPrimaryKey>
<FieldType>Text</FieldType>
<MaxLength>36</MaxLength>
</Field>
<Field xsi:type="ns2:DataExtensionField">
<CustomerKey>ActivityName</CustomerKey>
<Name>ActivityName</Name>
<Label>ActivityName</Label>
<IsRequired>false</IsRequired>
<IsPrimaryKey>false</IsPrimaryKey>
<FieldType>Text</FieldType>
<MaxLength>200</MaxLength>
</Field>
<Field xsi:type="ns2:DataExtensionField">
<CustomerKey>ActivityExternalKey</CustomerKey>
<Name>ActivityExternalKey</Name>
<Label>ActivityExternalKey</Label>
<IsRequired>true</IsRequired>
<IsPrimaryKey>false</IsPrimaryKey>
<FieldType>Text</FieldType>
<MaxLength>200</MaxLength>
</Field>
<Field xsi:type="ns2:DataExtensionField">
<CustomerKey>JourneyActivityObjectID</CustomerKey>
<Name>JourneyActivityObjectID</Name>
<Label>JourneyActivityObjectID</Label>
<IsRequired>false</IsRequired>
<IsPrimaryKey>false</IsPrimaryKey>
<FieldType>Text</FieldType>
<MaxLength>36</MaxLength>
</Field>
<Field xsi:type="ns2:DataExtensionField">
<CustomerKey>ActivityType</CustomerKey>
<Name>ActivityType</Name>
<Label>ActivityType</Label>
<IsRequired>false</IsRequired>
<IsPrimaryKey>false</IsPrimaryKey>
<FieldType>Text</FieldType>
<MaxLength>256</MaxLength>
</Field>
</Fields>
</Objects>
</CreateRequest>
</soapenv:Body>
</soapenv:Envelope>