# Brand
# Get All Brands
Sử dụng API này để lấy danh sách tất cả thương hiệu
# Endpoint
# Parameters
Name | Type | Description | Required |
---|---|---|---|
companyId | Integer | ➖ |
# Response
{
"status": true,
"messageCode": "success",
"messageContent": "success",
"data": {
"totalCnt": 2,
"items": [
{
"id": 8,
"name": "Thiết bị điện công nghiệp Tuấn Lộc Phát",
"logo": "Global/1/1/no-icon.jpg"
},
{
"id": 9,
"name": "CTY Kĩ thuật điện Đại Quang",
"logo": "Global/1/1/no-icon.jpg"
},
]
}
}
curl -X POST http://localhost:3000/brand/ei/getAllBrands \
-H 'Content-Type: application/json' \
--data '{
"companyId": 1
}'