GET api/asset/category/get_by_brandId/{brandId}?offset={offset}&page_size={page_size}

Retrieves asset categories by brandId

Request Information

Parameters

NameDescriptionAdditional information
brandId
Brand id

Define this parameter in the request URI.

offset
The number of category items to skip

Define this parameter in the request URI.

page_size
The number of category items to retireve (max is 100)

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "description": "sample string 1",
    "name": "sample string 2",
    "provider_id": 3,
    "brand_id": 4,
    "fields": [
      {
        "column": 1,
        "field": {
          "field_id": 1,
          "is_system": true,
          "name": "sample string 3"
        },
        "is_displayed": true,
        "is_required": true,
        "row": 4
      },
      {
        "column": 1,
        "field": {
          "field_id": 1,
          "is_system": true,
          "name": "sample string 3"
        },
        "is_displayed": true,
        "is_required": true,
        "row": 4
      },
      {
        "column": 1,
        "field": {
          "field_id": 1,
          "is_system": true,
          "name": "sample string 3"
        },
        "is_displayed": true,
        "is_required": true,
        "row": 4
      }
    ],
    "id": 1
  },
  {
    "description": "sample string 1",
    "name": "sample string 2",
    "provider_id": 3,
    "brand_id": 4,
    "fields": [
      {
        "column": 1,
        "field": {
          "field_id": 1,
          "is_system": true,
          "name": "sample string 3"
        },
        "is_displayed": true,
        "is_required": true,
        "row": 4
      },
      {
        "column": 1,
        "field": {
          "field_id": 1,
          "is_system": true,
          "name": "sample string 3"
        },
        "is_displayed": true,
        "is_required": true,
        "row": 4
      },
      {
        "column": 1,
        "field": {
          "field_id": 1,
          "is_system": true,
          "name": "sample string 3"
        },
        "is_displayed": true,
        "is_required": true,
        "row": 4
      }
    ],
    "id": 1
  },
  {
    "description": "sample string 1",
    "name": "sample string 2",
    "provider_id": 3,
    "brand_id": 4,
    "fields": [
      {
        "column": 1,
        "field": {
          "field_id": 1,
          "is_system": true,
          "name": "sample string 3"
        },
        "is_displayed": true,
        "is_required": true,
        "row": 4
      },
      {
        "column": 1,
        "field": {
          "field_id": 1,
          "is_system": true,
          "name": "sample string 3"
        },
        "is_displayed": true,
        "is_required": true,
        "row": 4
      },
      {
        "column": 1,
        "field": {
          "field_id": 1,
          "is_system": true,
          "name": "sample string 3"
        },
        "is_displayed": true,
        "is_required": true,
        "row": 4
      }
    ],
    "id": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfasset_category xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api.Business">
  <asset_category>
    <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
    <brand_id>4</brand_id>
    <description>sample string 1</description>
    <fields>
      <asset_field_item>
        <column>1</column>
        <field>
          <field_id>1</field_id>
          <is_system>true</is_system>
          <name>sample string 3</name>
        </field>
        <is_displayed>true</is_displayed>
        <is_required>true</is_required>
        <row>4</row>
      </asset_field_item>
      <asset_field_item>
        <column>1</column>
        <field>
          <field_id>1</field_id>
          <is_system>true</is_system>
          <name>sample string 3</name>
        </field>
        <is_displayed>true</is_displayed>
        <is_required>true</is_required>
        <row>4</row>
      </asset_field_item>
      <asset_field_item>
        <column>1</column>
        <field>
          <field_id>1</field_id>
          <is_system>true</is_system>
          <name>sample string 3</name>
        </field>
        <is_displayed>true</is_displayed>
        <is_required>true</is_required>
        <row>4</row>
      </asset_field_item>
    </fields>
    <name>sample string 2</name>
    <provider_id>3</provider_id>
  </asset_category>
  <asset_category>
    <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
    <brand_id>4</brand_id>
    <description>sample string 1</description>
    <fields>
      <asset_field_item>
        <column>1</column>
        <field>
          <field_id>1</field_id>
          <is_system>true</is_system>
          <name>sample string 3</name>
        </field>
        <is_displayed>true</is_displayed>
        <is_required>true</is_required>
        <row>4</row>
      </asset_field_item>
      <asset_field_item>
        <column>1</column>
        <field>
          <field_id>1</field_id>
          <is_system>true</is_system>
          <name>sample string 3</name>
        </field>
        <is_displayed>true</is_displayed>
        <is_required>true</is_required>
        <row>4</row>
      </asset_field_item>
      <asset_field_item>
        <column>1</column>
        <field>
          <field_id>1</field_id>
          <is_system>true</is_system>
          <name>sample string 3</name>
        </field>
        <is_displayed>true</is_displayed>
        <is_required>true</is_required>
        <row>4</row>
      </asset_field_item>
    </fields>
    <name>sample string 2</name>
    <provider_id>3</provider_id>
  </asset_category>
  <asset_category>
    <id xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">1</id>
    <brand_id>4</brand_id>
    <description>sample string 1</description>
    <fields>
      <asset_field_item>
        <column>1</column>
        <field>
          <field_id>1</field_id>
          <is_system>true</is_system>
          <name>sample string 3</name>
        </field>
        <is_displayed>true</is_displayed>
        <is_required>true</is_required>
        <row>4</row>
      </asset_field_item>
      <asset_field_item>
        <column>1</column>
        <field>
          <field_id>1</field_id>
          <is_system>true</is_system>
          <name>sample string 3</name>
        </field>
        <is_displayed>true</is_displayed>
        <is_required>true</is_required>
        <row>4</row>
      </asset_field_item>
      <asset_field_item>
        <column>1</column>
        <field>
          <field_id>1</field_id>
          <is_system>true</is_system>
          <name>sample string 3</name>
        </field>
        <is_displayed>true</is_displayed>
        <is_required>true</is_required>
        <row>4</row>
      </asset_field_item>
    </fields>
    <name>sample string 2</name>
    <provider_id>3</provider_id>
  </asset_category>
</ArrayOfasset_category>