AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

API-Probleme

Ein Thema von RaGro · begonnen am 6. Sep 2008 · letzter Beitrag vom 9. Apr 2009
Antwort Antwort
Seite 1 von 2  1 2      
RaGro

Registriert seit: 10. Aug 2008
Ort: Griesheim
15 Beiträge
 
Delphi 10.2 Tokyo Architect
 
#1

API-Probleme

  Alt 6. Sep 2008, 10:20
Hallo @All

Ich hoffe, das ich jetzt mit meinen Fragen nicht das gleiche Thema zum 2000. Mal aufmache, meine Suche hat in den Fragen hat jedoch keine Antwort gebracht und Google habe ich bereit zum 2. Mal komplett durch.

Mein Problem ist folgendes:
Ich möchte über eine API Schnittstelle auf Daten von Betfair zugreifen.
Ich habe eine WSDL Datei importiert, die die gesamte Schnittstellenbeschreibung enthält.
Die gesamte Beschreibung der Schnittstelle existiert zusätzlich für den Programmierer als PDF in dem alle Parameter beschrieben werden.

Je mehr ich gelesen habe, desto mehr habe ich festgestellt das ich KEINERLEI Ahnung habe, was dieses Ding eigentlich WIE macht.
Bis jetzt kam ich eigentlich immer mit Delphi zurecht, dachte ich zumindest....aber irren ist menschlich...

Delphi-Quellcode:
procedure TForm1.Button1Click(Sender: TObject);
var
a:bfglobalservice;
b:Loginreq;
c:loginresp;
begin

 a:= GetBFGlobalService(false,'',httprio1);
 c:=a.login(b);

end;
Ich habe mal einen Anfang hier gemacht der nur das Login bewerkstelligen sollte...

Der Fehler tritt bereits bei a.login auf...(unzulässiger Lesezugriff)
Ich wäre dankbar, wenn ihr mir zeigen könntet, wie so ein Login für diese API programmiert wird!!!
Ich hoffe ich kann mir davon dann die restlichen Funktionen ableiten.

Kann ja nicht so schwer sein....muss wohl mehr an mir liegen.

Vielen Dank im Vorraus

Rainer Groer
Rainer Groer
Rainer Groer
  Mit Zitat antworten Zitat
mkinzler
(Moderator)

Registriert seit: 9. Dez 2005
Ort: Heilbronn
39.851 Beiträge
 
Delphi 11 Alexandria
 
#2

Re: API-Probleme

  Alt 6. Sep 2008, 10:22
Was ist httprio1? Ist dieses Objekt initialisiert?
Markus Kinzler
  Mit Zitat antworten Zitat
RaGro

Registriert seit: 10. Aug 2008
Ort: Griesheim
15 Beiträge
 
Delphi 10.2 Tokyo Architect
 
#3

Re: API-Probleme

  Alt 6. Sep 2008, 10:28
Hallo @ mkinzler

httprio1 ist ein objekt, welches den SOAP datentransfer zur internen Schnittstelle (WSDL-Dokument) übernimmt.
Das ganze funktioniert in http oder https, da es eine Webservice Anwendung ist.

gruss

Rainer Groer
Rainer Groer
Rainer Groer
  Mit Zitat antworten Zitat
mkinzler
(Moderator)

Registriert seit: 9. Dez 2005
Ort: Heilbronn
39.851 Beiträge
 
Delphi 11 Alexandria
 
#4

Re: API-Probleme

  Alt 6. Sep 2008, 10:30
Aber ist diese initialisiert, besteht schon eine Verbindung?
Markus Kinzler
  Mit Zitat antworten Zitat
RaGro

Registriert seit: 10. Aug 2008
Ort: Griesheim
15 Beiträge
 
Delphi 10.2 Tokyo Architect
 
#5

Re: API-Probleme

  Alt 6. Sep 2008, 10:32
Ich denke ja, denn der Service gibt mir einen Zeiger zurück.

Ich habe THTTPRio1 im Formalr drin.

gruss

Rainer Groer
Rainer Groer
Rainer Groer
  Mit Zitat antworten Zitat
RaGro

Registriert seit: 10. Aug 2008
Ort: Griesheim
15 Beiträge
 
Delphi 10.2 Tokyo Architect
 
#6

Re: API-Probleme

  Alt 6. Sep 2008, 10:36
Würde es dir helfen, wenn ich das komplette WSDL-Dokument mal hier einfüge?

Das enthält die gesamte Beschreibung der Schnittstelle und alle deklarationen. (Ist jedoch sehr groß...)

Gruss rainer
Rainer Groer
Rainer Groer
  Mit Zitat antworten Zitat
mkinzler
(Moderator)

Registriert seit: 9. Dez 2005
Ort: Heilbronn
39.851 Beiträge
 
Delphi 11 Alexandria
 
#7

Re: API-Probleme

  Alt 6. Sep 2008, 10:47
Ja, könnte helfen.
Die Einstellungen in der Komponente, wären auch hilfreich
Markus Kinzler
  Mit Zitat antworten Zitat
RaGro

Registriert seit: 10. Aug 2008
Ort: Griesheim
15 Beiträge
 
Delphi 10.2 Tokyo Architect
 
#8

Re: API-Probleme

  Alt 6. Sep 2008, 10:59
[delphi:1:2b21b93d69]
// ************************************************** ********************** //
// Die in dieser Datei deklarierten Typen wurden aus Daten generiert, die aus
// unten beschriebener WSDL-Datei stammen:
// WSDL : https://api.betfair.com/global/v3/BFGlobalService.wsdl

// >Importieren : https://api.betfair.com/global/v3/BF...rvice.wsdl:0// >Importieren : https://api.betfair.com/global/v3/BF...rvice.wsdl:1// Codierung : UTF-8// Version : 1.0// (03.09.2008 18:21:17 - - $Rev: 7300 $)
// ************************************************** ********************** //

unit GS;

interface

uses InvokeRegistry, SOAPHTTPClient, Types, XSBuiltIns;

const
IS_OPTN = $0001;
IS_UNBD = $0002;
IS_NLBL = $0004;
IS_UNQL = $0008;


type

// ************************************************** ********************** //
// Die folgenden Typen, auf die im WSDL-Dokument Bezug genommen wird, sind in dieser Datei
// nicht repräsentiert. Sie sind entweder Aliase(@) anderer repräsentierter Typen oder auf sie wurde Bezug genommen,
// aber in diesem Dokument nicht deklariert (!). Die Typen aus letzterer Kategorie
// sind normalerweise mit vordefinierten/bekannten XML- oder Borland-Typen verbunden; sie könnten aber auch ein Anzeichen
// für ein falsches WSDL-Dokument sein, das einen Schema-Typ nicht deklariert oder importiert.. // ************************************************** ********************** //
// !:string - "http://www.w3.org/2001/XMLSchema"[Gbl]
// !:dateTime - "http://www.w3.org/2001/XMLSchema"[Gbl]
// !:int - "http://www.w3.org/2001/XMLSchema"[Gbl]
// !:boolean - "http://www.w3.org/2001/XMLSchema"[Gbl]
// !:long - "http://www.w3.org/2001/XMLSchema"[Gbl]
// !:double - "http://www.w3.org/2001/XMLSchema"[Gbl]

