| GET,POST | /GetClientDetails | Gets the currently authenticated client details | Gets the currently authenticated client details |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ConnectionId | form | string | No | |
| OrgID | form | int | No | |
| AccountNumber | form | string | No | |
| BPayReference | form | string | No | |
| Title | form | string | No | |
| Surname | form | string | No | |
| MiddleName | form | string | No | |
| FirstName | form | string | No | |
| Gender | form | Char? | No | |
| DOB | form | DateTime | No | |
| DateOfBirth | form | string | No | |
| DOBDay | form | int | No | |
| DOBMonth | form | int | No | |
| DOBYear | form | int | No | |
| Username | form | string | No | |
| PasswordReset | form | bool | No | |
| form | string | No | ||
| PhoneNo | form | string | No | |
| MobileNo | form | string | No | |
| SignupDate | form | DateTime | No | |
| ClientProfileID | form | int | No | |
| PreferredDepositMethodID | form | int? | No | |
| PreferredWithdrawalMethodID | form | int? | No | |
| AllowedWithdrawableAmount | form | decimal | No | |
| CampaignSignedUpID | form | int | No | |
| IsVerified | form | bool | No | |
| ShowVerificationLink | form | bool | No | |
| ResidentialAddressNo | form | string | No | |
| ResidentialAddress1 | form | string | No | |
| ResidentialAddress2 | form | string | No | |
| ResidentialSuburb | form | string | No | |
| ResidentialStateCode | form | string | No | |
| ResidentialPostCode | form | string | No | |
| ResidentialCountryCode | form | string | No | |
| LastPasswordChanged | form | DateTime? | No | |
| LoginFailureCounter | form | int | No | |
| GreenIdEnvironment | form | string | No | |
| Password | form | string | No | |
| AffiliateTAG | form | string | No | |
| VoucherCode | form | string | No | |
| MemberClubName | form | string | No | |
| MemberClubNumber | form | string | No | |
| LimitPeriod | form | int? | No | |
| DepositLimit | form | decimal? | No | |
| LossLimit | form | decimal? | No | |
| CycleStartDate | form | DateTime? | No | |
| PrecommitmentCycleStartDate | form | string | No | |
| MarketingOptOut | form | string | No | |
| AccountRules | form | string | No | |
| InvitationGUID | form | string | No | |
| SignupIPAddress | form | string | No | |
| GreenIdPassword | form | string | No | |
| GreenIdAccountId | form | string | No | |
| ScheduledDepositLimitApplyDate | form | DateTime? | No | |
| ScheduledLossLimitApplyDate | form | DateTime? | No | |
| ScheduledLossLimit | form | decimal? | No | |
| ScheduledDepositLimit | form | decimal? | No | |
| MyAffiliatesToken | form | string | No | |
| PayIDEmail | form | string | No | |
| PayIdBankAccountNumber | form | string | No | |
| PayIdBSB | form | string | No | |
| EmailConsent | form | bool | No | |
| SMSConsent | form | bool | No | |
| PushConsent | form | bool | No | |
| IsReviewVerificationPending | form | bool | No | |
| ReferenceCode | form | string | No | |
| VerificationId | form | int | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /GetClientDetails HTTP/1.1
Host: tstextweb20.np.bluebet.com.au
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<GetClientDetailsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.RequestLayer.RequestFunctions" />
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <ClientInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.Messaging.DataContracts"> <AccountNumber>String</AccountNumber> <AccountRules>String</AccountRules> <AffiliateTAG>String</AffiliateTAG> <AllowedWithdrawableAmount>0</AllowedWithdrawableAmount> <BPayReference>String</BPayReference> <CampaignSignedUpID>0</CampaignSignedUpID> <ClientProfileID>0</ClientProfileID> <ConnectionId>String</ConnectionId> <CycleStartDate>0001-01-01T00:00:00</CycleStartDate> <DOB>0001-01-01T00:00:00</DOB> <DOBDay>0</DOBDay> <DOBMonth>0</DOBMonth> <DOBYear>0</DOBYear> <DepositLimit>0</DepositLimit> <Email>String</Email> <EmailConsent>false</EmailConsent> <FirstName>String</FirstName> <Gender>0</Gender> <GreenIdAccountId>String</GreenIdAccountId> <GreenIdEnvironment>String</GreenIdEnvironment> <GreenIdPassword>String</GreenIdPassword> <InvitationGUID>String</InvitationGUID> <IsReviewVerificationPending>false</IsReviewVerificationPending> <IsVerified>false</IsVerified> <LastPasswordChanged>0001-01-01T00:00:00</LastPasswordChanged> <LimitPeriod>0</LimitPeriod> <LoginFailureCounter>0</LoginFailureCounter> <LossLimit>0</LossLimit> <MarketingOptOut>String</MarketingOptOut> <MemberClubName>String</MemberClubName> <MemberClubNumber>String</MemberClubNumber> <MiddleName>String</MiddleName> <MobileNo>String</MobileNo> <MyAffiliatesToken>String</MyAffiliatesToken> <OrgID>0</OrgID> <Password>String</Password> <PasswordReset>false</PasswordReset> <PayIDEmail>String</PayIDEmail> <PayIdBSB>String</PayIdBSB> <PayIdBankAccountNumber>String</PayIdBankAccountNumber> <PhoneNo>String</PhoneNo> <PreferredDepositMethodID>0</PreferredDepositMethodID> <PreferredWithdrawalMethodID>0</PreferredWithdrawalMethodID> <PushConsent>false</PushConsent> <ReferenceCode>String</ReferenceCode> <ResidentialAddress1>String</ResidentialAddress1> <ResidentialAddress2>String</ResidentialAddress2> <ResidentialAddressNo>String</ResidentialAddressNo> <ResidentialCountryCode>String</ResidentialCountryCode> <ResidentialPostCode>String</ResidentialPostCode> <ResidentialStateCode>String</ResidentialStateCode> <ResidentialSuburb>String</ResidentialSuburb> <SMSConsent>false</SMSConsent> <ScheduledDepositLimit>0</ScheduledDepositLimit> <ScheduledDepositLimitApplyDate>0001-01-01T00:00:00</ScheduledDepositLimitApplyDate> <ScheduledLossLimit>0</ScheduledLossLimit> <ScheduledLossLimitApplyDate>0001-01-01T00:00:00</ScheduledLossLimitApplyDate> <ShowVerificationLink>false</ShowVerificationLink> <SignupDate>0001-01-01T00:00:00</SignupDate> <SignupIPAddress>String</SignupIPAddress> <Surname>String</Surname> <Title>String</Title> <Username>String</Username> <VerificationId>0</VerificationId> <VoucherCode>String</VoucherCode> </ClientInfo>