Pass in pagedNotificationCriteria request body and responses with a page of notifications
object (NotificationCriteria) | |
object (PageRequest) |
OK
Unauthorized request
{- "criteria": {
- "orgId": "string",
- "orgPaths": [
- "string"
], - "sender": "string",
- "recipient": {
- "username": "string",
- "authenticator": "string"
}, - "type": "EMAIL",
- "status": "CREATED",
- "messageId": "string",
- "eventKey": "string",
- "startTimestamp": "2019-08-24T14:15:22Z",
- "endTimestamp": "2019-08-24T14:15:22Z"
}, - "pageRequest": {
- "pageNumber": 0,
- "pageSize": 0,
- "sort": [
- {
- "fieldName": "string",
- "sort": "ASC"
}
]
}
}
{- "totalCount": 0,
- "pageRequest": {
- "pageNumber": 0,
- "pageSize": 0,
- "sort": [
- {
- "fieldName": "string",
- "sort": "ASC"
}
]
}, - "items": [
- {
- "id": "string",
- "sender": "string",
- "recipients": [
- {
- "username": "string",
- "authenticator": "string"
}
], - "rawRecipient": "string",
- "type": "EMAIL",
- "eventKey": "string",
- "productName": "string",
- "tags": [
- "string"
], - "language": "string",
- "summary": "string",
- "details": "string",
- "shortSubject": "string",
- "shortDescription": "string",
- "templateNameKey": "string",
- "dataModel": {
- "property1": "string",
- "property2": "string"
}, - "status": "CREATED",
- "messageId": "string",
- "responseCode": 0,
- "responseMsg": "string",
- "userOrgId": "string",
- "emailForPreference": "string",
- "attachmentContent": "string",
- "attachmentMimeType": "string",
- "attachmentFilename": "string",
- "createdBy": "string",
- "createdInstant": "2019-08-24T14:15:22Z",
- "lastUpdatedBy": "string",
- "lastUpdatedInstant": "2019-08-24T14:15:22Z"
}
], - "totalPages": 0
}