APIResponse = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
LoginResp = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
APIResponseHeader = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
LoginReq = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
APIRequest = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
RetrieveLIMBMessageReq = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
RetrieveLIMBMessageResp = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
RetrieveChatNameChangeLIMBMessage = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
RetrieveContactDetailsCheckLIMBMessage = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
RetrieveAddressCheckLIMBMessage = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
RetrieveBirthDateCheckLIMBMessage = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
RetrievePasswordChangeLIMBMessage = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
RetrieveTCPrivacyPolicyChangeLIMBMessage = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
RetrievePersonalLIMBMessage = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
RetrieveCardBillingAddressCheckLIMBMessage = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
SubmitPersonalLIMBMessage = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
SubmitPasswordChangeLIMBMessage = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
SubmitBirthDateCheckLIMBMessage = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
SubmitAddressCheckLIMBMessage = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
SubmitContactDetailsCheckLIMBMessage = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
SubmitChatNameChangeLIMBMessage = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
SubmitLIMBMessageReq = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
SubmitTCPrivacyPolicyChangeLIMBMessage = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
SubmitCardBillingAddressCheckLIMBMessage = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
SubmitLIMBMessageResp = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
LogoutResp = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
LogoutReq = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
KeepAliveResp = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
KeepAliveReq = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
APIRequestHeader = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
GetEventsResp = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
BFEvent = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
MarketSummary = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
CouponLink = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
GetEventsReq = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
GetEventTypesResp = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
EventType = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
GetEventTypesReq = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
GetSubscriptionInfoResp = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
Subscription = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
ServiceCall = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
GetSubscriptionInfoReq = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
DepositFromPaymentCardResp = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
DepositFromPaymentCardReq = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
AddPaymentCardReq = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
DeletePaymentCardReq = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
GetPaymentCardReq = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
UpdatePaymentCardReq = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
AddPaymentCardResp = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
PaymentCard = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
DeletePaymentCardResp = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
UpdatePaymentCardResp = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
GetPaymentCardResp = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
WithdrawToPaymentCardResp = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
WithdrawToPaymentCardReq = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
TransferFundsReq = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
TransferFundsResp = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
SelfExcludeReq = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
SelfExcludeResp = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
ConvertCurrencyResp = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
ConvertCurrencyReq = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
GetCurrenciesResp = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
Currency = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
GetCurrenciesReq = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
ViewReferAndEarnReq = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
ViewReferAndEarnResp = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
ViewProfileReq = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
ViewProfileResp = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
ModifyProfileReq = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
CreateAccountResp = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
ModifyProfileResp = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
CreateAccountReq = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
ForgotPasswordReq = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
ForgotPasswordResp = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
ModifyPasswordReq = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
ModifyPasswordResp = class; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
retrieveCardBillingAddressCheckLIMBMessage2 = class; { "http://www.betfair.com/publicapi/types/global/v3/"[Alias] }
submitCardBillingAddressCheckLIMBMessage2 = class; { "http://www.betfair.com/publicapi/types/global/v3/"[Alias] }

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
LoginErrorEnum = (
OK,
OK_MESSAGES,
FAILED_MESSAGE,
INVALID_USERNAME_OR_PASSWORD,
USER_NOT_ACCOUNT_OWNER,
INVALID_VENDOR_SOFTWARE_ID,
INVALID_PRODUCT,
INVALID_LOCATION,
LOGIN_FAILED_ACCOUNT_LOCKED,
ACCOUNT_SUSPENDED,
T_AND_C_ACCEPTANCE_REQUIRED,
POKER_T_AND_C_ACCEPTANCE_REQUIRED,
LOGIN_REQUIRE_TERMS_AND_CONDITIONS_ACCEPTANCE,
LOGIN_UNAUTHORIZED,
ACCOUNT_CLOSED,
LOGIN_RESTRICTED_LOCATION,
API_ERROR
);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
APIErrorEnum = (
OK2,
INTERNAL_ERROR,
EXCEEDED_THROTTLE,
USER_NOT_SUBSCRIBED_TO_PRODUCT,
SUBSCRIPTION_INACTIVE_OR_SUSPENDED,
VENDOR_SOFTWARE_INACTIVE,
VENDOR_SOFTWARE_INVALID,
SERVICE_NOT_AVAILABLE_IN_PRODUCT,
NO_SESSION,
TOO_MANY_REQUESTS,
PRODUCT_REQUIRES_FUNDED_ACCOUNT,
SERVICE_NOT_AVAILABLE_FOR_LOGIN_STATUS
);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
RetrieveLIMBMessageErrorEnum = (OK3, API_ERROR2);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
PrivacyPolicyChangeResponseEnum = (NO_REPLY, ACCEPT, REJECT);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
SubmitLIMBMessageErrorEnum = (OK4, VALIDATION_ERRORS, INVALID_PASSWORD, API_ERROR3);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
LIMBValidationErrorsEnum = (
INVALID_DOB,
INVALID_ADDRESS_LINE1,
INVALID_ADDRESS_LINE2,
INVALID_ADDRESS_LINE3,
INVALID_CITY,
INVALID_COUNTY_STATE,
INVALID_COUNTRY_OF_RESIDENCE,
INVALID_POSTCODE,
INVALID_HOME_PHONE,
INVALID_WORK_PHONE,
INVALID_MOBILE_PHONE,
INVALID_EMAIL,
INVALID_PASSWORD2,
RESERVED_PASSWORD,
INVALID_NEW_PASSWORD,
INVALID_TC_VERSION,
INVALID_PRIVICY_VERSION,
INVALID_CHATNAME,
CHATNAME_ALREADY_TAKEN,
INVALID_CARD_BILLING_ADDRESS_LINE_1,
INVALID_CARD_BILLING_ADDRESS_LINE_2,
INVALID_CARD_BILLING_ADDRESS_LINE_3,
INVALID_CARD_BILLING_CITY,
INVALID_CARD_BILLING_COUNTY_STATE,
INVALID_CARD_BILLING_ZIP_CODE,
INVALID_CARD_BILLING_COUNTRY_OF_RESIDENCE,
NO_SUCH_PERSONAL_MESSAGE,
NO_SUCH_TC_PRIVACY_POLICY_MESSAGE,
NO_SUCH_PASSWORD_CHANGE_MESSAGE,
NO_SUCH_BIRTH_DATE_CHECK_MESSAGE,
NO_SUCH_ADDRESS_CHECK_MESSAGE,
NO_SUCH_CONTACT_DETAILS_CHECK_MESSAGE,
NO_SUCH_CHATNAME_CHENGE_MESSAGE,
NO_SUCH_CARD_BILLING_ADDRESS_CHECK_MESSAGE,
INVALID_PERSONAL_MESSAGE_ACKNOWLEDGMENT,
INVALID_TC_PRIVACY_POLICY_MESSAGE_ACKNOWLEDGMENT,
INVALID_BIRTH_DATE_CHECK_MESSAGE,
INVALID_ADDRESS_CHECK_MESSAGE,
INVALID_CONTACT_DETAILS_CHECK_MESSAGE,
INVALID_CARD_BILLING_ADDRESS_CHECK_MESSAGE
);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
LogoutErrorEnum = (OK5, API_ERROR4);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
GetEventsErrorEnum = (OK6, INVALID_EVENT_ID, NO_RESULTS, INVALID_LOCALE_DEFAULTING_TO_ENGLISH, API_ERROR5);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
MarketTypeEnum = (O, L, R, A, NOT_APPLICABLE);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
MarketTypeVariantEnum = (D, ASL, ADL, COUP);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
BillingPeriodEnum = (WEEKLY, MONTHLY, QUARTERLY, ANNUALLY);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
SubscriptionStatusEnum = (ACTIVE, INACTIVE, SUSPENDED);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
ServiceEnum = (
ADD_PAYMENT_CARD,
DELETE_PAYMENT_CARD,
GET_PAYMENT_CARD,
UPDATE_PAYMENT_CARD,
LOGIN,
GET_BET,
PLACE_BETS,
WITHDRAW_TO_PAYMENT_CARD,
EDIT_BETS,
DEPOSIT_FROM_PAYMENT_CARD,
CANCEL_BETS,
DO_KEEP_ALIVE,
GET_ACCOUNT_STATEMENT,
LOAD_MARKET_PROFIT_LOSS,
GET_CURRENT_BETS,
LOAD_ACCOUNT_FUNDS,
LOAD_BET_HISTORY,
LOAD_DETAILED_AVAIL_MKT_DEPTH,
GET_MARKET_TRADED_VOLUME,
LOAD_EVENTS,
LOAD_EVENT_TYPES,
LOAD_MARKET,
LOAD_MARKET_PRICES,
LOAD_MARKET_PRICES_COMPRESSED,
LOAD_SERVICE_ANNOUNCEMENTS,
LOAD_SUBSCRIPTION_INFO,
CREATE_ACCOUNT,
CONVERT_CURRENCY,
GET_CURRENCIES,
FORGOT_PASSWORD,
MODIFY_PASSWORD,
VIEW_PROFILE,
MODIFY_PROFILE,
LOGOUT,
RETRIEVE_LIMB_MESSAGE,
SUBMIT_LIMB_MESSAGE,
GET_MARGIN_MARKET_PRICES,
GET_MARGIN_MARKET_PRICES_COMPRESSED,
GENERATE_REGISTERED_MARGIN_PRICES,
MARGINLOGIN,
TRANSFER_FUNDS,
ADD_VENDORSUBSCRIPTION,
UPDATE_VENDORSUBSCRIPTION,
CANCEL_VENDORSUBSCRIPTION,
GET_VENDOR_USERS,
GET_VENDORSUBSCRIPTION_INFO,
GET_VENDOR_INFO
);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
PaymentsErrorEnum = (
OK7,
ACCOUNT_SUSPENDED2,
API_ERROR6,
CARD_AMOUNT_OUTSIDE_LIMIT,
CARD_EXPIRED,
CARD_LOCKED,
CARD_NOT_FOUND,
DEPOSIT_DECLINED,
DEPOSIT_LIMIT_EXCEEDED,
EXCEEDS_BALANCE,
CARD_NOT_VALIDATED,
INVALID_AMOUNT,
INVALID_CARD_CV2,
INVALID_CARD_DETAILS,
INVALID_EXPIRY_DATE,
INVALID_MASTERCARD,
INVALID_PASSWORD3,
CFT_MAX_WITHDRAWAL_LIMIT,
NEGATIVE_NET_DEPOSITS,
NON_STERLING_TO_UK_MASTERCARD,
NON_ZERO_NON_NEG_NET_DEPOSITS,
UNAUTHORIZED,
VISA_WITHDRAWAL_NOT_POSSIBLE,
DUPLICATE_WITHDRAWAL
);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
CardTypeEnum = (VISA, MASTERCARD, VISADELTA, SWITCH, SOLO, ELECTRON, LASER, MAESTRO);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
PaymentCardStatusEnum = (LOCKED, UNLOCKED);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
AddPaymentCardErrorEnum = (
OK8,
INVALID_CARD_DETAILS2,
INVALID_CARD_CV22,
INVALID_PASSWORD4,
ACCOUNT_INACTIVE,
UNAUTHORIZED2,
INVALID_EXPIRY_DATE2,
INVALID_START_DATE,
INVALID_CARD_NUMBER,
INVALID_ZIP_CODE,
INVALID_COUNTRY_CODE,
INVALID_BILLING_NAME,
INVALID_CARD_ADDRESS,
CARD_ALREADY_EXISTS,
AGE_VERIFICATION_REQUIRED,
NOT_FUNDED_WITH_FIRST_CARD,
CARD_NOT_VALID_FOR_ACCOUNT_CURRENCY,
INVALID_CARD_TYPE,
MAXIMUM_NUMBER_OF_CARDS_REACHED,
INVALID_ISSUE_NUMBER,
API_ERROR7
);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
DeletePaymentCardErrorEnum = (OK9, INVALID_CARD_DETAILS3, INVALID_PASSWORD5, ACCOUNT_INACTIVE2, UNAUTHORIZED3, CARD_NOT_DELETED, API_ERROR8);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
UpdatePaymentCardErrorEnum = (
OK10,
INVALID_CARD_DETAILS4,
INVALID_PASSWORD6,
ACCOUNT_INACTIVE3,
UNAUTHORIZED4,
INVALID_COUNTRY_CODE2,
INVALID_CARD_ADDRESS2,
INVALID_EXPIRY_DATE3,
INVALID_START_DATE2,
INVALID_ZIP_CODE2,
INVALID_ISSUE_NUMBER2,
API_ERROR9,
CARD_NOT_FOUND2
);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
GetPaymentCardErrorEnum = (OK11, INVALID_PASSWORD7, ACCOUNT_INACTIVE4, UNAUTHORIZED5, API_ERROR10);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
TransferFundsErrorEnum = (
OK12,
INVALID_AMOUNT2,
TRANSFER_FAILED,
OVER_BALANCE,
WALLETS_MUST_BE_DIFFERENT,
SOURCE_WALLET_UNKNOWN,
SOURCE_WALLET_SUSPENDED,
SOURCE_WALLET_SUSPENDED_KYC,
SOURCE_WALLET_KYC_WITHDRAWAL,
SOURCE_WALLET_KYC_DEPOSIT_TOTAL,
SOURCE_WALLET_KYC_DEPOSIT_MONTH,
TARGET_WALLET_UNKNOWN,
TARGET_WALLET_SUSPENDED,
TARGET_WALLET_SUSPENDED_KYC,
TARGET_WALLET_KYC_WITHDRAWAL,
TARGET_WALLET_KYC_DEPOSIT_TOTAL,
TARGET_WALLET_KYC_DEPOSIT_MONTH,
API_ERROR11
);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
SelfExcludeErrorEnum = (OK13, ACCOUNT_CLOSED2, INVALID_PASSWORD8, INVALID_SELF_EXCLUDE_VALUE, API_ERROR12);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
ConvertCurrencyErrorEnum = (OK14, INVALID_AMOUNT3, INVALID_FROM_CURRENCY, INVALID_TO_CURRENCY, CANNOT_CONVERT, API_ERROR13);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
ViewReferAndEarnErrorEnum = (OK15, NO_RESULTS2, API_ERROR14);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
ViewProfileErrorEnum = (OK16, UNAUTHORIZED6, API_ERROR15);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
TitleEnum = (Dr, Mr, Miss, Mrs, Ms);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
GamcareLimitFreqEnum = (DAILY, WEEKLY2, MONTHLY2, YEARLY);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
ModifyProfileErrorEnum = (OK17, VALIDATION_ERRORS2, PROFILE_MODIFICATION_ERROR, UNAUTHORIZED7, INVALID_PASSWORD9, ACCOUNT_INACTIVE5, API_ERROR16);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
AccountStatusEnum = (A2, C, D2, L2, P, S, T, X, Z);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
CreateAccountErrorEnum = (OK18, VALIDATION_ERRORS3, ACCOUNT_CREATION_ERROR, API_ERROR17);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
ValidationErrorsEnum = (
DUPLICATE_USERNAME,
FUNDS_TRANSFER_CANCEL,
FUNDS_TRANSFER_CURRENCY_MISMATCH,
INCOMPLETE_DETAILS,
INSUFFICIENT_FUNDS,
INVALID_ACCOUNT_TYPE,
INVALID_ADDRESS_LINE12,
INVALID_ADDRESS_LINE22,
INVALID_ADDRESS_LINE32,
INVALID_ANSWER1,
INVALID_ANSWER2,
INVALID_BROWSER,
INVALID_CITY2,
INVALID_COUNTRY_OF_RESIDENCE2,
INVALID_COUNTY_STATE2,
INVALID_CURRENCY,
INVALID_DEPOSIT_LIMIT,
INVALID_DEPOSIT_LIMIT_FREQUENCY,
INVALID_DETAILS,
INVALID_DOB2,
INVALID_EMAIL2,
INVALID_FIRSTNAME,
INVALID_GENDER,
INVALID_HOME_PHONE2,
INVALID_IP_ADDRESS,
INVALID_LANGUAGE,
INVALID_LOCALE,
INVALID_LOSS_LIMIT,
INVALID_LOSS_LIMIT_FREQUENCY,
INVALID_MASTER_ID,
INVALID_MOBILE_PHONE2,
INVALID_PARTNERID,
INVALID_PASSWORD10,
INVALID_POSTCODE2,
INVALID_PRIVICY_VERSION2,
INVALID_PRODUCT_ID,
INVALID_REFERRER_CODE,
INVALID_REGION,
INVALID_SECURITY_QUESTION1,
INVALID_SECURITY_QUESTION2,
INVALID_SUBPARTNERID,
INVALID_SUPERPARTNERID,
INVALID_SURNAME,
INVALID_TC_VERSION2,
INVALID_TIMEZONE,
INVALID_TITLE,
INVALID_USERNAME,
INVALID_WORK_PHONE2,
RESERVED_PASSWORD2
);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
AccountTypeEnum = (STANDARD, MARGIN, TRADING, AGENT_CLIENT);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
GenderEnum = (M, F, UNKNOWN);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
SecurityQuestion1Enum = (SQ1A, SQ1B, SQ1C, SQ1D);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
SecurityQuestion2Enum = (SQ2A, SQ2B, SQ2C, SQ2D);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
RegionEnum = (ZAF, NA, NORD, GBR, IRL, AUS_NZL);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
ForgotPasswordErrorEnum = (OK19, INVALID_USERNAME2, INVALID_COUNTRY_OF_RESIDENCE3, INVALID_EMAIL3, INVALID_ANSWER, INVALID_PASSWORD11, TOO_MANY_ATTEMPTS_ACCOUNT_SUSPENDED, API_ERROR18);

