GET api/PartSearch/GetAllRangeList

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of PartGenRangeSeriesDTO
NameDescriptionTypeAdditional information
RangeInfo

RangeDTO

None.

SeriesInfo

Collection of RangeSeriesInfoPartGenDTO

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "RangeInfo": {
      "ID": 1,
      "Name": "sample string 2",
      "Code": "sample string 3",
      "DefaultBrandID": 1,
      "SuffixSelectionAllowed": true,
      "ProductCode": "sample string 5",
      "ProductTypeCode": "sample string 6"
    },
    "SeriesInfo": [
      {
        "SeriesID": 1,
        "RangeID": 2,
        "SeriesCode": "sample string 3",
        "Brand": "sample string 4",
        "ID": 5,
        "Name": "sample string 6",
        "Code": "sample string 7",
        "DefaultBrandID": 1,
        "SuffixSelectionAllowed": true,
        "ProductCode": "sample string 9",
        "ProductTypeCode": "sample string 10"
      },
      {
        "SeriesID": 1,
        "RangeID": 2,
        "SeriesCode": "sample string 3",
        "Brand": "sample string 4",
        "ID": 5,
        "Name": "sample string 6",
        "Code": "sample string 7",
        "DefaultBrandID": 1,
        "SuffixSelectionAllowed": true,
        "ProductCode": "sample string 9",
        "ProductTypeCode": "sample string 10"
      }
    ]
  },
  {
    "RangeInfo": {
      "ID": 1,
      "Name": "sample string 2",
      "Code": "sample string 3",
      "DefaultBrandID": 1,
      "SuffixSelectionAllowed": true,
      "ProductCode": "sample string 5",
      "ProductTypeCode": "sample string 6"
    },
    "SeriesInfo": [
      {
        "SeriesID": 1,
        "RangeID": 2,
        "SeriesCode": "sample string 3",
        "Brand": "sample string 4",
        "ID": 5,
        "Name": "sample string 6",
        "Code": "sample string 7",
        "DefaultBrandID": 1,
        "SuffixSelectionAllowed": true,
        "ProductCode": "sample string 9",
        "ProductTypeCode": "sample string 10"
      },
      {
        "SeriesID": 1,
        "RangeID": 2,
        "SeriesCode": "sample string 3",
        "Brand": "sample string 4",
        "ID": 5,
        "Name": "sample string 6",
        "Code": "sample string 7",
        "DefaultBrandID": 1,
        "SuffixSelectionAllowed": true,
        "ProductCode": "sample string 9",
        "ProductTypeCode": "sample string 10"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfPartGenRangeSeriesDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KC.Tools.DTO">
  <PartGenRangeSeriesDTO>
    <RangeInfo>
      <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>
    </RangeInfo>
    <SeriesInfo>
      <RangeSeriesInfoPartGenDTO>
        <Code>sample string 7</Code>
        <DefaultBrandID>1</DefaultBrandID>
        <ID>5</ID>
        <Name>sample string 6</Name>
        <ProductCode>sample string 9</ProductCode>
        <ProductTypeCode>sample string 10</ProductTypeCode>
        <SuffixSelectionAllowed>true</SuffixSelectionAllowed>
        <Brand>sample string 4</Brand>
        <RangeID>2</RangeID>
        <SeriesCode>sample string 3</SeriesCode>
        <SeriesID>1</SeriesID>
      </RangeSeriesInfoPartGenDTO>
      <RangeSeriesInfoPartGenDTO>
        <Code>sample string 7</Code>
        <DefaultBrandID>1</DefaultBrandID>
        <ID>5</ID>
        <Name>sample string 6</Name>
        <ProductCode>sample string 9</ProductCode>
        <ProductTypeCode>sample string 10</ProductTypeCode>
        <SuffixSelectionAllowed>true</SuffixSelectionAllowed>
        <Brand>sample string 4</Brand>
        <RangeID>2</RangeID>
        <SeriesCode>sample string 3</SeriesCode>
        <SeriesID>1</SeriesID>
      </RangeSeriesInfoPartGenDTO>
    </SeriesInfo>
  </PartGenRangeSeriesDTO>
  <PartGenRangeSeriesDTO>
    <RangeInfo>
      <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>
    </RangeInfo>
    <SeriesInfo>
      <RangeSeriesInfoPartGenDTO>
        <Code>sample string 7</Code>
        <DefaultBrandID>1</DefaultBrandID>
        <ID>5</ID>
        <Name>sample string 6</Name>
        <ProductCode>sample string 9</ProductCode>
        <ProductTypeCode>sample string 10</ProductTypeCode>
        <SuffixSelectionAllowed>true</SuffixSelectionAllowed>
        <Brand>sample string 4</Brand>
        <RangeID>2</RangeID>
        <SeriesCode>sample string 3</SeriesCode>
        <SeriesID>1</SeriesID>
      </RangeSeriesInfoPartGenDTO>
      <RangeSeriesInfoPartGenDTO>
        <Code>sample string 7</Code>
        <DefaultBrandID>1</DefaultBrandID>
        <ID>5</ID>
        <Name>sample string 6</Name>
        <ProductCode>sample string 9</ProductCode>
        <ProductTypeCode>sample string 10</ProductTypeCode>
        <SuffixSelectionAllowed>true</SuffixSelectionAllowed>
        <Brand>sample string 4</Brand>
        <RangeID>2</RangeID>
        <SeriesCode>sample string 3</SeriesCode>
        <SeriesID>1</SeriesID>
      </RangeSeriesInfoPartGenDTO>
    </SeriesInfo>
  </PartGenRangeSeriesDTO>
</ArrayOfPartGenRangeSeriesDTO>