GET BrandGroups

Get all the Brand Groups

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

List of BrandGroupModel

Collection of BrandGroupModel
NameDescriptionTypeAdditional information
BrandGroupID

integer

None.

BrandIDs

Collection of integer

None.

Name

string

Required

String length: inclusive between 4 and 64

Owner

string

Required

String length: inclusive between 2 and 64

OwnerType

BrandGroupOwnerType

Required

Response Formats

application/json, text/json

Sample:
[
  {
    "BrandGroupID": 1,
    "BrandIDs": [
      1,
      2
    ],
    "Name": "sample string 2",
    "Owner": "sample string 3",
    "OwnerType": 1
  },
  {
    "BrandGroupID": 1,
    "BrandIDs": [
      1,
      2
    ],
    "Name": "sample string 2",
    "Owner": "sample string 3",
    "OwnerType": 1
  }
]

text/html

Sample:
[{"BrandGroupID":1,"BrandIDs":[1,2],"Name":"sample string 2","Owner":"sample string 3","OwnerType":1},{"BrandGroupID":1,"BrandIDs":[1,2],"Name":"sample string 2","Owner":"sample string 3","OwnerType":1}]

application/xml, text/xml

Sample:
<ArrayOfBrandGroupModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Toluna.TEF.Common.ViewModels.BrandStore.BrandGroup">
  <BrandGroupModel>
    <Name>sample string 2</Name>
    <Owner>sample string 3</Owner>
    <OwnerType>Internal</OwnerType>
    <BrandGroupID>1</BrandGroupID>
    <BrandIDs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:short>1</d3p1:short>
      <d3p1:short>2</d3p1:short>
    </BrandIDs>
  </BrandGroupModel>
  <BrandGroupModel>
    <Name>sample string 2</Name>
    <Owner>sample string 3</Owner>
    <OwnerType>Internal</OwnerType>
    <BrandGroupID>1</BrandGroupID>
    <BrandIDs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:short>1</d3p1:short>
      <d3p1:short>2</d3p1:short>
    </BrandIDs>
  </BrandGroupModel>
</ArrayOfBrandGroupModel>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.