{ "http://www.betfair.com/publicapi/types/global/v3/"[GblSmpl] }
ModifyPasswordErrorEnum = (OK20, INVALID_PASSWORD12, INVALID_NEW_PASSWORD2, PASSWORDS_DONT_MATCH, API_ERROR19);



// ************************************************** ********************** //
// XML : APIResponse, global, <complexType>
// Namespace : http://www.betfair.com/publicapi/types/global/v3/
// ************************************************** ********************** //
APIResponse = class(TRemotable)
private
Fheader: APIResponseHeader;
public
destructor Destroy; override;
published
property header: APIResponseHeader Index (IS_NLBL or IS_UNQL) read Fheader write Fheader;
end;



// ************************************************** ********************** //
// XML : LoginResp, global, <complexType>
// Namespace : http://www.betfair.com/publicapi/types/global/v3/
// ************************************************** ********************** //
LoginResp = class(APIResponse)
private
Fcurrency: WideString;
FerrorCode: LoginErrorEnum;
FminorErrorCode: WideString;
FvalidUntil: TXSDateTime;
public
destructor Destroy; override;
published
property currency: WideString Index (IS_NLBL or IS_UNQL) read Fcurrency write Fcurrency;
property errorCode: LoginErrorEnum Index (IS_UNQL) read FerrorCode write FerrorCode;
property minorErrorCode: WideString Index (IS_NLBL or IS_UNQL) read FminorErrorCode write FminorErrorCode;
property validUntil: TXSDateTime Index (IS_UNQL) read FvalidUntil write FvalidUntil;
end;



