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": "8df94a06-1197-48dd-ae23-1e9fd428d523", "FirstName": "sample string 2", "LastName": "sample string 3", "ZipCode": "sample string 4", "Username": "sample string 5", "Email": "sample string 6", "DOB": "2024-12-01T01:10:21.1165694+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": "15354875-bb1b-45c3-9e6c-a7b3b07e0af1", "FavouriteTeamId": "95a0e156-d48c-4705-8045-6ae8e692832d", "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>8df94a06-1197-48dd-ae23-1e9fd428d523</AccountId> <AdditionalInfo>true</AdditionalInfo> <Confirm18Plus>true</Confirm18Plus> <CountryCode>sample string 8</CountryCode> <DOB>2024-12-01T01:10:21.1165694+00:00</DOB> <Email>sample string 6</Email> <FavouriteTeamId>95a0e156-d48c-4705-8045-6ae8e692832d</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>15354875-bb1b-45c3-9e6c-a7b3b07e0af1</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": "99851522-6478-4051-a368-f844bb369a75", "CustomerId": "6f1a00e6-9d47-476d-9bd6-98e56cc5dc3d", "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>6f1a00e6-9d47-476d-9bd6-98e56cc5dc3d</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>99851522-6478-4051-a368-f844bb369a75</UserId> </ResponseDto>