API Reference

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.

AttributeDescription
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 CodeError Description
400The request could not be understood by the server due to malformed syntax.
401You are not authorized to view the resource.
403Accessing the resource you were trying to reach is forbidden.
404The resource you were trying to reach is not found.
4010101Not authorized
406002Notification Preference already added.
Language
Credentials
Header
Click Try It! to start a request and see the response here!