GET api/Brands/GetBrandsWebshop/{companyId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Brand
NameDescriptionTypeAdditional information
BrandId

integer

None.

BrandName

string

Required

String length: inclusive between 0 and 100

BrandIsInUse

boolean

None.

CompanyId

integer

None.

ObjectState

ObjectState

None.

Response Formats

application/json, text/json

Sample:
{
  "brandId": 1,
  "brandName": "sample string 2",
  "brandIsInUse": true,
  "companyId": 4,
  "objectState": 0
}

application/xml, text/xml

Sample:
<Brand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gruo.Core.Models">
  <ObjectState xmlns="http://schemas.datacontract.org/2004/07/Gruo.Core.Repository">Unchanged</ObjectState>
  <BrandId>1</BrandId>
  <BrandIsInUse>true</BrandIsInUse>
  <BrandName>sample string 2</BrandName>
  <CompanyId>4</CompanyId>
</Brand>