GET api/Customer/GetAllCustomers

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CustomerDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

AccountId

globally unique identifier

None.

FirstName

string

None.

LastName

string

None.

ZipCode

string

None.

Username

string

None.

Email

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": "ab308931-23bf-49bb-85ea-6e082551bbce",
    "AccountId": "917ec831-6839-4d1b-94ab-1c62265e468e",
    "FirstName": "sample string 3",
    "LastName": "sample string 4",
    "ZipCode": "sample string 5",
    "Username": "sample string 6",
    "Email": "sample string 7",
    "DOB": "2024-12-01T01:18:24.996069+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": "cbbf3dcb-96bd-4db8-82db-fc4cba8a5680",
    "FavouriteTeamId": "5918af97-fa9e-4ad5-9476-4c8ca77b4746",
    "MarketingCommunication": true,
    "IsAccountExist": true
  },
  {
    "Id": "ab308931-23bf-49bb-85ea-6e082551bbce",
    "AccountId": "917ec831-6839-4d1b-94ab-1c62265e468e",
    "FirstName": "sample string 3",
    "LastName": "sample string 4",
    "ZipCode": "sample string 5",
    "Username": "sample string 6",
    "Email": "sample string 7",
    "DOB": "2024-12-01T01:18:24.996069+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": "cbbf3dcb-96bd-4db8-82db-fc4cba8a5680",
    "FavouriteTeamId": "5918af97-fa9e-4ad5-9476-4c8ca77b4746",
    "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>917ec831-6839-4d1b-94ab-1c62265e468e</AccountId>
    <AdditionalInfo>true</AdditionalInfo>
    <Confirm18Plus>true</Confirm18Plus>
    <CountryCode>sample string 9</CountryCode>
    <CustomerImage>sample string 11</CustomerImage>
    <DOB>2024-12-01T01:18:24.996069+00:00</DOB>
    <Email>sample string 7</Email>
    <FavouriteTeamId>5918af97-fa9e-4ad5-9476-4c8ca77b4746</FavouriteTeamId>
    <FirstName>sample string 3</FirstName>
    <FuturePromotion>true</FuturePromotion>
    <Id>ab308931-23bf-49bb-85ea-6e082551bbce</Id>
    <IsAccountExist>true</IsAccountExist>
    <LastName>sample string 4</LastName>
    <MarketingCommunication>true</MarketingCommunication>
    <PhoneNumber>sample string 10</PhoneNumber>
    <ReceiveEmails>true</ReceiveEmails>
    <SMSCommuncation>true</SMSCommuncation>
    <SportsTypeId>cbbf3dcb-96bd-4db8-82db-fc4cba8a5680</SportsTypeId>
    <Username>sample string 6</Username>
    <ZipCode>sample string 5</ZipCode>
  </CustomerDto>
  <CustomerDto>
    <AccountId>917ec831-6839-4d1b-94ab-1c62265e468e</AccountId>
    <AdditionalInfo>true</AdditionalInfo>
    <Confirm18Plus>true</Confirm18Plus>
    <CountryCode>sample string 9</CountryCode>
    <CustomerImage>sample string 11</CustomerImage>
    <DOB>2024-12-01T01:18:24.996069+00:00</DOB>
    <Email>sample string 7</Email>
    <FavouriteTeamId>5918af97-fa9e-4ad5-9476-4c8ca77b4746</FavouriteTeamId>
    <FirstName>sample string 3</FirstName>
    <FuturePromotion>true</FuturePromotion>
    <Id>ab308931-23bf-49bb-85ea-6e082551bbce</Id>
    <IsAccountExist>true</IsAccountExist>
    <LastName>sample string 4</LastName>
    <MarketingCommunication>true</MarketingCommunication>
    <PhoneNumber>sample string 10</PhoneNumber>
    <ReceiveEmails>true</ReceiveEmails>
    <SMSCommuncation>true</SMSCommuncation>
    <SportsTypeId>cbbf3dcb-96bd-4db8-82db-fc4cba8a5680</SportsTypeId>
    <Username>sample string 6</Username>
    <ZipCode>sample string 5</ZipCode>
  </CustomerDto>
</ArrayOfCustomerDto>