// ************************************************** ********************** //
// XML : APIResponseHeader, global, <complexType>
// Namespace : http://www.betfair.com/publicapi/types/global/v3/
// ************************************************** ********************** //
APIResponseHeader = class(TRemotable)
private
FerrorCode: APIErrorEnum;
FminorErrorCode: WideString;
FsessionToken: WideString;
Ftimestamp: TXSDateTime;
public
destructor Destroy; override;
published
property errorCode: APIErrorEnum Index (IS_UNQL) read FerrorCode write FerrorCode;
property minorErrorCode: WideString Index (IS_NLBL or IS_UNQL) read FminorErrorCode write FminorErrorCode;
property sessionToken: WideString Index (IS_NLBL or IS_UNQL) read FsessionToken write FsessionToken;
property timestamp: TXSDateTime Index (IS_UNQL) read Ftimestamp write Ftimestamp;
end;



// ************************************************** ********************** //
// XML : LoginReq, global, <complexType>
// Namespace : http://www.betfair.com/publicapi/types/global/v3/
// ************************************************** ********************** //
LoginReq = class(TRemotable)
private
FipAddress: WideString;
FlocationId: Integer;
Fpassword: WideString;
FproductId: Integer;
Fusername: WideString;
FvendorSoftwareId: Integer;
published
property ipAddress: WideString Index (IS_UNQL) read FipAddress write FipAddress;
property locationId: Integer Index (IS_UNQL) read FlocationId write FlocationId;
property password: WideString Index (IS_UNQL) read Fpassword write Fpassword;
property productId: Integer Index (IS_UNQL) read FproductId write FproductId;
property username: WideString Index (IS_UNQL) read Fusername write Fusername;
property vendorSoftwareId: Integer Index (IS_UNQL) read FvendorSoftwareId write FvendorSoftwareId;
end;



// ************************************************** ********************** //
// XML : APIRequest, global, <complexType>
// Namespace : http://www.betfair.com/publicapi/types/global/v3/
// ************************************************** ********************** //
APIRequest = class(TRemotable)
private
Fheader: APIRequestHeader;
public
destructor Destroy; override;
published
property header: APIRequestHeader Index (IS_NLBL or IS_UNQL) read Fheader write Fheader;
end;



// ************************************************** ********************** //
// XML : RetrieveLIMBMessageReq, global, <complexType>
// Namespace : http://www.betfair.com/publicapi/types/global/v3/
// ************************************************** ********************** //
RetrieveLIMBMessageReq = class(APIRequest)
private
published
end;

ArrayOfRetrieveCardBillingAddressCheckLIMBMessage = array of retrieveCardBillingAddressCheckLIMBMessage2; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }


