Legal Service User Marketing Information Events 0.1.0 documentation
- Protobuf File Spec: legal.proto
Published Messages (userMarketingInformation)
The service publishes one of these messages below.
userMarketingPreferenceUpdated
Message is sent when the accepted policy type is Marketing Preference. Contains fields from and the following payload.
Example value
{
"payload": {
"subscribed": true,
"userId": "string"
},
"id": "string",
"version": 0,
"name": "string",
"namespace": "string",
"parentNamespace": "string",
"timestamp": "2019-08-24T14:15:22Z",
"clientId": "string",
"userId": "string",
"traceId": "string",
"sessionId": "string"
}
payload
Name | Type | Description |
---|---|---|
subscribed | boolean | a flag indicates whether user accepted this policy |
userId | string | user id |