| GET,POST | /Signup | Registers (sign up) a new user | Client details are inserted to the database. Any validations that were ommittted in the frontend will be re-done here. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Surname | body | string | No | Surname |
| MiddleName | body | string | No | MiddleName |
| FirstName | body | string | No | FirstName |
| Gender | body | char | No | Gender. F: Female, M: Male |
| DOB | body | DateTime | No | Date Of Birth |
| Username | body | string | No | Username |
| Password | body | string | No | Password |
| body | string | No | ||
| PhoneNo | body | string | No | Phone No |
| ResidentialAddressNo | body | string | No | Residential Address No |
| ResidentialAddress1 | body | string | No | Residential Address 1 |
| ResidentialAddress2 | body | string | No | Residential Address 2 |
| ResidentialSuburb | body | string | No | Residential Suburb |
| ResidentialStateCode | body | string | No | Residential State Code |
| ResidentialPostCode | body | string | No | Residential Post Code |
| ResidentialCountryCode | body | string | No | Residential Country Code |
| AffiliateTAG | body | string | No | Affiliate TAG |
| VoucherCode | body | string | No | Voucher Code |
| MemberClubName | body | string | No | Member Club Name |
| MemberClubNumber | body | string | No | Member Club Number |
| AccountRules | body | string | No | Account Rules |
| LimitPeriod | body | int? | No | Limit Period |
| DepositLimit | body | decimal? | No | Deposit Limit |
| LossLimit | body | decimal? | No | Loss Limit |
| InvitationGUID | body | string | No | Invitation GUID |
| MyAffiliatesToken | body | string | No | |
| EmailConsent | body | boolean | No | Email Consent |
| SMSConsent | body | boolean | No | SMS Consent |
| PushConsent | body | boolean | No | Push Consent |
| ReferenceCode | body | string | No | Reference Code |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ErrorNo | form | int | No | |
| Message | form | string | No | |
| Identity | form | long? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Signup HTTP/1.1
Host: tstextweb20.np.bluebet.com.au
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Surname: String,
MiddleName: String,
FirstName: String,
Gender: ,
DOB: 0001-01-01,
Username: String,
Password: String,
Email: String,
PhoneNo: String,
ResidentialAddressNo: String,
ResidentialAddress1: String,
ResidentialAddress2: String,
ResidentialSuburb: String,
ResidentialStateCode: String,
ResidentialPostCode: String,
ResidentialCountryCode: String,
AffiliateTAG: String,
VoucherCode: String,
MemberClubName: String,
MemberClubNumber: String,
AccountRules: String,
LimitPeriod: 0,
DepositLimit: 0,
LossLimit: 0,
InvitationGUID: String,
MyAffiliatesToken: String,
EmailConsent: False,
SMSConsent: False,
PushConsent: False,
ReferenceCode: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ErrorNo: 0,
Message: String,
Identity: 0
}