GET api/Product/GetAllRangesByProductType?productTypeId={productTypeId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
productTypeId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of RangeDTO
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

Code

string

None.

DefaultBrandID

integer

None.

SuffixSelectionAllowed

boolean

None.

ProductCode

string

None.

ProductTypeCode

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "Name": "sample string 2",
    "Code": "sample string 3",
    "DefaultBrandID": 1,
    "SuffixSelectionAllowed": true,
    "ProductCode": "sample string 5",
    "ProductTypeCode": "sample string 6"
  },
  {
    "ID": 1,
    "Name": "sample string 2",
    "Code": "sample string 3",
    "DefaultBrandID": 1,
    "SuffixSelectionAllowed": true,
    "ProductCode": "sample string 5",
    "ProductTypeCode": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfRangeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KC.Tools.DTO">
  <RangeDTO>
    <Code>sample string 3</Code>
    <DefaultBrandID>1</DefaultBrandID>
    <ID>1</ID>
    <Name>sample string 2</Name>
    <ProductCode>sample string 5</ProductCode>
    <ProductTypeCode>sample string 6</ProductTypeCode>
    <SuffixSelectionAllowed>true</SuffixSelectionAllowed>
  </RangeDTO>
  <RangeDTO>
    <Code>sample string 3</Code>
    <DefaultBrandID>1</DefaultBrandID>
    <ID>1</ID>
    <Name>sample string 2</Name>
    <ProductCode>sample string 5</ProductCode>
    <ProductTypeCode>sample string 6</ProductTypeCode>
    <SuffixSelectionAllowed>true</SuffixSelectionAllowed>
  </RangeDTO>
</ArrayOfRangeDTO>