// ************************************************** ********************** //
// XML : RetrieveLIMBMessageResp, global, <complexType>
// Namespace : http://www.betfair.com/publicapi/types/global/v3/
// ************************************************** ********************** //
RetrieveLIMBMessageResp = class(APIResponse)
private
FerrorCode: RetrieveLIMBMessageErrorEnum;
FminorErrorCode: WideString;
FtotalMessagesCount: Integer;
FretrievePersonalMessage: RetrievePersonalLIMBMessage;
FretrieveTCPrivacyPolicyChangeMessage: RetrieveTCPrivacyPolicyChangeLIMBMessage;
FretrievePasswordChangeMessage: RetrievePasswordChangeLIMBMessage;
FretrieveBirthDateCheckMessage: RetrieveBirthDateCheckLIMBMessage;
FretrieveAddressCheckMessage: RetrieveAddressCheckLIMBMessage;
FretrieveContactDetailsCheckMessage: RetrieveContactDetailsCheckLIMBMessage;
FretrieveChatNameChangeMessage: RetrieveChatNameChangeLIMBMessage;
FretrieveCardBillingAddressCheckItems: ArrayOfRetrieveCardBillingAddressCheckLIMBMessage;
public
destructor Destroy; override;
published
property errorCode: RetrieveLIMBMessageErrorEnum Index (IS_UNQL) read FerrorCode write FerrorCode;
property minorErrorCode: WideString Index (IS_NLBL or IS_UNQL) read FminorErrorCode write FminorErrorCode;
property totalMessagesCount: Integer Index (IS_UNQL) read FtotalMessagesCount write FtotalMessagesCount;
property retrievePersonalMessage: RetrievePersonalLIMBMessage Index (IS_UNQL) read FretrievePersonalMessage write FretrievePersonalMessage;
property retrieveTCPrivacyPolicyChangeMessage: RetrieveTCPrivacyPolicyChangeLIMBMessage Index (IS_UNQL) read FretrieveTCPrivacyPolicyChangeMessage write FretrieveTCPrivacyPolicyChangeMessage;
property retrievePasswordChangeMessage: RetrievePasswordChangeLIMBMessage Index (IS_UNQL) read FretrievePasswordChangeMessage write FretrievePasswordChangeMessage;
property retrieveBirthDateCheckMessage: RetrieveBirthDateCheckLIMBMessage Index (IS_UNQL) read FretrieveBirthDateCheckMessage write FretrieveBirthDateCheckMessage;
property retrieveAddressCheckMessage: RetrieveAddressCheckLIMBMessage Index (IS_UNQL) read FretrieveAddressCheckMessage write FretrieveAddressCheckMessage;
property retrieveContactDetailsCheckMessage: RetrieveContactDetailsCheckLIMBMessage Index (IS_UNQL) read FretrieveContactDetailsCheckMessage write FretrieveContactDetailsCheckMessage;
property retrieveChatNameChangeMessage: RetrieveChatNameChangeLIMBMessage Index (IS_UNQL) read FretrieveChatNameChangeMessage write FretrieveChatNameChangeMessage;
property retrieveCardBillingAddressCheckItems: ArrayOfRetrieveCardBillingAddressCheckLIMBMessage Index (IS_NLBL or IS_UNQL) read FretrieveCardBillingAddressCheckItems write FretrieveCardBillingAddressCheckItems;
end;



// ************************************************** ********************** //
// XML : RetrieveChatNameChangeLIMBMessage, global, <complexType>
// Namespace : http://www.betfair.com/publicapi/types/global/v3/
// ************************************************** ********************** //
RetrieveChatNameChangeLIMBMessage = class(TRemotable)
private
FmessageId: Integer;
FenforceDate: TXSDateTime;
Findicator: Boolean;
FchatName: WideString;
public
destructor Destroy; override;
published
property messageId: Integer Index (IS_NLBL or IS_UNQL) read FmessageId write FmessageId;
property enforceDate: TXSDateTime Index (IS_NLBL or IS_UNQL) read FenforceDate write FenforceDate;
property indicator: Boolean Index (IS_UNQL) read Findicator write Findicator;
property chatName: WideString Index (IS_UNQL) read FchatName write FchatName;
end;



// ************************************************** ********************** //
// XML : RetrieveContactDetailsCheckLIMBMessage, global, <complexType>
// Namespace : http://www.betfair.com/publicapi/types/global/v3/
// ************************************************** ********************** //
RetrieveContactDetailsCheckLIMBMessage = class(TRemotable)
private
FmessageId: Integer;
FenforceDate: TXSDateTime;
Findicator: Boolean;
FhomeTelephone: WideString;
FworkTelephone: WideString;
FmobileTelephone: WideString;
FemailAddress: WideString;
public
destructor Destroy; override;
published
property messageId: Integer Index (IS_NLBL or IS_UNQL) read FmessageId write FmessageId;
property enforceDate: TXSDateTime Index (IS_NLBL or IS_UNQL) read FenforceDate write FenforceDate;
property indicator: Boolean Index (IS_UNQL) read Findicator write Findicator;
property homeTelephone: WideString Index (IS_NLBL or IS_UNQL) read FhomeTelephone write FhomeTelephone;
property workTelephone: WideString Index (IS_NLBL or IS_UNQL) read FworkTelephone write FworkTelephone;
property mobileTelephone: WideString Index (IS_NLBL or IS_UNQL) read FmobileTelephone write FmobileTelephone;
property emailAddress: WideString Index (IS_NLBL or IS_UNQL) read FemailAddress write FemailAddress;
end;



// ************************************************** ********************** //
// XML : RetrieveAddressCheckLIMBMessage, global, <complexType>
// Namespace : http://www.betfair.com/publicapi/types/global/v3/
// ************************************************** ********************** //
RetrieveAddressCheckLIMBMessage = class(TRemotable)
private
FmessageId: Integer;
FenforceDate: TXSDateTime;
Findicator: Boolean;
Faddress1: WideString;
Faddress2: WideString;
Faddress3: WideString;
Ftown: WideString;
Fcounty: WideString;
FzipCode: WideString;
Fcountry: WideString;
public
destructor Destroy; override;
published
property messageId: Integer Index (IS_NLBL or IS_UNQL) read FmessageId write FmessageId;
property enforceDate: TXSDateTime Index (IS_NLBL or IS_UNQL) read FenforceDate write FenforceDate;
property indicator: Boolean Index (IS_UNQL) read Findicator write Findicator;
property address1: WideString Index (IS_UNQL) read Faddress1 write Faddress1;
property address2: WideString Index (IS_NLBL or IS_UNQL) read Faddress2 write Faddress2;
property address3: WideString Index (IS_NLBL or IS_UNQL) read Faddress3 write Faddress3;
property town: WideString Index (IS_NLBL or IS_UNQL) read Ftown write Ftown;
property county: WideString Index (IS_NLBL or IS_UNQL) read Fcounty write Fcounty;
property zipCode: WideString Index (IS_NLBL or IS_UNQL) read FzipCode write FzipCode;
property country: WideString Index (IS_NLBL or IS_UNQL) read Fcountry write Fcountry;
end;



