TBS Apps API

<back to all web services

PasswordResetWithTokenRequest

The following routes are available for this service:
All Verbs/PasswordResetWithTokenRequest a Password Reset With a Token.Request a Password Reset With a Token. End users receive a token as a result of triggering a forgot password process
PasswordResetWithTokenRequest Parameters:
NameParameterData TypeRequiredDescription
TokenquerystringNoToken
PasswordquerystringNoPassword
UsernamequerystringNoUsername
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 /PasswordResetWithToken HTTP/1.1 
Host: tstextweb20.np.bluebet.com.au 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Token: String,
	Password: String,
	Username: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ErrorNo: 0,
	Message: String,
	Identity: 0
}