[Calendar] Lấy lịch sử chỉnh sửa lịch - duyit2405/portal-app GitHub Wiki
Request
-
Method: GET
-
URL: /api/Calendar/GetEventHistories/{EventId} }
-
FULL URL WITH SERVER: http://vsn.thenhan.com/api/Calendar/GetEventHistories/{EventId}
-
Note For URL: type = 0: lịch này thuộc về văn phòng cty. type = 1: Lịch thuộc về văn phòng các tỉnh type = 2: Lấy các hai loại trên.
-
Header:
Authorization:Bearer {access_token}
-
Description: API dùng để Lấy lịch sử chỉnh sửa lịch. Lịch sử không bao gồm nội dung mới nhất hiện tại
-
Note For Response:
- ContentHTML = ContentText
Parameter URL: N/A
GET http://vsn.thenhan.com/api/Calendar/GetEventHistories/2124
- Response:
[
{
"ID": 2124,
"Title": "Cuộc họp CN",
"Type": "success",
"MeetingRoomDetail": {
"ID": 6,
"Room": "Phòng họp lầu 1",
"Address": "",
"LastModified": "2016-07-01T18:41:04.297+07:00"
},
"ExternalMeetingRoom": "",
"NoticeAt": "2017-10-29T07:00:00+07:00",
"StartAt": "2017-10-29T08:00:00+07:00",
"EndAt": "2017-10-29T17:00:00+07:00",
"LastModified": "2017-10-29T09:45:25.523+07:00",
"LastEditorDetail": {
"BusinessEntityID": 583,
"DisplayName": "Phúc Nguyễn",
"Avatar": "/Download/avatar/1037/2116/583.gif?1508656682851"
},
"CreateTime": "0001-01-01T00:00:00+07:00",
"PreparatorDetails": [
{
"BusinessEntityID": 21,
"DisplayName": "Administrator",
"Avatar": "/Download/avatar/12790/1970/21.jpg?1450319236086"
}
],
"ParticipantDetails": [
{
"BusinessEntityID": 21,
"DisplayName": "Administrator",
"Avatar": "/Download/avatar/12790/1970/21.jpg?1450319236086"
}
],
"GuestDetails": [
{
"BusinessEntityID": 21,
"DisplayName": "Administrator",
"Avatar": "/Download/avatar/12790/1970/21.jpg?1450319236086"
}
],
"ViewerDetails": [],
"ExternalChairman": "Người khác",
"ExternalPreparators": "Người ngoài",
"ExternalParticipants": "Người khác",
"ExternalGuests": "Người ngoài",
"OwnerDetail": {
"BusinessEntityID": 583,
"DisplayName": "Phúc Nguyễn",
"Avatar": "/Download/avatar/1037/2116/583.gif?1508656682851"
},
"CalendarType": 0
}
]