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 .jsv suffix or ?format=jsv

HTTP + JSV

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: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	ReferenceCode: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Title: String,
	Surname: String,
	MiddleName: String,
	FirstName: String,
	Gender: ,
	DOB: 0001-01-01,
	DateOfBirth: 01/01/0001,
	DOBDay: 0,
	DOBMonth: 0,
	DOBYear: 0,
	Email: String,
	PhoneNo: String,
	ResidentialAddressNo: String,
	ResidentialAddress1: String,
	ResidentialAddress2: String,
	ResidentialSuburb: String,
	ResidentialStateCode: String,
	ResidentialPostCode: String,
	ResidentialCountryCode: String,
	IsReviewVerificationPending: False,
	VerificationId: 0,
	ReferenceCode: String,
	GreenIdEnvironment: String,
	GreenIdPassword: String,
	GreenIdAccountId: String,
	AffiliateTAG: String,
	AffiliateToken: String,
	ReasonForBetStopExclusion: String,
	ReturningBetStopClientId: 0,
	ProposedDepositLimit: 0,
	ProposedLossLimit: 0,
	ProposedLimitPeriod: 0,
	ErrorNo: 0,
	Message: String,
	Identity: 0
}