Mutation - 알림 개별 확인
알림 1건을 확인한다.
Schema
Input Objects
KEY OBJECT DESC idID 알림 아이디 (필수) adminPage Boolean 관리자 페이지 여부
Objects
OBJECT DESC UserNotificationDto 알림 정보
Method
POST
{{url}}/graphql
Headers
KEY VALUE AuthorizationSecurity365 JWT 토큰
Body
QUERY
mutation readNotification($id: ID!, $adminPage: Boolean) {
readNotification(id: $id, adminPage: $adminPage) {
id
indexDate
readDate
userId
createdUserId
createdUserName
type
sourceType
sourceKey
sourceValue
targetType
targetKey
targetValue
__typename
}
}
Sample
VARIABLES
{
"id": "6b8eebd0b34411ed863aee5c55ced4dc",
"adminPage": false
}RESPONSE
{
"data": {
"readNotification": {
"id": "6b8eebd0b34411ed863aee5c55ced4dc",
"indexDate": 1677134196203,
"readDate": 1677134221862,
"userId": "1342ce6d6aea11ed8a7ebea82d4a5658",
"createdUserId": "8239b9b2ed1511ecbf494657c4f20301",
"createdUserName": "최고관리자 ",
"type": 1,
"sourceType": 1,
"sourceKey": "/folder/newSharePoint",
"sourceValue": "newSharePoint",
"targetType": 1,
"targetKey": "/folder/newSharePoint/testuu",
"targetValue": "testuu",
"__typename": "UserNotificationDto"
}
}
}