// ************************************************** ********************** //
// XML : RetrieveBirthDateCheckLIMBMessage, global, <complexType>
// Namespace : http://www.betfair.com/publicapi/types/global/v3/
// ************************************************** ********************** //
RetrieveBirthDateCheckLIMBMessage = class(TRemotable)
private
FmessageId: Integer;
FenforceDate: TXSDateTime;
Findicator: Boolean;
FbirthDate: TXSDateTime;
public
destructor Destroy; override;
published
property messageId: Integer Index (IS_NLBL or IS_UNQL) read FmessageId write FmessageId;
property enforceDate: TXSDateTime Index (IS_NLBL or IS_UNQL) read FenforceDate write FenforceDate;
property indicator: Boolean Index (IS_UNQL) read Findicator write Findicator;
property birthDate: TXSDateTime Index (IS_NLBL or IS_UNQL) read FbirthDate write FbirthDate;
end;



// ************************************************** ********************** //
// XML : RetrievePasswordChangeLIMBMessage, global, <complexType>
// Namespace : http://www.betfair.com/publicapi/types/global/v3/
// ************************************************** ********************** //
RetrievePasswordChangeLIMBMessage = class(TRemotable)
private
FmessageId: Integer;
FenforceDate: TXSDateTime;
Findicator: Boolean;
public
destructor Destroy; override;
published
property messageId: Integer Index (IS_NLBL or IS_UNQL) read FmessageId write FmessageId;
property enforceDate: TXSDateTime Index (IS_NLBL or IS_UNQL) read FenforceDate write FenforceDate;
property indicator: Boolean Index (IS_UNQL) read Findicator write Findicator;
end;



// ************************************************** ********************** //
// XML : RetrieveTCPrivacyPolicyChangeLIMBMessage, global, <complexType>
// Namespace : http://www.betfair.com/publicapi/types/global/v3/
// ************************************************** ********************** //
RetrieveTCPrivacyPolicyChangeLIMBMessage = class(TRemotable)
private
FmessageId: Integer;
FenforceDate: TXSDateTime;
Findicator: Boolean;
FreasonForChange: WideString;
public
destructor Destroy; override;
published
property messageId: Integer Index (IS_NLBL or IS_UNQL) read FmessageId write FmessageId;
property enforceDate: TXSDateTime Index (IS_NLBL or IS_UNQL) read FenforceDate write FenforceDate;
property indicator: Boolean Index (IS_UNQL) read Findicator write Findicator;
property reasonForChange: WideString Index (IS_UNQL) read FreasonForChange write FreasonForChange;
end;



// ************************************************** ********************** //
// XML : RetrievePersonalLIMBMessage, global, <complexType>
// Namespace : http://www.betfair.com/publicapi/types/global/v3/
// ************************************************** ********************** //
RetrievePersonalLIMBMessage = class(TRemotable)
private
FmessageId: Integer;
FenforceDate: TXSDateTime;
Findicator: Boolean;
Fmessage_: WideString;
public
destructor Destroy; override;
published
property messageId: Integer Index (IS_NLBL or IS_UNQL) read FmessageId write FmessageId;
property enforceDate: TXSDateTime Index (IS_NLBL or IS_UNQL) read FenforceDate write FenforceDate;
property indicator: Boolean Index (IS_UNQL) read Findicator write Findicator;
property message_: WideString Index (IS_UNQL) read Fmessage_ write Fmessage_;
end;



// ************************************************** ********************** //
// XML : RetrieveCardBillingAddressCheckLIMBMessage, global, <complexType>
// Namespace : http://www.betfair.com/publicapi/types/global/v3/
// ************************************************** ********************** //
RetrieveCardBillingAddressCheckLIMBMessage = class(TRemotable)
private
FmessageId: Integer;
FenforceDate: TXSDateTime;
Findicator: Boolean;
FnickName: WideString;
FcardShortNumber: WideString;
Faddress1: WideString;
Faddress2: WideString;
Faddress3: WideString;
Ftown: WideString;
Fcounty: WideString;
FzipCode: WideString;
Fcountry: WideString;
public
destructor Destroy; override;
published
property messageId: Integer Index (IS_NLBL or IS_UNQL) read FmessageId write FmessageId;
property enforceDate: TXSDateTime Index (IS_NLBL or IS_UNQL) read FenforceDate write FenforceDate;
property indicator: Boolean Index (IS_UNQL) read Findicator write Findicator;
property nickName: WideString Index (IS_UNQL) read FnickName write FnickName;
property cardShortNumber: WideString Index (IS_UNQL) read FcardShortNumber write FcardShortNumber;
property address1: WideString Index (IS_UNQL) read Faddress1 write Faddress1;
property address2: WideString Index (IS_NLBL or IS_UNQL) read Faddress2 write Faddress2;
property address3: WideString Index (IS_NLBL or IS_UNQL) read Faddress3 write Faddress3;
property town: WideString Index (IS_NLBL or IS_UNQL) read Ftown write Ftown;
property county: WideString Index (IS_NLBL or IS_UNQL) read Fcounty write Fcounty;
property zipCode: WideString Index (IS_NLBL or IS_UNQL) read FzipCode write FzipCode;
property country: WideString Index (IS_NLBL or IS_UNQL) read Fcountry write Fcountry;
end;



// ************************************************** ********************** //
// XML : SubmitPersonalLIMBMessage, global, <complexType>
// Namespace : http://www.betfair.com/publicapi/types/global/v3/
// ************************************************** ********************** //
SubmitPersonalLIMBMessage = class(TRemotable)
private
FmessageId: Integer;
Facknowledgment: WideString;
published
property messageId: Integer Index (IS_NLBL or IS_UNQL) read FmessageId write FmessageId;
property acknowledgment: WideString Index (IS_NLBL or IS_UNQL) read Facknowledgment write Facknowledgment;
end;



// ************************************************** ********************** //
// XML : SubmitPasswordChangeLIMBMessage, global, <complexType>
// Namespace : http://www.betfair.com/publicapi/types/global/v3/
// ************************************************** ********************** //
SubmitPasswordChangeLIMBMessage = class(TRemotable)
private
FmessageId: Integer;
FnewPassword: WideString;
FnewPasswordRepeat: WideString;
published
property messageId: Integer Index (IS_NLBL or IS_UNQL) read FmessageId write FmessageId;
property newPassword: WideString Index (IS_NLBL or IS_UNQL) read FnewPassword write FnewPassword;
property newPasswordRepeat: WideString Index (IS_NLBL or IS_UNQL) read FnewPasswordRepeat write FnewPasswordRepeat;
end;



// ************************************************** ********************** //
// XML : SubmitBirthDateCheckLIMBMessage, global, <complexType>
// Namespace : http://www.betfair.com/publicapi/types/global/v3/
// ************************************************** ********************** //
SubmitBirthDateCheckLIMBMessage = class(TRemotable)
private
FmessageId: Integer;
FdetailsCorrect: WideString;
FcorrectBirthDate: TXSDateTime;
public
destructor Destroy; override;
published
property messageId: Integer Index (IS_NLBL or IS_UNQL) read FmessageId write FmessageId;
property detailsCorrect: WideString Index (IS_NLBL or IS_UNQL) read FdetailsCorrect write FdetailsCorrect;
property correctBirthDate: TXSDateTime Index (IS_NLBL or IS_UNQL) read FcorrectBirthDate write FcorrectBirthDate;
end;



