API explorerChangelog
Overview

Sections

Theme switcher

Retrieve events by profile id

Header Parameters

Authorizationstring Required

Authorization token

Content-Typestring

Type of the data being sent in the request or the data that is expected in the response. Supports application/json.

Query Parameters

eventTypestring

Optional parameter used to limit the events returned to a single type.

startAtstring

Optional datetime. Events created before this datetime will not be returned.

endAtstring

Optional datetime. Events created after this datetime will not be returned.

sourceGroupIdsarray

Collection of Source Group IDs specified as an indexed array.

Show child attributes

localestring

Optional parameter used for returning the event name and description in the specified locale. If not specified, the default locale assigned to your MyPreferences account will be used.

subscribedOnlyboolean

Optional parameter that when set to true only returns events that are associated with an active subscription. Defaults to true.

Path Parameters

clientIdstring

This is your organization’s MyPreferences account Id. A 404 is returned if this value is invalid.

ProfileIdstring

This is the value that uniquely identifies the profile for which the events are being retrieved.

Response

200
Object
The request was successfully processed.

Response Attributes

EventIdstring

System-generated identifier that uniquely identifies an event.

EventTypestring

Represents the type of action that occured. It's synonymous with an event.

Subjectstring

An allocated field within the event data structure, reserved for advanced event filtering for routing purposes.

Entitystring

Name of the entity associated with the event.

SubscriptionIdinteger

Uniquely identifies the subscription for which the events are being retrieved for

Namestring

Name of the event.

Descriptionstring

Description of the event.

ProfileIdinteger

This is the value that uniquely identifies the profile for which the events are being retrieved.

Dataobject

Data pertaining to a particular event. It is encapsulated as a nested object with its individual key-value pairs within the Events JSON structure.

Show child attributes

OriginalEventTimestring

The date and time when the event occurred.

EventTimestring

The date and time of the event generation.

CreateDatestring

The date and time the event was recorded in the system.

CreatedBystring

The name of the user who recorded the event.

204
Object
No Content
400
Object
The request was invalid and cannot be processed. This may be a result of a malformed request. You must update the request before trying again.
401
Object
Authentication credentials are missing or incorrect. You must verify your ClientId, UserId, and Authorization Scheme before trying again.
403
Object
The authentication credentials were insufficient to grant access to the requested resource. In most cases, your user may not have the appropriate permissions to access the requested resource. Verify User Group permissions for your user before trying again.
404
Object
The requested resource cannot be found. Most errors in this category are returned when a resource specified on the URL path is not found. In certain instances, it is also returned when a parameter specified in the request body is also not found.

Response Attributes

Messagestring
503
Object
The server encountered an unexpected condition that prevented it from fulfilling the request. Notify PossibleNOW Support if it’s a continuous occurrence.
Was this section helpful?

What made this section unhelpful for you?

GET

/

Select
1

Response

Was this section helpful?

What made this section unhelpful for you?