savon_with_adapter 2.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +14 -0
  3. data/.travis.yml +11 -0
  4. data/.yardopts +6 -0
  5. data/CHANGELOG.md +1042 -0
  6. data/CONTRIBUTING.md +46 -0
  7. data/Gemfile +18 -0
  8. data/LICENSE +20 -0
  9. data/README.md +81 -0
  10. data/Rakefile +14 -0
  11. data/donate.png +0 -0
  12. data/lib/savon.rb +27 -0
  13. data/lib/savon/block_interface.rb +26 -0
  14. data/lib/savon/builder.rb +166 -0
  15. data/lib/savon/client.rb +89 -0
  16. data/lib/savon/core_ext/string.rb +29 -0
  17. data/lib/savon/header.rb +70 -0
  18. data/lib/savon/http_error.rb +27 -0
  19. data/lib/savon/log_message.rb +48 -0
  20. data/lib/savon/message.rb +35 -0
  21. data/lib/savon/mock.rb +5 -0
  22. data/lib/savon/mock/expectation.rb +71 -0
  23. data/lib/savon/mock/spec_helper.rb +62 -0
  24. data/lib/savon/model.rb +80 -0
  25. data/lib/savon/operation.rb +127 -0
  26. data/lib/savon/options.rb +336 -0
  27. data/lib/savon/qualified_message.rb +49 -0
  28. data/lib/savon/request.rb +89 -0
  29. data/lib/savon/request_logger.rb +48 -0
  30. data/lib/savon/response.rb +112 -0
  31. data/lib/savon/soap_fault.rb +48 -0
  32. data/lib/savon/version.rb +3 -0
  33. data/savon.gemspec +52 -0
  34. data/spec/fixtures/gzip/message.gz +0 -0
  35. data/spec/fixtures/response/another_soap_fault.xml +14 -0
  36. data/spec/fixtures/response/authentication.xml +14 -0
  37. data/spec/fixtures/response/header.xml +13 -0
  38. data/spec/fixtures/response/list.xml +18 -0
  39. data/spec/fixtures/response/multi_ref.xml +39 -0
  40. data/spec/fixtures/response/soap_fault.xml +8 -0
  41. data/spec/fixtures/response/soap_fault12.xml +18 -0
  42. data/spec/fixtures/response/taxcloud.xml +1 -0
  43. data/spec/fixtures/ssl/client_cert.pem +16 -0
  44. data/spec/fixtures/ssl/client_encrypted_key.pem +30 -0
  45. data/spec/fixtures/ssl/client_encrypted_key_cert.pem +24 -0
  46. data/spec/fixtures/ssl/client_key.pem +15 -0
  47. data/spec/fixtures/wsdl/authentication.xml +63 -0
  48. data/spec/fixtures/wsdl/betfair.xml +2981 -0
  49. data/spec/fixtures/wsdl/edialog.xml +15416 -0
  50. data/spec/fixtures/wsdl/interhome.xml +2137 -0
  51. data/spec/fixtures/wsdl/lower_camel.xml +52 -0
  52. data/spec/fixtures/wsdl/multiple_namespaces.xml +92 -0
  53. data/spec/fixtures/wsdl/multiple_types.xml +60 -0
  54. data/spec/fixtures/wsdl/taxcloud.xml +934 -0
  55. data/spec/fixtures/wsdl/team_software.xml +1 -0
  56. data/spec/fixtures/wsdl/vies.xml +176 -0
  57. data/spec/fixtures/wsdl/wasmuth.xml +153 -0
  58. data/spec/integration/centra_spec.rb +72 -0
  59. data/spec/integration/email_example_spec.rb +32 -0
  60. data/spec/integration/random_quote_spec.rb +23 -0
  61. data/spec/integration/ratp_example_spec.rb +28 -0
  62. data/spec/integration/stockquote_example_spec.rb +28 -0
  63. data/spec/integration/support/application.rb +82 -0
  64. data/spec/integration/support/server.rb +84 -0
  65. data/spec/integration/temperature_example_spec.rb +46 -0
  66. data/spec/integration/zipcode_example_spec.rb +42 -0
  67. data/spec/savon/builder_spec.rb +86 -0
  68. data/spec/savon/client_spec.rb +198 -0
  69. data/spec/savon/core_ext/string_spec.rb +37 -0
  70. data/spec/savon/features/message_tag_spec.rb +61 -0
  71. data/spec/savon/http_error_spec.rb +49 -0
  72. data/spec/savon/log_message_spec.rb +33 -0
  73. data/spec/savon/message_spec.rb +40 -0
  74. data/spec/savon/mock_spec.rb +157 -0
  75. data/spec/savon/model_spec.rb +154 -0
  76. data/spec/savon/observers_spec.rb +92 -0
  77. data/spec/savon/operation_spec.rb +211 -0
  78. data/spec/savon/options_spec.rb +772 -0
  79. data/spec/savon/request_spec.rb +493 -0
  80. data/spec/savon/response_spec.rb +258 -0
  81. data/spec/savon/soap_fault_spec.rb +126 -0
  82. data/spec/spec_helper.rb +30 -0
  83. data/spec/support/endpoint.rb +25 -0
  84. data/spec/support/fixture.rb +39 -0
  85. data/spec/support/integration.rb +9 -0
  86. data/spec/support/stdout.rb +25 -0
  87. metadata +310 -0
