GET api/Product/GetProductCategory

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of StringKeyValueDataContract
NameDescriptionTypeAdditional information
KeyValue

integer

None.

StringValue

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "KeyValue": 1,
    "StringValue": "sample string 2"
  },
  {
    "KeyValue": 1,
    "StringValue": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfStringKeyValueDataContract xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HP.TCOe.DataContract">
  <StringKeyValueDataContract>
    <KeyValue>1</KeyValue>
    <StringValue>sample string 2</StringValue>
  </StringKeyValueDataContract>
  <StringKeyValueDataContract>
    <KeyValue>1</KeyValue>
    <StringValue>sample string 2</StringValue>
  </StringKeyValueDataContract>
</ArrayOfStringKeyValueDataContract>