GET api/CustomerDemographics?filterExpression={filterExpression}

Returns list of all CustomerDemographics Data based on specified filter criteria

Request Information

URI Parameters

NameDescriptionTypeAdditional information
filterExpression

Filter expression/criteria

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of CustomerDemographicsData
NameDescriptionTypeAdditional information
CustomerTypeID

string

None.

CustomerDesc

string

None.

Response Formats

application/json, text/json

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

text/xml

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