GET api/catalog/brandlines/groups/{id}
Метод для получения информации о "Группе линеек брендов"
Полный URL-адрес запроса: https://sfa-api.ddapp.biz/api/catalog/brandlines/groups/{id}
Для этого метода требуется авторизация
Информация о запросе
URL параметры
| Название | Описание | Тип данных | Дополнительная информация |
|---|---|---|---|
| id |
Уникальный идентификатор "Группы линеек бренда" |
string |
Required |
| fields |
Список дополнительных полей, которые необходимо вернуть |
string |
Нет |
Тело запроса
Нет параметров в теле запроса
Информация об ответе
BrandlineGroupModel
| Название | Описание | Тип данных | Дополнительная информация |
|---|---|---|---|
| Id | globally unique identifier |
Нет |
|
| VendorId | string |
Нет |
|
| Name | string |
Поддерживает сортировку |
|
| HasImage | boolean |
Нет |
|
| Brandlines | Collection of BrandlineModel |
Дополнительное поле |
Форматы ответа
{
"id": "f9c0b992-5938-461e-816e-c9c3f906bc54",
"vendorId": "sample string 2",
"name": "sample string 3",
"hasImage": true,
"brandlines": [
{
"id": "0d7b0cf9-c18b-464f-a0ef-53d37816d482",
"vendorId": "sample string 2",
"name": "sample string 3",
"brand": {
"id": "c2682c00-d105-4ed8-9fb6-3f0836c57da1",
"vendorId": "sample string 2",
"name": "sample string 3"
},
"priceByProperty": {
"id": "e0fb3cb3-6ea6-4d95-865a-d5413f45dfc4",
"vendorId": "sample string 2",
"name": "sample string 3",
"entityDataType": "string",
"valueLookup": "contacts",
"required": true
},
"groups": [
{
"id": "ee9b7a6c-81e6-4ce9-a8f9-14b2dbf83a0a",
"vendorId": "sample string 2",
"name": "sample string 3",
"hierarchy": {
"level": 1,
"path": "sample string 2"
}
},
{
"id": "ee9b7a6c-81e6-4ce9-a8f9-14b2dbf83a0a",
"vendorId": "sample string 2",
"name": "sample string 3",
"hierarchy": {
"level": 1,
"path": "sample string 2"
}
}
],
"imageUrl": "sample string 4",
"switcherUrl": "sample string 5"
},
{
"id": "0d7b0cf9-c18b-464f-a0ef-53d37816d482",
"vendorId": "sample string 2",
"name": "sample string 3",
"brand": {
"id": "c2682c00-d105-4ed8-9fb6-3f0836c57da1",
"vendorId": "sample string 2",
"name": "sample string 3"
},
"priceByProperty": {
"id": "e0fb3cb3-6ea6-4d95-865a-d5413f45dfc4",
"vendorId": "sample string 2",
"name": "sample string 3",
"entityDataType": "string",
"valueLookup": "contacts",
"required": true
},
"groups": [
{
"id": "ee9b7a6c-81e6-4ce9-a8f9-14b2dbf83a0a",
"vendorId": "sample string 2",
"name": "sample string 3",
"hierarchy": {
"level": 1,
"path": "sample string 2"
}
},
{
"id": "ee9b7a6c-81e6-4ce9-a8f9-14b2dbf83a0a",
"vendorId": "sample string 2",
"name": "sample string 3",
"hierarchy": {
"level": 1,
"path": "sample string 2"
}
}
],
"imageUrl": "sample string 4",
"switcherUrl": "sample string 5"
}
]
}
Sample not available.
Sample not available.