[News] Lấy danh sách chủ đề tin tức - duyit2405/portal-app GitHub Wiki
Request
-
Method: GET
-
URL: /api/News/GetNewsTopicsByOrganization/{organizationId} Nếu là tin tức công ty thì organizationId = 1
-
FULL URL WITH SERVER: http://vsn.thenhan.com/api/News/GetNewsTopicsByOrganization/{organizationId}
-
Header: Authorization: Bearer {access token}
-
Description: Lấy các chủ đề tin tức đơn vị
-
Note For Response:
Parameter URL: N/A
- Response:
[
{
"ID": 1,
"Name": "Tin sản xuất kinh doanh",
"OrganizationID": 1,
"OrganizationDetail": {
"BusinessEntityID": 1,
"DisplayName": "MobiFone8"
},
"LastModified": "0001-01-01T00:00:00+07:00",
"AuthorID": 21,
"Order": 1,
"Status": 0
},
{
"ID": 2,
"Name": "Tin nội bộ",
"OrganizationID": 1,
"OrganizationDetail": {
"BusinessEntityID": 1,
"DisplayName": "MobiFone8"
},
"LastModified": "0001-01-01T00:00:00+07:00",
"AuthorID": 21,
"Order": 2,
"Status": 0
},
{
"ID": 3,
"Name": "Tin công đoàn - Tin khác",
"OrganizationID": 1,
"OrganizationDetail": {
"BusinessEntityID": 1,
"DisplayName": "MobiFone8"
},
"LastModified": "0001-01-01T00:00:00+07:00",
"AuthorID": 21,
"Order": 3,
"Status": 0
},
{
"ID": 4,
"Name": "Thông tin cuộc sống",
"OrganizationID": 1,
"OrganizationDetail": {
"BusinessEntityID": 1,
"DisplayName": "MobiFone8"
},
"LastModified": "0001-01-01T00:00:00+07:00",
"AuthorID": 21,
"Order": 4,
"Status": 0
}
]