GET api/UnitBrand/GetAll

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of RefUnitBrandDTO
NameDescriptionTypeAdditional information
RefUnitBrandId

integer

None.

SpecCode

string

None.

SpecName

string

None.

SpecValue

string

None.

ParentCode

string

None.

ParentName

string

None.

ParentValue

string

None.

ParentId

integer

None.

IsActive

boolean

None.

ChildrenName

string

None.

ChildrenArr

Collection of string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "RefUnitBrandId": 1,
    "SpecCode": "sample string 2",
    "SpecName": "sample string 3",
    "SpecValue": "sample string 4",
    "ParentCode": "sample string 5",
    "ParentName": "sample string 6",
    "ParentValue": "sample string 7",
    "ParentId": 1,
    "IsActive": true,
    "ChildrenName": "sample string 9",
    "ChildrenArr": [
      "sample string 1",
      "sample string 2"
    ]
  },
  {
    "RefUnitBrandId": 1,
    "SpecCode": "sample string 2",
    "SpecName": "sample string 3",
    "SpecValue": "sample string 4",
    "ParentCode": "sample string 5",
    "ParentName": "sample string 6",
    "ParentValue": "sample string 7",
    "ParentId": 1,
    "IsActive": true,
    "ChildrenName": "sample string 9",
    "ChildrenArr": [
      "sample string 1",
      "sample string 2"
    ]
  }
]

text/html

Sample:
[{"RefUnitBrandId":1,"SpecCode":"sample string 2","SpecName":"sample string 3","SpecValue":"sample string 4","ParentCode":"sample string 5","ParentName":"sample string 6","ParentValue":"sample string 7","ParentId":1,"IsActive":true,"ChildrenName":"sample string 9","ChildrenArr":["sample string 1","sample string 2"]},{"RefUnitBrandId":1,"SpecCode":"sample string 2","SpecName":"sample string 3","SpecValue":"sample string 4","ParentCode":"sample string 5","ParentName":"sample string 6","ParentValue":"sample string 7","ParentId":1,"IsActive":true,"ChildrenName":"sample string 9","ChildrenArr":["sample string 1","sample string 2"]}]

application/xml, text/xml

Sample:
<ArrayOfRefUnitBrandDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Application.WebAPI.Models">
  <RefUnitBrandDTO>
    <ChildrenArr xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </ChildrenArr>
    <ChildrenName>sample string 9</ChildrenName>
    <IsActive>true</IsActive>
    <ParentCode>sample string 5</ParentCode>
    <ParentId>1</ParentId>
    <ParentName>sample string 6</ParentName>
    <ParentValue>sample string 7</ParentValue>
    <RefUnitBrandId>1</RefUnitBrandId>
    <SpecCode>sample string 2</SpecCode>
    <SpecName>sample string 3</SpecName>
    <SpecValue>sample string 4</SpecValue>
  </RefUnitBrandDTO>
  <RefUnitBrandDTO>
    <ChildrenArr xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </ChildrenArr>
    <ChildrenName>sample string 9</ChildrenName>
    <IsActive>true</IsActive>
    <ParentCode>sample string 5</ParentCode>
    <ParentId>1</ParentId>
    <ParentName>sample string 6</ParentName>
    <ParentValue>sample string 7</ParentValue>
    <RefUnitBrandId>1</RefUnitBrandId>
    <SpecCode>sample string 2</SpecCode>
    <SpecName>sample string 3</SpecName>
    <SpecValue>sample string 4</SpecValue>
  </RefUnitBrandDTO>
</ArrayOfRefUnitBrandDTO>