NotificationΒΆ

Mark Notification ReadΒΆ

HTTP Request

POST /api/notifications/{id}/read

πŸ“‹ Description: Marks the specified notification as read, allowing users to manage their notification status effectively and maintain an organized communication flow.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

Responses

Status

Meaning

Description

Schema

200

OK

OK

None

Notify Work Order CreatedΒΆ

HTTP Request

POST /api/notifications/workorder

πŸ“‹ Description: Creates a new work order notification, enabling timely communication and updates regarding work order status within the organization.

Parameters

Name

In

Type

Required

Description

body

body

object

true

Request body containing the work order notification details, including relevant identifiers, status updates, and associated metadata for effective tracking and management.

Β» additionalProperties

body

object

false

none

Responses

Status

Meaning

Description

Schema

200

OK

OK

None

Get Unread Count By TypeΒΆ

HTTP Request

GET /api/notifications/{username}/count-by-type

πŸ“‹ Description: Retrieves the count of notifications categorized by type for the specified user, enabling efficient management of user engagement and communication strategies.

Parameters

Name

In

Type

Required

Description

username

path

string

true

Specifies the username for which the notification count by type is being requested, enabling targeted insights into user-specific notifications.

Responses

Status

Meaning

Description

Schema

200

OK

OK

Inline

Response Schema

Status Code 200

Name

Type

Required

Restrictions

Description

Β» additionalProperties

integer(int64)

false

none

none

Get NotificationsΒΆ

HTTP Request

GET /api/notifications/{userName}

πŸ“‹ Description: Retrieves notifications for the specified user, enabling personalized updates and alerts to enhance user engagement and communication.

Parameters

Name

In

Type

Required

Description

userName

path

string

true

Name of the user

page

query

integer(int32)

false

Page number for pagination

size

query

integer(int32)

false

Number of items per page

Default ValuesΒΆ

Parameter

Default

Type

page

0

query

size

10

query

Responses

Status

Meaning

Description

Schema

200

OK

OK

PageNotificationDTO

Get Notification CountΒΆ

HTTP Request

GET /api/notifications/{userName}/count

πŸ“‹ Description: Retrieves the total count of notifications for the specified user, enabling efficient management and prioritization of user alerts.

Parameters

Name

In

Type

Required

Description

userName

path

string

true

Name of the user

unread

query

boolean

false

Indicates whether to count only unread notifications for the specified user, enabling efficient tracking of pending communications.

Default ValuesΒΆ

Parameter

Default

Type

unread

false

query

Responses

Status

Meaning

Description

Schema

200

OK

OK

Inline

Response Schema

Status Code 200

Name

Type

Required

Restrictions

Description

Β» additionalProperties

integer(int64)

false

none

none

Delete All User NotificationsΒΆ

HTTP Request

DELETE /api/notifications/{userName}/all

πŸ“‹ Description: Deletes all notifications for the specified user, allowing for efficient management of notification clutter and enhancing user experience.

Parameters

Name

In

Type

Required

Description

userName

path

string

true

Name of the user

Responses

Status

Meaning

Description

Schema

200

OK

OK

None

Delete NotificationΒΆ

HTTP Request

DELETE /api/notifications/{id}

πŸ“‹ Description: Deletes a specific notification identified by its unique ID, ensuring that users can manage their notification preferences effectively.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

Responses

Status

Meaning

Description

Schema

200

OK

OK

None