get https://api.accelevents.com/rest/event//user/notificationPreference
This API is used to get user notification preference detail by user id and event id. It will return data like id, notificationPreference, userId, etc.
To call this API, the user has to pass query param with API URL like eventUrl and authentication key to authenticate the user.
Response
Here is the description of response attributes, which returns to the form of JSON.
Attribute | Description |
---|---|
id | The Id returns a unique value associated with user notification preference detail. |
notificationPreference | This will return the list of user notification preference detail. |
userId | This user ID represents the unique ID of each user notification preference detail. |
Error Code
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. |
40600013 | Cant create url |
4040200 | No Event could be found |