affiliate-window 0.2.0.pre1 → 0.2.1.pre1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +48 -0
  3. data/Gemfile.lock +70 -0
  4. data/VERSION +1 -0
  5. data/affiliate-window-0.2.0.pre1.gem +0 -0
  6. data/affiliate-window.gemspec +68 -0
  7. data/lib/affiliate-window/account.rb +48 -0
  8. data/lib/affiliate-window/clients/affiliate_service.rb +45 -0
  9. data/lib/affiliate-window/clients/category.rb +19 -0
  10. data/lib/affiliate-window/clients/merchant.rb +32 -0
  11. data/lib/affiliate-window/clients/shop_window.rb +45 -0
  12. data/lib/affiliate-window/helpers/account.rb +25 -0
  13. data/lib/affiliate-window/helpers/client.rb +23 -0
  14. data/lib/affiliate-window/helpers/csv.rb +24 -0
  15. data/lib/affiliate-window/models/transaction.rb +92 -0
  16. data/lib/affiliate-window/version.rb +10 -0
  17. data/spec/affiliate_window/account_spec.rb +33 -0
  18. data/spec/affiliate_window/clients/affiliate_service_spec.rb +51 -0
  19. data/spec/affiliate_window/clients/category_spec.rb +39 -0
  20. data/spec/affiliate_window/clients/merchant_spec.rb +48 -0
  21. data/spec/affiliate_window/clients/shop_window_spec.rb +41 -0
  22. data/spec/affiliate_window/helpers/account_spec.rb +0 -0
  23. data/spec/affiliate_window/helpers/csv_spec.rb +43 -0
  24. data/spec/affiliate_window/models/transaction_spec.rb +44 -0
  25. data/spec/affiliate_window_spec.rb +28 -0
  26. data/spec/fixtures/csv/merchants.csv +3 -0
  27. data/spec/fixtures/responses/affiliate_service_v3.wsdl +1039 -0
  28. data/spec/fixtures/responses/get_transaction_list.xml +310 -0
  29. data/spec/fixtures/responses/gtl.xml +300 -0
  30. data/spec/fixtures/responses/merchants.csv +32 -0
  31. data/spec/helper.rb +62 -0
  32. data/wsdl/affiliate_service_v3.wsdl +1029 -0
  33. metadata +32 -1
