| GET,POST | /SignupV2 | Registers (sign up V2) 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 |
|---|---|---|---|---|
| Username | body | string | No | Username |
| Password | body | string | No | Password |
| 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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /SignupV2 HTTP/1.1
Host: tstextweb20.np.bluebet.com.au
Accept: application/json
Content-Type: application/json
Content-Length: length
{"Username":"String","Password":"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: application/json
Content-Length: length
{"ErrorNo":0,"Message":"String","Identity":0}