POST api/hardware/get_hardware_list

Request Information

URI Parameters

None.

Body Parameters

hardware_brand_filter_request
NameDescriptionTypeAdditional information
token

string

None.

hardware_category_id

string

None.

brand_id

Collection of string

None.

region_id

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "token": "sample string 1",
  "hardware_category_id": "sample string 2",
  "brand_id": [
    "sample string 1",
    "sample string 2"
  ],
  "region_id": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<hardware_brand_filter_request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PromptTech.CRM.CustomerApp.Models">
  <brand_id xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </brand_id>
  <hardware_category_id>sample string 2</hardware_category_id>
  <region_id xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </region_id>
  <token>sample string 1</token>
</hardware_brand_filter_request>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

hardware_response
NameDescriptionTypeAdditional information
hardware_list

Collection of hardware_list

None.

brand_list

Collection of brand_list

None.

region_list

Collection of region_list

None.

success

boolean

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "hardware_list": [
    {
      "hardware_category_id": "sample string 1",
      "hardware_id": "sample string 2",
      "hardware_name": "sample string 3",
      "image_url": "sample string 4",
      "brand_id": "sample string 5",
      "brand_name": "sample string 6"
    },
    {
      "hardware_category_id": "sample string 1",
      "hardware_id": "sample string 2",
      "hardware_name": "sample string 3",
      "image_url": "sample string 4",
      "brand_id": "sample string 5",
      "brand_name": "sample string 6"
    }
  ],
  "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
    }
  ],
  "region_list": [
    {
      "hardware_category_id": "sample string 1",
      "region_id": "sample string 2",
      "region_name": "sample string 3",
      "is_selected": true
    },
    {
      "hardware_category_id": "sample string 1",
      "region_id": "sample string 2",
      "region_name": "sample string 3",
      "is_selected": true
    }
  ],
  "success": true,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<hardware_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>
  <hardware_list>
    <hardware_list>
      <brand_id>sample string 5</brand_id>
      <brand_name>sample string 6</brand_name>
      <hardware_category_id>sample string 1</hardware_category_id>
      <hardware_id>sample string 2</hardware_id>
      <hardware_name>sample string 3</hardware_name>
      <image_url>sample string 4</image_url>
    </hardware_list>
    <hardware_list>
      <brand_id>sample string 5</brand_id>
      <brand_name>sample string 6</brand_name>
      <hardware_category_id>sample string 1</hardware_category_id>
      <hardware_id>sample string 2</hardware_id>
      <hardware_name>sample string 3</hardware_name>
      <image_url>sample string 4</image_url>
    </hardware_list>
  </hardware_list>
  <message>sample string 2</message>
  <region_list>
    <region_list>
      <hardware_category_id>sample string 1</hardware_category_id>
      <is_selected>true</is_selected>
      <region_id>sample string 2</region_id>
      <region_name>sample string 3</region_name>
    </region_list>
    <region_list>
      <hardware_category_id>sample string 1</hardware_category_id>
      <is_selected>true</is_selected>
      <region_id>sample string 2</region_id>
      <region_name>sample string 3</region_name>
    </region_list>
  </region_list>
  <success>true</success>
</hardware_response>