// ************************************************** ********************** //
// XML : SubmitAddressCheckLIMBMessage, global, <complexType>
// Namespace : http://www.betfair.com/publicapi/types/global/v3/
// ************************************************** ********************** //
SubmitAddressCheckLIMBMessage = class(TRemotable)
private
FmessageId: Integer;
FdetailsCorrect: WideString;
FnewAddress1: WideString;
FnewAddress2: WideString;
FnewAddress3: WideString;
FnewTown: WideString;
FnewCounty: WideString;
FnewZipCode: WideString;
FnewCountry: WideString;
published
property messageId: Integer Index (IS_NLBL or IS_UNQL) read FmessageId write FmessageId;
property detailsCorrect: WideString Index (IS_NLBL or IS_UNQL) read FdetailsCorrect write FdetailsCorrect;
property newAddress1: WideString Index (IS_NLBL or IS_UNQL) read FnewAddress1 write FnewAddress1;
property newAddress2: WideString Index (IS_NLBL or IS_UNQL) read FnewAddress2 write FnewAddress2;
property newAddress3: WideString Index (IS_NLBL or IS_UNQL) read FnewAddress3 write FnewAddress3;
property newTown: WideString Index (IS_NLBL or IS_UNQL) read FnewTown write FnewTown;
property newCounty: WideString Index (IS_NLBL or IS_UNQL) read FnewCounty write FnewCounty;
property newZipCode: WideString Index (IS_NLBL or IS_UNQL) read FnewZipCode write FnewZipCode;
property newCountry: WideString Index (IS_NLBL or IS_UNQL) read FnewCountry write FnewCountry;
end;



// ************************************************** ********************** //
// XML : SubmitContactDetailsCheckLIMBMessage, global, <complexType>
// Namespace : http://www.betfair.com/publicapi/types/global/v3/
// ************************************************** ********************** //
SubmitContactDetailsCheckLIMBMessage = class(TRemotable)
private
FmessageId: Integer;
FdetailsCorrect: WideString;
FnewHomeTelephone: WideString;
FnewWorkTelephone: WideString;
FnewMobileTelephone: WideString;
FnewEmailAddress: WideString;
published
property messageId: Integer Index (IS_NLBL or IS_UNQL) read FmessageId write FmessageId;
property detailsCorrect: WideString Index (IS_NLBL or IS_UNQL) read FdetailsCorrect write FdetailsCorrect;
property newHomeTelephone: WideString Index (IS_NLBL or IS_UNQL) read FnewHomeTelephone write FnewHomeTelephone;
property newWorkTelephone: WideString Index (IS_NLBL or IS_UNQL) read FnewWorkTelephone write FnewWorkTelephone;
property newMobileTelephone: WideString Index (IS_NLBL or IS_UNQL) read FnewMobileTelephone write FnewMobileTelephone;
property newEmailAddress: WideString Index (IS_NLBL or IS_UNQL) read FnewEmailAddress write FnewEmailAddress;
end;



// ************************************************** ********************** //
// XML : SubmitChatNameChangeLIMBMessage, global, <complexType>
// Namespace : http://www.betfair.com/publicapi/types/global/v3/
// ************************************************** ********************** //
SubmitChatNameChangeLIMBMessage = class(TRemotable)
private
FmessageId: Integer;
FnewChatName: WideString;
published
property messageId: Integer Index (IS_NLBL or IS_UNQL) read FmessageId write FmessageId;
property newChatName: WideString Index (IS_NLBL or IS_UNQL) read FnewChatName write FnewChatName;
end;

ArrayOfSubmitCardBillingAddressCheckLIMBMessage = array of submitCardBillingAddressCheckLIMBMessage2; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }


// ************************************************** ********************** //
// XML : SubmitLIMBMessageReq, global, <complexType>
// Namespace : http://www.betfair.com/publicapi/types/global/v3/
// ************************************************** ********************** //
SubmitLIMBMessageReq = class(APIRequest)
private
Fpassword: WideString;
FsubmitPersonalMessage: SubmitPersonalLIMBMessage;
FsubmitTCPrivacyPolicyChangeMessage: SubmitTCPrivacyPolicyChangeLIMBMessage;
FsubmitPasswordChangeMessage: SubmitPasswordChangeLIMBMessage;
FsubmitBirthDateCheckMessage: SubmitBirthDateCheckLIMBMessage;
FsubmitAddressCheckMessage: SubmitAddressCheckLIMBMessage;
FsubmitContactDetailsCheckMessage: SubmitContactDetailsCheckLIMBMessage;
FsubmitChatNameChangeMessage: SubmitChatNameChangeLIMBMessage;
FsubmitCardBillingAddressCheckItems: ArrayOfSubmitCardBillingAddressCheckLIMBMessage;
public
destructor Destroy; override;
published
property password: WideString Index (IS_UNQL) read Fpassword write Fpassword;
property submitPersonalMessage: SubmitPersonalLIMBMessage Index (IS_UNQL) read FsubmitPersonalMessage write FsubmitPersonalMessage;
property submitTCPrivacyPolicyChangeMessage: SubmitTCPrivacyPolicyChangeLIMBMessage Index (IS_UNQL) read FsubmitTCPrivacyPolicyChangeMessage write FsubmitTCPrivacyPolicyChangeMessage;
property submitPasswordChangeMessage: SubmitPasswordChangeLIMBMessage Index (IS_UNQL) read FsubmitPasswordChangeMessage write FsubmitPasswordChangeMessage;
property submitBirthDateCheckMessage: SubmitBirthDateCheckLIMBMessage Index (IS_UNQL) read FsubmitBirthDateCheckMessage write FsubmitBirthDateCheckMessage;
property submitAddressCheckMessage: SubmitAddressCheckLIMBMessage Index (IS_UNQL) read FsubmitAddressCheckMessage write FsubmitAddressCheckMessage;
property submitContactDetailsCheckMessage: SubmitContactDetailsCheckLIMBMessage Index (IS_UNQL) read FsubmitContactDetailsCheckMessage write FsubmitContactDetailsCheckMessage;
property submitChatNameChangeMessage: SubmitChatNameChangeLIMBMessage Index (IS_UNQL) read FsubmitChatNameChangeMessage write FsubmitChatNameChangeMessage;
property submitCardBillingAddressCheckItems: ArrayOfSubmitCardBillingAddressCheckLIMBMessage Index (IS_NLBL or IS_UNQL) read FsubmitCardBillingAddressCheckItems write FsubmitCardBillingAddressCheckItems;
end;



// ************************************************** ********************** //
// XML : SubmitTCPrivacyPolicyChangeLIMBMessage, global, <complexType>
// Namespace : http://www.betfair.com/publicapi/types/global/v3/
// ************************************************** ********************** //
SubmitTCPrivacyPolicyChangeLIMBMessage = class(TRemotable)
private
FtCPrivacyPolicyChangeAcceptance: PrivacyPolicyChangeResponseEnum;
published
property tCPrivacyPolicyChangeAcceptance: PrivacyPolicyChangeResponseEnum Index (IS_UNQL) read FtCPrivacyPolicyChangeAcceptance write FtCPrivacyPolicyChangeAcceptance;
end;



