GET api/asset/category/get_by_name?name={name}

Retrieves specified asset category

Request Information

Parameters

NameDescriptionAdditional information
name
Asset category name

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
}

application/xml, text/xml

Sample:
<asset_category xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api.Business">
  <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>