Get notification preference

Retrieve a NotificationPreference for the User

Request
Security:
vc-security
path Parameters
username
required
string
authenticator
required
string
Responses
200

A notification preference object

400

Bad Request. The request parameters (or body) were malformed or invalid. Fix the issues with the request and try again.

401

Unauthorized request

404

Not Found. The specified resource (or resource referred to by id) was not found

get/notification-service/v1/preference/{username}/{authenticator}
Request samples
curl -i -X GET \
  'http://notification-service:8080/notification-service/v1/preference/{username}/{authenticator}' \
  -H 'x-auth-token: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "id": 0,
  • "active": true,
  • "userKey": {
    },
  • "orgId": "string",
  • "email": "string",
  • "phone": "string",
  • "language": "string",
  • "categoryPreferences": [
    ],
  • "productEventsMap": {
    },
  • "createdBy": "string",
  • "createdInstant": "2019-08-24T14:15:22Z",
  • "lastUpdatedBy": "string",
  • "lastUpdatedInstant": "2019-08-24T14:15:22Z"
}