POST api/hardware/get_brand_list

Request Information

URI Parameters

None.

Body Parameters

hardware_request
NameDescriptionTypeAdditional information
token

string

None.

hardware_category_id

string

None.

Request Formats

application/json, text/json

Sample:
{
  "token": "sample string 1",
  "hardware_category_id": "sample string 2"
}

application/xml, text/xml

Sample:
<hardware_request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PromptTech.CRM.CustomerApp.Models">
  <hardware_category_id>sample string 2</hardware_category_id>
  <token>sample string 1</token>
</hardware_request>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

hardware_brand_response
NameDescriptionTypeAdditional information
brand_list

Collection of brand_list

None.

success

boolean

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "brand_list": [
    {
      "hardware_category_id": "sample string 1",
      "brand_id": "sample string 2",
      "brand_name": "sample string 3",
      "is_selected": true
    },
    {
      "hardware_category_id": "sample string 1",
      "brand_id": "sample string 2",
      "brand_name": "sample string 3",
      "is_selected": true
    }
  ],
  "success": true,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<hardware_brand_response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PromptTech.CRM.CustomerApp.Models">
  <brand_list>
    <brand_list>
      <brand_id>sample string 2</brand_id>
      <brand_name>sample string 3</brand_name>
      <hardware_category_id>sample string 1</hardware_category_id>
      <is_selected>true</is_selected>
    </brand_list>
    <brand_list>
      <brand_id>sample string 2</brand_id>
      <brand_name>sample string 3</brand_name>
      <hardware_category_id>sample string 1</hardware_category_id>
      <is_selected>true</is_selected>
    </brand_list>
  </brand_list>
  <message>sample string 2</message>
  <success>true</success>
</hardware_brand_response>