# BasicInfo
# Get Basic Info
Sử dụng API này để lấy thông tin cơ bản của EI
# Endpoint
# Parameters
Name | Type | Description | Required |
---|---|---|---|
companyId | Integer | ➖ |
# Response
{
"status": true,
"messageCode": "success",
"messageContent": "success",
"data": {
"id": 1,
"companyId": 1,
"email": "info@eiindustrial.com",
"address": "A1-06, 37 Nguyễn Văn Hưởng, Thảo Điền, Quận 2",
"phone": "0934950269",
"landlinePhone": "0934950269",
"logo": "https://ei-dev-store.s3.amazonaws.com/BasicInfo/1/null/sweet.jfif|https://ei-dev-store.s3.amazonaws.com/BasicInfo/1/null/150913452_3706451019446891_8104476001517613665_o.jpg",
"homeSlider": "https://ei-dev-store.s3.amazonaws.com/BasicInfo/1/null/7df193d5a2be86814850ef16aacb19d6.jpg",
"socialFacebook": "https://www.facebook.com/eiindustrial/",
"socialLinkedIn": "https://www.linkedin.com/company/eiindustrial/about/",
"socialTwitter": "https://www.twitter.com/eiindustrial/",
"createdBy": 4,
"updatedBy": 3,
"deleted": 0,
"createdAt": "2021-07-07T20:07:57.000Z",
"updatedAt": "2021-07-20T09:06:46.000Z"
}
}
curl -X POST http://localhost:3000/basicInfo/ei/getBasicInfo \
-H 'Content-Type: application/json' \
--data '{
"companyId": 1
}'
# Get Typical Customers
Sử dụng API này để lấy danh sách "Khách hàng tiêu biểu" của EI
# Endpoint
# Parameters
Name | Type | Description | Required |
---|---|---|---|
companyId | Integer | ➖ |
# Response
{
"status": true,
"messageCode": "success",
"messageContent": "success",
"data": [
{
"name": "Suporss",
"images": [
"https://ei-dev-store.s3.amazonaws.com/BasicInfo/1/null/sweet.jfif"
]
},
{
"name": "SNPs",
"images": [
"https://ei-dev-store.s3.amazonaws.com/BasicInfo/1/1/1620886308248.jpg"
]
}
]
}
curl -X POST http://localhost:3000/basicInfo/ei/getTypicalCustomers \
-H 'Content-Type: application/json' \
--data '{
"companyId": 1
}'
# Get Typical Brands
Sử dụng API này để lấy danh sách "Thương hiệu nổi bật" của EI
# Endpoint
# Parameters
Name | Type | Description | Required |
---|---|---|---|
companyId | Integer | ➖ |
# Response
{
"status": true,
"messageCode": "success",
"messageContent": "success",
"data": [
{
"name": "EI Industrial",
"images": [
"https://ei-dev-store.s3.amazonaws.com/BasicInfo/1/1/1620886308248.jpg"
]
}
]
}
curl -X POST http://localhost:3000/basicInfo/ei/getTypicalBrands \
-H 'Content-Type: application/json' \
--data '{
"companyId": 1
}'
← Pages Setting Brand →