GET api/Customer/GetCustomerDetailsById?CustomerId={CustomerId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
CustomerId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
CustomerDtoName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
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. |
|
CustomerImage | string |
None. |
|
SportsTypeId | globally unique identifier |
None. |
|
FavouriteTeamId | globally unique identifier |
None. |
|
MarketingCommunication | boolean |
None. |
|
IsAccountExist | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "868f1e61-d210-44ce-84f3-7c2f316d14dc", "AccountId": "6f14b296-a3a8-4363-aa5b-af0f4b1553ca", "FirstName": "sample string 3", "LastName": "sample string 4", "ZipCode": "sample string 5", "Username": "sample string 6", "Email": "sample string 7", "DOB": "2024-11-28T08:03:48.568244+00:00", "CountryCode": "sample string 9", "PhoneNumber": "sample string 10", "SMSCommuncation": true, "ReceiveEmails": true, "FuturePromotion": true, "AdditionalInfo": true, "Confirm18Plus": true, "CustomerImage": "sample string 11", "SportsTypeId": "7621db09-4d31-429d-b5d2-ae6609400b3d", "FavouriteTeamId": "5442ca5d-3d25-4607-a360-f09f80d4ecd3", "MarketingCommunication": true, "IsAccountExist": true }
application/xml, text/xml
Sample:
<CustomerDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.CustomerModule.Model"> <AccountId>6f14b296-a3a8-4363-aa5b-af0f4b1553ca</AccountId> <AdditionalInfo>true</AdditionalInfo> <Confirm18Plus>true</Confirm18Plus> <CountryCode>sample string 9</CountryCode> <CustomerImage>sample string 11</CustomerImage> <DOB>2024-11-28T08:03:48.568244+00:00</DOB> <Email>sample string 7</Email> <FavouriteTeamId>5442ca5d-3d25-4607-a360-f09f80d4ecd3</FavouriteTeamId> <FirstName>sample string 3</FirstName> <FuturePromotion>true</FuturePromotion> <Id>868f1e61-d210-44ce-84f3-7c2f316d14dc</Id> <IsAccountExist>true</IsAccountExist> <LastName>sample string 4</LastName> <MarketingCommunication>true</MarketingCommunication> <PhoneNumber>sample string 10</PhoneNumber> <ReceiveEmails>true</ReceiveEmails> <SMSCommuncation>true</SMSCommuncation> <SportsTypeId>7621db09-4d31-429d-b5d2-ae6609400b3d</SportsTypeId> <Username>sample string 6</Username> <ZipCode>sample string 5</ZipCode> </CustomerDto>