-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathDefault.aspx
executable file
·159 lines (156 loc) · 5.91 KB
/
Default.aspx
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Marketo_SOAP_API_Sample_Project.Default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<!-- Settings -->
<table>
<tr>
<td colspan="2"><h2>Marketo API Connection Configuration</h2></td>
</tr>
<tr>
<td>User ID
</td>
<td>EncryptionID
</td>
</tr>
<tr>
<td><asp:TextBox ID="txtUserID" runat="server" Width="321px"></asp:TextBox>
</td>
<td><asp:TextBox ID="txtEncryptionID" runat="server" Width="381px"></asp:TextBox>
</td>
</tr>
</table>
<!-- Get Lead -->
<table>
<tr>
<td colspan="2"><h2>Make a Get Lead Call</h2></td>
</tr>
<tr>
<td valign="top">
<asp:Button ID="btnGetLeads" runat="server" Text="Execute" onclick="btnGetLeads_Click" />
</td>
<td valign="top">
<asp:TextBox ID="txtLeadID" runat="server" Text="1155301"></asp:TextBox>
</td>
<td valign="top">
<asp:Label ID="lblResult" runat="server"></asp:Label>
</td>
<td valign="top">
<asp:Label ID="lblResultGetLead" runat="server"></asp:Label>
</td>
</tr>
</table>
<!-- Sync Lead -->
<table>
<tr>
<td colspan="2"><h2>Make a Sync Lead Call</h2></td>
</tr>
<tr>
<td valign="top">
<asp:Button ID="btnSyncLead" runat="server" Text="Execute"
onclick="btnSyncLead_Click" />
</td>
<td valign="top">
<asp:TextBox ID="txtEmail" runat="server" Text="angelo@marketo.com"></asp:TextBox>
</td>
<td valign="top">
<asp:Label ID="lblResultSyncLead" runat="server"></asp:Label>
</td>
<td valign="top">
<asp:Label ID="lblResultSyncLeadData" runat="server"></asp:Label>
</td>
</tr>
</table>
<!-- Request Campaign-->
<table>
<tr>
<td colspan="2"><h2>Make a Request Campaign Call</h2></td>
</tr>
<tr>
<td valign="top">
<asp:Button ID="btnRequestCampaign" runat="server" Text="Execute"
onclick="btnRequestCampaign_Click" />
</td>
<td valign="top">
<asp:TextBox ID="txtReqMarketoLead" runat="server" Text="1155301"></asp:TextBox>
<asp:TextBox ID="txtReqCampaignID" runat="server" Text="1118"></asp:TextBox>
</td>
<td valign="top">
<asp:Label ID="lblResultRequestCampaign" runat="server"></asp:Label>
</td>
<td valign="top">
<asp:Label ID="lblResultRequestCampaignData" runat="server"></asp:Label>
</td>
</tr>
</table>
<!-- Get Multiple Leads-->
<table>
<tr>
<td colspan="2"><h2>Make a getMultipleLeads Call to Return Marketo Leads changed
since lastUpdatedDate</h2></td>
</tr>
<tr>
<td valign="top">
<asp:Button ID="btnGetMultipleLeadsDate" runat="server" Text="Execute"
onclick="btnGetMultipleLeadsDate_Click" />
</td>
<td valign="top">
<asp:TextBox ID="txtGetMultipleLeadsDate" runat="server"
Text="2012-09-26T07:33:51-06:00"></asp:TextBox>
</td>
<td valign="top">
<asp:Label ID="lblResultGMLDate" runat="server"></asp:Label>
</td>
<td valign="top">
<asp:Label ID="lblResultGMLDateData" runat="server"></asp:Label>
</td>
</tr>
</table>
<!-- Get Multiple Leads-->
<table>
<tr>
<td colspan="2"><h2>Make a getMultipleLeads Call to Return Marketo Leads in existing
Static List</h2>
</td>
</tr>
<tr>
<td valign="top">
<asp:Button ID="btnGetMultipleLeadsList" runat="server" Text="Execute"
onclick="btnGetMultipleLeadsList_Click" />
</td>
<td valign="top">
<asp:TextBox ID="txtGetMultipleLeadsList" runat="server"
Text="Test_Static_List"></asp:TextBox>
</td>
<td valign="top">
<asp:Label ID="lblResultGMLList" runat="server"></asp:Label>
</td>
<td valign="top">
<asp:Label ID="lblResultGMLListData" runat="server"></asp:Label>
</td>
</tr>
</table>
<!-- Get Multiple Leads-->
<table>
<tr>
<td colspan="2"><h2>Make a getMultipleLeads Call to Return Marketo Leads - Pass in
LeadKey (i.e. IDs)</h2></td>
</tr>
<tr>
<td valign="top">
<asp:Button ID="btnGetMultipleLeadsLeadList" runat="server" Text="Execute"
onclick="btnGetMultipleLeadsLeadList_Click" />
</td>
<td valign="top">
<asp:TextBox ID="txtGetMultipleLeadsLeadsList" runat="server"
Text="318212,318213"></asp:TextBox>
</td>
<td valign="top">
<asp:Label ID="lblResultGMLListID" runat="server"></asp:Label>
</td>
<td valign="top">
<asp:Label ID="lblResultGMLListIDData" runat="server"></asp:Label>
</td>
</tr>
</table>
</asp:Content>