GET api/Customer/GetCustomersByAccount?accountId={accountId}&pageNumber={pageNumber}&numberOfRows={numberOfRows}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
accountId | globally unique identifier |
Required |
|
pageNumber | integer |
Default value is 1 |
|
numberOfRows | integer |
Default value is 1000 |
Body Parameters
None.
Response Information
Resource Description
Collection of 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": "d7ca5d32-a7fb-462d-a5cf-8c56dd6c09fa", "AccountId": "e8bcad21-9e14-47e4-9ae7-91b927a95ac7", "FirstName": "sample string 3", "LastName": "sample string 4", "ZipCode": "sample string 5", "Username": "sample string 6", "Email": "sample string 7", "DOB": "2024-12-01T00:31:07.1883566+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": "3501c42f-89b4-480d-9418-012e8bef842b", "FavouriteTeamId": "f1727396-8bd2-48eb-896d-14d0568ec0f9", "MarketingCommunication": true, "IsAccountExist": true }, { "Id": "d7ca5d32-a7fb-462d-a5cf-8c56dd6c09fa", "AccountId": "e8bcad21-9e14-47e4-9ae7-91b927a95ac7", "FirstName": "sample string 3", "LastName": "sample string 4", "ZipCode": "sample string 5", "Username": "sample string 6", "Email": "sample string 7", "DOB": "2024-12-01T00:31:07.1883566+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": "3501c42f-89b4-480d-9418-012e8bef842b", "FavouriteTeamId": "f1727396-8bd2-48eb-896d-14d0568ec0f9", "MarketingCommunication": true, "IsAccountExist": true } ]
application/xml, text/xml
Sample:
<ArrayOfCustomerDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.CustomerModule.Model"> <CustomerDto> <AccountId>e8bcad21-9e14-47e4-9ae7-91b927a95ac7</AccountId> <AdditionalInfo>true</AdditionalInfo> <Confirm18Plus>true</Confirm18Plus> <CountryCode>sample string 9</CountryCode> <CustomerImage>sample string 11</CustomerImage> <DOB>2024-12-01T00:31:07.1883566+00:00</DOB> <Email>sample string 7</Email> <FavouriteTeamId>f1727396-8bd2-48eb-896d-14d0568ec0f9</FavouriteTeamId> <FirstName>sample string 3</FirstName> <FuturePromotion>true</FuturePromotion> <Id>d7ca5d32-a7fb-462d-a5cf-8c56dd6c09fa</Id> <IsAccountExist>true</IsAccountExist> <LastName>sample string 4</LastName> <MarketingCommunication>true</MarketingCommunication> <PhoneNumber>sample string 10</PhoneNumber> <ReceiveEmails>true</ReceiveEmails> <SMSCommuncation>true</SMSCommuncation> <SportsTypeId>3501c42f-89b4-480d-9418-012e8bef842b</SportsTypeId> <Username>sample string 6</Username> <ZipCode>sample string 5</ZipCode> </CustomerDto> <CustomerDto> <AccountId>e8bcad21-9e14-47e4-9ae7-91b927a95ac7</AccountId> <AdditionalInfo>true</AdditionalInfo> <Confirm18Plus>true</Confirm18Plus> <CountryCode>sample string 9</CountryCode> <CustomerImage>sample string 11</CustomerImage> <DOB>2024-12-01T00:31:07.1883566+00:00</DOB> <Email>sample string 7</Email> <FavouriteTeamId>f1727396-8bd2-48eb-896d-14d0568ec0f9</FavouriteTeamId> <FirstName>sample string 3</FirstName> <FuturePromotion>true</FuturePromotion> <Id>d7ca5d32-a7fb-462d-a5cf-8c56dd6c09fa</Id> <IsAccountExist>true</IsAccountExist> <LastName>sample string 4</LastName> <MarketingCommunication>true</MarketingCommunication> <PhoneNumber>sample string 10</PhoneNumber> <ReceiveEmails>true</ReceiveEmails> <SMSCommuncation>true</SMSCommuncation> <SportsTypeId>3501c42f-89b4-480d-9418-012e8bef842b</SportsTypeId> <Username>sample string 6</Username> <ZipCode>sample string 5</ZipCode> </CustomerDto> </ArrayOfCustomerDto>