Add User Notification Preference Details

This API is used to save user's notification preferences for an event.

To call this API, the user has to pass path param with eventUrl, request params like userNotificationPreferenceDto and authorization token.

Response

Here is the description of response attributes, which returns to the form of JSON.

Attribute

Description

type

Type of API response. i.e Success or Fail.

message

This field returns a message for a response that can be used for display to the end-user.

Error Codes

Here are the possible error messages, which return if any condition gets failed or required data is missing for processing.

Error Code

Error Description

400

The request could not be understood by the server due to malformed syntax.

401

You are not authorized to view the resource.

403

Accessing the resource you were trying to reach is forbidden.

404

The resource you were trying to reach is not found.

4010101

Not authorized

406002

Notification Preference already added.

Language
Authentication
Header
Click Try It! to start a request and see the response here!