GET api/CustomerDemographics/{id}

Returns a CustomerDemographics record based on specified ID

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The ID of CustomerDemographics data

string

Required

Body Parameters

None.

Response Information

Resource Description

CustomerDemographicsData
NameDescriptionTypeAdditional information
CustomerTypeID

string

None.

CustomerDesc

string

None.

Response Formats

application/json, text/json

Sample:
{
  "CustomerTypeID": "sample string 1",
  "CustomerDesc": "sample string 2"
}

text/xml

Sample:
<CustomerDemographicsData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NorthwindAPI.Models">
  <CustomerDesc>sample string 2</CustomerDesc>
  <CustomerTypeID>sample string 1</CustomerTypeID>
</CustomerDemographicsData>