@@ -0,0 +1,32 @@
1
+ HTTP/1.1 200 OK
2
+ Date: Fri, 25 Nov 2011 17:47:15 GMT
3
+ Server: Apache/2.2.3 (Red Hat) PHP/4.4.9
4
+ X-Powered-By: PHP/4.4.9
5
+ Cache-Control: must-revalidate
6
+ Content-Disposition: attachment; filename=awMerchantMetadata.csv
7
+ P3P: policyref="http://www.affiliatewindow.com/w3c/p3p.xml", CP="CAO CURa ADMa DEVa TAIa CONi TELi OUR IND PHY ONL UNI COM NAV"
8
+ Vary: Accept-Encoding
9
+ Transfer-Encoding: chunked
10
+ Content-Type: application/csv
11
+
12
+ Merchant ID,Merchant Name,Logo,Active,Merchant Metadata Version,Strapline,Description,Default Clickthrough,Merchant Category,Product Feed Enabled,Datafeed Version,Product Feed Last Refreshed,Product Feed Last Modified,Product Feed No. Products,Display URL
13
+ "269","OutdoorGear UK","https://www.affiliatewindow.com/logos/269/logo.gif","yes","2","Let us help you get outdoors","OutdoorGear UK seeks to maintain and enhance its reputation as a competitive and honest retailer of camping equipment and outdoor leisure clothing. To achieve this we offer real value, and a comprehensive choice of excellent quality products.","http://www.awin1.com/awclick.php?mid=269&id=34475","Sports","yes","1113","2011-11-24 19:56:06","2011-11-24 20:02:11","2524","http://www.outdoorgear.co.uk"
14
+ "1199","My Favourite Magazines","https://www.affiliatewindow.com/logos/1199/logo.gif","yes","14","Think WHSmith","With over 550 stores on the high street and 490 stores at airports, train stations, hospitals and motorway services, WHSmith is one of the UK's leading retail groups and a household name.","http://www.awin1.com/awclick.php?mid=1199&id=34475","Books & Subscriptions","yes","680","2011-11-25 00:16:06","2011-11-25 00:22:11","332","http://www.myfavouritemagazines.co.uk"
15
+ "1302","Evans Cycles","https://www.affiliatewindow.com/logos/1302/logo.gif","yes","3","The UK's largest specialist cycle retailer","Evans Cycles are the UK's largest specialist cycle retailer. Our website stocks the most comprehensive range of bikes, cycling equipment and cycle clothing in the market. The range covers mountain biking, BMX, road cycling, commuting, folding bikes and kids bikes. Brands include Specialized, Trek, Kona, Cannondale, GT, Saracen, Raleigh and more. As well as stocking the latest gear we are also renowned for our massive stock of sale bikes and 'last chance' clothing and accessory items, many up to half price! Free delivery options for all UK orders.","http://www.awin1.com/awclick.php?mid=1302&id=34475","Sports","yes","1037","2011-11-25 07:38:06","2011-11-25 07:46:15","9450","http://www.evanscycles.com"
16
+ "234","SunglassesUK.com","https://www.affiliatewindow.com/logos/234/logo.gif","yes","4","SunglassesUK.com - Where the Celebs buy their Sunglasses!","Sunglasses UK has a terrific range of designer frames at highly competitive prices. Stocks are updated constantly with new styles and delivery is free and quick within the UK. Designs include Gucci, Oakley, Tom Ford, Bolle, Police, Dolce & Gabbana, D&G, Prada , Silhouette and Ray-Ban just to name a few.","http://www.awin1.com/awclick.php?mid=234&id=34475","Clothing & Accessories","yes","1125","2011-11-25 09:15:06","2011-11-25 09:57:13","752","http://www.sunglassesuk.com"
17
+ "1857","Wiggle Online Cycle Shop","https://www.affiliatewindow.com/logos/1857/logo.gif","yes","4","The UK's Number 1 online bike shop!","Officially the UK's number one online bike and cycle shop. With nearly 10 years online bike parts and accessories trading and a deep history and passion for cycling, we give our customers an experience of being the one stop shop for all their cycling needs. Our expertise lies in offering incredible deals on a superb range of top quality mountain bikes, road bikes, bike parts and cycle accessories to buy, available with free delivery or our same day priority dispatch. We offer a comprehensive range of run, swim, triathlon and hiking gear as well as having a specialised female section on the site.","http://www.awin1.com/awclick.php?mid=1857&id=34475","Clothing & Accessories","yes","908","2011-11-25 00:32:06","2011-11-25 00:40:15","12678","http://www.wiggle.co.uk"
18
+ "1520","Blacks","https://www.affiliatewindow.com/logos/1520/logo.gif","yes","2","Blacks - The Outdoor Experts","Blacks is one of the high street's best-known names, offering quality products and friendly, knowledgeable advice on a selection of outdoor kit in over 104 stores nationwide and online at www.Blacks.co.uk","http://www.awin1.com/awclick.php?mid=1520&id=34475","Clothing & Accessories","yes","899","2011-11-25 09:06:06","2011-11-25 10:21:11","1688","http://www.blacks.co.uk"
19
+ "1521","Millets","https://www.affiliatewindow.com/logos/1521/logo.gif","yes","2","Millets - The Outdoor Store","Millets is one of the high street's best-known names, offering quality products and friendly, knowledgeable advice on a selection of outdoor kit in over 260 stores nationwide and online at www.millets.co.uk","http://www.awin1.com/awclick.php?mid=1521&id=34475","Clothing & Accessories","yes","881","2011-11-25 09:03:06","2011-11-25 10:20:14","1100","http://www.millets.co.uk"
20
+ "1294","Simply Swim","https://www.affiliatewindow.com/logos/1294/logo.gif","yes","2","Swimwear for all the family.","Simply Swim offers swimwear for the whole family, from occasional to competition swimmers. Featuring top brands such as Speedo, Zoggs, Aquasphere and Australian brand Rival which we specially import. We provide a comprehensive learn to swim section full of the latest approved aids to help younger members of the family to learn to swim safely.","http://www.awin1.com/awclick.php?mid=1294&id=34475","Sports","yes","958","2011-11-25 10:46:06","2011-11-25 10:52:11","1860","http://www.simplyswim.com"
21
+ "1192","Simply Scuba Ltd","https://www.affiliatewindow.com/logos/1192/logo.gif","yes","3","The one stop shop for scuba and snorkelling equipment!","Simply Scuba For scuba diving equipment Simply Scuba is your one stop online dive shop. Professional dive staff are always available to offer advice on scuba gear selection. Simply Snorknel Simply Snorkel offers snorkellers clear information and advice to help with purchasing snorkelling equipment whether for occasional holiday use or for the dedicated snorkeller.","http://www.awin1.com/awclick.php?mid=1192&id=34475","Sports","yes","1038","2011-11-24 19:55:06","2011-11-24 20:01:11","2076","http://www.simplyscuba.com"
22
+ "1295","Simply Beach","https://www.affiliatewindow.com/logos/1295/logo.gif","yes","2","For the best beachwear online","Simply Beach offers designer swimwear including bikinis, tankinis, swimsuits and beach cover-ups. From top brands like Moontide, Seafolly, Speedo Beach; international imports such as Wahine, Sunseeker, Island Company and Banana Moon; to top fashion designers such as Gideon Oberson and Melissa Odabash who feature in top fashion magazines like Vogue. Plus beachwear for the whole family including sun protection for babies and toddlers from Sposh, Speedo and Zoggs and a great range of footwear from Reef, Aquashoe and Speedo.","http://www.awin1.com/awclick.php?mid=1295&id=34475","Clothing & Accessories","yes","1094","2011-11-25 04:30:09","2011-11-25 04:36:15","1387","http://www.simplybeach.com"
23
+ "1296","Simply Hike","https://www.affiliatewindow.com/logos/1296/logo.gif","yes","5","For the best camping equipment online.","Camping equipment for the backpacker or hill walker to family camping, Simply Hike has a huge variety of camping gear to suit all budgets. Simply Hike offers camping equipment and outdoor clothing from leading brands such as Berghaus, Craghoppers, Mountain Equipment, Vango, Coleman, Suunto to name a few. We offer tents, rucksacks, walking boots, waterproofs, performance clothing, camping stoves. We cater for family campers to lightweight expedition equipment.","http://www.awin1.com/awclick.php?mid=1296&id=34475","Sports","yes","1122","2011-11-24 21:26:06","2011-11-24 21:32:11","2600","http://www.simplyhike.co.uk"
24
+ "1297","Simply Piste","https://www.affiliatewindow.com/logos/1297/logo.gif","yes","1","The one stop Skiwear Store for the whole family!","Simply Piste is a one stop skiwear store for the entire family. With a large range of skiwear at all price points we cater for skiers of all abilities from the first school ski trip to the most seasoned and demanding skier. With a range of accessories to compliment the large skiwear range too.","http://www.awin1.com/awclick.php?mid=1297&id=34475","Sports","yes","650","2011-11-25 09:14:06","2011-11-25 09:55:15","1622","http://www.simplypiste.com"
25
+ "2392","Reebok","https://www.affiliatewindow.com/logos/2392/logo.gif","yes","4","Reebok - Your Move","Reebok is an American-inspired, global brand that creates and markets sports and lifestyle products built upon a strong heritage and authenticity in sports, fitness and women’s categories.","http://www.awin1.com/awclick.php?mid=2392&id=34475","Sports","yes","661","2011-11-25 12:32:06","2011-11-25 12:38:11","444","http://www.reebok.com/GB"
26
+ "1074","Sportsshoes.com","https://www.affiliatewindow.com/logos/1074/logo.gif","yes","4","If you're serious about sports!","SportsShoes.com specializes in selling top-quality brand-name sports footwear, clothing, accessories and equipment a low prices! Whether it’s running, football, gym, walking, golf or leisure.","http://www.awin1.com/awclick.php?mid=1074&id=34475","Sports","yes","746","2011-11-18 20:55:06","2011-11-18 21:01:11","2873","http://www.sportsshoes.com"
27
+ "1608","Freestylextreme","https://www.affiliatewindow.com/logos/1608/logo.gif","yes","2","Europes number 1 extreme sports online retailer","FreestyleXtreme is Europe's number one online retailer of extreme sports orientated casual wear and apparel featuring the best brands from all extreme sports.","http://www.awin1.com/awclick.php?mid=1608&id=34475","Clothing & Accessories","yes","770","2011-11-24 22:25:06","2011-11-23 22:30:15","7413","http://www.freestylextreme.com/"
28
+ "2698","Chain Reaction Cycles","https://www.affiliatewindow.com/logos/2698/logo.gif","yes","4","The World's Largest Online BikeStore","Mountain Bikes, BMX Bikes and Road Bikes are all available at Chain Reaction Cycles. The worlds largest online bike store offers a massive range of bike parts and accessories from all the top brands. FREE DELIVERY on all orders to the UK, Ireland, France and Spain","http://www.awin1.com/awclick.php?mid=2698&id=34475","Sports","yes","562","2011-11-25 08:00:07","2011-11-25 08:10:15","22952","http://www.chainreactioncycles.com/"
29
+ "2828","Hargroves Cycles","https://www.affiliatewindow.com/logos/2828/logo.gif","yes","6","Hargroves Cycles - Onlilne Cycles and cycling accessories","Hargroves Cycles - The UKs fastest growing Online Cycle retailer featuring the UK's best bike brands and best accessory brands.","http://www.awin1.com/awclick.php?mid=2828&id=34475","Sports","yes","30","2011-11-16 11:44:08","2011-11-16 11:50:11","2408","http://www.hargrovescycles.co.uk"
30
+ "3395","Rutland Cycling","https://www.affiliatewindow.com/logos/3395/logo.gif","yes","3","For all your cycling needs - Independent Bike retailer 2010","Established over 25 years ago, Rutland Cycling began life as a small family operated hire centre located at Whitwell on the north shore of Rutland Water.","http://www.awin1.com/awclick.php?mid=3395&id=34475","Sports","yes","78","2011-11-25 13:54:06","2011-11-25 14:02:15","5798","http://www.rutlandcycling.com/"
31
+ "3361","Merlin Cycles","https://www.affiliatewindow.com/logos/3361/logo.gif","yes","3","Merlin Cycles Online Bike Shop","Merlin Cycles are one the UK's longest established Online Bike Shop and mail order specialist. Established in 1992 Merlin quickly became one of the best known sources for all the top quality mountain bike, and more recently road bike equipment.","http://www.awin1.com/awclick.php?mid=3361&id=34475","Sports","yes","58","2011-11-22 12:40:06","2011-11-22 12:46:11","2170","http://www.merlincycles.co.uk/"
32
+ "3462","Cyclestore","https://www.affiliatewindow.com/logos/3462/logo.gif","yes","5","One of Europe's leading online cycle retailers","Bikes, Mountain and Road bikes and Accessories from the cyclestore range. All the best Cycling brands including Specialized, Altura, Giant, Shimano, Oakley, Endura, Mavic, Topeak, Tortec, Pearl Izumi Cateye, Abus and many more","http://www.awin1.com/awclick.php?mid=3462&id=34475","Vehicles, Parts and Accessories","yes","170","2011-11-24 20:01:06","2011-11-20 19:59:16","8631","http://www.cyclestore.co.uk"
@@ -0,0 +1,62 @@
1
+ require 'simplecov'
2
+ SimpleCov.start
3
+
4
+ require 'rubygems'
5
+ require 'bundler'
6
+
7
+ begin
8
+ Bundler.setup(:default, :development)
9
+ rescue Bundler::BundlerError => e
10
+ $stderr.puts e.message
11
+ $stderr.puts "Run `bundle install` to install missing gems"
12
+ exit e.status_code
13
+ end
14
+
15
+ require 'minitest/unit'
16
+ require 'minitest/autorun'
17
+ require 'minitest/reporters'
18
+ require 'mocha'
19
+
20
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
21
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
22
+
23
+ require 'affiliate-window'
24
+
25
+ class MiniTest::Unit::TestCase
26
+ class << self
27
+ def fixture_path
28
+ @fixture_path ||= File.join(File.dirname(__FILE__), 'fixtures')
29
+ end
30
+ end
31
+
32
+ def setup
33
+ FakeWeb.clean_registry
34
+ end
35
+
36
+ # Returns an account we can use.
37
+ #
38
+ # TOD: Change these!
39
+ def account
40
+ AffiliateWindow::Account.new(
41
+ :user => '34475',
42
+ :datafeed_password => '3ef2db0c8d9230f90e9974000d7b4ebb',
43
+ :api_key => 'ab3fe0c405ecf92fa8df973f5aa279cf',
44
+ :api_password => 'dc6024ea40e16826cb75e6a7c3f08cfc6b3d500f4ee684ec'
45
+ )
46
+ end
47
+
48
+ def fixture_path
49
+ self.class.fixture_path
50
+ end
51
+ end
52
+
53
+ # by default HTTPI and Savon churn out debugging info.
54
+ HTTPI.log = false
55
+ Savon.log = false
56
+
57
+ require 'fakeweb'
58
+ FakeWeb.allow_net_connect = false
59
+
60
+ MiniTest::Unit.runner = MiniTest::SuiteRunner.new
61
+ MiniTest::Unit.runner.reporters << MiniTest::Reporters::DefaultReporter.new
62
+ MiniTest::Unit.autorun
@@ -0,0 +1,1029 @@
1
+ <?xml version="1.0"?>
2
+ <definitions targetNamespace="http://api.affiliatewindow.com/"
3
+ xmlns:api="http://api.affiliatewindow.com/"
4
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
5
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
6
+ xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
7
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
8
+ xmlns="http://schemas.xmlsoap.org/wsdl/">
9
+
10
+
11
+ <!-- TYPES -->
12
+ <types>
13
+ <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://api.affiliatewindow.com/" elementFormDefault="qualified">
14
+
15
+
16
+ <!-- Generic Types -->
17
+ <complexType name="ArrayOfint">
18
+ <complexContent>
19
+ <restriction base="soapenc:Array">
20
+ <attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:int[]" />
21
+ </restriction>
22
+ </complexContent>
23
+ </complexType>
24
+
25
+
26
+
27
+
28
+ <!-- User authentication -->
29
+
30
+ <element name="UserAuthentication">
31
+ <complexType>
32
+ <sequence>
33
+ <element name="iId" type="xsd:int" />
34
+ <element name="sPassword" type="xsd:string" />
35
+ <element name="sType" type="api:UserType" />
36
+ </sequence>
37
+ </complexType>
38
+ </element>
39
+
40
+ <simpleType name="UserType">
41
+ <restriction base="xsd:string">
42
+ <enumeration value="affiliate" />
43
+ <enumeration value="merchant" />
44
+ </restriction>
45
+ </simpleType>
46
+
47
+
48
+
49
+ <!-- Operations Quota -->
50
+ <element name="getQuota" type="xsd:boolean" />
51
+
52
+ <element name="getQuotaResponse" type="xsd:int" />
53
+
54
+
55
+ <!-- Commission Group -->
56
+ <element name="getCommissionGroup">
57
+ <complexType>
58
+ <sequence>
59
+ <element name="iMerchantId" type="xsd:int" minOccurs="1" />
60
+ <element name="sCommissionGroupCode" type="xsd:string" minOccurs="1" />
61
+ </sequence>
62
+ </complexType>
63
+ </element>
64
+
65
+ <element name="getCommissionGroupResponse">
66
+ <complexType>
67
+ <sequence>
68
+ <element name="getCommissionGroupReturn" type="api:CommissionGroup" />
69
+ </sequence>
70
+ </complexType>
71
+ </element>
72
+
73
+ <complexType name="CommissionGroup">
74
+ <sequence>
75
+ <element name="sCommissionGroupCode" type="xsd:string" minOccurs="0" />
76
+ <element name="sCommissionGroupName" type="xsd:string" minOccurs="0" />
77
+ <element name="fAmount" type="xsd:float" minOccurs="0" />
78
+ <element name="fPercentage" type="xsd:float" minOccurs="0" />
79
+ </sequence>
80
+ </complexType>
81
+
82
+
83
+ <!-- Commission Group List -->
84
+ <element name="getCommissionGroupList">
85
+ <complexType>
86
+ <sequence>
87
+ <element name="iMerchantId" type="xsd:int" minOccurs="1" />
88
+ </sequence>
89
+ </complexType>
90
+ </element>
91
+
92
+ <element name="getCommissionGroupListResponse">
93
+ <complexType>
94
+ <sequence>
95
+ <element name="getCommissionGroupListReturn" type="api:ArrayOfCommissionGroup" />
96
+ </sequence>
97
+ </complexType>
98
+ </element>
99
+
100
+ <complexType name="ArrayOfCommissionGroup">
101
+ <complexContent>
102
+ <restriction base="soapenc:Array">
103
+ <attribute ref="soapenc:arrayType" wsdl:arrayType="api:CommissionGroup[]" />
104
+ </restriction>
105
+ </complexContent>
106
+ </complexType>
107
+
108
+
109
+ <!-- TransactionProduct -->
110
+ <element name="getTransactionProduct">
111
+ <complexType>
112
+ <sequence>
113
+ <element name="aTransactionIds" type="api:ArrayOfint" minOccurs="1" />
114
+ </sequence>
115
+ </complexType>
116
+ </element>
117
+
118
+ <element name="getTransactionProductResponse">
119
+ <complexType>
120
+ <sequence>
121
+ <element name="getTransactionProductReturn" type="api:ArrayOfTransactionProduct" />
122
+ </sequence>
123
+ </complexType>
124
+ </element>
125
+
126
+ <complexType name="TransactionProduct">
127
+ <sequence>
128
+ <element name="iTransactionId" type="xsd:int" minOccurs="0" />
129
+ <element name="aProducts" type="api:ArrayOfProduct" minOccurs="0" />
130
+ </sequence>
131
+ </complexType>
132
+
133
+ <complexType name="Product">
134
+ <sequence>
135
+ <element name="iId" type="xsd:int" minOccurs="0" />
136
+ <element name="sName" type="xsd:string" minOccurs="0" />
137
+ <element name="fUnitPrice" type="xsd:float" minOccurs="0" />
138
+ </sequence>
139
+ </complexType>
140
+
141
+ <complexType name="ArrayOfProduct">
142
+ <complexContent>
143
+ <restriction base="soapenc:Array">
144
+ <attribute ref="soapenc:arrayType" wsdl:arrayType="api:Product[]" />
145
+ </restriction>
146
+ </complexContent>
147
+ </complexType>
148
+
149
+ <complexType name="ArrayOfTransactionProduct">
150
+ <complexContent>
151
+ <restriction base="soapenc:Array">
152
+ <attribute ref="soapenc:arrayType" wsdl:arrayType="api:TransactionProduct[]" />
153
+ </restriction>
154
+ </complexContent>
155
+ </complexType>
156
+
157
+
158
+ <!-- Transaction List -->
159
+
160
+ <element name="getTransactionList">
161
+ <complexType>
162
+ <sequence>
163
+ <element name="aMerchantIds" type="api:ArrayOfint" minOccurs="0" />
164
+ <element name="dStartDate" type="xsd:dateTime" />
165
+ <element name="dEndDate" type="xsd:dateTime" />
166
+ <element name="sDateType" type="api:DateType" />
167
+ <element name="sTransactionStatus" type="api:TransactionStatus" minOccurs="0" />
168
+ <element name="iOffset" type="xsd:int" minOccurs="0" default="0" />
169
+ <element name="iLimit" type="xsd:int" minOccurs="0" default="100" />
170
+ </sequence>
171
+ </complexType>
172
+ </element>
173
+
174
+ <simpleType name="DateType">
175
+ <restriction base="xsd:string">
176
+ <enumeration value="transaction" />
177
+ <enumeration value="validation" />
178
+ </restriction>
179
+ </simpleType>
180
+
181
+ <simpleType name="TransactionStatus">
182
+ <restriction base="xsd:string">
183
+ <enumeration value="pending" />
184
+ <enumeration value="confirmed" />
185
+ <enumeration value="declined" />
186
+ </restriction>
187
+ </simpleType>
188
+
189
+ <element name="getTransactionListResponse">
190
+ <complexType>
191
+ <sequence>
192
+ <element name="getTransactionListReturn" type="api:ArrayOfTransaction" />
193
+ <element name="getTransactionListCountReturn" type="api:RowCounts" />
194
+ </sequence>
195
+ </complexType>
196
+ </element>
197
+
198
+
199
+
200
+ <!-- Transaction -->
201
+
202
+ <element name="getTransaction">
203
+ <complexType>
204
+ <sequence>
205
+ <element name="aTransactionIds" type="api:ArrayOfint" />
206
+ </sequence>
207
+ </complexType>
208
+ </element>
209
+
210
+ <complexType name="Transaction">
211
+ <sequence>
212
+ <element name="iId" type="xsd:int" />
213
+ <element name="sStatus" type="api:TransactionStatus" />
214
+ <element name="sType" type="api:TransactionType" />
215
+ <element name="sIp" type="xsd:string" minOccurs="0" />
216
+ <element name="bPaid" type="xsd:boolean" />
217
+ <element name="iPaymentId" type="xsd:int" minOccurs="0" />
218
+ <element name="sDeclinedReason" type="xsd:string" minOccurs="0" />
219
+ <element name="iMerchantId" type="xsd:int" />
220
+ <element name="fSaleAmount" type="xsd:float" />
221
+ <element name="fCommissionAmount" type="xsd:float" />
222
+ <element name="dClickDate" type="xsd:dateTime" minOccurs="0" />
223
+ <element name="dTransactionDate" type="xsd:dateTime" />
224
+ <element name="dValidationDate" type="xsd:dateTime" minOccurs="0" />
225
+ <element name="sClickref" type="xsd:string" minOccurs="0" />
226
+ <element name="sSearchSiteName" type="xsd:string" minOccurs="0" />
227
+ <element name="sSearchSiteKeyword" type="xsd:string" minOccurs="0" />
228
+ <element name="aTransactionParts" type="api:ArrayOfTransactionPart" minOccurs="0" />
229
+ <element name="sExtra" type="xsd:string" minOccurs="0" />
230
+ </sequence>
231
+ </complexType>
232
+
233
+ <complexType name="TransactionPart">
234
+ <sequence>
235
+ <element name="sCommissionGroupName" type="xsd:string" />
236
+ <element name="fSaleAmount" type="xsd:float" />
237
+ <element name="fCommissionAmount" type="xsd:float" />
238
+ <element name="iCommission" type="xsd:int" />
239
+ <element name="sCommissionType" type="api:CommissionType" />
240
+ </sequence>
241
+ </complexType>
242
+
243
+ <simpleType name="TransactionType">
244
+ <restriction base="xsd:string">
245
+ <enumeration value="normal" />
246
+ <enumeration value="bonus" />
247
+ <enumeration value="second tier" />
248
+ <enumeration value="untracked" />
249
+ </restriction>
250
+ </simpleType>
251
+
252
+ <simpleType name="CommissionType">
253
+ <restriction base="xsd:string">
254
+ <enumeration value="percentage" />
255
+ <enumeration value="amount" />
256
+ </restriction>
257
+ </simpleType>
258
+
259
+ <complexType name="ArrayOfTransactionPart">
260
+ <complexContent>
261
+ <restriction base="soapenc:Array">
262
+ <attribute ref="soapenc:arrayType" wsdl:arrayType="api:TransactionPart[]" />
263
+ </restriction>
264
+ </complexContent>
265
+ </complexType>
266
+
267
+ <complexType name="ArrayOfTransaction">
268
+ <complexContent>
269
+ <restriction base="soapenc:Array">
270
+ <attribute ref="soapenc:arrayType" wsdl:arrayType="api:Transaction[]" />
271
+ </restriction>
272
+ </complexContent>
273
+ </complexType>
274
+
275
+ <element name="getTransactionResponse">
276
+ <complexType>
277
+ <sequence>
278
+ <element name="getTransactionReturn" type="api:ArrayOfTransaction" />
279
+ </sequence>
280
+ </complexType>
281
+ </element>
282
+
283
+
284
+
285
+ <!-- Merchant -->
286
+
287
+ <element name="getMerchant">
288
+ <complexType>
289
+ <sequence>
290
+ <element name="aMerchantIds" type="api:ArrayOfint" />
291
+ </sequence>
292
+ </complexType>
293
+ </element>
294
+
295
+ <complexType name="Merchant">
296
+ <sequence>
297
+ <element name="iId" type="xsd:int" />
298
+ <element name="sName" type="xsd:string" />
299
+ <element name="sDisplayUrl" type="xsd:string" />
300
+ <element name="sClickThroughUrl" type="xsd:string" />
301
+ <element name="sLogoUrl" type="xsd:string" minOccurs="0" />
302
+ <element name="iDetailsVersion" type="xsd:int" minOccurs="0" />
303
+ <element name="dDetailsModified" type="xsd:dateTime" minOccurs="0" />
304
+ <element name="iFeedVersion" type="xsd:int" minOccurs="0" />
305
+ <element name="dFeedModified" type="xsd:dateTime" minOccurs="0" />
306
+ <element name="sStrapline" type="xsd:string" minOccurs="0" />
307
+ <element name="sDescription" type="xsd:string" minOccurs="0" />
308
+ <element name="fApprovalPercentage" type="xsd:float" minOccurs="0" />
309
+ <element name="fEpc" type="xsd:float" minOccurs="0" />
310
+ <element name="fConversionRate" type="xsd:float" minOccurs="0" />
311
+ <element name="iValidationDays" type="xsd:float" minOccurs="0" />
312
+ <element name="fAwinGrade" type="xsd:float" minOccurs="0" />
313
+ <element name="aCommissionRanges" type="api:ArrayOfCommissionRanges" minOccurs="0" />
314
+ <element name="aSectors" type="api:ArrayOfMerchantSectors" minOccurs="0" />
315
+ </sequence>
316
+ </complexType>
317
+
318
+ <complexType name="MerchantSector">
319
+ <sequence>
320
+ <element name="iSectorId" type="xsd:int" />
321
+ <element name="sSectorName" type="xsd:string" />
322
+ </sequence>
323
+ </complexType>
324
+
325
+ <complexType name="ArrayOfMerchantSectors">
326
+ <complexContent>
327
+ <restriction base="soapenc:Array">
328
+ <attribute ref="soapenc:arrayType" wsdl:arrayType="api:MerchantSector[]" />
329
+ </restriction>
330
+ </complexContent>
331
+ </complexType>
332
+
333
+ <complexType name="CommissionRange">
334
+ <sequence>
335
+ <element name="sType" type="api:CommissionType" />
336
+ <element name="fMin" type="xsd:float" />
337
+ <element name="fMax" type="xsd:float" />
338
+ </sequence>
339
+ </complexType>
340
+
341
+ <complexType name="ArrayOfCommissionRanges">
342
+ <complexContent>
343
+ <restriction base="soapenc:Array">
344
+ <attribute ref="soapenc:arrayType" wsdl:arrayType="api:CommissionRange[]" />
345
+ </restriction>
346
+ </complexContent>
347
+ </complexType>
348
+
349
+ <complexType name="ArrayOfMerchant">
350
+ <complexContent>
351
+ <restriction base="soapenc:Array">
352
+ <attribute ref="soapenc:arrayType" wsdl:arrayType="api:Merchant[]" />
353
+ </restriction>
354
+ </complexContent>
355
+ </complexType>
356
+
357
+ <element name="getMerchantResponse">
358
+ <complexType>
359
+ <sequence>
360
+ <element name="getMerchantReturn" type="api:ArrayOfMerchant" />
361
+ </sequence>
362
+ </complexType>
363
+ </element>
364
+
365
+
366
+
367
+ <!-- Merchants List -->
368
+
369
+ <element name="getMerchantList">
370
+ <complexType>
371
+ <sequence>
372
+ <element name="sRelationship" type="api:Relationship" minOccurs="0" />
373
+ </sequence>
374
+ </complexType>
375
+ </element>
376
+
377
+ <simpleType name="Relationship">
378
+ <restriction base="xsd:string">
379
+ <enumeration value="joined" />
380
+ </restriction>
381
+ </simpleType>
382
+
383
+ <element name="getMerchantListResponse">
384
+ <complexType>
385
+ <sequence>
386
+ <element name="getMerchantListReturn" type="api:ArrayOfMerchant" />
387
+ </sequence>
388
+ </complexType>
389
+ </element>
390
+
391
+
392
+
393
+
394
+ <!-- getTransactionQuerys -->
395
+
396
+ <!-- Main call -->
397
+ <element name="getTransactionQuerys">
398
+ <complexType>
399
+ <sequence>
400
+ <element name="aMerchantIds" type="api:ArrayOfint" minOccurs="0" />
401
+ <element name="aStatus" type="api:ArrayOfTransactionPreStatus" minOccurs="0" />
402
+ <element name="aClickRefs" type="soapenc:Array" minOccurs="0" />
403
+ <element name="iOffset" type="xsd:int" minOccurs="0" default="0" />
404
+ <element name="iLimit" type="xsd:int" minOccurs="0" default="100" />
405
+ </sequence>
406
+ </complexType>
407
+ </element>
408
+
409
+ <complexType name="ArrayOfTransactionPreStatus">
410
+ <complexContent>
411
+ <restriction base="soapenc:Array">
412
+ <attribute ref="soapenc:arrayType" wsdl:arrayType="api:TransactionPreStatus[]" />
413
+ </restriction>
414
+ </complexContent>
415
+ </complexType>
416
+
417
+ <simpleType name="TransactionPreStatus">
418
+ <restriction base="xsd:string">
419
+ <enumeration value="pending" />
420
+ <enumeration value="approved" />
421
+ <enumeration value="declined" />
422
+ </restriction>
423
+ </simpleType>
424
+
425
+ <element name="getTransactionQuerysResponse">
426
+ <complexType>
427
+ <sequence>
428
+ <element name="getTransactionQuerysReturn" type="api:ArrayOfTransactionQuerys" />
429
+ <element name="getTransactionQuerysCountReturn" type="api:RowCounts" />
430
+ </sequence>
431
+ </complexType>
432
+ </element>
433
+
434
+ <complexType name="ArrayOfTransactionQuerys">
435
+ <complexContent>
436
+ <restriction base="soapenc:Array">
437
+ <attribute ref="soapenc:arrayType" wsdl:arrayType="api:TransactionQuery[]" />
438
+ </restriction>
439
+ </complexContent>
440
+ </complexType>
441
+
442
+ <complexType name="TransactionQuery">
443
+ <sequence>
444
+ <element name="iEnquiryId" type="xsd:int" />
445
+ <element name="iMerchantId" type="xsd:int" />
446
+ <element name="sClickRef" type="xsd:string" />
447
+ <element name="sStatus" type="xsd:string" />
448
+ <element name="fAmount" type="xsd:float" />
449
+ <element name="fCommission" type="xsd:float" />
450
+ <element name="dDate" type="xsd:dateTime" />
451
+ <element name="sCustomerReference" type="xsd:string" minOccurs="0" />
452
+ <element name="sReference" type="xsd:string" minOccurs="0" />
453
+ <element name="sProgramName" type="xsd:string" />
454
+ <element name="sDeclineReason" type="xsd:string" minOccurs="0" />
455
+ <element name="sType" type="xsd:string" />
456
+ <element name="sDescription" type="xsd:string" minOccurs="0" />
457
+ </sequence>
458
+ </complexType>
459
+
460
+
461
+
462
+
463
+
464
+ <!-- setTransactionQuery -->
465
+
466
+ <!-- Main call -->
467
+ <element name="setTransactionQuery">
468
+ <complexType>
469
+ <sequence>
470
+ <element name="iEnquiryId" type="xsd:int" />
471
+ <element name="iMerchantId" type="xsd:int" />
472
+ <element name="sClickRef" type="xsd:string" />
473
+ <element name="fAmount" type="xsd:float" minOccurs="0" />
474
+ <element name="fCommission" type="xsd:float" minOccurs="0" />
475
+ <element name="dDate" type="xsd:dateTime" />
476
+ <element name="sCustomerReference" type="xsd:string" minOccurs="0" />
477
+ <element name="sReference" type="xsd:string" />
478
+ <element name="sType" type="xsd:string" />
479
+ <element name="sDescription" type="xsd:string" minOccurs="0" />
480
+ </sequence>
481
+ </complexType>
482
+ </element>
483
+
484
+ <element name="setTransactionQueryResponse">
485
+ <complexType>
486
+ <sequence>
487
+ <element name="setTransactionQueryReturn" type="api:Store" />
488
+ </sequence>
489
+ </complexType>
490
+ </element>
491
+
492
+ <complexType name="Store">
493
+ <sequence>
494
+ <element name="iRowsSaved" type="xsd:int" minOccurs="0" />
495
+ </sequence>
496
+ </complexType>
497
+
498
+
499
+
500
+
501
+
502
+
503
+
504
+ <!-- getClickStats -->
505
+
506
+ <!-- Main call -->
507
+ <element name="getClickStats">
508
+ <complexType>
509
+ <sequence>
510
+ <element name="dStartDate" type="xsd:dateTime"/>
511
+ <element name="dEndDate" type="xsd:dateTime"/>
512
+ <element name="aMerchantIds" type="api:ArrayOfint" minOccurs="0" />
513
+
514
+ <element name="sDateType" type="api:DateType" default="transaction" />
515
+
516
+ <element name="iOffset" type="xsd:int" minOccurs="0" default="0" />
517
+ <element name="iLimit" type="xsd:int" minOccurs="0" default="100" />
518
+ </sequence>
519
+ </complexType>
520
+ </element>
521
+
522
+ <element name="getClickStatsResponse">
523
+ <complexType>
524
+ <sequence>
525
+ <element name="getClickStatsReturn" type="api:ArrayOfClickStats" />
526
+ <element name="getClickStatsCountReturn" type="api:RowCounts" />
527
+ </sequence>
528
+ </complexType>
529
+ </element>
530
+
531
+ <complexType name="ArrayOfClickStats">
532
+ <complexContent>
533
+ <restriction base="soapenc:Array">
534
+ <attribute ref="soapenc:arrayType" wsdl:arrayType="api:ClickStats[]" />
535
+ </restriction>
536
+ </complexContent>
537
+ </complexType>
538
+
539
+
540
+ <complexType name="ClickStats">
541
+ <sequence>
542
+ <element name="sLinkName" type="xsd:string" />
543
+ <element name="sLinkType" type="xsd:string" />
544
+ <element name="sMerchantName" type="xsd:string" />
545
+
546
+ <element name="iPendingCount" type="xsd:int" />
547
+ <element name="fPendingValue" type="xsd:float" />
548
+ <element name="fPendingCommission" type="xsd:float" />
549
+
550
+ <element name="iConfirmedCount" type="xsd:int" />
551
+ <element name="fConfirmedValue" type="xsd:float" />
552
+ <element name="fConfirmedCommission" type="xsd:float" />
553
+
554
+ <element name="iDeclinedCount" type="xsd:int" />
555
+ <element name="fDeclinedValue" type="xsd:float" />
556
+ <element name="fDeclinedCommission" type="xsd:float" />
557
+
558
+ <element name="iClicks" type="xsd:int" />
559
+ </sequence>
560
+ </complexType>
561
+
562
+
563
+
564
+
565
+
566
+
567
+
568
+ <!-- getImpressionStats -->
569
+
570
+ <!-- Main call -->
571
+ <element name="getImpressionStats">
572
+ <complexType>
573
+ <sequence>
574
+ <element name="dStartDate" type="xsd:dateTime"/>
575
+ <element name="dEndDate" type="xsd:dateTime"/>
576
+ <element name="aMerchantIds" type="api:ArrayOfint" minOccurs="0" />
577
+
578
+ <element name="sDateType" type="api:DateType" default="transaction" />
579
+
580
+ <element name="iOffset" type="xsd:int" minOccurs="0" default="0" />
581
+ <element name="iLimit" type="xsd:int" minOccurs="0" default="100" />
582
+ </sequence>
583
+ </complexType>
584
+ </element>
585
+
586
+ <element name="getImpressionStatsResponse">
587
+ <complexType>
588
+ <sequence>
589
+ <element name="getImpressionStatsReturn" type="api:ArrayOfImpressionStats" />
590
+ <element name="getImpressionStatsCountReturn" type="api:RowCounts" />
591
+ </sequence>
592
+ </complexType>
593
+ </element>
594
+
595
+ <complexType name="ArrayOfImpressionStats">
596
+ <complexContent>
597
+ <restriction base="soapenc:Array">
598
+ <attribute ref="soapenc:arrayType" wsdl:arrayType="api:ImpressionStats[]" />
599
+ </restriction>
600
+ </complexContent>
601
+ </complexType>
602
+
603
+ <complexType name="ImpressionStats">
604
+ <sequence>
605
+ <element name="sLinkName" type="xsd:string" />
606
+ <element name="sLinkType" type="xsd:string" />
607
+ <element name="sMerchantName" type="xsd:string" />
608
+
609
+ <element name="iPendingCount" type="xsd:int" />
610
+ <element name="fPendingValue" type="xsd:float" />
611
+ <element name="fPendingCommission" type="xsd:float" />
612
+
613
+ <element name="iConfirmedCount" type="xsd:int" />
614
+ <element name="fConfirmedValue" type="xsd:float" />
615
+ <element name="fConfirmedCommission" type="xsd:float" />
616
+
617
+ <element name="iDeclinedCount" type="xsd:int" />
618
+ <element name="fDeclinedValue" type="xsd:float" />
619
+ <element name="fDeclinedCommission" type="xsd:float" />
620
+
621
+ <element name="iImpressions" type="xsd:int" />
622
+ </sequence>
623
+ </complexType>
624
+
625
+ <complexType name="RowCounts">
626
+ <sequence>
627
+ <element name="iRowsReturned" type="xsd:int" />
628
+ <element name="iRowsAvailable" type="xsd:int" />
629
+ </sequence>
630
+ </complexType>
631
+
632
+
633
+
634
+
635
+ <!-- Faults -->
636
+ <element name="ApiException">
637
+ <complexType>
638
+ <sequence>
639
+ <element name="message" type="xsd:string" />
640
+ </sequence>
641
+ </complexType>
642
+ </element>
643
+
644
+
645
+ </schema>
646
+ </types>
647
+
648
+
649
+
650
+ <!-- MESSAGES -->
651
+
652
+ <!-- Headers -->
653
+ <message name="UserAuthentication">
654
+ <part name="parameters" element="api:UserAuthentication" />
655
+ </message>
656
+
657
+ <message name="getQuotaRequest">
658
+ <part name="parameters" element="api:getQuota" />
659
+ </message>
660
+
661
+ <message name="getQuotaResponse">
662
+ <part name="return" element="api:getQuotaResponse" />
663
+ </message>
664
+
665
+
666
+ <!-- Input Messages -->
667
+ <message name="getTransactionProductRequest">
668
+ <part name="parameters" element="api:getTransactionProduct" />
669
+ </message>
670
+
671
+ <message name="getTransactionListRequest">
672
+ <part name="parameters" element="api:getTransactionList" />
673
+ </message>
674
+
675
+ <message name="getTransactionRequest">
676
+ <part name="parameters" element="api:getTransaction" />
677
+ </message>
678
+
679
+ <message name="getMerchantListRequest">
680
+ <part name="parameters" element="api:getMerchantList" />
681
+ </message>
682
+
683
+ <message name="getMerchantRequest">
684
+ <part name="parameters" element="api:getMerchant" />
685
+ </message>
686
+
687
+ <message name="getTransactionQuerysRequest">
688
+ <part name="parameters" element="api:getTransactionQuerys" />
689
+ </message>
690
+
691
+ <message name="setTransactionQueryRequest">
692
+ <part name="parameters" element="api:setTransactionQuery" />
693
+ </message>
694
+
695
+ <message name="getImpressionStatsRequest">
696
+ <part name="parameters" element="api:getImpressionStats" />
697
+ </message>
698
+
699
+ <message name="getClickStatsRequest">
700
+ <part name="parameters" element="api:getClickStats" />
701
+ </message>
702
+
703
+ <message name="getCommissionGroupRequest">
704
+ <part name="parameters" element="api:getCommissionGroup" />
705
+ </message>
706
+
707
+ <message name="getCommissionGroupListRequest">
708
+ <part name="parameters" element="api:getCommissionGroupList" />
709
+ </message>
710
+
711
+ <!-- Output Messages -->
712
+ <message name="getTransactionProductResponse">
713
+ <part name="parameters" element="api:getTransactionProductResponse" />
714
+ </message>
715
+
716
+ <message name="getTransactionListResponse">
717
+ <part name="return" element="api:getTransactionListResponse" />
718
+ </message>
719
+
720
+ <message name="getTransactionResponse">
721
+ <part name="return" element="api:getTransactionResponse" />
722
+ </message>
723
+
724
+ <message name="getMerchantListResponse">
725
+ <part name="return" element="api:getMerchantListResponse" />
726
+ </message>
727
+
728
+ <message name="getMerchantResponse">
729
+ <part name="return" element="api:getMerchantResponse" />
730
+ </message>
731
+
732
+ <message name="getTransactionQuerysResponse">
733
+ <part name="return" element="api:getTransactionQuerysResponse" />
734
+ </message>
735
+
736
+ <message name="setTransactionQueryResponse">
737
+ <part name="return" element="api:setTransactionQueryResponse" />
738
+ </message>
739
+
740
+ <message name="getImpressionStatsResponse">
741
+ <part name="return" element="api:getImpressionStatsResponse" />
742
+ </message>
743
+
744
+ <message name="getClickStatsResponse">
745
+ <part name="return" element="api:getClickStatsResponse" />
746
+ </message>
747
+
748
+ <message name="getCommissionGroupResponse">
749
+ <part name="return" element="api:getCommissionGroupResponse" />
750
+ </message>
751
+
752
+ <message name="getCommissionGroupListResponse">
753
+ <part name="return" element="api:getCommissionGroupListResponse" />
754
+ </message>
755
+
756
+
757
+ <!-- Fault Messages -->
758
+ <message name="ApiException">
759
+ <part name="ApiException" element="api:ApiException" />
760
+ </message>
761
+
762
+
763
+
764
+
765
+ <!-- PORTS -->
766
+ <portType name="ApiPortType">
767
+
768
+ <operation name="getTransactionProduct">
769
+ <input message="api:getTransactionProductRequest" />
770
+ <output message="api:getTransactionProductResponse" />
771
+ <fault name="ApiException" message="api:ApiException" />
772
+ </operation>
773
+
774
+ <operation name="getTransactionList">
775
+ <input message="api:getTransactionListRequest" />
776
+ <output message="api:getTransactionListResponse" />
777
+ <fault name="ApiException" message="api:ApiException" />
778
+ </operation>
779
+
780
+ <operation name="getTransaction">
781
+ <input message="api:getTransactionRequest" />
782
+ <output message="api:getTransactionResponse" />
783
+ <fault name="ApiException" message="api:ApiException" />
784
+ </operation>
785
+
786
+ <operation name="getMerchantList">
787
+ <input message="api:getMerchantListRequest" />
788
+ <output message="api:getMerchantListResponse" />
789
+ <fault name="ApiException" message="api:ApiException" />
790
+ </operation>
791
+
792
+ <operation name="getMerchant">
793
+ <input message="api:getMerchantRequest" />
794
+ <output message="api:getMerchantResponse" />
795
+ <fault name="ApiException" message="api:ApiException" />
796
+ </operation>
797
+
798
+ <operation name="getTransactionQuerys">
799
+ <input message="api:getTransactionQuerysRequest" />
800
+ <output message="api:getTransactionQuerysResponse" />
801
+ <fault name="ApiException" message="api:ApiException" />
802
+ </operation>
803
+
804
+ <operation name="setTransactionQuery">
805
+ <input message="api:setTransactionQueryRequest" />
806
+ <output message="api:setTransactionQueryResponse" />
807
+ <fault name="ApiException" message="api:ApiException" />
808
+ </operation>
809
+
810
+ <operation name="getImpressionStats">
811
+ <input message="api:getImpressionStatsRequest" />
812
+ <output message="api:getImpressionStatsResponse" />
813
+ <fault name="ApiException" message="api:ApiException" />
814
+ </operation>
815
+
816
+ <operation name="getClickStats">
817
+ <input message="api:getClickStatsRequest" />
818
+ <output message="api:getClickStatsResponse" />
819
+ <fault name="ApiException" message="api:ApiException" />
820
+ </operation>
821
+
822
+ <operation name="getCommissionGroup">
823
+ <input message="api:getCommissionGroupRequest" />
824
+ <output message="api:getCommissionGroupResponse" />
825
+ <fault name="ApiException" message="api:ApiException" />
826
+ </operation>
827
+
828
+ <operation name="getCommissionGroupList">
829
+ <input message="api:getCommissionGroupListRequest" />
830
+ <output message="api:getCommissionGroupListResponse" />
831
+ <fault name="ApiException" message="api:ApiException" />
832
+ </operation>
833
+
834
+ </portType>
835
+
836
+
837
+ <!-- BINDINGS -->
838
+ <binding name="ApiBinding" type="api:ApiPortType">
839
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
840
+
841
+ <operation name="getTransactionList">
842
+ <soap:operation soapAction="" />
843
+ <input>
844
+ <soap:header message="api:UserAuthentication" part="parameters" use="literal" />
845
+ <soap:header message="api:getQuotaRequest" part="parameters" use="literal" />
846
+ <soap:body use="literal" />
847
+ </input>
848
+ <output>
849
+ <soap:header message="api:getQuotaResponse" part="return" use="literal" />
850
+ <soap:body use="literal" />
851
+ </output>
852
+ <fault name="ApiException">
853
+ <soap:fault name="ApiException" use="literal" />
854
+ </fault>
855
+ </operation>
856
+
857
+ <operation name="getTransactionProduct">
858
+ <soap:operation soapAction="" />
859
+ <input>
860
+ <soap:header message="api:UserAuthentication" part="parameters" use="literal" />
861
+ <soap:header message="api:getQuotaRequest" part="parameters" use="literal" />
862
+ <soap:body use="literal" />
863
+ </input>
864
+ <output>
865
+ <soap:header message="api:getQuotaResponse" part="return" use="literal" />
866
+ <soap:body use="literal" />
867
+ </output>
868
+ <fault name="ApiException">
869
+ <soap:fault name="ApiException" use="literal" />
870
+ </fault>
871
+ </operation>
872
+
873
+ <operation name="getTransaction">
874
+ <soap:operation soapAction="" />
875
+ <input>
876
+ <soap:header message="api:UserAuthentication" part="parameters" use="literal" />
877
+ <soap:header message="api:getQuotaRequest" part="parameters" use="literal" />
878
+ <soap:body use="literal" />
879
+ </input>
880
+ <output>
881
+ <soap:header message="api:getQuotaResponse" part="return" use="literal" />
882
+ <soap:body use="literal" />
883
+ </output>
884
+ <fault name="ApiException">
885
+ <soap:fault name="ApiException" use="literal" />
886
+ </fault>
887
+ </operation>
888
+
889
+ <operation name="getMerchantList">
890
+ <soap:operation soapAction="" />
891
+ <input>
892
+ <soap:header message="api:UserAuthentication" part="parameters" use="literal" />
893
+ <soap:header message="api:getQuotaRequest" part="parameters" use="literal" />
894
+ <soap:body use="literal" />
895
+ </input>
896
+ <output>
897
+ <soap:header message="api:getQuotaResponse" part="return" use="literal" />
898
+ <soap:body use="literal" />
899
+ </output>
900
+ <fault name="ApiException">
901
+ <soap:fault name="ApiException" use="literal" />
902
+ </fault>
903
+ </operation>
904
+
905
+ <operation name="getMerchant">
906
+ <soap:operation soapAction="" />
907
+ <input>
908
+ <soap:header message="api:UserAuthentication" part="parameters" use="literal" />
909
+ <soap:header message="api:getQuotaRequest" part="parameters" use="literal" />
910
+ <soap:body use="literal" />
911
+ </input>
912
+ <output>
913
+ <soap:header message="api:getQuotaResponse" part="return" use="literal" />
914
+ <soap:body use="literal" />
915
+ </output>
916
+ <fault name="ApiException">
917
+ <soap:fault name="ApiException" use="literal" />
918
+ </fault>
919
+ </operation>
920
+
921
+ <operation name="getTransactionQuerys">
922
+ <soap:operation soapAction="" />
923
+ <input>
924
+ <soap:header message="api:UserAuthentication" part="parameters" use="literal" />
925
+ <soap:header message="api:getQuotaRequest" part="parameters" use="literal" />
926
+ <soap:body use="literal" />
927
+ </input>
928
+ <output>
929
+ <soap:header message="api:getQuotaResponse" part="return" use="literal" />
930
+ <soap:body use="literal" />
931
+ </output>
932
+ <fault name="ApiException">
933
+ <soap:fault name="ApiException" use="literal" />
934
+ </fault>
935
+ </operation>
936
+
937
+ <operation name="setTransactionQuery">
938
+ <soap:operation soapAction="" />
939
+ <input>
940
+ <soap:header message="api:UserAuthentication" part="parameters" use="literal" />
941
+ <soap:header message="api:getQuotaRequest" part="parameters" use="literal" />
942
+ <soap:body use="literal" />
943
+ </input>
944
+ <output>
945
+ <soap:header message="api:getQuotaResponse" part="return" use="literal" />
946
+ <soap:body use="literal" />
947
+ </output>
948
+ <fault name="ApiException">
949
+ <soap:fault name="ApiException" use="literal" />
950
+ </fault>
951
+ </operation>
952
+
953
+ <operation name="getImpressionStats">
954
+ <soap:operation soapAction="" />
955
+ <input>
956
+ <soap:header message="api:UserAuthentication" part="parameters" use="literal" />
957
+ <soap:header message="api:getQuotaRequest" part="parameters" use="literal" />
958
+ <soap:body use="literal" />
959
+ </input>
960
+ <output>
961
+ <soap:header message="api:getQuotaResponse" part="return" use="literal" />
962
+ <soap:body use="literal" />
963
+ </output>
964
+ <fault name="ApiException">
965
+ <soap:fault name="ApiException" use="literal" />
966
+ </fault>
967
+ </operation>
968
+
969
+ <operation name="getClickStats">
970
+ <soap:operation soapAction="" />
971
+ <input>
972
+ <soap:header message="api:UserAuthentication" part="parameters" use="literal" />
973
+ <soap:header message="api:getQuotaRequest" part="parameters" use="literal" />
974
+ <soap:body use="literal" />
975
+ </input>
976
+ <output>
977
+ <soap:header message="api:getQuotaResponse" part="return" use="literal" />
978
+ <soap:body use="literal" />
979
+ </output>
980
+ <fault name="ApiException">
981
+ <soap:fault name="ApiException" use="literal" />
982
+ </fault>
983
+ </operation>
984
+
985
+ <operation name="getCommissionGroup">
986
+ <soap:operation soapAction="" />
987
+ <input>
988
+ <soap:header message="api:UserAuthentication" part="parameters" use="literal" />
989
+ <soap:header message="api:getQuotaRequest" part="parameters" use="literal" />
990
+ <soap:body use="literal" />
991
+ </input>
992
+ <output>
993
+ <soap:header message="api:getQuotaResponse" part="return" use="literal" />
994
+ <soap:body use="literal" />
995
+ </output>
996
+ <fault name="ApiException">
997
+ <soap:fault name="ApiException" use="literal" />
998
+ </fault>
999
+ </operation>
1000
+
1001
+ <operation name="getCommissionGroupList">
1002
+ <soap:operation soapAction="" />
1003
+ <input>
1004
+ <soap:header message="api:UserAuthentication" part="parameters" use="literal" />
1005
+ <soap:header message="api:getQuotaRequest" part="parameters" use="literal" />
1006
+ <soap:body use="literal" />
1007
+ </input>
1008
+ <output>
1009
+ <soap:header message="api:getQuotaResponse" part="return" use="literal" />
1010
+ <soap:body use="literal" />
1011
+ </output>
1012
+ <fault name="ApiException">
1013
+ <soap:fault name="ApiException" use="literal" />
1014
+ </fault>
1015
+ </operation>
1016
+
1017
+ </binding>
1018
+
1019
+
1020
+
1021
+ <!-- SERVICES -->
1022
+ <service name="ApiService">
1023
+ <port name="ApiPort" binding="api:ApiBinding">
1024
+ <soap:address location="http://api.affiliatewindow.com/v3/AffiliateService" />
1025
+ </port>
1026
+ </service>
1027
+
1028
+
1029
+ </definitions>