@@ -0,0 +1,24 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIEBTCCAu2gAwIBAgIJAKoJLHwFIyVbMA0GCSqGSIb3DQEBBQUAMIGYMQswCQYD
3
+ VQQGEwJVUzERMA8GA1UECAwIVmlyZ2luaWExEzARBgNVBAcMCkFsZXhhbmRyaWEx
4
+ GDAWBgNVBAoMD1Rlc3RpbmcgQ28sIExMQzEQMA4GA1UECwwHVGVzdGluZzEUMBIG
5
+ A1UEAwwLZXhhbXBsZS5jb20xHzAdBgkqhkiG9w0BCQEWEHRlc3RAZXhhbXBsZS5j
6
+ b20wHhcNMTMwMTI1MTUwNDEwWhcNNDMwMTE4MTUwNDEwWjCBmDELMAkGA1UEBhMC
7
+ VVMxETAPBgNVBAgMCFZpcmdpbmlhMRMwEQYDVQQHDApBbGV4YW5kcmlhMRgwFgYD
8
+ VQQKDA9UZXN0aW5nIENvLCBMTEMxEDAOBgNVBAsMB1Rlc3RpbmcxFDASBgNVBAMM
9
+ C2V4YW1wbGUuY29tMR8wHQYJKoZIhvcNAQkBFhB0ZXN0QGV4YW1wbGUuY29tMIIB
10
+ IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4gYiV5ufeedy/paVEJ9eJAZo
11
+ t3zFO+9UJzrIFWGhDdTB8AwX6ZE3koKV105i3nRKN+I6dS6+7APB607CqTqdzuqa
12
+ /5qLnV2d73BuTAZabeClE4/8HXsDoQH42KcPQfVQ/nCuTPjuGUEUqIWVFpwKcZmV
13
+ UP82Ezf31fOqtzVI6cSgOwWSflgFFdKRyCk0R1eNznRj2rvfYtypIplV715d1Qqk
14
+ k+XXmMIWIobNT/utgf6n39e89VPzu9EZ5vSpCflWvCkeAnjavWLD/MJktRJqQqlx
15
+ dFTWvzIxYAhJR6M+zB4a6UGDzj6NG1ujrtIdBaK1Jq6iXO4WDryRMs8RPF0UmwID
16
+ AQABo1AwTjAdBgNVHQ4EFgQUjEykvRbAg/ju1UIvMuozlXzKRpYwHwYDVR0jBBgw
17
+ FoAUjEykvRbAg/ju1UIvMuozlXzKRpYwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0B
18
+ AQUFAAOCAQEAhvgvCfZcQlEJwRZMYd1AUOS39fs90Nc5hezaIN1I6bqzW0+ka45Y
19
+ MAxcq7BTOZfVO+DTEAB/IW7yR4Np8mzWSp7gDnyP3wyOX4Lce2lUZQ2fQI71pupf
20
+ tXwpp0bGGgzeUeJK8MFBUiFMUBiJuUMsY2hYIqJ2gYlazMEQp67jV0fdgcgj3nak
21
+ 3cnC9GbHZj/QXwRAlj3dp1CDrMHqvbrCZ6jW7YS/+dVUn24oMadyIX0E88EBgP+l
22
+ Wu4gvzn2nkV8L4Ukcspt7Mqvr/YGlWu/8GPVACUp1AdZH7YJ7ARZE7SVgxR/iNGd
23
+ HJclQ/939s63ZNrnsOR+6qrhcC3c83UARw==
24
+ -----END CERTIFICATE-----
@@ -0,0 +1,15 @@
1
+ -----BEGIN RSA PRIVATE KEY-----
2
+ MIICXQIBAAKBgQC8mJqiMgVABsVzNeQGaPGnGtr0ttCbRUgRIVKXy4FKOYb+CYIH
3
+ AqDw73g/e0CMM0KUL58SoEsTfsofip7vrLDu6mBGu4/mNDNQQvXIJpW0D8OiqBoL
4
+ FnLtWEHYDd/vVnDqRA+3cE4wTrx+caxNfrnH1cBrAIbMaYlKT9nrC+aXUwIDAQAB
5
+ AoGBAKjrGh1KJg+pwPInA5yGJGMil5h1obRgwmKtcPeKi7u6eOFSDMdQoGwMYKyj
6
+ LTYlt21Yleat8XB9sHW9yAstpq5dU8Id2A4wfbJeaBYpek7u5+QwBENO4UrnulTk
7
+ W0d+jECBVYECn8wCStxfoFcQQRhlGrsOn05379cD8e1odMOJAkEA3o/7CsgXqahG
8
+ 7L1HaWYtKnpFfTS+EQgdGvSahOolByAKTtMA2TUBU1FdlCk+ggWBGorqmWON5Qnm
9
+ 7UDHjOasZQJBANjuPOqa9ubqHccGwHec+72pQz6q5e8f1gf1XPn7EEuXsBzYiMMH
10
+ qEa8zpfF0TmhQ0oWN75Cq709gfVVBfx/bVcCQHan1HN/Ef6FlKqKjxQGQXYwEfQa
11
+ tmpmJP5GAktyeaM+1cAIhp9GvxooeveOtaCkRpxcC48ToIbHrLI4oyrfoHECQQC6
12
+ bAHtmz6TMp5ka2j7Yez1EIC5WiQ/WxyTukgsi5V1YOX35B2jfPEf2SGxTE6BOBSb
13
+ lnxRBPqRpkoIiwiZ9OgBAkBOWKBuHXmXM6wr+0p4KQ/DOeStZiBxUT8rYbX/i1BI
14
+ /9Xo48KNerTx7qoDK+jIslDrilahvcwUz0fuVV7rHy/X
15
+ -----END RSA PRIVATE KEY-----
@@ -0,0 +1,63 @@
1
+ <?xml version='1.0' encoding='UTF-8'?><wsdl:definitions name="AuthenticationWebServiceImplService" targetNamespace="http://v1_0.ws.auth.order.example.com/" xmlns:ns1="http://cxf.apache.org/bindings/xformat" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://v1_0.ws.auth.order.example.com/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
+ <wsdl:types>
3
+ <xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://v1_0.ws.auth.order.example.com/" xmlns:tns="http://v1_0.ws.auth.order.example.com/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
4
+ <xs:element name="authenticate" type="tns:authenticate" />
5
+ <xs:element name="authenticateResponse" type="tns:authenticateResponse" />
6
+ <xs:element name="authenticationResult" type="tns:authenticationResult" />
7
+ <xs:element name="authenticationValue" type="tns:authenticationValue" />
8
+ <xs:complexType name="authenticate">
9
+ <xs:sequence>
10
+ <xs:element minOccurs="0" name="user" type="xs:string" />
11
+ <xs:element minOccurs="0" name="password" type="xs:string" />
12
+ </xs:sequence>
13
+ </xs:complexType>
14
+ <xs:complexType name="authenticateResponse">
15
+ <xs:sequence>
16
+ <xs:element minOccurs="0" name="return" type="tns:authenticationResult" />
17
+ </xs:sequence>
18
+ </xs:complexType>
19
+ <xs:complexType name="authenticationResult">
20
+ <xs:sequence>
21
+ <xs:element minOccurs="0" name="authenticationValue" nillable="true" type="tns:authenticationValue" />
22
+ <xs:element name="success" type="xs:boolean" />
23
+ </xs:sequence>
24
+ </xs:complexType>
25
+ <xs:complexType name="authenticationValue">
26
+ <xs:sequence>
27
+ <xs:element name="token" type="xs:string" />
28
+ <xs:element name="tokenHash" type="xs:string" />
29
+ <xs:element name="client" type="xs:string" />
30
+ </xs:sequence>
31
+ </xs:complexType>
32
+ </xs:schema>
33
+ </wsdl:types>
34
+ <wsdl:message name="authenticate">
35
+ <wsdl:part element="tns:authenticate" name="parameters" />
36
+ </wsdl:message>
37
+ <wsdl:message name="authenticateResponse">
38
+ <wsdl:part element="tns:authenticateResponse" name="parameters" />
39
+ </wsdl:message>
40
+ <wsdl:portType name="AuthenticationWebService">
41
+ <wsdl:operation name="authenticate">
42
+ <wsdl:input message="tns:authenticate" name="authenticate" />
43
+ <wsdl:output message="tns:authenticateResponse" name="authenticateResponse" />
44
+ </wsdl:operation>
45
+ </wsdl:portType>
46
+ <wsdl:binding name="AuthenticationWebServiceImplServiceSoapBinding" type="tns:AuthenticationWebService">
47
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
48
+ <wsdl:operation name="authenticate">
49
+ <soap:operation soapAction="" style="document" />
50
+ <wsdl:input name="authenticate">
51
+ <soap:body use="literal" />
52
+ </wsdl:input>
53
+ <wsdl:output name="authenticateResponse">
54
+ <soap:body use="literal" />
55
+ </wsdl:output>
56
+ </wsdl:operation>
57
+ </wsdl:binding>
58
+ <wsdl:service name="AuthenticationWebServiceImplService">
59
+ <wsdl:port binding="tns:AuthenticationWebServiceImplServiceSoapBinding" name="AuthenticationWebServiceImplPort">
60
+ <soap:address location="http://example.com/validation/1.0/AuthenticationService" />
61
+ </wsdl:port>
62
+ </wsdl:service>
63
+ </wsdl:definitions>
@@ -0,0 +1,2981 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+
3
+ <!--
4
+
5
+ Copyright 2003-2004 The Sporting Exchange Limited. All rights reserved.
6
+ The presentation, distribution or other dissemination of the information contained herein by The Sporting Exchange Limited (Betfair) is not a license, either expressly or impliedly, to any intellectual property owned or controlled by Betfair.
7
+ Save as provided by statute and to the fullest extent permitted by law, the following provisions set out the entire liability of Betfair (including any liability for the acts and omissions of its employees, agents and sub-contractors) to the User in respect of the use of its WSDL file whether in contract, tort, statute, equity or otherwise:
8
+ (a) The User acknowledges and agrees that (except as expressly provided in this Agreement) the WSDL is provided "AS IS" without warranties of any kind (whether express or implied);
9
+ (b) All conditions, warranties, terms and undertakings (whether express or implied, statutory or otherwise relating to the delivery, performance, quality, uninterrupted use, fitness for purpose, occurrence or reliability of the WSDL are hereby excluded to the fullest extent permitted by law; and
10
+ (c) Betfair shall not be liable to the User for loss of profit (whether direct or indirect), loss of contracts or goodwill, lost advertising, loss of data or any type of special, indirect, consequential or economic loss (including loss or damage suffered by the User as a result of an action brought by a third party) even if such loss was reasonably foreseeable or Betfair had been advised of the possibility of the User incurring such loss.
11
+ No exclusion or limitation set out in this Agreement shall apply in the case of fraud or fraudulent concealment, death or personal injury resulting from the negligence of either party or any of its employees, agents or sub-contractors; and/or any breach of the obligations implied by (as appropriate) section 12 of the Sale of Goods Act 1979, section 2 of the Supply of Goods and Services Act 1982 or section 8 of the Supply of Goods (Implied Terms) Act 1973.
12
+
13
+ -->
14
+
15
+ <wsdl:definitions name="BFExchangeService"
16
+ targetNamespace="http://www.betfair.com/publicapi/v5/BFExchangeService/"
17
+ xmlns:types="http://www.betfair.com/publicapi/types/exchange/v5/"
18
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
19
+ xmlns:tns="http://www.betfair.com/publicapi/v5/BFExchangeService/"
20
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
21
+ <wsdl:types>
22
+ <xsd:schema targetNamespace="http://www.betfair.com/publicapi/types/exchange/v5/">
23
+ <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
24
+ <xsd:complexType abstract="true" name="APIResponse">
25
+ <xsd:sequence>
26
+ <xsd:element name="header" nillable="true" type="types:APIResponseHeader"/>
27
+ </xsd:sequence>
28
+ </xsd:complexType>
29
+ <xsd:complexType name="APIResponseHeader">
30
+ <xsd:sequence>
31
+ <xsd:element name="errorCode" type="types:APIErrorEnum"/>
32
+ <xsd:element name="minorErrorCode" nillable="true" type="xsd:string"/>
33
+ <xsd:element name="sessionToken" nillable="true" type="xsd:string"/>
34
+ <xsd:element name="timestamp" type="xsd:dateTime"/>
35
+ </xsd:sequence>
36
+ </xsd:complexType>
37
+ <xsd:simpleType name="APIErrorEnum">
38
+ <xsd:restriction base="xsd:string">
39
+ <xsd:enumeration value="OK"/>
40
+ <xsd:enumeration value="INTERNAL_ERROR"/>
41
+ <xsd:enumeration value="EXCEEDED_THROTTLE"/>
42
+ <xsd:enumeration value="USER_NOT_SUBSCRIBED_TO_PRODUCT"/>
43
+ <xsd:enumeration value="SUBSCRIPTION_INACTIVE_OR_SUSPENDED"/>
44
+ <xsd:enumeration value="VENDOR_SOFTWARE_INACTIVE"/>
45
+ <xsd:enumeration value="VENDOR_SOFTWARE_INVALID"/>
46
+ <xsd:enumeration value="SERVICE_NOT_AVAILABLE_IN_PRODUCT"/>
47
+ <xsd:enumeration value="NO_SESSION"/>
48
+ <xsd:enumeration value="TOO_MANY_REQUESTS"/>
49
+ <xsd:enumeration value="PRODUCT_REQUIRES_FUNDED_ACCOUNT"/>
50
+ <xsd:enumeration value="SERVICE_NOT_AVAILABLE_FOR_LOGIN_STATUS"/>
51
+ </xsd:restriction>
52
+ </xsd:simpleType>
53
+ <xsd:complexType abstract="true" name="APIRequest">
54
+ <xsd:sequence>
55
+ <xsd:element name="header" nillable="true" type="types:APIRequestHeader"/>
56
+ </xsd:sequence>
57
+ </xsd:complexType>
58
+ <xsd:complexType name="APIRequestHeader">
59
+ <xsd:sequence>
60
+ <xsd:element name="clientStamp" type="xsd:long"/>
61
+ <xsd:element name="sessionToken" nillable="true" type="xsd:string"/>
62
+ </xsd:sequence>
63
+ </xsd:complexType>
64
+
65
+ <xsd:complexType name="GetAccountFundsResp">
66
+ <xsd:complexContent>
67
+ <xsd:extension base="types:APIResponse">
68
+ <xsd:sequence>
69
+ <xsd:element name="availBalance" nillable="false" type="xsd:double"/>
70
+ <xsd:element name="balance" nillable="false" type="xsd:double"/>
71
+ <xsd:element name="commissionRetain" nillable="false" type="xsd:double"/>
72
+ <xsd:element name="creditLimit" nillable="false" type="xsd:double"/>
73
+ <xsd:element name="currentBetfairPoints" nillable="false" type="xsd:int"/>
74
+ <xsd:element name="expoLimit" nillable="false" type="xsd:double"/>
75
+ <xsd:element name="exposure" nillable="false" type="xsd:double"/>
76
+ <xsd:element name="holidaysAvailable" nillable="false" type="xsd:int"/>
77
+ <xsd:element name="minorErrorCode" nillable="true" type="xsd:string"/>
78
+ <xsd:element name="nextDiscount" nillable="false" type="xsd:double"/>
79
+ <xsd:element name="withdrawBalance" nillable="false" type="xsd:double"/>
80
+ <xsd:element name="errorCode" type="types:GetAccountFundsErrorEnum" />
81
+ </xsd:sequence>
82
+ </xsd:extension>
83
+ </xsd:complexContent>
84
+ </xsd:complexType>
85
+ <xsd:simpleType name="GetAccountFundsErrorEnum">
86
+ <xsd:restriction base="xsd:string">
87
+ <xsd:enumeration value="OK"/>
88
+ <xsd:enumeration value="EXPOSURE_CALC_IN_PROGRESS"/>
89
+ <xsd:enumeration value="API_ERROR"/>
90
+ </xsd:restriction>
91
+ </xsd:simpleType>
92
+ <xsd:complexType name="GetAccountFundsReq">
93
+ <xsd:complexContent>
94
+ <xsd:extension base="types:APIRequest"/>
95
+ </xsd:complexContent>
96
+ </xsd:complexType>
97
+
98
+ <xsd:complexType name="GetSilksResp">
99
+ <xsd:complexContent>
100
+ <xsd:extension base="types:APIResponse">
101
+ <xsd:sequence>
102
+ <xsd:element name="errorCode" type="types:GetSilksErrorEnum"/>
103
+ <xsd:element name="minorErrorCode" nillable="true" type="xsd:string"/>
104
+ <xsd:element name="marketDisplayDetails" nillable="true" type="types:ArrayOfMarketDisplayDetail"/>
105
+ </xsd:sequence>
106
+ </xsd:extension>
107
+ </xsd:complexContent>
108
+ </xsd:complexType>
109
+ <xsd:complexType name="MarketDisplayDetail">
110
+ <xsd:sequence>
111
+ <xsd:element name="marketId" nillable="false" type="xsd:int"/>
112
+ <xsd:element name="racingSilks" nillable="true" type="types:ArrayOfRacingSilk"/>
113
+ <xsd:element name="errorCode" type="types:MarketDisplayErrorEnum"/>
114
+ </xsd:sequence>
115
+ </xsd:complexType>
116
+ <xsd:complexType name="ArrayOfMarketDisplayDetail">
117
+ <xsd:sequence>
118
+ <xsd:element form="qualified" maxOccurs="unbounded" minOccurs="0"
119
+ name="MarketDisplayDetail" nillable="true" type="types:MarketDisplayDetail"/>
120
+ </xsd:sequence>
121
+ </xsd:complexType>
122
+ <xsd:complexType name="RacingSilk">
123
+ <xsd:sequence>
124
+ <xsd:element name="selectionId" nillable="false" type="xsd:int"/>
125
+ <xsd:element name="silksURL" nillable="true" type="xsd:string"/>
126
+ <xsd:element name="silksText" nillable="true" type="xsd:string"/>
127
+ <xsd:element name="trainerName" nillable="true" type="xsd:string"/>
128
+ <xsd:element name="ageWeight" nillable="true" type="xsd:string"/>
129
+ <xsd:element name="form" nillable="true" type="xsd:string"/>
130
+ <xsd:element name="daysSince" nillable="false" type="xsd:int"/>
131
+ <xsd:element name="jockeyClaim" nillable="false" type="xsd:int"/>
132
+ <xsd:element name="wearing" nillable="true" type="xsd:string"/>
133
+ <xsd:element name="saddleCloth" nillable="false" type="xsd:int"/>
134
+ <xsd:element name="stallDraw" nillable="false" type="xsd:int"/>
135
+ </xsd:sequence>
136
+ </xsd:complexType>
137
+ <xsd:complexType name="ArrayOfRacingSilk">
138
+ <xsd:sequence>
139
+ <xsd:element form="qualified" maxOccurs="unbounded" minOccurs="0"
140
+ name="RacingSilk" nillable="true" type="types:RacingSilk"/>
141
+ </xsd:sequence>
142
+ </xsd:complexType>
143
+ <xsd:simpleType name="GetSilksErrorEnum">
144
+ <xsd:restriction base="xsd:string">
145
+ <xsd:enumeration value="OK"/>
146
+ <xsd:enumeration value="INVALID_LOCALE"/>
147
+ <xsd:enumeration value="INVALID_NUMBER_OF_MARKETS"/>
148
+ <xsd:enumeration value="API_ERROR"/>
149
+ </xsd:restriction>
150
+ </xsd:simpleType>
151
+ <xsd:simpleType name="MarketDisplayErrorEnum">
152
+ <xsd:restriction base="xsd:string">
153
+ <xsd:enumeration value="OK"/>
154
+ <xsd:enumeration value="INVALID_MARKET"/>
155
+ <xsd:enumeration value="NO_SILKS_AVAILABLE"/>
156
+ </xsd:restriction>
157
+ </xsd:simpleType>
158
+ <xsd:complexType name="GetSilksReq">
159
+ <xsd:complexContent>
160
+ <xsd:extension base="types:APIRequest">
161
+ <xsd:sequence>
162
+ <xsd:element name="locale" nillable="true" type="xsd:string"/>
163
+ <xsd:element name="markets" nillable="true" type="types:ArrayOfInt"/>
164
+ </xsd:sequence>
165
+ </xsd:extension>
166
+ </xsd:complexContent>
167
+ </xsd:complexType>
168
+
169
+ <xsd:complexType name="GetSilksV2Resp">
170
+ <xsd:complexContent>
171
+ <xsd:extension base="types:APIResponse">
172
+ <xsd:sequence>
173
+ <xsd:element name="errorCode" type="types:GetSilksErrorEnum"/>
174
+ <xsd:element name="minorErrorCode" nillable="true" type="xsd:string"/>
175
+ <xsd:element name="marketDisplayDetails" nillable="true" type="types:ArrayOfMarketDisplayDetailV2"/>
176
+ </xsd:sequence>
177
+ </xsd:extension>
178
+ </xsd:complexContent>
179
+ </xsd:complexType>
180
+ <xsd:complexType name="MarketDisplayDetailV2">
181
+ <xsd:sequence>
182
+ <xsd:element name="marketId" nillable="false" type="xsd:int"/>
183
+ <xsd:element name="racingSilks" nillable="true" type="types:ArrayOfRacingSilkV2"/>
184
+ <xsd:element name="errorCode" type="types:MarketDisplayErrorEnum"/>
185
+ </xsd:sequence>
186
+ </xsd:complexType>
187
+ <xsd:complexType name="ArrayOfMarketDisplayDetailV2">
188
+ <xsd:sequence>
189
+ <xsd:element form="qualified" maxOccurs="unbounded" minOccurs="0"
190
+ name="MarketDisplayDetail" nillable="true" type="types:MarketDisplayDetailV2"/>
191
+ </xsd:sequence>
192
+ </xsd:complexType>
193
+ <xsd:complexType name="Breeding">
194
+ <xsd:sequence>
195
+ <xsd:element name="name" nillable="true" type="xsd:string"/>
196
+ <xsd:element name="bred" nillable="true" type="xsd:string"/>
197
+ <xsd:element name="yearBorn" nillable="true" type="xsd:string"/>
198
+ </xsd:sequence>
199
+ </xsd:complexType>
200
+ <xsd:complexType name="RacingSilkV2">
201
+ <xsd:complexContent>
202
+ <xsd:extension base="types:RacingSilk">
203
+ <xsd:sequence>
204
+ <!-- Version 2 fields -->
205
+ <xsd:element name="ownerName" nillable="true" type="xsd:string"/>
206
+ <xsd:element name="jockeyName" nillable="true" type="xsd:string"/>
207
+ <xsd:element name="colour" nillable="true" type="xsd:string"/>
208
+ <xsd:element name="sex" nillable="true" type="xsd:string"/>
209
+ <xsd:element name="bred" nillable="true" type="xsd:string"/>
210
+ <xsd:element name="forecastPriceNumerator" nillable="false" type="xsd:int"/>
211
+ <xsd:element name="forecastPriceDenominator" nillable="false" type="xsd:int"/>
212
+ <xsd:element name="officialRating" nillable="false" type="xsd:int"/>
213
+ <xsd:element name="sire" nillable="true" type="types:Breeding"/>
214
+ <xsd:element name="dam" nillable="true" type="types:Breeding"/>
215
+ <xsd:element name="damSire" nillable="true" type="types:Breeding"/>
216
+ </xsd:sequence>
217
+ </xsd:extension>
218
+ </xsd:complexContent>
219
+ </xsd:complexType>
220
+ <xsd:complexType name="ArrayOfRacingSilkV2">
221
+ <xsd:sequence>
222
+ <xsd:element form="qualified" maxOccurs="unbounded" minOccurs="0"
223
+ name="RacingSilk" nillable="true" type="types:RacingSilkV2"/>
224
+ </xsd:sequence>
225
+ </xsd:complexType>
226
+ <xsd:complexType name="GetSilksV2Req">
227
+ <xsd:complexContent>
228
+ <xsd:extension base="types:GetSilksReq">
229
+ </xsd:extension>
230
+ </xsd:complexContent>
231
+ </xsd:complexType>
232
+
233
+ <xsd:complexType name="CancelBetsResp">
234
+ <xsd:complexContent>
235
+ <xsd:extension base="types:APIResponse">
236
+ <xsd:sequence>
237
+ <xsd:element name="betResults" nillable="true" type="types:ArrayOfCancelBetsResult"/>
238
+ <xsd:element name="errorCode" type="types:CancelBetsErrorEnum"/>
239
+ <xsd:element name="minorErrorCode" nillable="true" type="xsd:string"/>
240
+ </xsd:sequence>
241
+ </xsd:extension>
242
+ </xsd:complexContent>
243
+ </xsd:complexType>
244
+ <xsd:complexType name="CancelBetsResult">
245
+ <xsd:sequence>
246
+ <xsd:element name="betId" type="xsd:long"/>
247
+ <xsd:element name="resultCode" type="types:CancelBetsResultEnum"/>
248
+ <xsd:element name="sizeCancelled" nillable="false" type="xsd:double"/>
249
+ <xsd:element name="sizeMatched" nillable="false" type="xsd:double"/>
250
+ <xsd:element name="success" nillable="false" type="xsd:boolean"/>
251
+ </xsd:sequence>
252
+ </xsd:complexType>
253
+ <xsd:simpleType name="CancelBetsResultEnum">
254
+ <xsd:restriction base="xsd:string">
255
+ <xsd:enumeration value="OK"/>
256
+ <xsd:enumeration value="BET_IN_PROGRESS"/>
257
+ <xsd:enumeration value="BBM_DAEMON_NOT_AVAILABLE"/>
258
+ <xsd:enumeration value="INVALID_BET_ID"/>
259
+ <xsd:enumeration value="UNKNOWN_ERROR"/>
260
+ <xsd:enumeration value="TAKEN_OR_LAPSED"/>
261
+ <xsd:enumeration value="REMAINING_CANCELLED"/>
262
+ <xsd:enumeration value="INPLAY_FORBIDDEN"/>
263
+ <xsd:enumeration value="FROM_COUNTRY_FORBIDDEN"/>
264
+ <xsd:enumeration value="INPLAY_FROM_COUNTRY_FORBIDDEN"/>
265
+ <xsd:enumeration value="SITE_UPGRADE"/>
266
+ <xsd:enumeration value="BET_NOT_CANCELLED"/>
267
+ <xsd:enumeration value="BSP_BETS_CANNOT_BE_CANCELLED"/>
268
+ </xsd:restriction>
269
+ </xsd:simpleType>
270
+ <xsd:complexType name="ArrayOfCancelBetsResult">
271
+ <xsd:sequence>
272
+ <xsd:element form="qualified" maxOccurs="unbounded" minOccurs="0"
273
+ name="CancelBetsResult" nillable="true" type="types:CancelBetsResult"/>
274
+ </xsd:sequence>
275
+ </xsd:complexType>
276
+ <xsd:simpleType name="CancelBetsErrorEnum">
277
+ <xsd:restriction base="xsd:string">
278
+ <xsd:enumeration value="OK"/>
279
+ <xsd:enumeration value="BET_IN_PROGRESS"/>
280
+ <xsd:enumeration value="BBM_DAEMON_NOT_AVAILABLE"/>
281
+ <xsd:enumeration value="INVALID_NUMER_OF_CANCELLATIONS"/>
282
+ <xsd:enumeration value="MARKET_TYPE_NOT_SUPPORTED"/>
283
+ <xsd:enumeration value="MARKET_STATUS_INVALID"/>
284
+ <xsd:enumeration value="MARKET_IDS_DONT_MATCH"/>
285
+ <xsd:enumeration value="INVALID_MARKET_ID"/>
286
+ <xsd:enumeration value="API_ERROR"/>
287
+ </xsd:restriction>
288
+ </xsd:simpleType>
289
+ <xsd:complexType name="CancelBetsReq">
290
+ <xsd:complexContent>
291
+ <xsd:extension base="types:APIRequest">
292
+ <xsd:sequence>
293
+ <xsd:element name="bets" nillable="true" type="types:ArrayOfCancelBets"/>
294
+ </xsd:sequence>
295
+ </xsd:extension>
296
+ </xsd:complexContent>
297
+ </xsd:complexType>
298
+ <xsd:complexType name="CancelBets">
299
+ <xsd:sequence>
300
+ <xsd:element name="betId" type="xsd:long"/>
301
+ </xsd:sequence>
302
+ </xsd:complexType>
303
+ <xsd:complexType name="ArrayOfCancelBets">
304
+ <xsd:sequence>
305
+ <xsd:element form="qualified" maxOccurs="unbounded" minOccurs="0"
306
+ name="CancelBets" nillable="true" type="types:CancelBets"/>
307
+ </xsd:sequence>
308
+ </xsd:complexType>
309
+
310
+
311
+ <xsd:complexType name="CancelBetsByMarketReq">
312
+ <xsd:complexContent>
313
+ <xsd:extension base="types:APIRequest">
314
+ <xsd:sequence>
315
+ <xsd:element name="markets" nillable="true" type="types:ArrayOfInt"/>
316
+ </xsd:sequence>
317
+ </xsd:extension>
318
+ </xsd:complexContent>
319
+ </xsd:complexType>
320
+ <xsd:complexType name="CancelBetsByMarketResp">
321
+ <xsd:complexContent>
322
+ <xsd:extension base="types:APIResponse">
323
+ <xsd:sequence>
324
+ <xsd:element name="results" nillable="true" type="types:ArrayOfCancelBetsByMarketResult"/>
325
+ <xsd:element name="errorCode" type="types:CancelBetsByMarketErrorEnum"/>
326
+ <xsd:element name="minorErrorCode" nillable="true" type="xsd:string"/>
327
+ </xsd:sequence>
328
+ </xsd:extension>
329
+ </xsd:complexContent>
330
+ </xsd:complexType>
331
+ <xsd:simpleType name="CancelBetsByMarketErrorEnum">
332
+ <xsd:restriction base="xsd:string">
333
+ <xsd:enumeration value="OK"/>
334
+ <xsd:enumeration value="INVALID_NUMBER_OF_MARKETS"/>
335
+ <xsd:enumeration value="API_ERROR"/>
336
+ </xsd:restriction>
337
+ </xsd:simpleType>
338
+ <xsd:complexType name="ArrayOfCancelBetsByMarketResult">
339
+ <xsd:sequence>
340
+ <xsd:element form="qualified" maxOccurs="unbounded" minOccurs="0"
341
+ name="CancelBetsByMarketResult" nillable="true" type="types:CancelBetsByMarketResult"/>
342
+ </xsd:sequence>
343
+ </xsd:complexType>
344
+ <xsd:complexType name="CancelBetsByMarketResult">
345
+ <xsd:sequence>
346
+ <xsd:element name="marketId" type="xsd:int"/>
347
+ <xsd:element name="resultCode" type="types:CancelBetsByMarketResultEnum"/>
348
+ </xsd:sequence>
349
+ </xsd:complexType>
350
+ <xsd:simpleType name="CancelBetsByMarketResultEnum">
351
+ <xsd:restriction base="xsd:string">
352
+ <xsd:enumeration value="OK"/>
353
+ <xsd:enumeration value="MARKET_STATUS_INVALID"/>
354
+ <xsd:enumeration value="UNKNOWN_ERROR"/>
355
+ <xsd:enumeration value="INVALID_MARKET"/>
356
+ <xsd:enumeration value="NO_UNMATCHED_BETS"/>
357
+ <xsd:enumeration value="INPLAY_FORBIDDEN"/>
358
+ <xsd:enumeration value="FROM_COUNTRY_FORBIDDEN"/>
359
+ <xsd:enumeration value="INPLAY_FROM_COUNTRY_FORBIDDEN"/>
360
+ <xsd:enumeration value="SITE_UPGRADE"/>
361
+ <xsd:enumeration value="BET_NOT_CANCELLED"/>
362
+ </xsd:restriction>
363
+ </xsd:simpleType>
364
+
365
+ <xsd:complexType name="UpdateBetsResp">
366
+ <xsd:complexContent>
367
+ <xsd:extension base="types:APIResponse">
368
+ <xsd:sequence>
369
+ <xsd:element name="betResults" nillable="true" type="types:ArrayOfUpdateBetsResult"/>
370
+ <xsd:element name="errorCode" type="types:UpdateBetsErrorEnum"/>
371
+ <xsd:element name="minorErrorCode" nillable="true" type="xsd:string"/>
372
+ </xsd:sequence>
373
+ </xsd:extension>
374
+ </xsd:complexContent>
375
+ </xsd:complexType>
376
+ <xsd:complexType name="UpdateBetsResult">
377
+ <xsd:sequence>
378
+ <xsd:element name="betId" nillable="false" type="xsd:long"/>
379
+ <xsd:element name="newBetId" nillable="true" type="xsd:long"/>
380
+ <xsd:element name="sizeCancelled" nillable="true" type="xsd:double"/>
381
+ <xsd:element name="newSize" nillable="true" type="xsd:double"/>
382
+ <xsd:element name="newPrice" nillable="true" type="xsd:double"/>
383
+ <xsd:element name="resultCode" type="types:UpdateBetsResultEnum"/>
384
+ <xsd:element name="success" nillable="false" type="xsd:boolean"/>
385
+ </xsd:sequence>
386
+ </xsd:complexType>
387
+ <xsd:simpleType name="UpdateBetsResultEnum">
388
+ <xsd:restriction base="xsd:string">
389
+ <xsd:enumeration value="OK"/>
390
+ <xsd:enumeration value="BET_IN_PROGRESS"/>
391
+ <xsd:enumeration value="BBM_DAEMON_NOT_AVAILABLE"/>
392
+ <xsd:enumeration value="BET_CANCELLED_REMAINING_UNMATCHED"/>
393
+ <xsd:enumeration value="BET_CANNOT_BE_ACCEPTED"/>
394
+ <xsd:enumeration value="BET_NOT_CANCELLED"/>
395
+ <xsd:enumeration value="BET_TAKEN_OR_LAPSED"/>
396
+ <xsd:enumeration value="CANCELLED_NOT_PLACED"/>
397
+ <xsd:enumeration value="ERROR_LINE_EXPO_BET_CANCELLED_NOT_PLACED"/>
398
+ <xsd:enumeration value="EVENT_CLOSED_CANNOT_MODIFY_BET"/>
399
+ <xsd:enumeration value="EXCEEDED_EXPOSURE_OR_AVAILABLE_TO_BET_BALANCE"/>
400
+ <xsd:enumeration value="EXPOSURE_CALCULATION_ERROR"/>
401
+ <xsd:enumeration value="EXPOSURE_CALCULATION_IN_PROGRESS"/>
402
+ <xsd:enumeration value="FROM_COUNTRY_ON_EVENT_FORBIDDEN"/>
403
+ <xsd:enumeration value="INPLAY_FROM_COUNTRY_FORBIDDEN"/>
404
+ <xsd:enumeration value="INSUFFICIENT_BALANCE"/>
405
+ <xsd:enumeration value="INVALID_BET_ID"/>
406
+ <xsd:enumeration value="INVALID_OLD_PRICE"/>
407
+ <xsd:enumeration value="INVALID_OLD_SIZE"/>
408
+ <xsd:enumeration value="INVALID_PRICE"/>
409
+ <xsd:enumeration value="INVALID_PRICE_AND_SIZE"/>
410
+ <xsd:enumeration value="INVALID_SIZE"/>
411
+ <xsd:enumeration value="LOSS_LIMIT_EXCEEDED"/>
412
+ <xsd:enumeration value="NEW_BET_SUBMITTED_SUCCESSFULLY"/>
413
+ <xsd:enumeration value="NOT_PLACED_EXPOSURE_EXCEEDED"/>
414
+ <xsd:enumeration value="NOT_PLACED_REMAINING_CANCELLED"/>
415
+ <xsd:enumeration value="OK_REMAINING_CANCELLED"/>
416
+ <xsd:enumeration value="PARTIAL_CANCELLATION"/>
417
+ <xsd:enumeration value="REMAINING_SIZE_CANCELLED"/>
418
+ <xsd:enumeration value="RUNNER_REMOVED"/>
419
+ <xsd:enumeration value="SITE_UPGRADE"/>
420
+ <xsd:enumeration value="UNKNOWN_ERROR"/>
421
+ <xsd:enumeration value="VACANT_TRAP"/>
422
+ <xsd:enumeration value="WRONG_MININUM_PERMITTED_BET_SIZE"/>
423
+ <xsd:enumeration value="BSP_BETS_CANNOT_BE_CANCELLED"/>
424
+ <xsd:enumeration value="BSP_BETTING_NOT_ALLOWED"/>
425
+ <xsd:enumeration value="BSP_BETTING_NOT_SUPPORTED"/>
426
+ <xsd:enumeration value="BSP_INVALID_PRICE_LIMIT"/>
427
+ <xsd:enumeration value="BSP_MOC_BETS_EDITING_NOT_PERMITTED"/>
428
+ <xsd:enumeration value="INVALID_BSP_BET_UPDATE"/>
429
+ <xsd:enumeration value="INVALID_INPUTS"/>
430
+ <xsd:enumeration value="PERSISTENCE_MODIFICATION_SUCCESS"/>
431
+ <xsd:enumeration value="INVALID_NEW_PRICE_LIMIT"/>
432
+ <xsd:enumeration value="BSP_INVALID_PERSISTENCE"/>
433
+ </xsd:restriction>
434
+ </xsd:simpleType>
435
+ <xsd:complexType name="ArrayOfUpdateBetsResult">
436
+ <xsd:sequence>
437
+ <xsd:element form="qualified" maxOccurs="unbounded" minOccurs="0"
438
+ name="UpdateBetsResult" nillable="true" type="types:UpdateBetsResult"/>
439
+ </xsd:sequence>
440
+ </xsd:complexType>
441
+ <xsd:simpleType name="UpdateBetsErrorEnum">
442
+ <xsd:restriction base="xsd:string">
443
+ <xsd:enumeration value="OK"/>
444
+ <xsd:enumeration value="BET_IN_PROGRESS"/>
445
+ <xsd:enumeration value="BBM_DAEMON_NOT_AVAILABLE"/>
446
+ <xsd:enumeration value="ACCOUNT_PENDING"/>
447
+ <xsd:enumeration value="ACCOUNT_SUSPENDED"/>
448
+ <xsd:enumeration value="ACCOUNT_CLOSED"/>
449
+ <xsd:enumeration value="INVALID_NUMBER_OF_BETS"/>
450
+ <xsd:enumeration value="INVALID_MARKET_ID"/>
451
+ <xsd:enumeration value="MARKET_STATUS_INVALID"/>
452
+ <xsd:enumeration value="FROM_COUNTRY_FORBIDDEN"/>
453
+ <xsd:enumeration value="API_ERROR"/>
454
+ <xsd:enumeration value="MARKET_TYPE_NOT_SUPPORTED"/>
455
+ </xsd:restriction>
456
+ </xsd:simpleType>
457
+ <xsd:complexType name="UpdateBetsReq">
458
+ <xsd:complexContent>
459
+ <xsd:extension base="types:APIRequest">
460
+ <xsd:sequence>
461
+ <xsd:element name="bets" nillable="true" type="types:ArrayOfUpdateBets"/>
462
+ </xsd:sequence>
463
+ </xsd:extension>
464
+ </xsd:complexContent>
465
+ </xsd:complexType>
466
+ <xsd:complexType name="UpdateBets">
467
+ <xsd:sequence>
468
+ <xsd:element name="betId" type="xsd:long"/>
469
+ <xsd:element name="newPrice" nillable="true" type="xsd:double"/>
470
+ <xsd:element name="newSize" nillable="false" type="xsd:double"/>
471
+ <xsd:element name="oldPrice" nillable="true" type="xsd:double"/>
472
+ <xsd:element name="oldSize" nillable="false" type="xsd:double"/>
473
+ <xsd:element name="oldBetPersistenceType" type="types:BetPersistenceTypeEnum"/>
474
+ <xsd:element name="newBetPersistenceType" type="types:BetPersistenceTypeEnum"/>
475
+ </xsd:sequence>
476
+ </xsd:complexType>
477
+ <xsd:complexType name="ArrayOfUpdateBets">
478
+ <xsd:sequence>
479
+ <xsd:element form="qualified" maxOccurs="unbounded" minOccurs="0"
480
+ name="UpdateBets" nillable="true" type="types:UpdateBets"/>
481
+ </xsd:sequence>
482
+ </xsd:complexType>
483
+ <xsd:complexType name="PlaceBetsResp">
484
+ <xsd:complexContent>
485
+ <xsd:extension base="types:APIResponse">
486
+ <xsd:sequence>
487
+ <xsd:element name="betResults" nillable="true" type="types:ArrayOfPlaceBetsResult"/>
488
+ <xsd:element name="errorCode" type="types:PlaceBetsErrorEnum"/>
489
+ <xsd:element name="minorErrorCode" nillable="true" type="xsd:string"/>
490
+ </xsd:sequence>
491
+ </xsd:extension>
492
+ </xsd:complexContent>
493
+ </xsd:complexType>
494
+ <xsd:complexType name="PlaceBetsResult">
495
+ <xsd:sequence>
496
+ <xsd:element name="averagePriceMatched" nillable="false" type="xsd:double"/>
497
+ <xsd:element name="betId" type="xsd:long"/>
498
+ <xsd:element name="resultCode" type="types:PlaceBetsResultEnum"/>
499
+ <xsd:element name="sizeMatched" nillable="false" type="xsd:double"/>
500
+ <xsd:element name="success" nillable="false" type="xsd:boolean"/>
501
+ </xsd:sequence>
502
+ </xsd:complexType>
503
+ <xsd:simpleType name="PlaceBetsErrorEnum">
504
+ <xsd:restriction base="xsd:string">
505
+ <xsd:enumeration value="OK"/>
506
+ <xsd:enumeration value="BETWEEN_1_AND_60_BETS_REQUIRED"/>
507
+ <xsd:enumeration value="EVENT_INACTIVE"/>
508
+ <xsd:enumeration value="EVENT_CLOSED"/>
509
+ <xsd:enumeration value="EVENT_SUSPENDED"/>
510
+ <xsd:enumeration value="ACCOUNT_CLOSED"/>
511
+ <xsd:enumeration value="ACCOUNT_SUSPENDED"/>
512
+ <xsd:enumeration value="AUTHORISATION_PENDING"/>
513
+ <xsd:enumeration value="INTERNAL_ERROR"/>
514
+ <xsd:enumeration value="SITE_UPGRADE"/>
515
+ <xsd:enumeration value="BACK_LAY_COMBINATION"/>
516
+ <xsd:enumeration value="INVALID_MARKET"/>
517
+ <xsd:enumeration value="MARKET_TYPE_NOT_SUPPORTED"/>
518
+ <xsd:enumeration value="DIFFERING_MARKETS"/>
519
+ <xsd:enumeration value="FROM_COUNTRY_FORBIDDEN"/>
520
+ <xsd:enumeration value="ACCOUNT_IS_EXCLUDED"/>
521
+ <xsd:enumeration value="BET_IN_PROGRESS"/>
522
+ <xsd:enumeration value="BBM_DAEMON_NOT_AVAILABLE"/>
523
+ <xsd:enumeration value="BSP_BETTING_NOT_SUPPORTED"/>
524
+ <xsd:enumeration value="API_ERROR"/>
525
+ </xsd:restriction>
526
+ </xsd:simpleType>
527
+ <xsd:simpleType name="PlaceBetsResultEnum">
528
+ <xsd:restriction base="xsd:string">
529
+ <xsd:enumeration value="OK"/>
530
+ <xsd:enumeration value="BET_IN_PROGRESS"/>
531
+ <xsd:enumeration value="BBM_DAEMON_NOT_AVAILABLE"/>
532
+ <xsd:enumeration value="ACCOUNT_CLOSED"/>
533
+ <xsd:enumeration value="ACCOUNT_IS_EXCLUDED"/>
534
+ <xsd:enumeration value="ACCOUNT_SUSPENDED"/>
535
+ <xsd:enumeration value="CANNOT_ACCEPT_BET"/>
536
+ <xsd:enumeration value="EXPOSURE_CALCULATION_IN_PROGRESS"/>
537
+ <xsd:enumeration value="EXPOSURE_OR_AVAILABLE_BALANCE_EXCEEDED"/>
538
+ <xsd:enumeration value="FROM_COUNTRY_ON_EVENT_FORBIDDEN"/>
539
+ <xsd:enumeration value="INPLAY_FROM_COUNTRY_FORBIDDEN"/>
540
+ <xsd:enumeration value="INSUFFICIENT_BALANCE"/>
541
+ <xsd:enumeration value="INVALID_ASIAN_LINE_ID"/>
542
+ <xsd:enumeration value="INVALID_BET_TYPE"/>
543
+ <xsd:enumeration value="INVALID_INCREMENT"/>
544
+ <xsd:enumeration value="INVALID_MARKET"/>
545
+ <xsd:enumeration value="INVALID_PRICE"/>
546
+ <xsd:enumeration value="INVALID_SELECTION"/>
547
+ <xsd:enumeration value="INVALID_SIZE"/>
548
+ <xsd:enumeration value="LINES_OUT_OF_RANGE"/>
549
+ <xsd:enumeration value="LOSS_LIMIT_EXCEEDED"/>
550
+ <xsd:enumeration value="SELECTION_REMOVED"/>
551
+ <xsd:enumeration value="UNKNOWN_ERROR"/>
552
+ <xsd:enumeration value="VACANT_TRAP"/>
553
+ <xsd:enumeration value="EVENT_CLOSED"/>
554
+ <xsd:enumeration value="AUTHORISATION_PENDING"/>
555
+ <xsd:enumeration value="BSP_BETTING_NOT_ALLOWED"/>
556
+ <xsd:enumeration value="BSP_BETTING_NOT_SUPPORTED"/>
557
+ <xsd:enumeration value="BSP_MULTIPLE_BETS_NOT_ALLOWED"/>
558
+ <xsd:enumeration value="EVENT_RECONCILED"/>
559
+ <xsd:enumeration value="INVALID_PERSISTENCE"/>
560
+ <xsd:enumeration value="ACCOUNT_LOCKED"/>
561
+ </xsd:restriction>
562
+ </xsd:simpleType>
563
+ <xsd:complexType name="ArrayOfPlaceBetsResult">
564
+ <xsd:sequence>
565
+ <xsd:element form="qualified" maxOccurs="unbounded" minOccurs="0"
566
+ name="PlaceBetsResult" nillable="true" type="types:PlaceBetsResult"/>
567
+ </xsd:sequence>
568
+ </xsd:complexType>
569
+ <xsd:complexType name="PlaceBetsReq">
570
+ <xsd:complexContent>
571
+ <xsd:extension base="types:APIRequest">
572
+ <xsd:sequence>
573
+ <xsd:element name="bets" nillable="true" type="types:ArrayOfPlaceBets"/>
574
+ </xsd:sequence>
575
+ </xsd:extension>
576
+ </xsd:complexContent>
577
+ </xsd:complexType>
578
+ <xsd:complexType name="PlaceBets">
579
+ <xsd:sequence>
580
+ <xsd:element name="asianLineId" nillable="false" type="xsd:int"/>
581
+ <xsd:element name="betType" type="types:BetTypeEnum"/>
582
+ <xsd:element name="betCategoryType" type="types:BetCategoryTypeEnum"/>
583
+ <xsd:element name="betPersistenceType" type="types:BetPersistenceTypeEnum"/>
584
+ <xsd:element name="marketId" nillable="false" type="xsd:int"/>
585
+ <xsd:element name="price" nillable="false" type="xsd:double"/>
586
+ <xsd:element name="selectionId" nillable="false" type="xsd:int"/>
587
+ <xsd:element name="size" nillable="true" type="xsd:double"/>
588
+ <xsd:element name="bspLiability" nillable="true" type="xsd:double"/>
589
+ </xsd:sequence>
590
+ </xsd:complexType>
591
+ <xsd:simpleType name="BetTypeEnum">
592
+ <xsd:restriction base="xsd:string">
593
+ <xsd:enumeration value="B"/>
594
+ <xsd:enumeration value="L"/>
595
+ </xsd:restriction>
596
+ </xsd:simpleType>
597
+ <xsd:complexType name="ArrayOfPlaceBets">
598
+ <xsd:sequence>
599
+ <xsd:element form="qualified" maxOccurs="unbounded" minOccurs="0"
600
+ name="PlaceBets" nillable="true" type="types:PlaceBets"/>
601
+ </xsd:sequence>
602
+ </xsd:complexType>
603
+
604
+ <xsd:simpleType name="MarketTypeEnum">
605
+ <xsd:restriction base="xsd:string">
606
+ <xsd:enumeration value="O"/>
607
+ <xsd:enumeration value="L"/>
608
+ <xsd:enumeration value="R"/>
609
+ <xsd:enumeration value="A"/>
610
+ <xsd:enumeration value="NOT_APPLICABLE"/>
611
+ </xsd:restriction>
612
+ </xsd:simpleType>
613
+
614
+ <xsd:simpleType name="MarketTypeVariantEnum">
615
+ <xsd:restriction base="xsd:string">
616
+ <xsd:enumeration value="D"/><!-- default -->
617
+ <xsd:enumeration value="ASL"/><!-- asian single line -->
618
+ <xsd:enumeration value="ADL"/><!-- asian double line -->
619
+ <xsd:enumeration value="COUP"/><!-- coupon -->
620
+ </xsd:restriction>
621
+ </xsd:simpleType>
622
+
623
+ <xsd:complexType name="GetCouponResp">
624
+ <xsd:complexContent>
625
+ <xsd:extension base="types:APIResponse">
626
+ <xsd:sequence>
627
+ <xsd:element name="couponId" nillable="false" type="xsd:int"/>
628
+ <xsd:element name="couponName" nillable="true" type="xsd:string"/>
629
+ <xsd:element name="couponMarketItems" nillable="true" type="types:ArrayOfCouponMarket"/>
630
+ <xsd:element name="parentEventId" nillable="false" type="xsd:int"/>
631
+ <xsd:element name="errorCode" type="types:GetCouponErrorEnum"/>
632
+ <xsd:element name="minorErrorCode" nillable="true" type="xsd:string"/>
633
+ </xsd:sequence>
634
+ </xsd:extension>
635
+ </xsd:complexContent>
636
+ </xsd:complexType>
637
+ <xsd:simpleType name="GetCouponErrorEnum">
638
+ <xsd:restriction base="xsd:string">
639
+ <xsd:enumeration value="OK"/>
640
+ <xsd:enumeration value="INVALID_COUPON_ID"/>
641
+ <xsd:enumeration value="INVALID_LOCALE_DEFAULTING_TO_ENGLISH"/>
642
+ <xsd:enumeration value="API_ERROR"/>
643
+ </xsd:restriction>
644
+ </xsd:simpleType>
645
+ <xsd:complexType name="CouponMarket">
646
+ <xsd:sequence>
647
+ <xsd:element name="marketId" nillable="false" type="xsd:int"/>
648
+ <xsd:element name="marketName" nillable="true" type="xsd:string"/>
649
+ <xsd:element name="exchangeId" nillable="false" type="xsd:int"/>
650
+ <xsd:element name="parentEventName" nillable="true" type="xsd:string"/>
651
+ <xsd:element name="marketStatus" type="types:MarketStatusEnum"/>
652
+ <xsd:element name="marketType" type="types:MarketTypeEnum"/>
653
+ <xsd:element name="marketTypeVariant" type="types:MarketTypeVariantEnum"/>
654
+ <xsd:element name="marketInfo" nillable="true" type="xsd:string"/>
655
+ <xsd:element name="startTime" type="xsd:dateTime"/>
656
+ <xsd:element name="betDelay" nillable="false" type="xsd:int"/>
657
+ <xsd:element name="couponSelectionItems" nillable="true"
658
+ type="types:ArrayOfCouponSelection"/>
659
+ </xsd:sequence>
660
+ </xsd:complexType>
661
+ <xsd:complexType name="CouponSelection">
662
+ <xsd:sequence>
663
+ <xsd:element name="runner" nillable="false" type="types:Runner"/>
664
+ <xsd:element name="backOdds" nillable="true" type="xsd:double"/>
665
+ <xsd:element name="layOdds" nillable="true" type="xsd:double"/>
666
+ </xsd:sequence>
667
+ </xsd:complexType>
668
+ <xsd:complexType name="ArrayOfCouponSelection">
669
+ <xsd:sequence>
670
+ <xsd:element form="qualified" maxOccurs="unbounded" minOccurs="0" name="CouponSelection" nillable="true"
671
+ type="types:CouponSelection"/>
672
+ </xsd:sequence>
673
+ </xsd:complexType>
674
+ <xsd:complexType name="ArrayOfCouponMarket">
675
+ <xsd:sequence>
676
+ <xsd:element form="qualified" maxOccurs="unbounded" minOccurs="0" name="CouponMarket" nillable="true"
677
+ type="types:CouponMarket"/>
678
+ </xsd:sequence>
679
+ </xsd:complexType>
680
+ <xsd:complexType name="GetCouponReq">
681
+ <xsd:complexContent>
682
+ <xsd:extension base="types:APIRequest">
683
+ <xsd:sequence>
684
+ <xsd:element name="couponId" nillable="false" type="xsd:int"/>
685
+ <xsd:element name="locale" nillable="true" type="xsd:string"/>
686
+ </xsd:sequence>
687
+ </xsd:extension>
688
+ </xsd:complexContent>
689
+ </xsd:complexType>
690
+
691
+ <xsd:complexType name="CouponLink">
692
+ <xsd:sequence>
693
+ <xsd:element name="couponId" nillable="false" type="xsd:int"/>
694
+ <xsd:element name="couponName" nillable="true" type="xsd:string"/>
695
+ </xsd:sequence>
696
+ </xsd:complexType>
697
+ <xsd:complexType name="ArrayOfCouponLinks">
698
+ <xsd:sequence>
699
+ <xsd:element form="qualified" maxOccurs="unbounded" minOccurs="0"
700
+ name="CouponLink" nillable="true" type="types:CouponLink"/>
701
+ </xsd:sequence>
702
+ </xsd:complexType>
703
+
704
+ <xsd:complexType name="HeartbeatReq">
705
+ <xsd:complexContent>
706
+ <xsd:extension base="types:APIRequest">
707
+ <xsd:sequence>
708
+ <xsd:element name="frequency" nillable="false" type="xsd:int"/>
709
+ </xsd:sequence>
710
+ </xsd:extension>
711
+ </xsd:complexContent>
712
+ </xsd:complexType>
713
+ <xsd:complexType name="HeartbeatResp">
714
+ <xsd:complexContent>
715
+ <xsd:extension base="types:APIResponse">
716
+ <xsd:sequence>
717
+ <xsd:element name="errorCode" type="types:HeartbeatErrorEnum"/>
718
+ <xsd:element name="frequency" nillable="false" type="xsd:int"/>
719
+ <xsd:element name="minorErrorCode" nillable="true" type="xsd:string"/>
720
+ </xsd:sequence>
721
+ </xsd:extension>
722
+ </xsd:complexContent>
723
+ </xsd:complexType>
724
+ <xsd:simpleType name="HeartbeatErrorEnum">
725
+ <xsd:restriction base="xsd:string">
726
+ <xsd:enumeration value="OK"/>
727
+ <xsd:enumeration value="NO_BETS_CANCELLED"/>
728
+ <xsd:enumeration value="BETS_CANCELLED"/>
729
+ <xsd:enumeration value="API_ERROR"/>
730
+ </xsd:restriction>
731
+ </xsd:simpleType>
732
+
733
+
734
+ <xsd:complexType name="GetMarketResp">
735
+ <xsd:complexContent>
736
+ <xsd:extension base="types:APIResponse">
737
+ <xsd:sequence>
738
+ <xsd:element name="errorCode" type="types:GetMarketErrorEnum"/>
739
+ <xsd:element name="market" nillable="true" type="types:Market"/>
740
+ <xsd:element name="minorErrorCode" nillable="true" type="xsd:string"/>
741
+ </xsd:sequence>
742
+ </xsd:extension>
743
+ </xsd:complexContent>
744
+ </xsd:complexType>
745
+ <xsd:simpleType name="GetMarketErrorEnum">
746
+ <xsd:restriction base="xsd:string">
747
+ <xsd:enumeration value="OK"/>
748
+ <xsd:enumeration value="INVALID_MARKET"/>
749
+ <xsd:enumeration value="MARKET_TYPE_NOT_SUPPORTED"/>
750
+ <xsd:enumeration value="INVALID_LOCALE_DEFAULTING_TO_ENGLISH"/>
751
+ <xsd:enumeration value="API_ERROR"/>
752
+ </xsd:restriction>
753
+ </xsd:simpleType>
754
+ <xsd:complexType name="Market">
755
+ <xsd:sequence>
756
+ <xsd:element name="countryISO3" nillable="true" type="xsd:string"/>
757
+ <xsd:element name="discountAllowed" nillable="false" type="xsd:boolean"/>
758
+ <xsd:element name="eventTypeId" nillable="false" type="xsd:int"/>
759
+ <xsd:element name="lastRefresh" type="xsd:long"/>
760
+ <xsd:element name="marketBaseRate" type="xsd:float"/>
761
+ <xsd:element name="marketDescription" nillable="true" type="xsd:string"/>
762
+ <xsd:element name="marketDescriptionHasDate" nillable="false" type="xsd:boolean"/>
763
+ <xsd:element name="marketDisplayTime" type="xsd:dateTime"/>
764
+ <xsd:element name="marketId" nillable="false" type="xsd:int"/>
765
+ <xsd:element name="marketStatus" type="types:MarketStatusEnum"/>
766
+ <xsd:element name="marketSuspendTime" type="xsd:dateTime"/>
767
+ <xsd:element name="marketTime" type="xsd:dateTime"/>
768
+ <xsd:element name="marketType" type="types:MarketTypeEnum"/>
769
+ <xsd:element name="marketTypeVariant" type="types:MarketTypeVariantEnum"/>
770
+ <xsd:element name="menuPath" nillable="true" type="xsd:string"/>
771
+ <xsd:element name="eventHierarchy" nillable="true" type="types:ArrayOfEventId"/>
772
+ <xsd:element name="name" nillable="true" type="xsd:string"/>
773
+ <xsd:element name="numberOfWinners" nillable="false" type="xsd:int"/>
774
+ <xsd:element name="parentEventId" nillable="false" type="xsd:int"/>
775
+ <xsd:element name="runners" nillable="true" type="types:ArrayOfRunner"/>
776
+ <xsd:element name="unit" nillable="true" type="xsd:string"/>
777
+ <xsd:element name="maxUnitValue" nillable="true" type="xsd:double"/>
778
+ <xsd:element name="minUnitValue" nillable="true" type="xsd:double"/>
779
+ <xsd:element name="interval" nillable="true" type="xsd:double"/>
780
+ <xsd:element name="runnersMayBeAdded" nillable="false" type="xsd:boolean"/>
781
+ <xsd:element name="timezone" nillable="true" type="xsd:string"/>
782
+ <xsd:element name="licenceId" nillable="false" type="xsd:int"/>
783
+ <xsd:element name="couponLinks" nillable="true" type="types:ArrayOfCouponLinks"/>
784
+ <xsd:element name="bspMarket" nillable="false" type="xsd:boolean"/>
785
+ </xsd:sequence>
786
+ </xsd:complexType>
787
+ <xsd:simpleType name="MarketStatusEnum">
788
+ <xsd:restriction base="xsd:string">
789
+ <xsd:enumeration value="ACTIVE"/>
790
+ <xsd:enumeration value="INACTIVE"/>
791
+ <xsd:enumeration value="CLOSED"/>
792
+ <xsd:enumeration value="SUSPENDED"/>
793
+ </xsd:restriction>
794
+ </xsd:simpleType>
795
+
796
+ <xsd:complexType name="ArrayOfEventId">
797
+ <xsd:sequence>
798
+ <xsd:element form="qualified" maxOccurs="unbounded" minOccurs="0"
799
+ name="EventId" nillable="true" type="xsd:int"/>
800
+ </xsd:sequence>
801
+ </xsd:complexType>
802
+
803
+ <xsd:complexType name="Runner">
804
+ <xsd:sequence>
805
+ <xsd:element name="asianLineId" nillable="false" type="xsd:int"/>
806
+ <xsd:element name="handicap" nillable="false" type="xsd:double"/>
807
+ <xsd:element name="name" nillable="true" type="xsd:string"/>
808
+ <xsd:element name="selectionId" nillable="false" type="xsd:int"/>
809
+ </xsd:sequence>
810
+ </xsd:complexType>
811
+ <xsd:complexType name="ArrayOfRunner">
812
+ <xsd:sequence>
813
+ <xsd:element form="qualified" maxOccurs="unbounded" minOccurs="0"
814
+ name="Runner" nillable="true" type="types:Runner"/>
815
+ </xsd:sequence>
816
+ </xsd:complexType>
817
+ <xsd:complexType name="GetMarketReq">
818
+ <xsd:complexContent>
819
+ <xsd:extension base="types:APIRequest">
820
+ <xsd:sequence>
821
+ <xsd:element name="locale" nillable="true" type="xsd:string"/>
822
+ <xsd:element name="marketId" nillable="false" type="xsd:int"/>
823
+ <xsd:element name="includeCouponLinks" nillable="false" type="xsd:boolean"/>
824
+ </xsd:sequence>
825
+ </xsd:extension>
826
+ </xsd:complexContent>
827
+ </xsd:complexType>
828
+ <xsd:complexType name="GetMarketPricesResp">
829
+ <xsd:complexContent>
830
+ <xsd:extension base="types:APIResponse">
831
+ <xsd:sequence>
832
+ <xsd:element name="errorCode" type="types:GetMarketPricesErrorEnum"/>
833
+ <xsd:element name="marketPrices" nillable="true" type="types:MarketPrices"/>
834
+ <xsd:element name="minorErrorCode" nillable="true" type="xsd:string"/>
835
+ </xsd:sequence>
836
+ </xsd:extension>
837
+ </xsd:complexContent>
838
+ </xsd:complexType>
839
+ <xsd:simpleType name="GetMarketPricesErrorEnum">
840
+ <xsd:restriction base="xsd:string">
841
+ <xsd:enumeration value="OK"/>
842
+ <xsd:enumeration value="INVALID_CURRENCY"/>
843
+ <xsd:enumeration value="INVALID_MARKET"/>
844
+ <xsd:enumeration value="MARKET_TYPE_NOT_SUPPORTED"/>
845
+ <xsd:enumeration value="API_ERROR"/>
846
+ </xsd:restriction>
847
+ </xsd:simpleType>
848
+ <xsd:complexType name="MarketPrices">
849
+ <xsd:sequence>
850
+ <xsd:element name="currencyCode" nillable="true" type="xsd:string"/>
851
+ <xsd:element name="delay" nillable="false" type="xsd:int"/>
852
+ <xsd:element name="discountAllowed" nillable="false" type="xsd:boolean"/>
853
+ <xsd:element name="lastRefresh" type="xsd:long"/>
854
+ <xsd:element name="marketBaseRate" type="xsd:float"/>
855
+ <xsd:element name="marketId" nillable="false" type="xsd:int"/>
856
+ <xsd:element name="marketInfo" nillable="true" type="xsd:string"/>
857
+ <xsd:element name="removedRunners" nillable="true" type="xsd:string"/>
858
+ <xsd:element name="marketStatus" type="types:MarketStatusEnum"/>
859
+ <xsd:element name="numberOfWinners" nillable="false" type="xsd:int"/>
860
+ <xsd:element name="bspMarket" nillable="false" type="xsd:boolean"/>
861
+ <xsd:element name="runnerPrices" nillable="true" type="types:ArrayOfRunnerPrices"/>
862
+ </xsd:sequence>
863
+ </xsd:complexType>
864
+ <xsd:complexType name="RunnerPrices">
865
+ <xsd:sequence>
866
+ <xsd:element name="asianLineId" nillable="true" type="xsd:int"/>
867
+ <xsd:element name="bestPricesToBack" nillable="true" type="types:ArrayOfPrice"/>
868
+ <xsd:element name="bestPricesToLay" nillable="true" type="types:ArrayOfPrice"/>
869
+ <xsd:element name="handicap" nillable="true" type="xsd:double"/>
870
+ <xsd:element name="lastPriceMatched" nillable="false" type="xsd:double"/>
871
+ <xsd:element name="reductionFactor" nillable="false" type="xsd:double"/>
872
+ <xsd:element name="selectionId" nillable="false" type="xsd:int"/>
873
+ <xsd:element name="sortOrder" nillable="false" type="xsd:int"/>
874
+ <xsd:element name="totalAmountMatched" nillable="false" type="xsd:double"/>
875
+ <xsd:element name="vacant" nillable="true" type="xsd:boolean"/>
876
+ <xsd:element name="farBSP" nillable="true" type="xsd:double"/>
877
+ <xsd:element name="nearBSP" nillable="true" type="xsd:double"/>
878
+ <xsd:element name="actualBSP" nillable="true" type="xsd:double"/>
879
+ </xsd:sequence>
880
+ </xsd:complexType>
881
+ <xsd:complexType name="Price">
882
+ <xsd:sequence>
883
+ <xsd:element name="amountAvailable" nillable="false" type="xsd:double"/>
884
+ <xsd:element name="betType" type="types:BetTypeEnum"/>
885
+ <xsd:element name="depth" nillable="false" type="xsd:int"/>
886
+ <xsd:element name="price" nillable="false" type="xsd:double"/>
887
+ </xsd:sequence>
888
+ </xsd:complexType>
889
+ <xsd:complexType name="ArrayOfPrice">
890
+ <xsd:sequence>
891
+ <xsd:element form="qualified" maxOccurs="unbounded" minOccurs="0"
892
+ name="Price" nillable="true" type="types:Price"/>
893
+ </xsd:sequence>
894
+ </xsd:complexType>
895
+ <xsd:complexType name="ArrayOfRunnerPrices">
896
+ <xsd:sequence>
897
+ <xsd:element form="qualified" maxOccurs="unbounded" minOccurs="0"
898
+ name="RunnerPrices" nillable="true" type="types:RunnerPrices"/>
899
+ </xsd:sequence>
900
+ </xsd:complexType>
901
+ <xsd:complexType name="GetMarketPricesReq">
902
+ <xsd:complexContent>
903
+ <xsd:extension base="types:APIRequest">
904
+ <xsd:sequence>
905
+ <xsd:element name="currencyCode" nillable="true" type="xsd:string"/>
906
+ <xsd:element name="marketId" nillable="false" type="xsd:int"/>
907
+ </xsd:sequence>
908
+ </xsd:extension>
909
+ </xsd:complexContent>
910
+ </xsd:complexType>
911
+
912
+ <xsd:complexType name="GetAllMarketsResp">
913
+ <xsd:complexContent>
914
+ <xsd:extension base="types:APIResponse">
915
+ <xsd:sequence>
916
+ <xsd:element name="errorCode" type="types:GetAllMarketsErrorEnum"/>
917
+ <xsd:element name="marketData" nillable="true" type="xsd:string"/>
918
+ <xsd:element name="minorErrorCode" nillable="true" type="xsd:string"/>
919
+ </xsd:sequence>
920
+ </xsd:extension>
921
+ </xsd:complexContent>
922
+ </xsd:complexType>
923
+ <xsd:complexType name="GetAllMarketsReq">
924
+ <xsd:complexContent>
925
+ <xsd:extension base="types:APIRequest">
926
+ <xsd:sequence>
927
+ <xsd:element name="locale" nillable="true" type="xsd:string"/>
928
+ <xsd:element name="eventTypeIds" nillable="true" type="types:ArrayOfInt"/>
929
+ <xsd:element name="countries" nillable="true" type="types:ArrayOfCountryCode"/>
930
+ <xsd:element name="fromDate" nillable="true" type="xsd:dateTime"/>
931
+ <xsd:element name="toDate" nillable="true" type="xsd:dateTime"/>
932
+ </xsd:sequence>
933
+ </xsd:extension>
934
+ </xsd:complexContent>
935
+ </xsd:complexType>
936
+ <xsd:complexType name="ArrayOfCountryCode">
937
+ <xsd:sequence>
938
+ <xsd:element form="qualified" maxOccurs="unbounded" minOccurs="0"
939
+ name="Country" nillable="true" type="xsd:string"/>
940
+ </xsd:sequence>
941
+ </xsd:complexType>
942
+ <xsd:simpleType name="GetAllMarketsErrorEnum">
943
+ <xsd:restriction base="xsd:string">
944
+ <xsd:enumeration value="OK"/>
945
+ <xsd:enumeration value="INVALID_COUNTRY_CODE"/>
946
+ <xsd:enumeration value="INVALID_LOCALE"/>
947
+ <xsd:enumeration value="INVALID_EVENT_TYPE_ID"/>
948
+ <xsd:enumeration value="API_ERROR"/>
949
+ </xsd:restriction>
950
+ </xsd:simpleType>
951
+
952
+ <xsd:complexType name="GetInPlayMarketsResp">
953
+ <xsd:complexContent>
954
+ <xsd:extension base="types:APIResponse">
955
+ <xsd:sequence>
956
+ <xsd:element name="errorCode" type="types:GetInPlayMarketsErrorEnum"/>
957
+ <xsd:element name="marketData" nillable="true" type="xsd:string"/>
958
+ <xsd:element name="minorErrorCode" nillable="true" type="xsd:string"/>
959
+ </xsd:sequence>
960
+ </xsd:extension>
961
+ </xsd:complexContent>
962
+ </xsd:complexType>
963
+ <xsd:complexType name="GetInPlayMarketsReq">
964
+ <xsd:complexContent>
965
+ <xsd:extension base="types:APIRequest">
966
+ <xsd:sequence>
967
+ <xsd:element name="locale" nillable="true" type="xsd:string"/>
968
+ </xsd:sequence>
969
+ </xsd:extension>
970
+ </xsd:complexContent>
971
+ </xsd:complexType>
972
+ <xsd:simpleType name="GetInPlayMarketsErrorEnum">
973
+ <xsd:restriction base="xsd:string">
974
+ <xsd:enumeration value="OK"/>
975
+ <xsd:enumeration value="INVALID_LOCALE"/>
976
+ <xsd:enumeration value="API_ERROR"/>
977
+ </xsd:restriction>
978
+ </xsd:simpleType>
979
+
980
+ <xsd:complexType name="GetPrivateMarketsResp">
981
+ <xsd:complexContent>
982
+ <xsd:extension base="types:APIResponse">
983
+ <xsd:sequence>
984
+ <xsd:element name="errorCode" type="types:GetPrivateMarketsErrorEnum"/>
985
+ <xsd:element name="minorErrorCode" nillable="true" type="xsd:string"/>
986
+ <xsd:element name="privateMarkets" nillable="true" type="types:ArrayOfPrivateMarket"/>
987
+ <xsd:element name="lastRefresh" type="xsd:long"/>
988
+ </xsd:sequence>
989
+ </xsd:extension>
990
+ </xsd:complexContent>
991
+ </xsd:complexType>
992
+ <xsd:complexType name="GetPrivateMarketsReq">
993
+ <xsd:complexContent>
994
+ <xsd:extension base="types:APIRequest">
995
+ <xsd:sequence>
996
+ <xsd:element name="locale" nillable="true" type="xsd:string"/>
997
+ <xsd:element name="eventTypeId" nillable="false" type="xsd:int"/>
998
+ <xsd:element name="marketType" type="types:MarketTypeEnum"/>
999
+ </xsd:sequence>
1000
+ </xsd:extension>
1001
+ </xsd:complexContent>
1002
+ </xsd:complexType>
1003
+ <xsd:simpleType name="GetPrivateMarketsErrorEnum">
1004
+ <xsd:restriction base="xsd:string">
1005
+ <xsd:enumeration value="OK"/>
1006
+ <xsd:enumeration value="INVALID_LOCALE"/>
1007
+ <xsd:enumeration value="INVALID_EVENT_TYPE_ID"/>
1008
+ <xsd:enumeration value="INVALID_MARKET_TYPE"/>
1009
+ <xsd:enumeration value="NO_RESULTS"/>
1010
+ <xsd:enumeration value="API_ERROR"/>
1011
+ </xsd:restriction>
1012
+ </xsd:simpleType>
1013
+ <xsd:complexType name="PrivateMarket">
1014
+ <xsd:sequence>
1015
+ <xsd:element name="name" nillable="true" type="xsd:string"/>
1016
+ <xsd:element name="marketId" nillable="false" type="xsd:int"/>
1017
+ <xsd:element name="menuPath" nillable="true" type="xsd:string"/>
1018
+ <xsd:element name="eventHierarchy" nillable="true" type="types:ArrayOfEventId"/>
1019
+ </xsd:sequence>
1020
+ </xsd:complexType>
1021
+ <xsd:complexType name="ArrayOfPrivateMarket">
1022
+ <xsd:sequence>
1023
+ <xsd:element form="qualified" maxOccurs="unbounded" minOccurs="0"
1024
+ name="PrivateMarket" nillable="true" type="types:PrivateMarket"/>
1025
+ </xsd:sequence>
1026
+ </xsd:complexType>
1027
+
1028
+ <xsd:complexType name="GetCompleteMarketPricesCompressedResp">
1029
+ <xsd:complexContent>
1030
+ <xsd:extension base="types:APIResponse">
1031
+ <xsd:sequence>
1032
+ <xsd:element name="errorCode" type="types:GetCompleteMarketPricesErrorEnum"/>
1033
+ <xsd:element name="completeMarketPrices" nillable="true" type="xsd:string"/>
1034
+ <xsd:element name="currencyCode" nillable="true" type="xsd:string"/>
1035
+ <xsd:element name="minorErrorCode" nillable="true" type="xsd:string"/>
1036
+ </xsd:sequence>
1037
+ </xsd:extension>
1038
+ </xsd:complexContent>
1039
+ </xsd:complexType>
1040
+ <xsd:complexType name="GetCompleteMarketPricesCompressedReq">
1041
+ <xsd:complexContent>
1042
+ <xsd:extension base="types:APIRequest">
1043
+ <xsd:sequence>
1044
+ <xsd:element name="currencyCode" nillable="true" type="xsd:string"/>
1045
+ <xsd:element name="marketId" nillable="false" type="xsd:int"/>
1046
+ </xsd:sequence>
1047
+ </xsd:extension>
1048
+ </xsd:complexContent>
1049
+ </xsd:complexType>
1050
+ <xsd:simpleType name="GetCompleteMarketPricesErrorEnum">
1051
+ <xsd:restriction base="xsd:string">
1052
+ <xsd:enumeration value="OK"/>
1053
+ <xsd:enumeration value="INVALID_CURRENCY"/>
1054
+ <xsd:enumeration value="INVALID_MARKET"/>
1055
+ <xsd:enumeration value="MARKET_TYPE_NOT_SUPPORTED"/>
1056
+ <xsd:enumeration value="EVENT_CLOSED"/>
1057
+ <xsd:enumeration value="EVENT_SUSPENDED"/>
1058
+ <xsd:enumeration value="EVENT_INACTIVE"/>
1059
+ <xsd:enumeration value="API_ERROR"/>
1060
+ </xsd:restriction>
1061
+ </xsd:simpleType>
1062
+
1063
+ <xsd:complexType name="GetMarketTradedVolumeCompressedResp">
1064
+ <xsd:complexContent>
1065
+ <xsd:extension base="types:APIResponse">
1066
+ <xsd:sequence>
1067
+ <xsd:element name="errorCode" type="types:GetMarketTradedVolumeCompressedErrorEnum"/>
1068
+ <xsd:element name="tradedVolume" nillable="true" type="xsd:string"/>
1069
+ <xsd:element name="currencyCode" nillable="true" type="xsd:string"/>
1070
+ <xsd:element name="marketId" nillable="false" type="xsd:int"/>
1071
+ <xsd:element name="minorErrorCode" nillable="true" type="xsd:string"/>
1072
+ </xsd:sequence>
1073
+ </xsd:extension>
1074
+ </xsd:complexContent>
1075
+ </xsd:complexType>
1076
+ <xsd:complexType name="GetMarketTradedVolumeCompressedReq">
1077
+ <xsd:complexContent>
1078
+ <xsd:extension base="types:APIRequest">
1079
+ <xsd:sequence>
1080
+ <xsd:element name="currencyCode" nillable="true" type="xsd:string"/>
1081
+ <xsd:element name="marketId" nillable="false" type="xsd:int"/>
1082
+ </xsd:sequence>
1083
+ </xsd:extension>
1084
+ </xsd:complexContent>
1085
+ </xsd:complexType>
1086
+ <xsd:simpleType name="GetMarketTradedVolumeCompressedErrorEnum">
1087
+ <xsd:restriction base="xsd:string">
1088
+ <xsd:enumeration value="OK"/>
1089
+ <xsd:enumeration value="INVALID_CURRENCY"/>
1090
+ <xsd:enumeration value="INVALID_MARKET"/>
1091
+ <xsd:enumeration value="MARKET_TYPE_NOT_SUPPORTED"/>
1092
+ <xsd:enumeration value="EVENT_CLOSED"/>
1093
+ <xsd:enumeration value="EVENT_SUSPENDED"/>
1094
+ <xsd:enumeration value="EVENT_INACTIVE"/>
1095
+ <xsd:enumeration value="API_ERROR"/>
1096
+ </xsd:restriction>
1097
+ </xsd:simpleType>
1098
+
1099
+ <xsd:complexType name="GetMarketPricesCompressedResp">
1100
+ <xsd:complexContent>
1101
+ <xsd:extension base="types:APIResponse">
1102
+ <xsd:sequence>
1103
+ <xsd:element name="errorCode" type="types:GetMarketPricesErrorEnum"/>
1104
+ <xsd:element name="marketPrices" nillable="true" type="xsd:string"/>
1105
+ <xsd:element name="minorErrorCode" nillable="true" type="xsd:string"/>
1106
+ </xsd:sequence>
1107
+ </xsd:extension>
1108
+ </xsd:complexContent>
1109
+ </xsd:complexType>
1110
+ <xsd:complexType name="GetMarketPricesCompressedReq">
1111
+ <xsd:complexContent>
1112
+ <xsd:extension base="types:APIRequest">
1113
+ <xsd:sequence>
1114
+ <xsd:element name="currencyCode" nillable="true" type="xsd:string"/>
1115
+ <xsd:element name="marketId" nillable="false" type="xsd:int"/>
1116
+ </xsd:sequence>
1117
+ </xsd:extension>
1118
+ </xsd:complexContent>
1119
+ </xsd:complexType>
1120
+
1121
+ <xsd:complexType name="GetCurrentBetsResp">
1122
+ <xsd:complexContent>
1123
+ <xsd:extension base="types:APIResponse">
1124
+ <xsd:sequence>
1125
+ <xsd:element name="bets" nillable="true" type="types:ArrayOfBet"/>
1126
+ <xsd:element name="errorCode" type="types:GetCurrentBetsErrorEnum"/>
1127
+ <xsd:element name="minorErrorCode" nillable="true" type="xsd:string"/>
1128
+ <xsd:element name="totalRecordCount" nillable="false" type="xsd:int"/>
1129
+ </xsd:sequence>
1130
+ </xsd:extension>
1131
+ </xsd:complexContent>
1132
+ </xsd:complexType>
1133
+
1134
+ <xsd:complexType name="GetMUBetsResp">
1135
+ <xsd:complexContent>
1136
+ <xsd:extension base="types:APIResponse">
1137
+ <xsd:sequence>
1138
+ <xsd:element name="bets" nillable="true" type="types:ArrayOfMUBet"/>
1139
+ <xsd:element name="errorCode" type="types:GetMUBetsErrorEnum"/>
1140
+ <xsd:element name="minorErrorCode" nillable="true" type="xsd:string"/>
1141
+ <xsd:element name="totalRecordCount" nillable="false" type="xsd:int"/>
1142
+ </xsd:sequence>
1143
+ </xsd:extension>
1144
+ </xsd:complexContent>
1145
+ </xsd:complexType>
1146
+ <xsd:simpleType name="GetMUBetsErrorEnum">
1147
+ <xsd:restriction base="xsd:string">
1148
+ <xsd:enumeration value="OK"/>
1149
+ <xsd:enumeration value="INVALID_START_RECORD"/>
1150
+ <xsd:enumeration value="INVALID_MARKET_ID"/>
1151
+ <xsd:enumeration value="INVALID_RECORD_COUNT"/>
1152
+ <xsd:enumeration value="INVALID_BET_STATUS"/>
1153
+ <xsd:enumeration value="INVALID_ORDER_BY_FOR_STATUS"/>
1154
+ <xsd:enumeration value="TOO_MANY_BETS_REQUESTED"/>
1155
+ <xsd:enumeration value="NO_RESULTS"/>
1156
+ <xsd:enumeration value="API_ERROR"/>
1157
+ </xsd:restriction>
1158
+ </xsd:simpleType>
1159
+ <xsd:complexType name="MUBet">
1160
+ <xsd:sequence>
1161
+ <xsd:element name="asianLineId" nillable="false" type="xsd:int"/>
1162
+ <xsd:element name="betId" type="xsd:long"/>
1163
+ <xsd:element name="transactionId" type="xsd:long"/>
1164
+ <xsd:element name="betStatus" type="types:BetStatusEnum"/>
1165
+ <xsd:element name="betType" type="types:BetTypeEnum"/>
1166
+ <xsd:element name="betCategoryType" type="types:BetCategoryTypeEnum"/>
1167
+ <xsd:element name="betPersistenceType" type="types:BetPersistenceTypeEnum"/>
1168
+ <xsd:element name="marketId" nillable="false" type="xsd:int"/>
1169
+ <xsd:element name="matchedDate" type="xsd:dateTime"/>
1170
+ <xsd:element name="size" nillable="false" type="xsd:double"/>
1171
+ <xsd:element name="bspLiability" nillable="true" type="xsd:double"/>
1172
+ <xsd:element name="placedDate" type="xsd:dateTime"/>
1173
+ <xsd:element name="price" nillable="false" type="xsd:double"/>
1174
+ <xsd:element name="selectionId" nillable="false" type="xsd:int"/>
1175
+ <xsd:element name="handicap" nillable="false" type="xsd:double"/>
1176
+ </xsd:sequence>
1177
+ </xsd:complexType>
1178
+ <xsd:complexType name="ArrayOfMUBet">
1179
+ <xsd:sequence>
1180
+ <xsd:element form="qualified" maxOccurs="unbounded" minOccurs="0"
1181
+ name="MUBet" nillable="true" type="types:MUBet"/>
1182
+ </xsd:sequence>
1183
+ </xsd:complexType>
1184
+ <xsd:complexType name="GetMUBetsReq">
1185
+ <xsd:complexContent>
1186
+ <xsd:extension base="types:APIRequest">
1187
+ <xsd:sequence>
1188
+ <xsd:element name="betStatus" type="types:BetStatusEnum"/>
1189
+ <xsd:element name="marketId" nillable="false" type="xsd:int"/>
1190
+ <xsd:element name="betIds" nillable="true" type="types:ArrayOfBetId"/>
1191
+ <xsd:element name="orderBy" type="types:BetsOrderByEnum"/>
1192
+ <xsd:element name="sortOrder" type="types:SortOrderEnum"/>
1193
+ <xsd:element name="recordCount" nillable="false" type="xsd:int"/>
1194
+ <xsd:element name="startRecord" nillable="false" type="xsd:int"/>
1195
+ <xsd:element name="matchedSince" nillable="true" type="xsd:dateTime"/>
1196
+ <xsd:element name="excludeLastSecond" nillable="false" type="xsd:boolean"/>
1197
+ </xsd:sequence>
1198
+ </xsd:extension>
1199
+ </xsd:complexContent>
1200
+ </xsd:complexType>
1201
+ <xsd:simpleType name="SortOrderEnum">
1202
+ <xsd:restriction base="xsd:string">
1203
+ <xsd:enumeration value="DESC"/>
1204
+ <xsd:enumeration value="ASC"/>
1205
+ </xsd:restriction>
1206
+ </xsd:simpleType>
1207
+ <xsd:complexType name="ArrayOfBetId">
1208
+ <xsd:sequence>
1209
+ <xsd:element form="qualified" maxOccurs="1000" minOccurs="0"
1210
+ name="betId" type="xsd:long"/>
1211
+ </xsd:sequence>
1212
+ </xsd:complexType>
1213
+
1214
+ <xsd:complexType name="Bet">
1215
+ <xsd:sequence>
1216
+ <xsd:element name="asianLineId" nillable="false" type="xsd:int"/>
1217
+ <xsd:element name="avgPrice" nillable="false" type="xsd:double"/>
1218
+ <xsd:element name="betId" type="xsd:long"/>
1219
+ <xsd:element name="betStatus" type="types:BetStatusEnum"/>
1220
+ <xsd:element name="betType" type="types:BetTypeEnum"/>
1221
+ <xsd:element name="betCategoryType" type="types:BetCategoryTypeEnum"/>
1222
+ <xsd:element name="betPersistenceType" type="types:BetPersistenceTypeEnum"/>
1223
+
1224
+ <xsd:element name="cancelledDate" type="xsd:dateTime"/>
1225
+ <xsd:element name="lapsedDate" type="xsd:dateTime"/>
1226
+ <xsd:element name="marketId" nillable="false" type="xsd:int"/>
1227
+ <xsd:element name="marketName" nillable="true" type="xsd:string"/>
1228
+ <xsd:element name="fullMarketName" nillable="true" type="xsd:string"/>
1229
+ <xsd:element name="marketType" type="types:MarketTypeEnum"/>
1230
+ <xsd:element name="marketTypeVariant" type="types:MarketTypeVariantEnum"/>
1231
+ <xsd:element name="matchedDate" type="xsd:dateTime"/>
1232
+ <xsd:element name="matchedSize" nillable="false" type="xsd:double"/>
1233
+ <xsd:element name="matches" nillable="true" type="types:ArrayOfMatch"/>
1234
+ <xsd:element name="placedDate" type="xsd:dateTime"/>
1235
+ <xsd:element name="price" nillable="false" type="xsd:double"/>
1236
+ <xsd:element name="bspLiability" nillable="true" type="xsd:double"/>
1237
+ <xsd:element name="profitAndLoss" nillable="false" type="xsd:double"/>
1238
+ <xsd:element name="selectionId" nillable="false" type="xsd:int"/>
1239
+ <xsd:element name="selectionName" nillable="true" type="xsd:string"/>
1240
+ <xsd:element name="settledDate" type="xsd:dateTime"/>
1241
+ <xsd:element name="remainingSize" nillable="false" type="xsd:double"/>
1242
+ <xsd:element name="requestedSize" nillable="false" type="xsd:double"/>
1243
+ <xsd:element name="voidedDate" type="xsd:dateTime"/>
1244
+ <xsd:element name="handicap" nillable="false" type="xsd:double"/>
1245
+ </xsd:sequence>
1246
+ </xsd:complexType>
1247
+ <xsd:simpleType name="BetStatusEnum">
1248
+ <xsd:restriction base="xsd:string">
1249
+ <xsd:enumeration value="U"/>
1250
+ <xsd:enumeration value="M"/>
1251
+ <xsd:enumeration value="S"/>
1252
+ <xsd:enumeration value="C"/>
1253
+ <xsd:enumeration value="V"/>
1254
+ <xsd:enumeration value="L"/>
1255
+ <xsd:enumeration value="MU"/>
1256
+ </xsd:restriction>
1257
+ </xsd:simpleType>
1258
+ <xsd:simpleType name="BetCategoryTypeEnum">
1259
+ <xsd:restriction base="xsd:string">
1260
+ <xsd:enumeration value="E"/>
1261
+ <xsd:enumeration value="M"/>
1262
+ <xsd:enumeration value="L"/>
1263
+ <xsd:enumeration value="NONE"/>
1264
+ </xsd:restriction>
1265
+ </xsd:simpleType>
1266
+ <xsd:simpleType name="BetPersistenceTypeEnum">
1267
+ <xsd:restriction base="xsd:string">
1268
+ <xsd:enumeration value="NONE"/>
1269
+ <xsd:enumeration value="IP"/>
1270
+ <xsd:enumeration value="SP"/>
1271
+ </xsd:restriction>
1272
+ </xsd:simpleType>
1273
+ <xsd:complexType name="Match">
1274
+ <xsd:sequence>
1275
+ <xsd:element name="betStatus" type="types:BetStatusEnum"/>
1276
+ <xsd:element name="matchedDate" type="xsd:dateTime"/>
1277
+ <xsd:element name="priceMatched" nillable="false" type="xsd:double"/>
1278
+ <xsd:element name="profitLoss" nillable="false" type="xsd:double"/>
1279
+ <xsd:element name="settledDate" type="xsd:dateTime"/>
1280
+ <xsd:element name="sizeMatched" nillable="false" type="xsd:double"/>
1281
+ <xsd:element name="transactionId" type="xsd:long"/>
1282
+ <xsd:element name="voidedDate" type="xsd:dateTime"/>
1283
+ </xsd:sequence>
1284
+ </xsd:complexType>
1285
+ <xsd:complexType name="ArrayOfMatch">
1286
+ <xsd:sequence>
1287
+ <xsd:element form="qualified" maxOccurs="unbounded" minOccurs="0"
1288
+ name="Match" nillable="true" type="types:Match"/>
1289
+ </xsd:sequence>
1290
+ </xsd:complexType>
1291
+ <xsd:complexType name="ArrayOfBet">
1292
+ <xsd:sequence>
1293
+ <xsd:element form="qualified" maxOccurs="unbounded" minOccurs="0"
1294
+ name="Bet" nillable="true" type="types:Bet"/>
1295
+ </xsd:sequence>
1296
+ </xsd:complexType>
1297
+ <xsd:simpleType name="GetCurrentBetsErrorEnum">
1298
+ <xsd:restriction base="xsd:string">
1299
+ <xsd:enumeration value="OK"/>
1300
+ <xsd:enumeration value="INVALID_START_RECORD"/>
1301
+ <xsd:enumeration value="INVALID_MARKET_ID"/>
1302
+ <xsd:enumeration value="INVALID_RECORD_COUNT"/>
1303
+ <xsd:enumeration value="INVALID_BET_STATUS"/>
1304
+ <xsd:enumeration value="INVALID_ORDER_BY_FOR_STATUS"/>
1305
+ <xsd:enumeration value="INVALID_LOCALE_DEFAULTING_TO_ENGLISH"/>
1306
+ <xsd:enumeration value="NO_RESULTS"/>
1307
+ <xsd:enumeration value="API_ERROR"/>
1308
+ </xsd:restriction>
1309
+ </xsd:simpleType>
1310
+ <xsd:complexType name="GetCurrentBetsReq">
1311
+ <xsd:annotation>
1312
+ <xsd:documentation>
1313
+ Obtain all bets placed on a given market. Pass marketId = 0 to obtain bets for all markets. If
1314
+ deatiled is true then also return details of Matches when betStatus = M
1315
+ </xsd:documentation>
1316
+ </xsd:annotation>
1317
+ <xsd:complexContent>
1318
+ <xsd:extension base="types:APIRequest">
1319
+ <xsd:sequence>
1320
+ <xsd:element name="betStatus" type="types:BetStatusEnum"/>
1321
+ <xsd:element name="detailed" nillable="false" type="xsd:boolean"/>
1322
+ <xsd:element name="locale" nillable="true" type="xsd:string"/>
1323
+ <xsd:element name="timezone" nillable="true" type="xsd:string"/>
1324
+ <xsd:element name="marketId" nillable="false" type="xsd:int"/>
1325
+ <xsd:element name="orderBy" type="types:BetsOrderByEnum"/>
1326
+ <xsd:element name="recordCount" nillable="false" type="xsd:int"/>
1327
+ <xsd:element name="startRecord" nillable="false" type="xsd:int"/>
1328
+ <xsd:element name="noTotalRecordCount" nillable="false" type="xsd:boolean"/>
1329
+ </xsd:sequence>
1330
+ </xsd:extension>
1331
+ </xsd:complexContent>
1332
+ </xsd:complexType>
1333
+
1334
+ <xsd:simpleType name="BetsOrderByEnum">
1335
+ <xsd:restriction base="xsd:string">
1336
+ <xsd:enumeration value="NONE"/>
1337
+ <xsd:enumeration value="BET_ID"/>
1338
+ <xsd:enumeration value="MARKET_NAME"/>
1339
+ <xsd:enumeration value="PLACED_DATE"/>
1340
+ <xsd:enumeration value="MATCHED_DATE"/>
1341
+ <xsd:enumeration value="CANCELLED_DATE"/>
1342
+ </xsd:restriction>
1343
+ </xsd:simpleType>
1344
+
1345
+ <xsd:complexType name="GetDetailedAvailableMktDepthResp">
1346
+ <xsd:complexContent>
1347
+ <xsd:extension base="types:APIResponse">
1348
+ <xsd:sequence>
1349
+ <xsd:element name="errorCode" type="types:GetDetailedAvailMktDepthErrorEnum"/>
1350
+ <xsd:element name="minorErrorCode" nillable="true" type="xsd:string"/>
1351
+ <xsd:element name="priceItems" nillable="true" type="types:ArrayOfAvailabilityInfo"/>
1352
+ </xsd:sequence>
1353
+ </xsd:extension>
1354
+ </xsd:complexContent>
1355
+ </xsd:complexType>
1356
+ <xsd:simpleType name="GetDetailedAvailMktDepthErrorEnum">
1357
+ <xsd:restriction base="xsd:string">
1358
+ <xsd:enumeration value="OK"/>
1359
+ <xsd:enumeration value="NO_RESULTS"/>
1360
+ <xsd:enumeration value="SUSPENDED_MARKET"/>
1361
+ <xsd:enumeration value="INVALID_MARKET"/>
1362
+ <xsd:enumeration value="INVALID_RUNNER"/>
1363
+ <xsd:enumeration value="INVALID_ASIAN_LINE"/>
1364
+ <xsd:enumeration value="INVALID_CURRENCY"/>
1365
+ <xsd:enumeration value="MARKET_TYPE_NOT_SUPPORTED"/>
1366
+ <xsd:enumeration value="API_ERROR"/>
1367
+ </xsd:restriction>
1368
+ </xsd:simpleType>
1369
+ <xsd:complexType name="AvailabilityInfo">
1370
+ <xsd:sequence>
1371
+ <xsd:element name="odds" nillable="false" type="xsd:double"/>
1372
+ <xsd:element name="totalAvailableBackAmount" nillable="false" type="xsd:double"/>
1373
+ <xsd:element name="totalAvailableLayAmount" nillable="false" type="xsd:double"/>
1374
+ <xsd:element name="totalBspBackAmount" nillable="false" type="xsd:double"/>
1375
+ <xsd:element name="totalBspLayAmount" nillable="false" type="xsd:double"/>
1376
+ </xsd:sequence>
1377
+ </xsd:complexType>
1378
+ <xsd:complexType name="ArrayOfAvailabilityInfo">
1379
+ <xsd:sequence>
1380
+ <xsd:element form="qualified" maxOccurs="unbounded" minOccurs="0"
1381
+ name="AvailabilityInfo" nillable="true" type="types:AvailabilityInfo"/>
1382
+ </xsd:sequence>
1383
+ </xsd:complexType>
1384
+ <xsd:complexType name="GetDetailedAvailableMktDepthReq">
1385
+ <xsd:complexContent>
1386
+ <xsd:extension base="types:APIRequest">
1387
+ <xsd:sequence>
1388
+ <xsd:element name="asianLineId" nillable="false" type="xsd:int"/>
1389
+ <xsd:element name="currencyCode" nillable="true" type="xsd:string"/>
1390
+ <xsd:element name="locale" nillable="true" type="xsd:string"/>
1391
+ <xsd:element name="marketId" nillable="false" type="xsd:int"/>
1392
+ <xsd:element name="selectionId" nillable="false" type="xsd:int"/>
1393
+ </xsd:sequence>
1394
+ </xsd:extension>
1395
+ </xsd:complexContent>
1396
+ </xsd:complexType>
1397
+ <xsd:complexType name="GetMarketTradedVolumeResp">
1398
+ <xsd:complexContent>
1399
+ <xsd:extension base="types:APIResponse">
1400
+ <xsd:sequence>
1401
+ <xsd:element name="errorCode" type="types:GetMarketTradedVolumeErrorEnum"/>
1402
+ <xsd:element name="minorErrorCode" nillable="true" type="xsd:string"/>
1403
+ <xsd:element name="priceItems" nillable="true" type="types:ArrayOfVolumeInfo"/>
1404
+ <xsd:element name="actualBSP" nillable="true" type="xsd:double"/>
1405
+ </xsd:sequence>
1406
+ </xsd:extension>
1407
+ </xsd:complexContent>
1408
+ </xsd:complexType>
1409
+ <xsd:simpleType name="GetMarketTradedVolumeErrorEnum">
1410
+ <xsd:restriction base="xsd:string">
1411
+ <xsd:enumeration value="OK"/>
1412
+ <xsd:enumeration value="NO_RESULTS"/>
1413
+ <xsd:enumeration value="INVALID_MARKET"/>
1414
+ <xsd:enumeration value="INVALID_RUNNER"/>
1415
+ <xsd:enumeration value="INVALID_ASIAN_LINE"/>
1416
+ <xsd:enumeration value="MARKET_CLOSED"/>
1417
+ <xsd:enumeration value="MARKET_TYPE_NOT_SUPPORTED"/>
1418
+ <xsd:enumeration value="INVALID_CURRENCY"/>
1419
+ <xsd:enumeration value="API_ERROR"/>
1420
+ </xsd:restriction>
1421
+ </xsd:simpleType>
1422
+ <xsd:complexType name="VolumeInfo">
1423
+ <xsd:sequence>
1424
+ <xsd:element name="odds" nillable="false" type="xsd:double"/>
1425
+ <xsd:element name="totalMatchedAmount" nillable="false" type="xsd:double"/>
1426
+ <xsd:element name="totalBspBackMatchedAmount" nillable="false" type="xsd:double"/>
1427
+ <xsd:element name="totalBspLiabilityMatchedAmount" nillable="false" type="xsd:double"/>
1428
+ </xsd:sequence>
1429
+ </xsd:complexType>
1430
+ <xsd:complexType name="ArrayOfVolumeInfo">
1431
+ <xsd:sequence>
1432
+ <xsd:element form="qualified" maxOccurs="unbounded" minOccurs="0"
1433
+ name="VolumeInfo" nillable="true" type="types:VolumeInfo"/>
1434
+ </xsd:sequence>
1435
+ </xsd:complexType>
1436
+ <xsd:complexType name="GetMarketTradedVolumeReq">
1437
+ <xsd:complexContent>
1438
+ <xsd:extension base="types:APIRequest">
1439
+ <xsd:sequence>
1440
+ <xsd:element name="asianLineId" nillable="false" type="xsd:int"/>
1441
+ <xsd:element name="currencyCode" nillable="true" type="xsd:string"/>
1442
+ <xsd:element name="marketId" nillable="false" type="xsd:int"/>
1443
+ <xsd:element name="selectionId" nillable="false" type="xsd:int"/>
1444
+ </xsd:sequence>
1445
+ </xsd:extension>
1446
+ </xsd:complexContent>
1447
+ </xsd:complexType>
1448
+ <xsd:complexType name="GetBetHistoryResp">
1449
+ <xsd:complexContent>
1450
+ <xsd:extension base="types:APIResponse">
1451
+ <xsd:sequence>
1452
+ <xsd:element name="betHistoryItems" nillable="true" type="types:ArrayOfBet"/>
1453
+ <xsd:element name="errorCode" type="types:GetBetHistoryErrorEnum"/>
1454
+ <xsd:element name="minorErrorCode" nillable="true" type="xsd:string"/>
1455
+ <xsd:element name="totalRecordCount" nillable="false" type="xsd:int"/>
1456
+ </xsd:sequence>
1457
+ </xsd:extension>
1458
+ </xsd:complexContent>
1459
+ </xsd:complexType>
1460
+ <xsd:simpleType name="GetBetHistoryErrorEnum">
1461
+ <xsd:restriction base="xsd:string">
1462
+ <xsd:enumeration value="OK"/>
1463
+ <xsd:enumeration value="INVALID_EVENT_TYPE_ID"/>
1464
+ <xsd:enumeration value="NO_RESULTS"/>
1465
+ <xsd:enumeration value="INVALID_RECORD_COUNT"/>
1466
+ <xsd:enumeration value="INVALID_BET_STATUS"/>
1467
+ <xsd:enumeration value="INVALID_MARKET_TYPE"/>
1468
+ <xsd:enumeration value="INVALID_ORDER_BY"/>
1469
+ <xsd:enumeration value="INVALID_START_RECORD"/>
1470
+ <xsd:enumeration value="INVALID_LOCALE_DEFAULTING_TO_ENGLISH"/>
1471
+ <xsd:enumeration value="API_ERROR"/>
1472
+ </xsd:restriction>
1473
+ </xsd:simpleType>
1474
+ <xsd:complexType name="GetBetHistoryReq">
1475
+ <xsd:complexContent>
1476
+ <xsd:extension base="types:APIRequest">
1477
+ <xsd:sequence>
1478
+ <xsd:element name="betTypesIncluded" type="types:BetStatusEnum"/>
1479
+ <xsd:element name="detailed" nillable="false" type="xsd:boolean"/>
1480
+ <xsd:element name="eventTypeIds" nillable="true" type="types:ArrayOfInt"/>
1481
+ <xsd:element name="marketId" nillable="false" type="xsd:int"/>
1482
+ <xsd:element name="locale" nillable="true" type="xsd:string"/>
1483
+ <xsd:element name="timezone" nillable="true" type="xsd:string"/>
1484
+ <xsd:element name="marketTypesIncluded" nillable="true" type="types:ArrayOfMarketTypeEnum"/>
1485
+ <xsd:element name="placedDateFrom" type="xsd:dateTime"/>
1486
+ <xsd:element name="placedDateTo" type="xsd:dateTime"/>
1487
+ <xsd:element name="recordCount" nillable="false" type="xsd:int"/>
1488
+ <xsd:element name="sortBetsBy" type="types:BetsOrderByEnum"/>
1489
+ <xsd:element name="startRecord" nillable="false" type="xsd:int"/>
1490
+ </xsd:sequence>
1491
+ </xsd:extension>
1492
+ </xsd:complexContent>
1493
+ </xsd:complexType>
1494
+ <xsd:complexType name="ArrayOfMarketTypeEnum">
1495
+ <xsd:sequence>
1496
+ <xsd:element form="qualified" maxOccurs="unbounded" minOccurs="0"
1497
+ name="MarketTypeEnum" nillable="true" type="types:MarketTypeEnum"/>
1498
+ </xsd:sequence>
1499
+ </xsd:complexType>
1500
+ <xsd:complexType name="ArrayOfInt">
1501
+ <xsd:sequence>
1502
+ <xsd:element form="qualified" maxOccurs="unbounded" minOccurs="0"
1503
+ name="int" nillable="true" type="xsd:int"/>
1504
+ </xsd:sequence>
1505
+ </xsd:complexType>
1506
+
1507
+ <xsd:complexType name="GetAccountStatementResp">
1508
+ <xsd:complexContent>
1509
+ <xsd:extension base="types:APIResponse">
1510
+ <xsd:sequence>
1511
+ <xsd:element name="errorCode" type="types:GetAccountStatementErrorEnum"/>
1512
+ <xsd:element name="items" nillable="true" type="types:ArrayOfAccountStatementItem"/>
1513
+ <xsd:element name="minorErrorCode" nillable="true" type="xsd:string"/>
1514
+ <xsd:element name="totalRecordCount" nillable="false" type="xsd:int"/>
1515
+ </xsd:sequence>
1516
+ </xsd:extension>
1517
+ </xsd:complexContent>
1518
+ </xsd:complexType>
1519
+ <xsd:simpleType name="GetAccountStatementErrorEnum">
1520
+ <xsd:restriction base="xsd:string">
1521
+ <xsd:enumeration value="OK"/>
1522
+ <xsd:enumeration value="INVALID_START_RECORD"/>
1523
+ <xsd:enumeration value="INVALID_RECORD_COUNT"/>
1524
+ <xsd:enumeration value="INVALID_END_DATE"/>
1525
+ <xsd:enumeration value="INVALID_START_DATE"/>
1526
+ <xsd:enumeration value="NO_RESULTS"/>
1527
+ <xsd:enumeration value="API_ERROR"/>
1528
+ <xsd:enumeration value="INVALID_LOCALE_DEFAULTING_TO_ENGLISH"/>
1529
+ </xsd:restriction>
1530
+ </xsd:simpleType>
1531
+ <xsd:complexType name="AccountStatementItem">
1532
+ <xsd:sequence>
1533
+ <xsd:element name="accountBalance" nillable="false" type="xsd:double"/>
1534
+ <xsd:element name="amount" nillable="false" type="xsd:double"/>
1535
+ <xsd:element name="avgPrice" nillable="false" type="xsd:double"/>
1536
+ <xsd:element name="betId" type="xsd:long"/>
1537
+ <xsd:element name="betSize" nillable="false" type="xsd:double"/>
1538
+ <xsd:element name="betType" type="types:BetTypeEnum"/>
1539
+ <xsd:element name="betCategoryType" type="types:BetCategoryTypeEnum"/>
1540
+ <xsd:element name="commissionRate" nillable="true" type="xsd:string"/>
1541
+ <xsd:element name="eventId" nillable="false" type="xsd:int"/>
1542
+ <xsd:element name="eventTypeId" nillable="false" type="xsd:int"/>
1543
+ <xsd:element name="fullMarketName" nillable="true" type="xsd:string"/>
1544
+ <xsd:element name="grossBetAmount" nillable="false" type="xsd:double"/>
1545
+ <xsd:element name="marketName" nillable="true" type="xsd:string"/>
1546
+ <xsd:element name="marketType" type="types:MarketTypeEnum"/>
1547
+ <xsd:element name="placedDate" type="xsd:dateTime"/>
1548
+ <xsd:element name="selectionId" nillable="false" type="xsd:int"/>
1549
+ <xsd:element name="selectionName" nillable="true" type="xsd:string"/>
1550
+ <xsd:element name="settledDate" type="xsd:dateTime"/>
1551
+ <xsd:element name="startDate" type="xsd:dateTime"/>
1552
+ <xsd:element name="transactionType" type="types:AccountStatementEnum"/>
1553
+ <xsd:element name="transactionId" type="xsd:long"/>
1554
+ <xsd:element name="winLose" type="types:AccountStatementEnum"/>
1555
+ </xsd:sequence>
1556
+ </xsd:complexType>
1557
+ <xsd:simpleType name="AccountStatementEnum">
1558
+ <xsd:restriction base="xsd:string">
1559
+ <xsd:enumeration value="OK"/>
1560
+ <xsd:enumeration value="RESULT_WON"/>
1561
+ <xsd:enumeration value="RESULT_LOST"/>
1562
+ <xsd:enumeration value="RESULT_ERR"/>
1563
+ <xsd:enumeration value="RESULT_FIX"/>
1564
+ <xsd:enumeration value="RESULT_NOT_APPLICABLE"/>
1565
+ <xsd:enumeration value="ACCOUNT_CREDIT"/>
1566
+ <xsd:enumeration value="ACCOUNT_DEBIT"/>
1567
+ <xsd:enumeration value="COMMISSION_REVERSAL"/>
1568
+ </xsd:restriction>
1569
+ </xsd:simpleType>
1570
+ <xsd:complexType name="ArrayOfAccountStatementItem">
1571
+ <xsd:sequence>
1572
+ <xsd:element form="qualified" maxOccurs="unbounded" minOccurs="0"
1573
+ name="AccountStatementItem" nillable="true" type="types:AccountStatementItem"/>
1574
+ </xsd:sequence>
1575
+ </xsd:complexType>
1576
+ <xsd:complexType name="GetAccountStatementReq">
1577
+ <xsd:complexContent>
1578
+ <xsd:extension base="types:APIRequest">
1579
+ <xsd:sequence>
1580
+ <xsd:element name="endDate" type="xsd:dateTime"/>
1581
+ <xsd:element name="itemsIncluded" type="types:AccountStatementIncludeEnum"/>
1582
+ <xsd:element name="ignoreAutoTransfers" nillable="false" type="xsd:boolean"/>
1583
+ <xsd:element name="recordCount" nillable="false" type="xsd:int"/>
1584
+ <xsd:element name="startDate" type="xsd:dateTime"/>
1585
+ <xsd:element name="startRecord" nillable="false" type="xsd:int"/>
1586
+ <xsd:element name="locale" nillable="true" type="xsd:string"/>
1587
+ </xsd:sequence>
1588
+ </xsd:extension>
1589
+ </xsd:complexContent>
1590
+ </xsd:complexType>
1591
+ <xsd:simpleType name="AccountStatementIncludeEnum">
1592
+ <xsd:restriction base="xsd:string">
1593
+ <xsd:enumeration value="ALL"/>
1594
+ <xsd:enumeration value="EXCHANGE"/>
1595
+ <xsd:enumeration value="POKER_ROOM"/>
1596
+ <xsd:enumeration value="DEPOSITS_WITHDRAWALS"/>
1597
+ </xsd:restriction>
1598
+ </xsd:simpleType>
1599
+ <xsd:complexType name="GetMarketProfitAndLossResp">
1600
+ <xsd:complexContent>
1601
+ <xsd:extension base="types:APIResponse">
1602
+ <xsd:sequence>
1603
+ <xsd:element name="annotations" nillable="true" type="types:ArrayOfProfitAndLoss"/>
1604
+ <xsd:element name="commissionApplied" nillable="false" type="xsd:double"/>
1605
+ <xsd:element name="currencyCode" nillable="true" type="xsd:string"/>
1606
+ <xsd:element name="errorCode" type="types:GetMarketProfitAndLossErrorEnum"/>
1607
+ <xsd:element name="includesSettledBets" nillable="false" type="xsd:boolean"/>
1608
+ <xsd:element name="includesBspBets" nillable="false" type="xsd:boolean"/>
1609
+ <xsd:element name="marketId" nillable="false" type="xsd:int"/>
1610
+ <xsd:element name="marketName" nillable="true" type="xsd:string"/>
1611
+ <xsd:element name="marketStatus" type="types:MarketStatusEnum"/>
1612
+ <xsd:element name="minorErrorCode" nillable="true" type="xsd:string"/>
1613
+ <xsd:element name="unit" nillable="true" type="xsd:string"/>
1614
+ </xsd:sequence>
1615
+ </xsd:extension>
1616
+ </xsd:complexContent>
1617
+ </xsd:complexType>
1618
+ <xsd:complexType name="ProfitAndLoss">
1619
+ <xsd:sequence>
1620
+ <xsd:element name="futureIfWin" nillable="false" type="xsd:double"/>
1621
+ <xsd:element name="ifWin" nillable="false" type="xsd:double"/>
1622
+ <xsd:element name="selectionId" nillable="false" type="xsd:int"/>
1623
+ <xsd:element name="selectionName" nillable="true" type="xsd:string"/>
1624
+ <xsd:element name="worstcaseIfWin" nillable="false" type="xsd:double"/>
1625
+ </xsd:sequence>
1626
+ </xsd:complexType>
1627
+ <xsd:complexType name="ArrayOfProfitAndLoss">
1628
+ <xsd:sequence>
1629
+ <xsd:element form="qualified" maxOccurs="unbounded" minOccurs="0"
1630
+ name="ProfitAndLoss" nillable="true" type="types:ProfitAndLoss"/>
1631
+ </xsd:sequence>
1632
+ </xsd:complexType>
1633
+ <xsd:simpleType name="GetMarketProfitAndLossErrorEnum">
1634
+ <xsd:restriction base="xsd:string">
1635
+ <xsd:enumeration value="INVALID_MARKET"/>
1636
+ <xsd:enumeration value="UNSUPPORTED_MARKET_TYPE"/>
1637
+ <xsd:enumeration value="OK"/>
1638
+ <xsd:enumeration value="MARKET_CLOSED"/>
1639
+ <xsd:enumeration value="INVALID_LOCALE_DEFAULTING_TO_ENGLISH"/>
1640
+ <xsd:enumeration value="API_ERROR"/>
1641
+ </xsd:restriction>
1642
+ </xsd:simpleType>
1643
+ <xsd:complexType name="GetMarketProfitAndLossReq">
1644
+ <xsd:complexContent>
1645
+ <xsd:extension base="types:APIRequest">
1646
+ <xsd:sequence>
1647
+ <xsd:element name="locale" nillable="true" type="xsd:string"/>
1648
+ <xsd:element name="includeSettledBets" nillable="false" type="xsd:boolean"/>
1649
+ <xsd:element name="includeBspBets" nillable="false" type="xsd:boolean"/>
1650
+ <xsd:element name="marketID" nillable="false" type="xsd:int"/>
1651
+ <xsd:element name="netOfCommission" nillable="false" type="xsd:boolean"/>
1652
+ </xsd:sequence>
1653
+ </xsd:extension>
1654
+ </xsd:complexContent>
1655
+ </xsd:complexType>
1656
+ <xsd:complexType name="GetBetResp">
1657
+ <xsd:complexContent>
1658
+ <xsd:extension base="types:APIResponse">
1659
+ <xsd:sequence>
1660
+ <xsd:element name="bet" nillable="true" type="types:Bet"/>
1661
+ <xsd:element name="errorCode" type="types:GetBetErrorEnum"/>
1662
+ </xsd:sequence>
1663
+ </xsd:extension>
1664
+ </xsd:complexContent>
1665
+ </xsd:complexType>
1666
+ <xsd:simpleType name="GetBetErrorEnum">
1667
+ <xsd:restriction base="xsd:string">
1668
+ <xsd:enumeration value="OK"/>
1669
+ <xsd:enumeration value="MARKET_TYPE_NOT_SUPPORTED"/>
1670
+ <xsd:enumeration value="BET_ID_INVALID"/>
1671
+ <xsd:enumeration value="NO_RESULTS"/>
1672
+ <xsd:enumeration value="API_ERROR"/>
1673
+ <xsd:enumeration value="INVALID_LOCALE_DEFAULTING_TO_ENGLISH"/>
1674
+ </xsd:restriction>
1675
+ </xsd:simpleType>
1676
+ <xsd:complexType name="GetBetReq">
1677
+ <xsd:complexContent>
1678
+ <xsd:extension base="types:APIRequest">
1679
+ <xsd:sequence>
1680
+ <xsd:element name="betId" nillable="false" type="xsd:long"/>
1681
+ <xsd:element name="locale" nillable="true" type="xsd:string"/>
1682
+ </xsd:sequence>
1683
+ </xsd:extension>
1684
+ </xsd:complexContent>
1685
+ </xsd:complexType>
1686
+
1687
+
1688
+ <xsd:complexType name="GetBetLiteResp">
1689
+ <xsd:complexContent>
1690
+ <xsd:extension base="types:APIResponse">
1691
+ <xsd:sequence>
1692
+ <xsd:element name="betLite" nillable="true" type="types:BetLite"/>
1693
+ <xsd:element name="errorCode" type="types:GetBetErrorEnum"/>
1694
+ </xsd:sequence>
1695
+ </xsd:extension>
1696
+ </xsd:complexContent>
1697
+ </xsd:complexType>
1698
+ <xsd:complexType name="BetLite">
1699
+ <xsd:sequence>
1700
+ <xsd:element name="betId" type="xsd:long"/>
1701
+ <xsd:element name="marketId" nillable="false" type="xsd:int"/>
1702
+ <xsd:element name="matchedSize" nillable="false" type="xsd:double"/>
1703
+ <xsd:element name="remainingSize" nillable="false" type="xsd:double"/>
1704
+ <xsd:element name="betStatus" type="types:BetStatusEnum"/>
1705
+ <xsd:element name="betCategoryType" type="types:BetCategoryTypeEnum"/>
1706
+ <xsd:element name="betPersistenceType" type="types:BetPersistenceTypeEnum"/>
1707
+ <xsd:element name="bspLiability" nillable="true" type="xsd:double"/>
1708
+ </xsd:sequence>
1709
+ </xsd:complexType>
1710
+ <xsd:complexType name="ArrayOfBetLite">
1711
+ <xsd:sequence>
1712
+ <xsd:element form="qualified" maxOccurs="unbounded" minOccurs="0"
1713
+ name="BetLite" nillable="true" type="types:BetLite"/>
1714
+ </xsd:sequence>
1715
+ </xsd:complexType>
1716
+ <xsd:complexType name="GetBetLiteReq">
1717
+ <xsd:complexContent>
1718
+ <xsd:extension base="types:APIRequest">
1719
+ <xsd:sequence>
1720
+ <xsd:element name="betId" nillable="false" type="xsd:long"/>
1721
+ </xsd:sequence>
1722
+ </xsd:extension>
1723
+ </xsd:complexContent>
1724
+ </xsd:complexType>
1725
+ <xsd:complexType name="GetBetMatchesLiteReq">
1726
+ <xsd:complexContent>
1727
+ <xsd:extension base="types:APIRequest">
1728
+ <xsd:sequence>
1729
+ <xsd:element name="betId" nillable="false" type="xsd:long"/>
1730
+ </xsd:sequence>
1731
+ </xsd:extension>
1732
+ </xsd:complexContent>
1733
+ </xsd:complexType>
1734
+ <xsd:complexType name="GetBetMatchesLiteResp">
1735
+ <xsd:complexContent>
1736
+ <xsd:extension base="types:APIResponse">
1737
+ <xsd:sequence>
1738
+ <xsd:element name="matchLites" nillable="true" type="types:ArrayOfMatchLite"/>
1739
+ <xsd:element name="errorCode" type="types:GetBetErrorEnum"/>
1740
+ </xsd:sequence>
1741
+ </xsd:extension>
1742
+ </xsd:complexContent>
1743
+ </xsd:complexType>
1744
+ <xsd:complexType name="MatchLite">
1745
+ <xsd:sequence>
1746
+ <xsd:element name="betStatus" type="types:BetStatusEnum"/>
1747
+ <xsd:element name="matchedDate" type="xsd:dateTime"/>
1748
+ <xsd:element name="priceMatched" nillable="false" type="xsd:double"/>
1749
+ <xsd:element name="sizeMatched" nillable="false" type="xsd:double"/>
1750
+ <xsd:element name="transactionId" type="xsd:long"/>
1751
+ </xsd:sequence>
1752
+ </xsd:complexType>
1753
+ <xsd:complexType name="ArrayOfMatchLite">
1754
+ <xsd:sequence>
1755
+ <xsd:element form="qualified" maxOccurs="unbounded" minOccurs="0"
1756
+ name="MatchLite" nillable="true" type="types:MatchLite"/>
1757
+ </xsd:sequence>
1758
+ </xsd:complexType>
1759
+
1760
+
1761
+ <xsd:complexType name="GetCurrentBetsLiteResp">
1762
+ <xsd:complexContent>
1763
+ <xsd:extension base="types:APIResponse">
1764
+ <xsd:sequence>
1765
+ <xsd:element name="betLites" nillable="true" type="types:ArrayOfBetLite"/>
1766
+ <xsd:element name="errorCode" type="types:GetCurrentBetsErrorEnum"/>
1767
+ <xsd:element name="minorErrorCode" nillable="true" type="xsd:string"/>
1768
+ <xsd:element name="totalRecordCount" nillable="false" type="xsd:int"/>
1769
+ </xsd:sequence>
1770
+ </xsd:extension>
1771
+ </xsd:complexContent>
1772
+ </xsd:complexType>
1773
+ <xsd:complexType name="GetCurrentBetsLiteReq">
1774
+ <xsd:complexContent>
1775
+ <xsd:extension base="types:APIRequest">
1776
+ <xsd:sequence>
1777
+ <xsd:element name="betStatus" type="types:BetStatusEnum"/>
1778
+ <xsd:element name="marketId" nillable="false" type="xsd:int"/>
1779
+ <xsd:element name="orderBy" type="types:BetsOrderByEnum"/>
1780
+ <xsd:element name="recordCount" nillable="false" type="xsd:int"/>
1781
+ <xsd:element name="startRecord" nillable="false" type="xsd:int"/>
1782
+ <xsd:element name="noTotalRecordCount" nillable="false" type="xsd:boolean"/>
1783
+ </xsd:sequence>
1784
+ </xsd:extension>
1785
+ </xsd:complexContent>
1786
+ </xsd:complexType>
1787
+ <xsd:complexType name="MUBetLite">
1788
+ <xsd:sequence>
1789
+ <xsd:element name="betId" type="xsd:long"/>
1790
+ <xsd:element name="transactionId" type="xsd:long"/>
1791
+ <xsd:element name="marketId" nillable="false" type="xsd:int"/>
1792
+ <xsd:element name="size" nillable="false" type="xsd:double"/>
1793
+ <xsd:element name="betStatus" type="types:BetStatusEnum"/>
1794
+ <xsd:element name="betCategoryType" type="types:BetCategoryTypeEnum"/>
1795
+ <xsd:element name="betPersistenceType" type="types:BetPersistenceTypeEnum"/>
1796
+ <xsd:element name="bspLiability" nillable="true" type="xsd:double"/>
1797
+ </xsd:sequence>
1798
+ </xsd:complexType>
1799
+ <xsd:complexType name="ArrayOfMUBetLite">
1800
+ <xsd:sequence>
1801
+ <xsd:element form="qualified" maxOccurs="unbounded" minOccurs="0"
1802
+ name="MUBetLite" nillable="true" type="types:MUBetLite"/>
1803
+ </xsd:sequence>
1804
+ </xsd:complexType>
1805
+ <xsd:complexType name="GetMUBetsLiteResp">
1806
+ <xsd:complexContent>
1807
+ <xsd:extension base="types:APIResponse">
1808
+ <xsd:sequence>
1809
+ <xsd:element name="betLites" nillable="true" type="types:ArrayOfMUBetLite"/>
1810
+ <xsd:element name="errorCode" type="types:GetMUBetsErrorEnum"/>
1811
+ <xsd:element name="minorErrorCode" nillable="true" type="xsd:string"/>
1812
+ <xsd:element name="totalRecordCount" nillable="false" type="xsd:int"/>
1813
+ </xsd:sequence>
1814
+ </xsd:extension>
1815
+ </xsd:complexContent>
1816
+ </xsd:complexType>
1817
+ <xsd:complexType name="GetMUBetsLiteReq">
1818
+ <xsd:complexContent>
1819
+ <xsd:extension base="types:APIRequest">
1820
+ <xsd:sequence>
1821
+ <xsd:element name="betStatus" type="types:BetStatusEnum"/>
1822
+ <xsd:element name="marketId" nillable="false" type="xsd:int"/>
1823
+ <xsd:element name="betIds" nillable="true" type="types:ArrayOfBetId"/>
1824
+ <xsd:element name="orderBy" type="types:BetsOrderByEnum"/>
1825
+ <xsd:element name="sortOrder" type="types:SortOrderEnum"/>
1826
+ <xsd:element name="recordCount" nillable="false" type="xsd:int"/>
1827
+ <xsd:element name="startRecord" nillable="false" type="xsd:int"/>
1828
+ <xsd:element name="matchedSince" nillable="true" type="xsd:dateTime"/>
1829
+ <xsd:element name="excludeLastSecond" nillable="false" type="xsd:boolean"/>
1830
+ </xsd:sequence>
1831
+ </xsd:extension>
1832
+ </xsd:complexContent>
1833
+ </xsd:complexType>
1834
+ <xsd:complexType name="GetMarketInfoResp">
1835
+ <xsd:complexContent>
1836
+ <xsd:extension base="types:APIResponse">
1837
+ <xsd:sequence>
1838
+ <xsd:element name="errorCode" type="types:GetMarketErrorEnum"/>
1839
+ <xsd:element name="marketLite" nillable="true" type="types:MarketLite"/>
1840
+ <xsd:element name="minorErrorCode" nillable="true" type="xsd:string"/>
1841
+ </xsd:sequence>
1842
+ </xsd:extension>
1843
+ </xsd:complexContent>
1844
+ </xsd:complexType>
1845
+ <xsd:complexType name="MarketLite">
1846
+ <xsd:sequence>
1847
+ <xsd:element name="marketStatus" type="types:MarketStatusEnum"/>
1848
+ <xsd:element name="marketSuspendTime" type="xsd:dateTime"/>
1849
+ <xsd:element name="marketTime" type="xsd:dateTime"/>
1850
+ <xsd:element name="numberOfRunners" nillable="false" type="xsd:int"/>
1851
+ <xsd:element name="delay" nillable="false" type="xsd:int"/>
1852
+ <xsd:element name="reconciled" nillable="false" type="xsd:boolean"/>
1853
+ <xsd:element name="openForBspBetting" nillable="false" type="xsd:boolean"/>
1854
+ </xsd:sequence>
1855
+ </xsd:complexType>
1856
+ <xsd:complexType name="GetMarketInfoReq">
1857
+ <xsd:complexContent>
1858
+ <xsd:extension base="types:APIRequest">
1859
+ <xsd:sequence>
1860
+ <xsd:element name="marketId" nillable="false" type="xsd:int"/>
1861
+ </xsd:sequence>
1862
+ </xsd:extension>
1863
+ </xsd:complexContent>
1864
+ </xsd:complexType>
1865
+
1866
+ <xsd:complexType name="HandicapLine">
1867
+ <xsd:complexContent>
1868
+ <xsd:extension base="types:ProfitAndLoss">
1869
+ <xsd:sequence>
1870
+ <xsd:element name="from" nillable="false" type="xsd:double"/>
1871
+ <xsd:element name="to" nillable="false" type="xsd:double"/>
1872
+ </xsd:sequence>
1873
+ </xsd:extension>
1874
+ </xsd:complexContent>
1875
+ </xsd:complexType>
1876
+ <xsd:complexType name="MultiWinnerOddsLine">
1877
+ <xsd:complexContent>
1878
+ <xsd:extension base="types:ProfitAndLoss">
1879
+ <xsd:sequence>
1880
+ <xsd:element name="ifLoss" nillable="false" type="xsd:double"/>
1881
+ </xsd:sequence>
1882
+ </xsd:extension>
1883
+ </xsd:complexContent>
1884
+ </xsd:complexType>
1885
+ </xsd:schema>
1886
+
1887
+
1888
+ <xsd:schema elementFormDefault="qualified" targetNamespace="http://www.betfair.com/publicapi/v5/BFExchangeService/">
1889
+ <xsd:import namespace="http://www.betfair.com/publicapi/types/exchange/v5/"/>
1890
+
1891
+ <xsd:element name="getAccountFunds">
1892
+ <xsd:complexType>
1893
+ <xsd:sequence>
1894
+ <xsd:element name="request" type="types:GetAccountFundsReq"/>
1895
+ </xsd:sequence>
1896
+ </xsd:complexType>
1897
+ </xsd:element>
1898
+ <xsd:element name="getAccountFundsResponse">
1899
+ <xsd:complexType>
1900
+ <xsd:sequence>
1901
+ <xsd:element name="Result" nillable="true" type="types:GetAccountFundsResp"/>
1902
+ </xsd:sequence>
1903
+ </xsd:complexType>
1904
+ </xsd:element>
1905
+
1906
+ <xsd:element name="cancelBets">
1907
+ <xsd:complexType>
1908
+ <xsd:sequence>
1909
+ <xsd:element name="request" type="types:CancelBetsReq"/>
1910
+ </xsd:sequence>
1911
+ </xsd:complexType>
1912
+ </xsd:element>
1913
+ <xsd:element name="cancelBetsResponse">
1914
+ <xsd:complexType>
1915
+ <xsd:sequence>
1916
+ <xsd:element name="Result" nillable="true" type="types:CancelBetsResp"/>
1917
+ </xsd:sequence>
1918
+ </xsd:complexType>
1919
+ </xsd:element>
1920
+
1921
+ <xsd:element name="cancelBetsByMarket">
1922
+ <xsd:complexType>
1923
+ <xsd:sequence>
1924
+ <xsd:element name="request" type="types:CancelBetsByMarketReq"/>
1925
+ </xsd:sequence>
1926
+ </xsd:complexType>
1927
+ </xsd:element>
1928
+ <xsd:element name="cancelBetsByMarketResponse">
1929
+ <xsd:complexType>
1930
+ <xsd:sequence>
1931
+ <xsd:element name="Result" nillable="true" type="types:CancelBetsByMarketResp"/>
1932
+ </xsd:sequence>
1933
+ </xsd:complexType>
1934
+ </xsd:element>
1935
+
1936
+ <xsd:element name="heartbeat">
1937
+ <xsd:complexType>
1938
+ <xsd:sequence>
1939
+ <xsd:element name="request" type="types:HeartbeatReq"/>
1940
+ </xsd:sequence>
1941
+ </xsd:complexType>
1942
+ </xsd:element>
1943
+ <xsd:element name="heartbeatResponse">
1944
+ <xsd:complexType>
1945
+ <xsd:sequence>
1946
+ <xsd:element name="Result" nillable="true" type="types:HeartbeatResp"/>
1947
+ </xsd:sequence>
1948
+ </xsd:complexType>
1949
+ </xsd:element>
1950
+
1951
+ <xsd:element name="getSilks">
1952
+ <xsd:complexType>
1953
+ <xsd:sequence>
1954
+ <xsd:element name="request" type="types:GetSilksReq"/>
1955
+ </xsd:sequence>
1956
+ </xsd:complexType>
1957
+ </xsd:element>
1958
+ <xsd:element name="getSilksResponse">
1959
+ <xsd:complexType>
1960
+ <xsd:sequence>
1961
+ <xsd:element name="Result" nillable="true" type="types:GetSilksResp"/>
1962
+ </xsd:sequence>
1963
+ </xsd:complexType>
1964
+ </xsd:element>
1965
+
1966
+ <xsd:element name="getSilksV2">
1967
+ <xsd:complexType>
1968
+ <xsd:sequence>
1969
+ <xsd:element name="request" type="types:GetSilksV2Req"/>
1970
+ </xsd:sequence>
1971
+ </xsd:complexType>
1972
+ </xsd:element>
1973
+ <xsd:element name="getSilksV2Response">
1974
+ <xsd:complexType>
1975
+ <xsd:sequence>
1976
+ <xsd:element name="Result" nillable="true" type="types:GetSilksV2Resp"/>
1977
+ </xsd:sequence>
1978
+ </xsd:complexType>
1979
+ </xsd:element>
1980
+
1981
+ <xsd:element name="updateBets">
1982
+ <xsd:complexType>
1983
+ <xsd:sequence>
1984
+ <xsd:element name="request" type="types:UpdateBetsReq"/>
1985
+ </xsd:sequence>
1986
+ </xsd:complexType>
1987
+ </xsd:element>
1988
+ <xsd:element name="updateBetsResponse">
1989
+ <xsd:complexType>
1990
+ <xsd:sequence>
1991
+ <xsd:element name="Result" nillable="true" type="types:UpdateBetsResp"/>
1992
+ </xsd:sequence>
1993
+ </xsd:complexType>
1994
+ </xsd:element>
1995
+ <xsd:element name="placeBets">
1996
+ <xsd:complexType>
1997
+ <xsd:sequence>
1998
+ <xsd:element name="request" type="types:PlaceBetsReq"/>
1999
+ </xsd:sequence>
2000
+ </xsd:complexType>
2001
+ </xsd:element>
2002
+ <xsd:element name="placeBetsResponse">
2003
+ <xsd:complexType>
2004
+ <xsd:sequence>
2005
+ <xsd:element name="Result" nillable="true" type="types:PlaceBetsResp"/>
2006
+ </xsd:sequence>
2007
+ </xsd:complexType>
2008
+ </xsd:element>
2009
+
2010
+ <xsd:element name="getCoupon">
2011
+ <xsd:complexType>
2012
+ <xsd:sequence>
2013
+ <xsd:element name="request" type="types:GetCouponReq"/>
2014
+ </xsd:sequence>
2015
+ </xsd:complexType>
2016
+ </xsd:element>
2017
+ <xsd:element name="getCouponResponse">
2018
+ <xsd:complexType>
2019
+ <xsd:sequence>
2020
+ <xsd:element name="Result" nillable="true" type="types:GetCouponResp"/>
2021
+ </xsd:sequence>
2022
+ </xsd:complexType>
2023
+ </xsd:element>
2024
+
2025
+ <xsd:element name="getMarket">
2026
+ <xsd:complexType>
2027
+ <xsd:sequence>
2028
+ <xsd:element name="request" type="types:GetMarketReq"/>
2029
+ </xsd:sequence>
2030
+ </xsd:complexType>
2031
+ </xsd:element>
2032
+ <xsd:element name="getMarketInfo">
2033
+ <xsd:complexType>
2034
+ <xsd:sequence>
2035
+ <xsd:element name="request" type="types:GetMarketInfoReq"/>
2036
+ </xsd:sequence>
2037
+ </xsd:complexType>
2038
+ </xsd:element>
2039
+ <xsd:element name="getMarketInfoResponse">
2040
+ <xsd:complexType>
2041
+ <xsd:sequence>
2042
+ <xsd:element name="Result" nillable="true" type="types:GetMarketInfoResp"/>
2043
+ </xsd:sequence>
2044
+ </xsd:complexType>
2045
+ </xsd:element>
2046
+ <xsd:element name="getMarketResponse">
2047
+ <xsd:complexType>
2048
+ <xsd:sequence>
2049
+ <xsd:element name="Result" nillable="true" type="types:GetMarketResp"/>
2050
+ </xsd:sequence>
2051
+ </xsd:complexType>
2052
+ </xsd:element>
2053
+ <xsd:element name="getMarketPrices">
2054
+ <xsd:complexType>
2055
+ <xsd:sequence>
2056
+ <xsd:element name="request" type="types:GetMarketPricesReq"/>
2057
+ </xsd:sequence>
2058
+ </xsd:complexType>
2059
+ </xsd:element>
2060
+ <xsd:element name="getMarketPricesResponse">
2061
+ <xsd:complexType>
2062
+ <xsd:sequence>
2063
+ <xsd:element name="Result" nillable="true" type="types:GetMarketPricesResp"/>
2064
+ </xsd:sequence>
2065
+ </xsd:complexType>
2066
+ </xsd:element>
2067
+
2068
+ <xsd:element name="getCompleteMarketPricesCompressed">
2069
+ <xsd:complexType>
2070
+ <xsd:sequence>
2071
+ <xsd:element name="request" type="types:GetCompleteMarketPricesCompressedReq"/>
2072
+ </xsd:sequence>
2073
+ </xsd:complexType>
2074
+ </xsd:element>
2075
+ <xsd:element name="getCompleteMarketPricesCompressedResponse">
2076
+ <xsd:complexType>
2077
+ <xsd:sequence>
2078
+ <xsd:element name="Result" nillable="true" type="types:GetCompleteMarketPricesCompressedResp"/>
2079
+ </xsd:sequence>
2080
+ </xsd:complexType>
2081
+ </xsd:element>
2082
+
2083
+ <xsd:element name="getMarketTradedVolumeCompressed">
2084
+ <xsd:complexType>
2085
+ <xsd:sequence>
2086
+ <xsd:element name="request" type="types:GetMarketTradedVolumeCompressedReq"/>
2087
+ </xsd:sequence>
2088
+ </xsd:complexType>
2089
+ </xsd:element>
2090
+ <xsd:element name="getMarketTradedVolumeCompressedResponse">
2091
+ <xsd:complexType>
2092
+ <xsd:sequence>
2093
+ <xsd:element name="Result" nillable="true" type="types:GetMarketTradedVolumeCompressedResp"/>
2094
+ </xsd:sequence>
2095
+ </xsd:complexType>
2096
+ </xsd:element>
2097
+
2098
+ <xsd:element name="getMarketPricesCompressed">
2099
+ <xsd:complexType>
2100
+ <xsd:sequence>
2101
+ <xsd:element name="request" type="types:GetMarketPricesCompressedReq"/>
2102
+ </xsd:sequence>
2103
+ </xsd:complexType>
2104
+ </xsd:element>
2105
+ <xsd:element name="getMarketPricesCompressedResponse">
2106
+ <xsd:complexType>
2107
+ <xsd:sequence>
2108
+ <xsd:element name="Result" nillable="true" type="types:GetMarketPricesCompressedResp"/>
2109
+ </xsd:sequence>
2110
+ </xsd:complexType>
2111
+ </xsd:element>
2112
+
2113
+
2114
+ <xsd:element name="getAllMarkets">
2115
+ <xsd:complexType>
2116
+ <xsd:sequence>
2117
+ <xsd:element name="request" type="types:GetAllMarketsReq"/>
2118
+ </xsd:sequence>
2119
+ </xsd:complexType>
2120
+ </xsd:element>
2121
+ <xsd:element name="getAllMarketsResponse">
2122
+ <xsd:complexType>
2123
+ <xsd:sequence>
2124
+ <xsd:element name="Result" nillable="true" type="types:GetAllMarketsResp"/>
2125
+ </xsd:sequence>
2126
+ </xsd:complexType>
2127
+ </xsd:element>
2128
+
2129
+ <xsd:element name="getInPlayMarkets">
2130
+ <xsd:complexType>
2131
+ <xsd:sequence>
2132
+ <xsd:element name="request" type="types:GetInPlayMarketsReq"/>
2133
+ </xsd:sequence>
2134
+ </xsd:complexType>
2135
+ </xsd:element>
2136
+ <xsd:element name="getInPlayMarketsResponse">
2137
+ <xsd:complexType>
2138
+ <xsd:sequence>
2139
+ <xsd:element name="Result" nillable="true" type="types:GetInPlayMarketsResp"/>
2140
+ </xsd:sequence>
2141
+ </xsd:complexType>
2142
+ </xsd:element>
2143
+
2144
+ <xsd:element name="getPrivateMarkets">
2145
+ <xsd:complexType>
2146
+ <xsd:sequence>
2147
+ <xsd:element name="request" type="types:GetPrivateMarketsReq"/>
2148
+ </xsd:sequence>
2149
+ </xsd:complexType>
2150
+ </xsd:element>
2151
+ <xsd:element name="getPrivateMarketsResponse">
2152
+ <xsd:complexType>
2153
+ <xsd:sequence>
2154
+ <xsd:element name="Result" nillable="true" type="types:GetPrivateMarketsResp"/>
2155
+ </xsd:sequence>
2156
+ </xsd:complexType>
2157
+ </xsd:element>
2158
+
2159
+ <xsd:element name="getCurrentBets">
2160
+ <xsd:complexType>
2161
+ <xsd:sequence>
2162
+ <xsd:element name="request" type="types:GetCurrentBetsReq"/>
2163
+ </xsd:sequence>
2164
+ </xsd:complexType>
2165
+ </xsd:element>
2166
+ <xsd:element name="getCurrentBetsResponse">
2167
+ <xsd:complexType>
2168
+ <xsd:sequence>
2169
+ <xsd:element name="Result" nillable="true" type="types:GetCurrentBetsResp"/>
2170
+ </xsd:sequence>
2171
+ </xsd:complexType>
2172
+ </xsd:element>
2173
+
2174
+ <xsd:element name="getCurrentBetsLite">
2175
+ <xsd:complexType>
2176
+ <xsd:sequence>
2177
+ <xsd:element name="request" type="types:GetCurrentBetsLiteReq"/>
2178
+ </xsd:sequence>
2179
+ </xsd:complexType>
2180
+ </xsd:element>
2181
+ <xsd:element name="getCurrentBetsLiteResponse">
2182
+ <xsd:complexType>
2183
+ <xsd:sequence>
2184
+ <xsd:element name="Result" nillable="true" type="types:GetCurrentBetsLiteResp"/>
2185
+ </xsd:sequence>
2186
+ </xsd:complexType>
2187
+ </xsd:element>
2188
+
2189
+ <xsd:element name="getMUBets">
2190
+ <xsd:complexType>
2191
+ <xsd:sequence>
2192
+ <xsd:element name="request" type="types:GetMUBetsReq"/>
2193
+ </xsd:sequence>
2194
+ </xsd:complexType>
2195
+ </xsd:element>
2196
+ <xsd:element name="getMUBetsResponse">
2197
+ <xsd:complexType>
2198
+ <xsd:sequence>
2199
+ <xsd:element name="Result" nillable="true" type="types:GetMUBetsResp"/>
2200
+ </xsd:sequence>
2201
+ </xsd:complexType>
2202
+ </xsd:element>
2203
+
2204
+ <xsd:element name="getMUBetsLite">
2205
+ <xsd:complexType>
2206
+ <xsd:sequence>
2207
+ <xsd:element name="request" type="types:GetMUBetsLiteReq"/>
2208
+ </xsd:sequence>
2209
+ </xsd:complexType>
2210
+ </xsd:element>
2211
+ <xsd:element name="getMUBetsLiteResponse">
2212
+ <xsd:complexType>
2213
+ <xsd:sequence>
2214
+ <xsd:element name="Result" nillable="true" type="types:GetMUBetsLiteResp"/>
2215
+ </xsd:sequence>
2216
+ </xsd:complexType>
2217
+ </xsd:element>
2218
+
2219
+ <xsd:element name="getDetailAvailableMktDepth">
2220
+ <xsd:complexType>
2221
+ <xsd:sequence>
2222
+ <xsd:element name="request" type="types:GetDetailedAvailableMktDepthReq"/>
2223
+ </xsd:sequence>
2224
+ </xsd:complexType>
2225
+ </xsd:element>
2226
+ <xsd:element name="getDetailAvailableMktDepthResponse">
2227
+ <xsd:complexType>
2228
+ <xsd:sequence>
2229
+ <xsd:element name="Result" nillable="true" type="types:GetDetailedAvailableMktDepthResp"/>
2230
+ </xsd:sequence>
2231
+ </xsd:complexType>
2232
+ </xsd:element>
2233
+ <xsd:element name="getMarketTradedVolume">
2234
+ <xsd:complexType>
2235
+ <xsd:sequence>
2236
+ <xsd:element name="request" type="types:GetMarketTradedVolumeReq"/>
2237
+ </xsd:sequence>
2238
+ </xsd:complexType>
2239
+ </xsd:element>
2240
+ <xsd:element name="getMarketTradedVolumeResponse">
2241
+ <xsd:complexType>
2242
+ <xsd:sequence>
2243
+ <xsd:element name="Result" nillable="true" type="types:GetMarketTradedVolumeResp"/>
2244
+ </xsd:sequence>
2245
+ </xsd:complexType>
2246
+ </xsd:element>
2247
+ <xsd:element name="getBetHistory">
2248
+ <xsd:complexType>
2249
+ <xsd:sequence>
2250
+ <xsd:element name="request" type="types:GetBetHistoryReq"/>
2251
+ </xsd:sequence>
2252
+ </xsd:complexType>
2253
+ </xsd:element>
2254
+ <xsd:element name="getBetHistoryResponse">
2255
+ <xsd:complexType>
2256
+ <xsd:sequence>
2257
+ <xsd:element name="Result" nillable="true" type="types:GetBetHistoryResp"/>
2258
+ </xsd:sequence>
2259
+ </xsd:complexType>
2260
+ </xsd:element>
2261
+ <xsd:element name="getAccountStatement">
2262
+ <xsd:complexType>
2263
+ <xsd:sequence>
2264
+ <xsd:element name="req" type="types:GetAccountStatementReq"/>
2265
+ </xsd:sequence>
2266
+ </xsd:complexType>
2267
+ </xsd:element>
2268
+ <xsd:element name="getAccountStatementResponse">
2269
+ <xsd:complexType>
2270
+ <xsd:sequence>
2271
+ <xsd:element name="Result" nillable="true" type="types:GetAccountStatementResp"/>
2272
+ </xsd:sequence>
2273
+ </xsd:complexType>
2274
+ </xsd:element>
2275
+ <xsd:element name="getMarketProfitAndLoss">
2276
+ <xsd:complexType>
2277
+ <xsd:sequence>
2278
+ <xsd:element name="request" type="types:GetMarketProfitAndLossReq"/>
2279
+ </xsd:sequence>
2280
+ </xsd:complexType>
2281
+ </xsd:element>
2282
+ <xsd:element name="getMarketProfitAndLossResponse">
2283
+ <xsd:complexType>
2284
+ <xsd:sequence>
2285
+ <xsd:element name="Result" nillable="true" type="types:GetMarketProfitAndLossResp"/>
2286
+ </xsd:sequence>
2287
+ </xsd:complexType>
2288
+ </xsd:element>
2289
+ <xsd:element name="getBet">
2290
+ <xsd:complexType>
2291
+ <xsd:sequence>
2292
+ <xsd:element name="request" type="types:GetBetReq"/>
2293
+ </xsd:sequence>
2294
+ </xsd:complexType>
2295
+ </xsd:element>
2296
+ <xsd:element name="getBetResponse">
2297
+ <xsd:complexType>
2298
+ <xsd:sequence>
2299
+ <xsd:element name="Result" nillable="true" type="types:GetBetResp"/>
2300
+ </xsd:sequence>
2301
+ </xsd:complexType>
2302
+ </xsd:element>
2303
+
2304
+ <xsd:element name="getBetLite">
2305
+ <xsd:complexType>
2306
+ <xsd:sequence>
2307
+ <xsd:element name="request" type="types:GetBetLiteReq"/>
2308
+ </xsd:sequence>
2309
+ </xsd:complexType>
2310
+ </xsd:element>
2311
+ <xsd:element name="getBetLiteResponse">
2312
+ <xsd:complexType>
2313
+ <xsd:sequence>
2314
+ <xsd:element name="Result" nillable="true" type="types:GetBetLiteResp"/>
2315
+ </xsd:sequence>
2316
+ </xsd:complexType>
2317
+ </xsd:element>
2318
+ <xsd:element name="getBetMatchesLite">
2319
+ <xsd:complexType>
2320
+ <xsd:sequence>
2321
+ <xsd:element name="request" type="types:GetBetMatchesLiteReq"/>
2322
+ </xsd:sequence>
2323
+ </xsd:complexType>
2324
+ </xsd:element>
2325
+ <xsd:element name="getBetMatchesLiteResponse">
2326
+ <xsd:complexType>
2327
+ <xsd:sequence>
2328
+ <xsd:element name="Result" nillable="true" type="types:GetBetMatchesLiteResp"/>
2329
+ </xsd:sequence>
2330
+ </xsd:complexType>
2331
+ </xsd:element>
2332
+
2333
+ </xsd:schema>
2334
+
2335
+ </wsdl:types>
2336
+
2337
+ <wsdl:message name="getSilksIn">
2338
+ <wsdl:part element="tns:getSilks" name="parameters"/>
2339
+ </wsdl:message>
2340
+ <wsdl:message name="getSilksOut">
2341
+ <wsdl:part element="tns:getSilksResponse" name="parameters"/>
2342
+ </wsdl:message>
2343
+
2344
+ <wsdl:message name="getSilksV2In">
2345
+ <wsdl:part element="tns:getSilksV2" name="parameters"/>
2346
+ </wsdl:message>
2347
+ <wsdl:message name="getSilksV2Out">
2348
+ <wsdl:part element="tns:getSilksV2Response" name="parameters"/>
2349
+ </wsdl:message>
2350
+
2351
+ <wsdl:message name="getAccountFundsIn">
2352
+ <wsdl:part element="tns:getAccountFunds" name="parameters"/>
2353
+ </wsdl:message>
2354
+ <wsdl:message name="getAccountFundsOut">
2355
+ <wsdl:part element="tns:getAccountFundsResponse" name="parameters"/>
2356
+ </wsdl:message>
2357
+
2358
+ <wsdl:message name="cancelBetsIn">
2359
+ <wsdl:part element="tns:cancelBets" name="parameters"/>
2360
+ </wsdl:message>
2361
+ <wsdl:message name="cancelBetsOut">
2362
+ <wsdl:part element="tns:cancelBetsResponse" name="parameters"/>
2363
+ </wsdl:message>
2364
+ <wsdl:message name="cancelBetsByMarketIn">
2365
+ <wsdl:part element="tns:cancelBetsByMarket" name="parameters"/>
2366
+ </wsdl:message>
2367
+ <wsdl:message name="cancelBetsByMarketOut">
2368
+ <wsdl:part element="tns:cancelBetsByMarketResponse" name="parameters"/>
2369
+ </wsdl:message>
2370
+ <wsdl:message name="updateBetsIn">
2371
+ <wsdl:part element="tns:updateBets" name="parameters"/>
2372
+ </wsdl:message>
2373
+ <wsdl:message name="updateBetsOut">
2374
+ <wsdl:part element="tns:updateBetsResponse" name="parameters"/>
2375
+ </wsdl:message>
2376
+ <wsdl:message name="placeBetsIn">
2377
+ <wsdl:part element="tns:placeBets" name="parameters"/>
2378
+ </wsdl:message>
2379
+ <wsdl:message name="placeBetsOut">
2380
+ <wsdl:part element="tns:placeBetsResponse" name="parameters"/>
2381
+ </wsdl:message>
2382
+ <wsdl:message name="getMarketIn">
2383
+ <wsdl:part element="tns:getMarket" name="parameters"/>
2384
+ </wsdl:message>
2385
+ <wsdl:message name="getMarketOut">
2386
+ <wsdl:part element="tns:getMarketResponse" name="parameters"/>
2387
+ </wsdl:message>
2388
+ <wsdl:message name="getMarketInfoIn">
2389
+ <wsdl:part element="tns:getMarketInfo" name="parameters"/>
2390
+ </wsdl:message>
2391
+ <wsdl:message name="getMarketInfoOut">
2392
+ <wsdl:part element="tns:getMarketInfoResponse" name="parameters"/>
2393
+ </wsdl:message>
2394
+ <wsdl:message name="getMarketPricesIn">
2395
+ <wsdl:part element="tns:getMarketPrices" name="parameters"/>
2396
+ </wsdl:message>
2397
+ <wsdl:message name="getMarketPricesOut">
2398
+ <wsdl:part element="tns:getMarketPricesResponse" name="parameters"/>
2399
+ </wsdl:message>
2400
+ <wsdl:message name="getCompleteMarketPricesCompressedIn">
2401
+ <wsdl:part element="tns:getCompleteMarketPricesCompressed" name="parameters"/>
2402
+ </wsdl:message>
2403
+ <wsdl:message name="getCompleteMarketPricesCompressedOut">
2404
+ <wsdl:part element="tns:getCompleteMarketPricesCompressedResponse" name="parameters"/>
2405
+ </wsdl:message>
2406
+
2407
+ <wsdl:message name="getMarketTradedVolumeCompressedIn">
2408
+ <wsdl:part element="tns:getMarketTradedVolumeCompressed" name="parameters"/>
2409
+ </wsdl:message>
2410
+ <wsdl:message name="getMarketTradedVolumeCompressedOut">
2411
+ <wsdl:part element="tns:getMarketTradedVolumeCompressedResponse" name="parameters"/>
2412
+ </wsdl:message>
2413
+
2414
+ <wsdl:message name="getMarketPricesCompressedIn">
2415
+ <wsdl:part element="tns:getMarketPricesCompressed" name="parameters"/>
2416
+ </wsdl:message>
2417
+ <wsdl:message name="getMarketPricesCompressedOut">
2418
+ <wsdl:part element="tns:getMarketPricesCompressedResponse" name="parameters"/>
2419
+ </wsdl:message>
2420
+ <wsdl:message name="getAllMarketsIn">
2421
+ <wsdl:part element="tns:getAllMarkets" name="parameters"/>
2422
+ </wsdl:message>
2423
+ <wsdl:message name="getAllMarketsOut">
2424
+ <wsdl:part element="tns:getAllMarketsResponse" name="parameters"/>
2425
+ </wsdl:message>
2426
+
2427
+ <wsdl:message name="getInPlayMarketsIn">
2428
+ <wsdl:part element="tns:getInPlayMarkets" name="parameters"/>
2429
+ </wsdl:message>
2430
+ <wsdl:message name="getInPlayMarketsOut">
2431
+ <wsdl:part element="tns:getInPlayMarketsResponse" name="parameters"/>
2432
+ </wsdl:message>
2433
+
2434
+ <wsdl:message name="getPrivateMarketsIn">
2435
+ <wsdl:part element="tns:getPrivateMarkets" name="parameters"/>
2436
+ </wsdl:message>
2437
+ <wsdl:message name="getPrivateMarketsOut">
2438
+ <wsdl:part element="tns:getPrivateMarketsResponse" name="parameters"/>
2439
+ </wsdl:message>
2440
+
2441
+ <wsdl:message name="getCurrentBetsIn">
2442
+ <wsdl:part element="tns:getCurrentBets" name="parameters"/>
2443
+ </wsdl:message>
2444
+ <wsdl:message name="getCurrentBetsOut">
2445
+ <wsdl:part element="tns:getCurrentBetsResponse" name="parameters"/>
2446
+ </wsdl:message>
2447
+
2448
+ <wsdl:message name="getCurrentBetsLiteIn">
2449
+ <wsdl:part element="tns:getCurrentBetsLite" name="parameters"/>
2450
+ </wsdl:message>
2451
+ <wsdl:message name="getCurrentBetsLiteOut">
2452
+ <wsdl:part element="tns:getCurrentBetsLiteResponse" name="parameters"/>
2453
+ </wsdl:message>
2454
+
2455
+
2456
+ <wsdl:message name="getMUBetsIn">
2457
+ <wsdl:part element="tns:getMUBets" name="parameters"/>
2458
+ </wsdl:message>
2459
+ <wsdl:message name="getMUBetsOut">
2460
+ <wsdl:part element="tns:getMUBetsResponse" name="parameters"/>
2461
+ </wsdl:message>
2462
+
2463
+ <wsdl:message name="getMUBetsLiteIn">
2464
+ <wsdl:part element="tns:getMUBetsLite" name="parameters"/>
2465
+ </wsdl:message>
2466
+ <wsdl:message name="getMUBetsLiteOut">
2467
+ <wsdl:part element="tns:getMUBetsLiteResponse" name="parameters"/>
2468
+ </wsdl:message>
2469
+
2470
+ <wsdl:message name="getDetailAvailableMktDepthIn">
2471
+ <wsdl:part element="tns:getDetailAvailableMktDepth" name="parameters"/>
2472
+ </wsdl:message>
2473
+ <wsdl:message name="getDetailAvailableMktDepthOut">
2474
+ <wsdl:part element="tns:getDetailAvailableMktDepthResponse" name="parameters"/>
2475
+ </wsdl:message>
2476
+ <wsdl:message name="getMarketTradedVolumeIn">
2477
+ <wsdl:part element="tns:getMarketTradedVolume" name="parameters"/>
2478
+ </wsdl:message>
2479
+ <wsdl:message name="getMarketTradedVolumeOut">
2480
+ <wsdl:part element="tns:getMarketTradedVolumeResponse" name="parameters"/>
2481
+ </wsdl:message>
2482
+ <wsdl:message name="getBetHistoryIn">
2483
+ <wsdl:part element="tns:getBetHistory" name="parameters"/>
2484
+ </wsdl:message>
2485
+ <wsdl:message name="getBetHistoryOut">
2486
+ <wsdl:part element="tns:getBetHistoryResponse" name="parameters"/>
2487
+ </wsdl:message>
2488
+ <wsdl:message name="getAccountStatementIn">
2489
+ <wsdl:part element="tns:getAccountStatement" name="parameters"/>
2490
+ </wsdl:message>
2491
+ <wsdl:message name="getAccountStatementOut">
2492
+ <wsdl:part element="tns:getAccountStatementResponse" name="parameters"/>
2493
+ </wsdl:message>
2494
+ <wsdl:message name="getMarketProfitAndLossIn">
2495
+ <wsdl:part element="tns:getMarketProfitAndLoss" name="parameters"/>
2496
+ </wsdl:message>
2497
+ <wsdl:message name="getMarketProfitAndLossOut">
2498
+ <wsdl:part element="tns:getMarketProfitAndLossResponse" name="parameters"/>
2499
+ </wsdl:message>
2500
+ <wsdl:message name="getBetIn">
2501
+ <wsdl:part element="tns:getBet" name="parameters"/>
2502
+ </wsdl:message>
2503
+ <wsdl:message name="getBetOut">
2504
+ <wsdl:part element="tns:getBetResponse" name="parameters"/>
2505
+ </wsdl:message>
2506
+
2507
+ <wsdl:message name="heartbeatIn">
2508
+ <wsdl:part element="tns:heartbeat" name="parameters"/>
2509
+ </wsdl:message>
2510
+ <wsdl:message name="heartbeatOut">
2511
+ <wsdl:part element="tns:heartbeatResponse" name="parameters"/>
2512
+ </wsdl:message>
2513
+
2514
+ <wsdl:message name="getCouponIn">
2515
+ <wsdl:part element="tns:getCoupon" name="parameters"/>
2516
+ </wsdl:message>
2517
+ <wsdl:message name="getCouponOut">
2518
+ <wsdl:part element="tns:getCouponResponse" name="parameters"/>
2519
+ </wsdl:message>
2520
+
2521
+ <wsdl:message name="getBetLiteIn">
2522
+ <wsdl:part element="tns:getBetLite" name="parameters"/>
2523
+ </wsdl:message>
2524
+ <wsdl:message name="getBetLiteOut">
2525
+ <wsdl:part element="tns:getBetLiteResponse" name="parameters"/>
2526
+ </wsdl:message>
2527
+ <wsdl:message name="getBetMatchesLiteIn">
2528
+ <wsdl:part element="tns:getBetMatchesLite" name="parameters"/>
2529
+ </wsdl:message>
2530
+ <wsdl:message name="getBetMatchesLiteOut">
2531
+ <wsdl:part element="tns:getBetMatchesLiteResponse" name="parameters"/>
2532
+ </wsdl:message>
2533
+ <wsdl:portType name="BFExchangeService">
2534
+
2535
+ <wsdl:operation name="getSilks">
2536
+ <wsdl:input message="tns:getSilksIn" name="getSilksIn"/>
2537
+ <wsdl:output message="tns:getSilksOut" name="getSilksOut"/>
2538
+ </wsdl:operation>
2539
+
2540
+ <wsdl:operation name="getSilksV2">
2541
+ <wsdl:input message="tns:getSilksV2In" name="getSilksV2In"/>
2542
+ <wsdl:output message="tns:getSilksV2Out" name="getSilksV2Out"/>
2543
+ </wsdl:operation>
2544
+
2545
+ <wsdl:operation name="getAccountFunds">
2546
+ <wsdl:input message="tns:getAccountFundsIn" name="getAccountFundsIn"/>
2547
+ <wsdl:output message="tns:getAccountFundsOut" name="getAccountFundsOut"/>
2548
+ </wsdl:operation>
2549
+
2550
+
2551
+ <wsdl:operation name="heartbeat">
2552
+ <wsdl:input message="tns:heartbeatIn" name="heartbeatIn"/>
2553
+ <wsdl:output message="tns:heartbeatOut" name="heartbeatOut"/>
2554
+ </wsdl:operation>
2555
+
2556
+
2557
+ <wsdl:operation name="cancelBets">
2558
+ <wsdl:input message="tns:cancelBetsIn" name="cancelBetsIn"/>
2559
+ <wsdl:output message="tns:cancelBetsOut" name="cancelBetsOut"/>
2560
+ </wsdl:operation>
2561
+ <wsdl:operation name="cancelBetsByMarket">
2562
+ <wsdl:input message="tns:cancelBetsByMarketIn" name="cancelBetsByMarketIn"/>
2563
+ <wsdl:output message="tns:cancelBetsByMarketOut" name="cancelBetsByMarketOut"/>
2564
+ </wsdl:operation>
2565
+ <wsdl:operation name="updateBets">
2566
+ <wsdl:input message="tns:updateBetsIn" name="updateBetsIn"/>
2567
+ <wsdl:output message="tns:updateBetsOut" name="updateBetsOut"/>
2568
+ </wsdl:operation>
2569
+ <wsdl:operation name="placeBets">
2570
+ <wsdl:input message="tns:placeBetsIn" name="placeBetsIn"/>
2571
+ <wsdl:output message="tns:placeBetsOut" name="placeBetsOut"/>
2572
+ </wsdl:operation>
2573
+ <wsdl:operation name="getMarket">
2574
+ <wsdl:input message="tns:getMarketIn" name="getMarketIn"/>
2575
+ <wsdl:output message="tns:getMarketOut" name="getMarketOut"/>
2576
+ </wsdl:operation>
2577
+ <wsdl:operation name="getMarketInfo">
2578
+ <wsdl:input message="tns:getMarketInfoIn" name="getMarketInfoIn"/>
2579
+ <wsdl:output message="tns:getMarketInfoOut" name="getMarketInfoOut"/>
2580
+ </wsdl:operation>
2581
+
2582
+ <wsdl:operation name="getMarketPrices">
2583
+ <wsdl:input message="tns:getMarketPricesIn" name="getMarketPricesIn"/>
2584
+ <wsdl:output message="tns:getMarketPricesOut" name="getMarketPricesOut"/>
2585
+ </wsdl:operation>
2586
+ <wsdl:operation name="getCompleteMarketPricesCompressed">
2587
+ <wsdl:input message="tns:getCompleteMarketPricesCompressedIn" name="getCompleteMarketPricesCompressedIn"/>
2588
+ <wsdl:output message="tns:getCompleteMarketPricesCompressedOut" name="getCompleteMarketPricesCompressedOut"/>
2589
+ </wsdl:operation>
2590
+
2591
+ <wsdl:operation name="getMarketTradedVolumeCompressed">
2592
+ <wsdl:input message="tns:getMarketTradedVolumeCompressedIn" name="getMarketTradedVolumeCompressedIn"/>
2593
+ <wsdl:output message="tns:getMarketTradedVolumeCompressedOut" name="getMarketTradedVolumeCompressedOut"/>
2594
+ </wsdl:operation>
2595
+
2596
+ <wsdl:operation name="getMarketPricesCompressed">
2597
+ <wsdl:input message="tns:getMarketPricesCompressedIn" name="getMarketPricesCompressedIn"/>
2598
+ <wsdl:output message="tns:getMarketPricesCompressedOut" name="getMarketPricesCompressedOut"/>
2599
+ </wsdl:operation>
2600
+
2601
+ <wsdl:operation name="getAllMarkets">
2602
+ <wsdl:input message="tns:getAllMarketsIn" name="getAllMarketsIn"/>
2603
+ <wsdl:output message="tns:getAllMarketsOut" name="getAllMarketsOut"/>
2604
+ </wsdl:operation>
2605
+
2606
+ <wsdl:operation name="getInPlayMarkets">
2607
+ <wsdl:input message="tns:getInPlayMarketsIn" name="getInPlayMarketsIn"/>
2608
+ <wsdl:output message="tns:getInPlayMarketsOut" name="getInPlayMarketsOut"/>
2609
+ </wsdl:operation>
2610
+
2611
+ <wsdl:operation name="getPrivateMarkets">
2612
+ <wsdl:input message="tns:getPrivateMarketsIn" name="getPrivateMarketsIn"/>
2613
+ <wsdl:output message="tns:getPrivateMarketsOut" name="getPrivateMarketsOut"/>
2614
+ </wsdl:operation>
2615
+
2616
+ <wsdl:operation name="getCurrentBets">
2617
+ <wsdl:input message="tns:getCurrentBetsIn" name="getCurrentBetsIn"/>
2618
+ <wsdl:output message="tns:getCurrentBetsOut" name="getCurrentBetsOut"/>
2619
+ </wsdl:operation>
2620
+
2621
+ <wsdl:operation name="getCurrentBetsLite">
2622
+ <wsdl:input message="tns:getCurrentBetsLiteIn" name="getCurrentBetsLiteIn"/>
2623
+ <wsdl:output message="tns:getCurrentBetsLiteOut" name="getCurrentBetsLiteOut"/>
2624
+ </wsdl:operation>
2625
+
2626
+
2627
+ <wsdl:operation name="getMUBets">
2628
+ <wsdl:input message="tns:getMUBetsIn" name="getMUBetsIn"/>
2629
+ <wsdl:output message="tns:getMUBetsOut" name="getMUBetsOut"/>
2630
+ </wsdl:operation>
2631
+
2632
+ <wsdl:operation name="getMUBetsLite">
2633
+ <wsdl:input message="tns:getMUBetsLiteIn" name="getMUBetsLiteIn"/>
2634
+ <wsdl:output message="tns:getMUBetsLiteOut" name="getMUBetsLiteOut"/>
2635
+ </wsdl:operation>
2636
+
2637
+
2638
+ <wsdl:operation name="getDetailAvailableMktDepth">
2639
+ <wsdl:input message="tns:getDetailAvailableMktDepthIn" name="getDetailAvailableMktDepthIn"/>
2640
+ <wsdl:output message="tns:getDetailAvailableMktDepthOut" name="getDetailAvailableMktDepthOut"/>
2641
+ </wsdl:operation>
2642
+ <wsdl:operation name="getMarketTradedVolume">
2643
+ <wsdl:input message="tns:getMarketTradedVolumeIn" name="getMarketTradedVolumeIn"/>
2644
+ <wsdl:output message="tns:getMarketTradedVolumeOut" name="getMarketTradedVolumeOut"/>
2645
+ </wsdl:operation>
2646
+ <wsdl:operation name="getBetHistory">
2647
+ <wsdl:input message="tns:getBetHistoryIn" name="getBetHistoryIn"/>
2648
+ <wsdl:output message="tns:getBetHistoryOut" name="getBetHistoryOut"/>
2649
+ </wsdl:operation>
2650
+ <wsdl:operation name="getAccountStatement">
2651
+ <wsdl:input message="tns:getAccountStatementIn" name="getAccountStatementIn"/>
2652
+ <wsdl:output message="tns:getAccountStatementOut" name="getAccountStatementOut"/>
2653
+ </wsdl:operation>
2654
+ <wsdl:operation name="getMarketProfitAndLoss">
2655
+ <wsdl:input message="tns:getMarketProfitAndLossIn" name="getMarketProfitAndLossIn"/>
2656
+ <wsdl:output message="tns:getMarketProfitAndLossOut" name="getMarketProfitAndLossOut"/>
2657
+ </wsdl:operation>
2658
+ <wsdl:operation name="getBet">
2659
+ <wsdl:input message="tns:getBetIn" name="getBetIn"/>
2660
+ <wsdl:output message="tns:getBetOut" name="getBetOut"/>
2661
+ </wsdl:operation>
2662
+
2663
+ <wsdl:operation name="getCoupon">
2664
+ <wsdl:input message="tns:getCouponIn" name="getCouponIn"/>
2665
+ <wsdl:output message="tns:getCouponOut" name="getCouponOut"/>
2666
+ </wsdl:operation>
2667
+
2668
+ <wsdl:operation name="getBetLite">
2669
+ <wsdl:input message="tns:getBetLiteIn" name="getBetLiteIn"/>
2670
+ <wsdl:output message="tns:getBetLiteOut" name="getBetLiteOut"/>
2671
+ </wsdl:operation>
2672
+ <wsdl:operation name="getBetMatchesLite">
2673
+ <wsdl:input message="tns:getBetMatchesLiteIn" name="getBetMatchesLiteIn"/>
2674
+ <wsdl:output message="tns:getBetMatchesLiteOut" name="getBetMatchesLiteOut"/>
2675
+ </wsdl:operation>
2676
+
2677
+ </wsdl:portType>
2678
+ <wsdl:binding name="BFExchangeService" type="tns:BFExchangeService">
2679
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
2680
+
2681
+ <wsdl:operation name="getAccountFunds">
2682
+ <soap:operation soapAction="getAccountFunds" style="document"/>
2683
+ <wsdl:input name="getAccountFundsIn">
2684
+ <soap:body use="literal"/>
2685
+ </wsdl:input>
2686
+ <wsdl:output name="getAccountFundsOut">
2687
+ <soap:body use="literal"/>
2688
+ </wsdl:output>
2689
+ </wsdl:operation>
2690
+
2691
+ <wsdl:operation name="cancelBets">
2692
+ <soap:operation soapAction="cancelBets" style="document"/>
2693
+ <wsdl:input name="cancelBetsIn">
2694
+ <soap:body use="literal"/>
2695
+ </wsdl:input>
2696
+ <wsdl:output name="cancelBetsOut">
2697
+ <soap:body use="literal"/>
2698
+ </wsdl:output>
2699
+ </wsdl:operation>
2700
+
2701
+ <wsdl:operation name="cancelBetsByMarket">
2702
+ <soap:operation soapAction="cancelBetsByMarket" style="document"/>
2703
+ <wsdl:input name="cancelBetsByMarketIn">
2704
+ <soap:body use="literal"/>
2705
+ </wsdl:input>
2706
+ <wsdl:output name="cancelBetsByMarketOut">
2707
+ <soap:body use="literal"/>
2708
+ </wsdl:output>
2709
+ </wsdl:operation>
2710
+
2711
+ <wsdl:operation name="updateBets">
2712
+ <soap:operation soapAction="updateBets" style="document"/>
2713
+ <wsdl:input name="updateBetsIn">
2714
+ <soap:body use="literal"/>
2715
+ </wsdl:input>
2716
+ <wsdl:output name="updateBetsOut">
2717
+ <soap:body use="literal"/>
2718
+ </wsdl:output>
2719
+ </wsdl:operation>
2720
+ <wsdl:operation name="placeBets">
2721
+ <soap:operation soapAction="placeBets" style="document"/>
2722
+ <wsdl:input name="placeBetsIn">
2723
+ <soap:body use="literal"/>
2724
+ </wsdl:input>
2725
+ <wsdl:output name="placeBetsOut">
2726
+ <soap:body use="literal"/>
2727
+ </wsdl:output>
2728
+ </wsdl:operation>
2729
+ <wsdl:operation name="getMarket">
2730
+ <soap:operation soapAction="getMarket" style="document"/>
2731
+ <wsdl:input name="getMarketIn">
2732
+ <soap:body use="literal"/>
2733
+ </wsdl:input>
2734
+ <wsdl:output name="getMarketOut">
2735
+ <soap:body use="literal"/>
2736
+ </wsdl:output>
2737
+ </wsdl:operation>
2738
+
2739
+ <wsdl:operation name="getMarketInfo">
2740
+ <soap:operation soapAction="getMarketInfo" style="document"/>
2741
+ <wsdl:input name="getMarketInfoIn">
2742
+ <soap:body use="literal"/>
2743
+ </wsdl:input>
2744
+ <wsdl:output name="getMarketInfoOut">
2745
+ <soap:body use="literal"/>
2746
+ </wsdl:output>
2747
+ </wsdl:operation>
2748
+
2749
+ <wsdl:operation name="getMarketPrices">
2750
+ <soap:operation soapAction="getMarketPrices" style="document"/>
2751
+ <wsdl:input name="getMarketPricesIn">
2752
+ <soap:body use="literal"/>
2753
+ </wsdl:input>
2754
+ <wsdl:output name="getMarketPricesOut">
2755
+ <soap:body use="literal"/>
2756
+ </wsdl:output>
2757
+ </wsdl:operation>
2758
+ <wsdl:operation name="getCompleteMarketPricesCompressed">
2759
+ <soap:operation soapAction="getCompleteMarketPricesCompressed" style="document"/>
2760
+ <wsdl:input name="getCompleteMarketPricesCompressedIn">
2761
+ <soap:body use="literal"/>
2762
+ </wsdl:input>
2763
+ <wsdl:output name="getCompleteMarketPricesCompressedOut">
2764
+ <soap:body use="literal"/>
2765
+ </wsdl:output>
2766
+ </wsdl:operation>
2767
+
2768
+ <wsdl:operation name="getMarketTradedVolumeCompressed">
2769
+ <soap:operation soapAction="getMarketTradedVolumeCompressed" style="document"/>
2770
+ <wsdl:input name="getMarketTradedVolumeCompressedIn">
2771
+ <soap:body use="literal"/>
2772
+ </wsdl:input>
2773
+ <wsdl:output name="getMarketTradedVolumeCompressedOut">
2774
+ <soap:body use="literal"/>
2775
+ </wsdl:output>
2776
+ </wsdl:operation>
2777
+
2778
+ <wsdl:operation name="getMarketPricesCompressed">
2779
+ <soap:operation soapAction="getMarketPricesCompressed" style="document"/>
2780
+ <wsdl:input name="getMarketPricesCompressedIn">
2781
+ <soap:body use="literal"/>
2782
+ </wsdl:input>
2783
+ <wsdl:output name="getMarketPricesCompressedOut">
2784
+ <soap:body use="literal"/>
2785
+ </wsdl:output>
2786
+ </wsdl:operation>
2787
+
2788
+
2789
+ <wsdl:operation name="getAllMarkets">
2790
+ <soap:operation soapAction="getAllMarkets" style="document"/>
2791
+ <wsdl:input name="getAllMarketsIn">
2792
+ <soap:body use="literal"/>
2793
+ </wsdl:input>
2794
+ <wsdl:output name="getAllMarketsOut">
2795
+ <soap:body use="literal"/>
2796
+ </wsdl:output>
2797
+ </wsdl:operation>
2798
+
2799
+ <wsdl:operation name="getInPlayMarkets">
2800
+ <soap:operation soapAction="getInPlayMarkets" style="document"/>
2801
+ <wsdl:input name="getInPlayMarketsIn">
2802
+ <soap:body use="literal"/>
2803
+ </wsdl:input>
2804
+ <wsdl:output name="getInPlayMarketsOut">
2805
+ <soap:body use="literal"/>
2806
+ </wsdl:output>
2807
+ </wsdl:operation>
2808
+
2809
+ <wsdl:operation name="getPrivateMarkets">
2810
+ <soap:operation soapAction="getPrivateMarkets" style="document"/>
2811
+ <wsdl:input name="getPrivateMarketsIn">
2812
+ <soap:body use="literal"/>
2813
+ </wsdl:input>
2814
+ <wsdl:output name="getPrivateMarketsOut">
2815
+ <soap:body use="literal"/>
2816
+ </wsdl:output>
2817
+ </wsdl:operation>
2818
+
2819
+ <wsdl:operation name="getCurrentBets">
2820
+ <soap:operation soapAction="getCurrentBets" style="document"/>
2821
+ <wsdl:input name="getCurrentBetsIn">
2822
+ <soap:body use="literal"/>
2823
+ </wsdl:input>
2824
+ <wsdl:output name="getCurrentBetsOut">
2825
+ <soap:body use="literal"/>
2826
+ </wsdl:output>
2827
+ </wsdl:operation>
2828
+
2829
+ <wsdl:operation name="getCoupon">
2830
+ <soap:operation soapAction="getCoupon" style="document"/>
2831
+ <wsdl:input name="getCouponIn">
2832
+ <soap:body use="literal"/>
2833
+ </wsdl:input>
2834
+ <wsdl:output name="getCouponOut">
2835
+ <soap:body use="literal"/>
2836
+ </wsdl:output>
2837
+ </wsdl:operation>
2838
+
2839
+ <wsdl:operation name="getCurrentBetsLite">
2840
+ <soap:operation soapAction="getCurrentBetsLite" style="document"/>
2841
+ <wsdl:input name="getCurrentBetsLiteIn">
2842
+ <soap:body use="literal"/>
2843
+ </wsdl:input>
2844
+ <wsdl:output name="getCurrentBetsLiteOut">
2845
+ <soap:body use="literal"/>
2846
+ </wsdl:output>
2847
+ </wsdl:operation>
2848
+
2849
+
2850
+ <wsdl:operation name="getMUBets">
2851
+ <soap:operation soapAction="getMUBets" style="document"/>
2852
+ <wsdl:input name="getMUBetsIn">
2853
+ <soap:body use="literal"/>
2854
+ </wsdl:input>
2855
+ <wsdl:output name="getMUBetsOut">
2856
+ <soap:body use="literal"/>
2857
+ </wsdl:output>
2858
+ </wsdl:operation>
2859
+
2860
+ <wsdl:operation name="getMUBetsLite">
2861
+ <soap:operation soapAction="getMUBetsLite" style="document"/>
2862
+ <wsdl:input name="getMUBetsLiteIn">
2863
+ <soap:body use="literal"/>
2864
+ </wsdl:input>
2865
+ <wsdl:output name="getMUBetsLiteOut">
2866
+ <soap:body use="literal"/>
2867
+ </wsdl:output>
2868
+ </wsdl:operation>
2869
+
2870
+
2871
+ <wsdl:operation name="getDetailAvailableMktDepth">
2872
+ <soap:operation soapAction="getDetailAvailableMktDepth" style="document"/>
2873
+ <wsdl:input name="getDetailAvailableMktDepthIn">
2874
+ <soap:body use="literal"/>
2875
+ </wsdl:input>
2876
+ <wsdl:output name="getDetailAvailableMktDepthOut">
2877
+ <soap:body use="literal"/>
2878
+ </wsdl:output>
2879
+ </wsdl:operation>
2880
+ <wsdl:operation name="getMarketTradedVolume">
2881
+ <soap:operation soapAction="getMarketTradedVolume" style="document"/>
2882
+ <wsdl:input name="getMarketTradedVolumeIn">
2883
+ <soap:body use="literal"/>
2884
+ </wsdl:input>
2885
+ <wsdl:output name="getMarketTradedVolumeOut">
2886
+ <soap:body use="literal"/>
2887
+ </wsdl:output>
2888
+ </wsdl:operation>
2889
+ <wsdl:operation name="getBetHistory">
2890
+ <soap:operation soapAction="getBetHistory" style="document"/>
2891
+ <wsdl:input name="getBetHistoryIn">
2892
+ <soap:body use="literal"/>
2893
+ </wsdl:input>
2894
+ <wsdl:output name="getBetHistoryOut">
2895
+ <soap:body use="literal"/>
2896
+ </wsdl:output>
2897
+ </wsdl:operation>
2898
+ <wsdl:operation name="getAccountStatement">
2899
+ <soap:operation soapAction="getAccountStatement" style="document"/>
2900
+ <wsdl:input name="getAccountStatementIn">
2901
+ <soap:body use="literal"/>
2902
+ </wsdl:input>
2903
+ <wsdl:output name="getAccountStatementOut">
2904
+ <soap:body use="literal"/>
2905
+ </wsdl:output>
2906
+ </wsdl:operation>
2907
+ <wsdl:operation name="getMarketProfitAndLoss">
2908
+ <soap:operation soapAction="getMarketProfitAndLoss" style="document"/>
2909
+ <wsdl:input name="getMarketProfitAndLossIn">
2910
+ <soap:body use="literal"/>
2911
+ </wsdl:input>
2912
+ <wsdl:output name="getMarketProfitAndLossOut">
2913
+ <soap:body use="literal"/>
2914
+ </wsdl:output>
2915
+ </wsdl:operation>
2916
+ <wsdl:operation name="getBet">
2917
+ <soap:operation soapAction="getBet" style="document"/>
2918
+ <wsdl:input name="getBetIn">
2919
+ <soap:body use="literal"/>
2920
+ </wsdl:input>
2921
+ <wsdl:output name="getBetOut">
2922
+ <soap:body use="literal"/>
2923
+ </wsdl:output>
2924
+ </wsdl:operation>
2925
+ <wsdl:operation name="getBetLite">
2926
+ <soap:operation soapAction="getBetLite" style="document"/>
2927
+ <wsdl:input name="getBetLiteIn">
2928
+ <soap:body use="literal"/>
2929
+ </wsdl:input>
2930
+ <wsdl:output name="getBetLiteOut">
2931
+ <soap:body use="literal"/>
2932
+ </wsdl:output>
2933
+ </wsdl:operation>
2934
+ <wsdl:operation name="getBetMatchesLite">
2935
+ <soap:operation soapAction="getBetMatchesLite" style="document"/>
2936
+ <wsdl:input name="getBetMatchesLiteIn">
2937
+ <soap:body use="literal"/>
2938
+ </wsdl:input>
2939
+ <wsdl:output name="getBetMatchesLiteOut">
2940
+ <soap:body use="literal"/>
2941
+ </wsdl:output>
2942
+ </wsdl:operation>
2943
+
2944
+
2945
+ <wsdl:operation name="getSilks">
2946
+ <soap:operation soapAction="getSilks" style="document"/>
2947
+ <wsdl:input name="getSilksIn">
2948
+ <soap:body use="literal"/>
2949
+ </wsdl:input>
2950
+ <wsdl:output name="getSilksOut">
2951
+ <soap:body use="literal"/>
2952
+ </wsdl:output>
2953
+ </wsdl:operation>
2954
+
2955
+ <wsdl:operation name="getSilksV2">
2956
+ <soap:operation soapAction="getSilksV2" style="document"/>
2957
+ <wsdl:input name="getSilksV2In">
2958
+ <soap:body use="literal"/>
2959
+ </wsdl:input>
2960
+ <wsdl:output name="getSilksV2Out">
2961
+ <soap:body use="literal"/>
2962
+ </wsdl:output>
2963
+ </wsdl:operation>
2964
+
2965
+ <wsdl:operation name="heartbeat">
2966
+ <soap:operation soapAction="heartbeat" style="document"/>
2967
+ <wsdl:input name="heartbeatIn">
2968
+ <soap:body use="literal"/>
2969
+ </wsdl:input>
2970
+ <wsdl:output name="heartbeatOut">
2971
+ <soap:body use="literal"/>
2972
+ </wsdl:output>
2973
+ </wsdl:operation>
2974
+
2975
+ </wsdl:binding>
2976
+ <wsdl:service name="BFExchangeService">
2977
+ <wsdl:port binding="tns:BFExchangeService" name="BFExchangeService">
2978
+ <soap:address location="https://api.betfair.com/exchange/v5/BFExchangeService"/>
2979
+ </wsdl:port>
2980
+ </wsdl:service>
2981
+ </wsdl:definitions>