GET ops/producttypes
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of ProductTypeGET| Name | Description | Type | Additional information | 
|---|---|---|---|
| Id | integer | 
                             None.  | 
                |
| LogSizes | Collection of ProductTypeLogSize | 
                             None.  | 
                |
| Name | string | 
                             None.  | 
                
Response Formats
application/json, text/json
            Sample:
        
[
  {
    "id": 1,
    "logSizes": [
      {
        "length": 1.0,
        "diameters": null
      },
      {
        "length": 1.0,
        "diameters": null
      }
    ],
    "name": "sample string 2"
  },
  {
    "id": 1,
    "logSizes": [
      {
        "length": 1.0,
        "diameters": null
      },
      {
        "length": 1.0,
        "diameters": null
      }
    ],
    "name": "sample string 2"
  }
]
        application/xml, text/xml
            Sample:
<ArrayOfProductTypeGET xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations">
  <ProductTypeGET>
    <Id>1</Id>
    <LogSizes>
      <ProductTypeLogSize>
        <Diameters i:nil="true" />
        <Length>1</Length>
      </ProductTypeLogSize>
      <ProductTypeLogSize>
        <Diameters i:nil="true" />
        <Length>1</Length>
      </ProductTypeLogSize>
    </LogSizes>
    <Name>sample string 2</Name>
  </ProductTypeGET>
  <ProductTypeGET>
    <Id>1</Id>
    <LogSizes>
      <ProductTypeLogSize>
        <Diameters i:nil="true" />
        <Length>1</Length>
      </ProductTypeLogSize>
      <ProductTypeLogSize>
        <Diameters i:nil="true" />
        <Length>1</Length>
      </ProductTypeLogSize>
    </LogSizes>
    <Name>sample string 2</Name>
  </ProductTypeGET>
</ArrayOfProductTypeGET>