AlphaAlpha Docs
API ReferenceNotification

Get notifications

Gets all notifications of the current user

GET
/notifications/me
AuthorizationBearer <token>

In: header

Query Parameters

pageNumber?integer
Formatint32
pageSize?integer
Formatint32
category?string
Value in"ERP" | "CRM" | "HR" | "SYSTEM"

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/notifications/me"
{
  "content": [
    {
      "actionUrl": "string",
      "body": "string",
      "category": "ERP",
      "created": "2019-08-24T14:15:22Z",
      "emailSent": true,
      "emailSentAt": "2019-08-24T14:15:22Z",
      "id": "string",
      "isRead": true,
      "metadata": {
        "property1": null,
        "property2": null
      },
      "notificationType": "ALERT",
      "read": true,
      "scope": "string",
      "sender": "string",
      "showInApp": true,
      "tenantId": "string",
      "title": "string",
      "updated": "2019-08-24T14:15:22Z",
      "updatedBy": "string",
      "userId": "string"
    }
  ],
  "empty": true,
  "first": true,
  "last": true,
  "number": 0,
  "numberOfElements": 0,
  "pageable": {
    "offset": 0,
    "pageNumber": 0,
    "pageSize": 0,
    "paged": true,
    "sort": {
      "empty": true,
      "sorted": true,
      "unsorted": true
    },
    "unpaged": true
  },
  "size": 0,
  "sort": {
    "empty": true,
    "sorted": true,
    "unsorted": true
  },
  "totalElements": 0,
  "totalPages": 0
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}