GET api/Customers

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Customer
NameDescriptionTypeAdditional information
CustomerKey

integer

None.

GeographyKey

integer

None.

CustomerAlternateKey

string

None.

Title

string

None.

FirstName

string

None.

MiddleName

string

None.

LastName

string

None.

NameStyle

boolean

None.

BirthDate

date

None.

MaritalStatus

string

None.

Suffix

string

None.

Gender

string

None.

EmailAddress

string

None.

YearlyIncome

decimal number

None.

TotalChildren

byte

None.

NumberChildrenAtHome

byte

None.

EnglishEducation

string

None.

SpanishEducation

string

None.

FrenchEducation

string

None.

EnglishOccupation

string

None.

SpanishOccupation

string

None.

FrenchOccupation

string

None.

HouseOwnerFlag

string

None.

NumberCarsOwned

byte

None.

AddressLine1

string

None.

AddressLine2

string

None.

Phone

string

None.

DateFirstPurchase

date

None.

CommuteDistance

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CustomerKey": 1,
    "GeographyKey": 1,
    "CustomerAlternateKey": "sample string 2",
    "Title": "sample string 3",
    "FirstName": "sample string 4",
    "MiddleName": "sample string 5",
    "LastName": "sample string 6",
    "NameStyle": true,
    "BirthDate": "2021-12-02T19:40:36.3111361-08:00",
    "MaritalStatus": "sample string 7",
    "Suffix": "sample string 8",
    "Gender": "sample string 9",
    "EmailAddress": "sample string 10",
    "YearlyIncome": 1.0,
    "TotalChildren": 64,
    "NumberChildrenAtHome": 64,
    "EnglishEducation": "sample string 11",
    "SpanishEducation": "sample string 12",
    "FrenchEducation": "sample string 13",
    "EnglishOccupation": "sample string 14",
    "SpanishOccupation": "sample string 15",
    "FrenchOccupation": "sample string 16",
    "HouseOwnerFlag": "sample string 17",
    "NumberCarsOwned": 64,
    "AddressLine1": "sample string 18",
    "AddressLine2": "sample string 19",
    "Phone": "sample string 20",
    "DateFirstPurchase": "2021-12-02T19:40:36.3111361-08:00",
    "CommuteDistance": "sample string 21"
  },
  {
    "CustomerKey": 1,
    "GeographyKey": 1,
    "CustomerAlternateKey": "sample string 2",
    "Title": "sample string 3",
    "FirstName": "sample string 4",
    "MiddleName": "sample string 5",
    "LastName": "sample string 6",
    "NameStyle": true,
    "BirthDate": "2021-12-02T19:40:36.3111361-08:00",
    "MaritalStatus": "sample string 7",
    "Suffix": "sample string 8",
    "Gender": "sample string 9",
    "EmailAddress": "sample string 10",
    "YearlyIncome": 1.0,
    "TotalChildren": 64,
    "NumberChildrenAtHome": 64,
    "EnglishEducation": "sample string 11",
    "SpanishEducation": "sample string 12",
    "FrenchEducation": "sample string 13",
    "EnglishOccupation": "sample string 14",
    "SpanishOccupation": "sample string 15",
    "FrenchOccupation": "sample string 16",
    "HouseOwnerFlag": "sample string 17",
    "NumberCarsOwned": 64,
    "AddressLine1": "sample string 18",
    "AddressLine2": "sample string 19",
    "Phone": "sample string 20",
    "DateFirstPurchase": "2021-12-02T19:40:36.3111361-08:00",
    "CommuteDistance": "sample string 21"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Hydocs.Areas.AdWorks.Models.DB">
  <Customer>
    <AddressLine1>sample string 18</AddressLine1>
    <AddressLine2>sample string 19</AddressLine2>
    <BirthDate>2021-12-02T19:40:36.3111361-08:00</BirthDate>
    <CommuteDistance>sample string 21</CommuteDistance>
    <CustomerAlternateKey>sample string 2</CustomerAlternateKey>
    <CustomerKey>1</CustomerKey>
    <DateFirstPurchase>2021-12-02T19:40:36.3111361-08:00</DateFirstPurchase>
    <EmailAddress>sample string 10</EmailAddress>
    <EnglishEducation>sample string 11</EnglishEducation>
    <EnglishOccupation>sample string 14</EnglishOccupation>
    <FirstName>sample string 4</FirstName>
    <FrenchEducation>sample string 13</FrenchEducation>
    <FrenchOccupation>sample string 16</FrenchOccupation>
    <Gender>sample string 9</Gender>
    <GeographyKey>1</GeographyKey>
    <HouseOwnerFlag>sample string 17</HouseOwnerFlag>
    <LastName>sample string 6</LastName>
    <MaritalStatus>sample string 7</MaritalStatus>
    <MiddleName>sample string 5</MiddleName>
    <NameStyle>true</NameStyle>
    <NumberCarsOwned>64</NumberCarsOwned>
    <NumberChildrenAtHome>64</NumberChildrenAtHome>
    <Phone>sample string 20</Phone>
    <SpanishEducation>sample string 12</SpanishEducation>
    <SpanishOccupation>sample string 15</SpanishOccupation>
    <Suffix>sample string 8</Suffix>
    <Title>sample string 3</Title>
    <TotalChildren>64</TotalChildren>
    <YearlyIncome>1</YearlyIncome>
  </Customer>
  <Customer>
    <AddressLine1>sample string 18</AddressLine1>
    <AddressLine2>sample string 19</AddressLine2>
    <BirthDate>2021-12-02T19:40:36.3111361-08:00</BirthDate>
    <CommuteDistance>sample string 21</CommuteDistance>
    <CustomerAlternateKey>sample string 2</CustomerAlternateKey>
    <CustomerKey>1</CustomerKey>
    <DateFirstPurchase>2021-12-02T19:40:36.3111361-08:00</DateFirstPurchase>
    <EmailAddress>sample string 10</EmailAddress>
    <EnglishEducation>sample string 11</EnglishEducation>
    <EnglishOccupation>sample string 14</EnglishOccupation>
    <FirstName>sample string 4</FirstName>
    <FrenchEducation>sample string 13</FrenchEducation>
    <FrenchOccupation>sample string 16</FrenchOccupation>
    <Gender>sample string 9</Gender>
    <GeographyKey>1</GeographyKey>
    <HouseOwnerFlag>sample string 17</HouseOwnerFlag>
    <LastName>sample string 6</LastName>
    <MaritalStatus>sample string 7</MaritalStatus>
    <MiddleName>sample string 5</MiddleName>
    <NameStyle>true</NameStyle>
    <NumberCarsOwned>64</NumberCarsOwned>
    <NumberChildrenAtHome>64</NumberChildrenAtHome>
    <Phone>sample string 20</Phone>
    <SpanishEducation>sample string 12</SpanishEducation>
    <SpanishOccupation>sample string 15</SpanishOccupation>
    <Suffix>sample string 8</Suffix>
    <Title>sample string 3</Title>
    <TotalChildren>64</TotalChildren>
    <YearlyIncome>1</YearlyIncome>
  </Customer>
</ArrayOfCustomer>