POST api/Customer/AddCustomer
Request Information
URI Parameters
None.
Body Parameters
AddCustomerCommandDtoName | Description | Type | Additional information |
---|---|---|---|
AccountId | globally unique identifier |
None. |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
ZipCode | string |
None. |
|
Username | string |
None. |
|
string |
None. |
||
DOB | date |
None. |
|
CountryCode | string |
None. |
|
PhoneNumber | string |
None. |
|
SMSCommuncation | boolean |
None. |
|
ReceiveEmails | boolean |
None. |
|
FuturePromotion | boolean |
None. |
|
AdditionalInfo | boolean |
None. |
|
Confirm18Plus | boolean |
None. |
|
Password | string |
None. |
|
SportsTypeId | globally unique identifier |
None. |
|
FavouriteTeamId | globally unique identifier |
None. |
|
NovaApiId | string |
None. |
|
IsAccountExist | boolean |
None. |
|
MarketingCommunication | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "AccountId": "781e1204-72c3-478a-8375-2bd8e9f2517e", "FirstName": "sample string 2", "LastName": "sample string 3", "ZipCode": "sample string 4", "Username": "sample string 5", "Email": "sample string 6", "DOB": "2025-04-03T20:41:26.9380638+00:00", "CountryCode": "sample string 8", "PhoneNumber": "sample string 9", "SMSCommuncation": true, "ReceiveEmails": true, "FuturePromotion": true, "AdditionalInfo": true, "Confirm18Plus": true, "Password": "sample string 14", "SportsTypeId": "8befa8b6-2ab2-4f22-8152-a8f921b39bd7", "FavouriteTeamId": "d9cb4077-e6ee-400b-aa55-412f41118eb3", "NovaApiId": "sample string 15", "IsAccountExist": true, "MarketingCommunication": true }
application/xml, text/xml
Sample:
<AddCustomerCommandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.CustomerModule.Model"> <AccountId>781e1204-72c3-478a-8375-2bd8e9f2517e</AccountId> <AdditionalInfo>true</AdditionalInfo> <Confirm18Plus>true</Confirm18Plus> <CountryCode>sample string 8</CountryCode> <DOB>2025-04-03T20:41:26.9380638+00:00</DOB> <Email>sample string 6</Email> <FavouriteTeamId>d9cb4077-e6ee-400b-aa55-412f41118eb3</FavouriteTeamId> <FirstName>sample string 2</FirstName> <FuturePromotion>true</FuturePromotion> <IsAccountExist>true</IsAccountExist> <LastName>sample string 3</LastName> <MarketingCommunication>true</MarketingCommunication> <NovaApiId>sample string 15</NovaApiId> <Password>sample string 14</Password> <PhoneNumber>sample string 9</PhoneNumber> <ReceiveEmails>true</ReceiveEmails> <SMSCommuncation>true</SMSCommuncation> <SportsTypeId>8befa8b6-2ab2-4f22-8152-a8f921b39bd7</SportsTypeId> <Username>sample string 5</Username> <ZipCode>sample string 4</ZipCode> </AddCustomerCommandDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseDtoName | Description | Type | Additional information |
---|---|---|---|
UserId | globally unique identifier |
None. |
|
CustomerId | globally unique identifier |
None. |
|
Token | string |
None. |
|
Message | string |
None. |
|
ErrorMessage | string |
None. |
|
MessageFr | string |
None. |
|
ResponseData | string |
None. |
|
NovaAPIId | string |
None. |
|
IsSuccess | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "UserId": "71bc1dbe-fd3f-4557-aabd-6310d8216dc7", "CustomerId": "c4654894-61a3-4c38-a4b3-dc6929d18e6e", "Token": "sample string 3", "Message": "sample string 4", "ErrorMessage": "sample string 5", "MessageFr": "sample string 6", "ResponseData": "sample string 7", "NovaAPIId": "sample string 8", "IsSuccess": true }
application/xml, text/xml
Sample:
<ResponseDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.CustomerModule.Model"> <CustomerId>c4654894-61a3-4c38-a4b3-dc6929d18e6e</CustomerId> <ErrorMessage>sample string 5</ErrorMessage> <IsSuccess>true</IsSuccess> <Message>sample string 4</Message> <MessageFr>sample string 6</MessageFr> <NovaAPIId>sample string 8</NovaAPIId> <ResponseData>sample string 7</ResponseData> <Token>sample string 3</Token> <UserId>71bc1dbe-fd3f-4557-aabd-6310d8216dc7</UserId> </ResponseDto>