// ************************************************** ********************** //
// XML : SubmitCardBillingAddressCheckLIMBMessage, global, <complexType>
// Namespace : http://www.betfair.com/publicapi/types/global/v3/
// ************************************************** ********************** //
SubmitCardBillingAddressCheckLIMBMessage = class(TRemotable)
private
FmessageId: Integer;
FdetailsCorrect: WideString;
FnickName: WideString;
FnewAddress1: WideString;
FnewAddress2: WideString;
FnewAddress3: WideString;
FnewTown: WideString;
FnewCounty: WideString;
FnewZipCode: WideString;
FnewCountry: WideString;
published
property messageId: Integer Index (IS_NLBL or IS_UNQL) read FmessageId write FmessageId;
property detailsCorrect: WideString Index (IS_NLBL or IS_UNQL) read FdetailsCorrect write FdetailsCorrect;
property nickName: WideString Index (IS_UNQL) read FnickName write FnickName;
property newAddress1: WideString Index (IS_NLBL or IS_UNQL) read FnewAddress1 write FnewAddress1;
property newAddress2: WideString Index (IS_NLBL or IS_UNQL) read FnewAddress2 write FnewAddress2;
property newAddress3: WideString Index (IS_NLBL or IS_UNQL) read FnewAddress3 write FnewAddress3;
property newTown: WideString Index (IS_NLBL or IS_UNQL) read FnewTown write FnewTown;
property newCounty: WideString Index (IS_NLBL or IS_UNQL) read FnewCounty write FnewCounty;
property newZipCode: WideString Index (IS_NLBL or IS_UNQL) read FnewZipCode write FnewZipCode;
property newCountry: WideString Index (IS_NLBL or IS_UNQL) read FnewCountry write FnewCountry;
end;

ArrayOfLIMBValidationErrorsEnum = array of LIMBValidationErrorsEnum; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }


// ************************************************** ********************** //
// XML : SubmitLIMBMessageResp, global, <complexType>
// Namespace : http://www.betfair.com/publicapi/types/global/v3/
// ************************************************** ********************** //
SubmitLIMBMessageResp = class(APIResponse)
private
FerrorCode: SubmitLIMBMessageErrorEnum;
FminorErrorCode: WideString;
FvalidationErrors: ArrayOfLIMBValidationErrorsEnum;
published
property errorCode: SubmitLIMBMessageErrorEnum Index (IS_UNQL) read FerrorCode write FerrorCode;
property minorErrorCode: WideString Index (IS_NLBL or IS_UNQL) read FminorErrorCode write FminorErrorCode;
property validationErrors: ArrayOfLIMBValidationErrorsEnum Index (IS_NLBL or IS_UNQL) read FvalidationErrors write FvalidationErrors;
end;



// ************************************************** ********************** //
// XML : LogoutResp, global, <complexType>
// Namespace : http://www.betfair.com/publicapi/types/global/v3/
// ************************************************** ********************** //
LogoutResp = class(APIResponse)
private
FminorErrorCode: WideString;
FerrorCode: LogoutErrorEnum;
published
property minorErrorCode: WideString Index (IS_NLBL or IS_UNQL) read FminorErrorCode write FminorErrorCode;
property errorCode: LogoutErrorEnum Index (IS_UNQL) read FerrorCode write FerrorCode;
end;



// ************************************************** ********************** //
// XML : LogoutReq, global, <complexType>
// Namespace : http://www.betfair.com/publicapi/types/global/v3/
// ************************************************** ********************** //
LogoutReq = class(APIRequest)
private
published
end;



// ************************************************** ********************** //
// XML : KeepAliveResp, global, <complexType>
// Namespace : http://www.betfair.com/publicapi/types/global/v3/
// ************************************************** ********************** //
KeepAliveResp = class(APIResponse)
private
FapiVersion: WideString;
FminorErrorCode: WideString;
published
property apiVersion: WideString Index (IS_NLBL or IS_UNQL) read FapiVersion write FapiVersion;
property minorErrorCode: WideString Index (IS_NLBL or IS_UNQL) read FminorErrorCode write FminorErrorCode;
end;



// ************************************************** ********************** //
// XML : KeepAliveReq, global, <complexType>
// Namespace : http://www.betfair.com/publicapi/types/global/v3/
// ************************************************** ********************** //
KeepAliveReq = class(APIRequest)
private
published
end;



// ************************************************** ********************** //
// XML : APIRequestHeader, global, <complexType>
// Namespace : http://www.betfair.com/publicapi/types/global/v3/
// ************************************************** ********************** //
APIRequestHeader = class(TRemotable)
private
FclientStamp: Int64;
FsessionToken: WideString;
published
property clientStamp: Int64 Index (IS_UNQL) read FclientStamp write FclientStamp;
property sessionToken: WideString Index (IS_NLBL or IS_UNQL) read FsessionToken write FsessionToken;
end;

ArrayOfBFEvent = array of BFEvent; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
ArrayOfMarketSummary = array of MarketSummary; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }
ArrayOfCouponLinks = array of CouponLink; { "http://www.betfair.com/publicapi/types/global/v3/"[GblCplx] }


// ************************************************** ********************** //
// XML : GetEventsResp, global, <complexType>
// Namespace : http://www.betfair.com/publicapi/types/global/v3/
// ************************************************** ********************** //
GetEventsResp = class(APIResponse)
private
FerrorCode: GetEventsErrorEnum;
FeventItems: ArrayOfBFEvent;
FeventParentId: Integer;
FmarketItems: ArrayOfMarketSummary;
FcouponLinks: ArrayOfCouponLinks;
FminorErrorCode: WideString;
public
destructor Destroy; override;
published
property errorCode: GetEventsErrorEnum Index (IS_UNQL) read FerrorCode write FerrorCode;
property eventItems: ArrayOfBFEvent Index (IS_NLBL or IS_UNQL) read FeventItems write FeventItems;
property eventParentId: Integer Index (IS_UNQL) read FeventParentId write FeventParentId;
property marketItems: ArrayOfMarketSummary Index (IS_NLBL or IS_UNQL) read FmarketItems write FmarketItems;
property couponLinks: ArrayOfCouponLinks Index (IS_NLBL or IS_UNQL) read FcouponLinks write FcouponLinks;
property minorErrorCode: WideString Index (IS_NLBL or IS_UNQL) read FminorErrorCode write FminorErrorCode;
end;



// ************************************************** ********************** //
// XML : BFEvent, global, <complexType>
// Namespace : http://www.betfair.com/publicapi/types/global/v3/
// ************************************************** ********************** //
BFEvent = class(TRemotable)
private
FeventId: Integer;
FeventName: WideString;
FeventTypeId: Integer;
FmenuLevel: Integer;
ForderIndex: Integer;
FstartTime: TXSDateTime;
Ftimezone: WideString;
public
destr
Rainer Groer
Rainer Groer
  Mit Zitat antworten Zitat
mkinzler
(Moderator)

Registriert seit: 9. Dez 2005
Ort: Heilbronn
39.851 Beiträge
 
Delphi 11 Alexandria
 
#9

Re: API-Probleme

  Alt 6. Sep 2008, 11:01
Könntest du die Datei als Anhang einstellen?
Markus Kinzler
  Mit Zitat antworten Zitat
RaGro

Registriert seit: 10. Aug 2008
Ort: Griesheim
15 Beiträge
 
Delphi 10.2 Tokyo Architect
 
#10

Re: API-Probleme

  Alt 6. Sep 2008, 11:08
Falls es mit dem Anhang nicht klappt, ist im Kopf die Position wo man die Downloaden kann....(
Angehängte Dateien
Dateityp: pas gs_185.pas (152,9 KB, 7x aufgerufen)
Rainer Groer
Rainer Groer
  Mit Zitat antworten Zitat
Antwort Antwort
Seite 1 von 2  1 2      


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 20:52 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz