POST api/v1/club/create
Create a new club.
Request Information
URI Parameters
None.
Body Parameters
ClubModelName | Description | Type | Additional information |
---|---|---|---|
AffiliateId | integer |
None. |
|
IsCompany | boolean |
None. |
|
TermsAccepted | boolean |
None. |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
Phone | string |
None. |
|
string |
None. |
||
Password | string |
None. |
|
VerifyPassword | string |
None. |
|
ClubName | string |
None. |
|
AccountNumber | string |
None. |
|
CampaignCode | string |
None. |
|
IncludeCustomerId | boolean |
None. |
|
RefererId | integer |
None. |
|
CategoryId | integer |
None. |
|
SubCategoryId | integer |
None. |
|
CompanyName | string |
None. |
|
CompanyNumber | string |
None. |
|
CompanyAddress1 | string |
None. |
|
CompanyAddress2 | string |
None. |
|
CompanyZipCode | string |
None. |
|
CompanyCity | string |
None. |
|
CompanyCountry | string |
None. |
|
IsDnbClub | boolean |
None. |
|
ClubId | integer |
None. |
|
UserId | integer |
None. |
|
RedirectUrl | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "AffiliateId": 1, "IsCompany": true, "TermsAccepted": true, "FirstName": "sample string 4", "LastName": "sample string 5", "Phone": "sample string 6", "Email": "sample string 7", "Password": "sample string 8", "VerifyPassword": "sample string 9", "ClubName": "sample string 10", "AccountNumber": "sample string 11", "CampaignCode": "sample string 12", "IncludeCustomerId": true, "RefererId": 14, "CategoryId": 15, "SubCategoryId": 16, "CompanyName": "sample string 17", "CompanyNumber": "sample string 18", "CompanyAddress1": "sample string 19", "CompanyAddress2": "sample string 20", "CompanyZipCode": "sample string 21", "CompanyCity": "sample string 22", "CompanyCountry": "sample string 23", "IsDnbClub": true, "ClubId": 25, "UserId": 26, "RedirectUrl": "sample string 27" }
Response Information
Resource Description
ServerResponseOfClubModelName | Description | Type | Additional information |
---|---|---|---|
HttpStatus | integer |
None. |
|
Message | string |
None. |
|
Data | ClubModel |
None. |
|
Next | string |
None. |
|
Previous | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "HttpStatus": 1, "Message": "sample string 2", "Data": { "AffiliateId": 1, "IsCompany": true, "TermsAccepted": true, "FirstName": "sample string 4", "LastName": "sample string 5", "Phone": "sample string 6", "Email": "sample string 7", "Password": "sample string 8", "VerifyPassword": "sample string 9", "ClubName": "sample string 10", "AccountNumber": "sample string 11", "CampaignCode": "sample string 12", "IncludeCustomerId": true, "RefererId": 14, "CategoryId": 15, "SubCategoryId": 16, "CompanyName": "sample string 17", "CompanyNumber": "sample string 18", "CompanyAddress1": "sample string 19", "CompanyAddress2": "sample string 20", "CompanyZipCode": "sample string 21", "CompanyCity": "sample string 22", "CompanyCountry": "sample string 23", "IsDnbClub": true, "ClubId": 25, "UserId": 26, "RedirectUrl": "sample string 27" }, "Next": "sample string 3", "Previous": "sample string 4" }