GET api/ProductGroups/GetAllGroups

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ProductGroupsViewModel
NameDescriptionTypeAdditional information
ProductGroupId

globally unique identifier

None.

Title

string

None.

Description

string

None.

OrderShow

integer

None.

PhotoPath

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ProductGroupId": "e0baaaa4-390a-4858-8898-0592c7a4c83d",
    "Title": "sample string 2",
    "Description": "sample string 3",
    "OrderShow": 4,
    "PhotoPath": "sample string 5"
  },
  {
    "ProductGroupId": "e0baaaa4-390a-4858-8898-0592c7a4c83d",
    "Title": "sample string 2",
    "Description": "sample string 3",
    "OrderShow": 4,
    "PhotoPath": "sample string 5"
  }
]

text/html

Sample:
[{"ProductGroupId":"e0baaaa4-390a-4858-8898-0592c7a4c83d","Title":"sample string 2","Description":"sample string 3","OrderShow":4,"PhotoPath":"sample string 5"},{"ProductGroupId":"e0baaaa4-390a-4858-8898-0592c7a4c83d","Title":"sample string 2","Description":"sample string 3","OrderShow":4,"PhotoPath":"sample string 5"}]

application/xml, text/xml

Sample:
<ArrayOfProductGroupsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fruta.ViewModels">
  <ProductGroupsViewModel>
    <Description>sample string 3</Description>
    <OrderShow>4</OrderShow>
    <PhotoPath>sample string 5</PhotoPath>
    <ProductGroupId>e0baaaa4-390a-4858-8898-0592c7a4c83d</ProductGroupId>
    <Title>sample string 2</Title>
  </ProductGroupsViewModel>
  <ProductGroupsViewModel>
    <Description>sample string 3</Description>
    <OrderShow>4</OrderShow>
    <PhotoPath>sample string 5</PhotoPath>
    <ProductGroupId>e0baaaa4-390a-4858-8898-0592c7a4c83d</ProductGroupId>
    <Title>sample string 2</Title>
  </ProductGroupsViewModel>
</ArrayOfProductGroupsViewModel>