Fetch Brands
Fetch all brand details per market.
Headers
Property | Value |
---|---|
Request Type | POST |
Content Type | application-json |
URL | {{EnvironmentURL}}/api/services/app/PriceList/FetchBrands |
Please see Environments under Getting Started for test and production environment URLs.
Request Parameters
Property | Type | Description | Required |
---|---|---|---|
identifier | int | The tenant id. | ✓ |
market | enum | In this context, this value should remain as 14 which resolves to the General Market. See Constants (Enums) for available markets. | ✓ |
Sample Request
{
"market": 14,
"identifier": 967,
"additionalInfo": ""
}
Response Parameters
Field Name | Type | Description |
---|---|---|
brandId | enum | The brand enum value. See Constants(Enums) for available brands. |
brandName | string | The brand display value. |
Sample Response (1 product)
{
"result": [
{
"brandId": 4,
"brandName": "Dell"
},
{
"brandId": 5,
"brandName": "Dell E"
},
{
"brandId": 3,
"brandName": "HPE"
},
{
"brandId": 56,
"brandName": "Imeon"
},
{
"brandId": 20,
"brandName": "Kingston"
},
{
"brandId": 1,
"brandName": "Lenovo"
},
{
"brandId": 59,
"brandName": "SchneiderElectric"
},
{
"brandId": 58,
"brandName": "SolarEdge"
}
],
"targetUrl": null,
"success": true,
"error": null,
"unAuthorizedRequest": false,
"__abp": true
}