GET CMProduct/GetAllProducts

Returns a list of CM Products

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CMProductListItemDto
Name Type Description Additional information
ProductID integer

None.

ProductTypeID integer

None.

ProductGroupID integer

None.

Name string

None.

ProductGroupName string

None.

ProductInfo string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ProductID": 1,
    "ProductTypeID": 2,
    "ProductGroupID": 3,
    "Name": "sample string 4",
    "ProductGroupName": "sample string 5",
    "ProductInfo": "sample string 6"
  },
  {
    "ProductID": 1,
    "ProductTypeID": 2,
    "ProductGroupID": 3,
    "Name": "sample string 4",
    "ProductGroupName": "sample string 5",
    "ProductInfo": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCMProductListItemDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tevalis.CM.DAL.Domain.Products.Dto">
  <CMProductListItemDto>
    <Name>sample string 4</Name>
    <ProductGroupID>3</ProductGroupID>
    <ProductGroupName>sample string 5</ProductGroupName>
    <ProductID>1</ProductID>
    <ProductInfo>sample string 6</ProductInfo>
    <ProductTypeID>2</ProductTypeID>
  </CMProductListItemDto>
  <CMProductListItemDto>
    <Name>sample string 4</Name>
    <ProductGroupID>3</ProductGroupID>
    <ProductGroupName>sample string 5</ProductGroupName>
    <ProductID>1</ProductID>
    <ProductInfo>sample string 6</ProductInfo>
    <ProductTypeID>2</ProductTypeID>
  </CMProductListItemDto>
</ArrayOfCMProductListItemDto>