TBS Apps API

<back to all web services

GetClientInfoDraftRequest

The following routes are available for this service:
GET,POST/GetClientInfoDraftGets the currently entered client detailsGets the currently entered client details
GetClientInfoDraftRequest Parameters:
NameParameterData TypeRequiredDescription
ReferenceCodebodystringNoReference Code
ClientInfoDraft Parameters:
NameParameterData TypeRequiredDescription
TitleformstringNo
SurnameformstringNo
MiddleNameformstringNo
FirstNameformstringNo
GenderformChar?No
DOBformDateTimeNo
DateOfBirthformstringNo
DOBDayformintNo
DOBMonthformintNo
DOBYearformintNo
EmailformstringNo
PhoneNoformstringNo
ResidentialAddressNoformstringNo
ResidentialAddress1formstringNo
ResidentialAddress2formstringNo
ResidentialSuburbformstringNo
ResidentialStateCodeformstringNo
ResidentialPostCodeformstringNo
ResidentialCountryCodeformstringNo
IsReviewVerificationPendingformboolNo
VerificationIdformint?No
ReferenceCodeformstringNo
GreenIdEnvironmentformstringNo
GreenIdPasswordformstringNo
GreenIdAccountIdformstringNo
AffiliateTAGformstringNo
AffiliateTokenformstringNo
ReasonForBetStopExclusionformstringNo
ReturningBetStopClientIdformint?No
ProposedDepositLimitformdecimal?No
ProposedLossLimitformdecimal?No
ProposedLimitPeriodformint?No
ResponseDataBase Parameters:
NameParameterData TypeRequiredDescription
ErrorNoformintNo
MessageformstringNo
Identityformlong?No

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /GetClientInfoDraft HTTP/1.1 
Host: tstextweb20.np.bluebet.com.au 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<GetClientInfoDraftRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.RequestLayer.RequestFunctions">
  <ReferenceCode>String</ReferenceCode>
</GetClientInfoDraftRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ClientInfoDraft xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.Messaging.DataContracts">
  <ErrorNo>0</ErrorNo>
  <Identity>0</Identity>
  <Message>String</Message>
  <AffiliateTAG>String</AffiliateTAG>
  <AffiliateToken>String</AffiliateToken>
  <DOB>0001-01-01T00:00:00</DOB>
  <DOBDay>0</DOBDay>
  <DOBMonth>0</DOBMonth>
  <DOBYear>0</DOBYear>
  <Email>String</Email>
  <FirstName>String</FirstName>
  <Gender>0</Gender>
  <GreenIdAccountId>String</GreenIdAccountId>
  <GreenIdEnvironment>String</GreenIdEnvironment>
  <GreenIdPassword>String</GreenIdPassword>
  <IsReviewVerificationPending>false</IsReviewVerificationPending>
  <MiddleName>String</MiddleName>
  <PhoneNo>String</PhoneNo>
  <ProposedDepositLimit>0</ProposedDepositLimit>
  <ProposedLimitPeriod>0</ProposedLimitPeriod>
  <ProposedLossLimit>0</ProposedLossLimit>
  <ReasonForBetStopExclusion>String</ReasonForBetStopExclusion>
  <ReferenceCode>String</ReferenceCode>
  <ResidentialAddress1>String</ResidentialAddress1>
  <ResidentialAddress2>String</ResidentialAddress2>
  <ResidentialAddressNo>String</ResidentialAddressNo>
  <ResidentialCountryCode>String</ResidentialCountryCode>
  <ResidentialPostCode>String</ResidentialPostCode>
  <ResidentialStateCode>String</ResidentialStateCode>
  <ResidentialSuburb>String</ResidentialSuburb>
  <ReturningBetStopClientId>0</ReturningBetStopClientId>
  <Surname>String</Surname>
  <Title>String</Title>
  <VerificationId>0</VerificationId>
</ClientInfoDraft>