GET api/organizations/current/users/current/entitydefinitions/{entityDefinitionId}/notification-events

Gets a NotificationEvent collection for a specific EntityDefinition.



Request Information

URI Parameters

NameDescriptionTypeAdditional information
entityDefinitionId

The id of the EntityDefinition to get the NotificationEvent collection for.

integer

Required



Body Parameters

None.



Response Information

Resource Description

The requested NotificationEvent collection.

Collection of NotificationEventViewModel

NameDescriptionTypeAdditional information
EmailSubscribers

Collection of string

None.

EntityAttributeId

integer

None.

EntityCategoryId

integer

None.

EntityDefinitionId

integer

None.

EntityInstanceId

integer

None.

Id

integer

None.

NotificationEventActionTypeId

integer

None.

NotificationEventScopeId

integer

None.

NotificationEventSubjectId

integer

None.

NotificationEventTypeId

integer

None.

PostconditionCriteria

Collection of EntityCriteriaListCriteriaViewModel

None.

PreconditionCriteria

Collection of EntityCriteriaListCriteriaViewModel

None.

UpcomingEventDayOffset

integer

None.

UserSubscribers

Collection of globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "EmailSubscribers": [
      "sample string 1",
      "sample string 2"
    ],
    "EntityAttributeId": 1,
    "EntityCategoryId": 1,
    "EntityDefinitionId": 1,
    "EntityInstanceId": 1,
    "Id": 1,
    "NotificationEventActionTypeId": 2,
    "NotificationEventScopeId": 3,
    "NotificationEventSubjectId": 4,
    "NotificationEventTypeId": 5,
    "PostconditionCriteria": [
      {
        "CompareValue": "sample string 1",
        "EntityAttributeId": 2,
        "IsDateOfToday": true,
        "DateOfTodayDayOffset": 4,
        "ModifierId": 5,
        "RecursionPath": [
          1,
          2
        ]
      },
      {
        "CompareValue": "sample string 1",
        "EntityAttributeId": 2,
        "IsDateOfToday": true,
        "DateOfTodayDayOffset": 4,
        "ModifierId": 5,
        "RecursionPath": [
          1,
          2
        ]
      }
    ],
    "PreconditionCriteria": [
      {
        "CompareValue": "sample string 1",
        "EntityAttributeId": 2,
        "IsDateOfToday": true,
        "DateOfTodayDayOffset": 4,
        "ModifierId": 5,
        "RecursionPath": [
          1,
          2
        ]
      },
      {
        "CompareValue": "sample string 1",
        "EntityAttributeId": 2,
        "IsDateOfToday": true,
        "DateOfTodayDayOffset": 4,
        "ModifierId": 5,
        "RecursionPath": [
          1,
          2
        ]
      }
    ],
    "UpcomingEventDayOffset": 1,
    "UserSubscribers": [
      "9fe04b78-d19f-4c24-bc10-5cc135f4c733",
      "9e7940dd-95e8-4b76-b42a-b3ad1b1304cb"
    ]
  },
  {
    "EmailSubscribers": [
      "sample string 1",
      "sample string 2"
    ],
    "EntityAttributeId": 1,
    "EntityCategoryId": 1,
    "EntityDefinitionId": 1,
    "EntityInstanceId": 1,
    "Id": 1,
    "NotificationEventActionTypeId": 2,
    "NotificationEventScopeId": 3,
    "NotificationEventSubjectId": 4,
    "NotificationEventTypeId": 5,
    "PostconditionCriteria": [
      {
        "CompareValue": "sample string 1",
        "EntityAttributeId": 2,
        "IsDateOfToday": true,
        "DateOfTodayDayOffset": 4,
        "ModifierId": 5,
        "RecursionPath": [
          1,
          2
        ]
      },
      {
        "CompareValue": "sample string 1",
        "EntityAttributeId": 2,
        "IsDateOfToday": true,
        "DateOfTodayDayOffset": 4,
        "ModifierId": 5,
        "RecursionPath": [
          1,
          2
        ]
      }
    ],
    "PreconditionCriteria": [
      {
        "CompareValue": "sample string 1",
        "EntityAttributeId": 2,
        "IsDateOfToday": true,
        "DateOfTodayDayOffset": 4,
        "ModifierId": 5,
        "RecursionPath": [
          1,
          2
        ]
      },
      {
        "CompareValue": "sample string 1",
        "EntityAttributeId": 2,
        "IsDateOfToday": true,
        "DateOfTodayDayOffset": 4,
        "ModifierId": 5,
        "RecursionPath": [
          1,
          2
        ]
      }
    ],
    "UpcomingEventDayOffset": 1,
    "UserSubscribers": [
      "9fe04b78-d19f-4c24-bc10-5cc135f4c733",
      "9e7940dd-95e8-4b76-b42a-b3ad1b1304cb"
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfNotificationEventViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSoft.Models.ViewModels">
  <NotificationEventViewModel>
    <EmailSubscribers xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </EmailSubscribers>
    <EntityAttributeId>1</EntityAttributeId>
    <EntityCategoryId>1</EntityCategoryId>
    <EntityDefinitionId>1</EntityDefinitionId>
    <EntityInstanceId>1</EntityInstanceId>
    <Id>1</Id>
    <NotificationEventActionTypeId>2</NotificationEventActionTypeId>
    <NotificationEventScopeId>3</NotificationEventScopeId>
    <NotificationEventSubjectId>4</NotificationEventSubjectId>
    <NotificationEventTypeId>5</NotificationEventTypeId>
    <PostconditionCriteria>
      <EntityCriteriaListCriteriaViewModel>
        <CompareValue>sample string 1</CompareValue>
        <DateOfTodayDayOffset>4</DateOfTodayDayOffset>
        <EntityAttributeId>2</EntityAttributeId>
        <IsDateOfToday>true</IsDateOfToday>
        <ModifierId>5</ModifierId>
        <RecursionPath xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:long>1</d5p1:long>
          <d5p1:long>2</d5p1:long>
        </RecursionPath>
      </EntityCriteriaListCriteriaViewModel>
      <EntityCriteriaListCriteriaViewModel>
        <CompareValue>sample string 1</CompareValue>
        <DateOfTodayDayOffset>4</DateOfTodayDayOffset>
        <EntityAttributeId>2</EntityAttributeId>
        <IsDateOfToday>true</IsDateOfToday>
        <ModifierId>5</ModifierId>
        <RecursionPath xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:long>1</d5p1:long>
          <d5p1:long>2</d5p1:long>
        </RecursionPath>
      </EntityCriteriaListCriteriaViewModel>
    </PostconditionCriteria>
    <PreconditionCriteria>
      <EntityCriteriaListCriteriaViewModel>
        <CompareValue>sample string 1</CompareValue>
        <DateOfTodayDayOffset>4</DateOfTodayDayOffset>
        <EntityAttributeId>2</EntityAttributeId>
        <IsDateOfToday>true</IsDateOfToday>
        <ModifierId>5</ModifierId>
        <RecursionPath xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:long>1</d5p1:long>
          <d5p1:long>2</d5p1:long>
        </RecursionPath>
      </EntityCriteriaListCriteriaViewModel>
      <EntityCriteriaListCriteriaViewModel>
        <CompareValue>sample string 1</CompareValue>
        <DateOfTodayDayOffset>4</DateOfTodayDayOffset>
        <EntityAttributeId>2</EntityAttributeId>
        <IsDateOfToday>true</IsDateOfToday>
        <ModifierId>5</ModifierId>
        <RecursionPath xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:long>1</d5p1:long>
          <d5p1:long>2</d5p1:long>
        </RecursionPath>
      </EntityCriteriaListCriteriaViewModel>
    </PreconditionCriteria>
    <UpcomingEventDayOffset>1</UpcomingEventDayOffset>
    <UserSubscribers xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:guid>9fe04b78-d19f-4c24-bc10-5cc135f4c733</d3p1:guid>
      <d3p1:guid>9e7940dd-95e8-4b76-b42a-b3ad1b1304cb</d3p1:guid>
    </UserSubscribers>
  </NotificationEventViewModel>
  <NotificationEventViewModel>
    <EmailSubscribers xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </EmailSubscribers>
    <EntityAttributeId>1</EntityAttributeId>
    <EntityCategoryId>1</EntityCategoryId>
    <EntityDefinitionId>1</EntityDefinitionId>
    <EntityInstanceId>1</EntityInstanceId>
    <Id>1</Id>
    <NotificationEventActionTypeId>2</NotificationEventActionTypeId>
    <NotificationEventScopeId>3</NotificationEventScopeId>
    <NotificationEventSubjectId>4</NotificationEventSubjectId>
    <NotificationEventTypeId>5</NotificationEventTypeId>
    <PostconditionCriteria>
      <EntityCriteriaListCriteriaViewModel>
        <CompareValue>sample string 1</CompareValue>
        <DateOfTodayDayOffset>4</DateOfTodayDayOffset>
        <EntityAttributeId>2</EntityAttributeId>
        <IsDateOfToday>true</IsDateOfToday>
        <ModifierId>5</ModifierId>
        <RecursionPath xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:long>1</d5p1:long>
          <d5p1:long>2</d5p1:long>
        </RecursionPath>
      </EntityCriteriaListCriteriaViewModel>
      <EntityCriteriaListCriteriaViewModel>
        <CompareValue>sample string 1</CompareValue>
        <DateOfTodayDayOffset>4</DateOfTodayDayOffset>
        <EntityAttributeId>2</EntityAttributeId>
        <IsDateOfToday>true</IsDateOfToday>
        <ModifierId>5</ModifierId>
        <RecursionPath xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:long>1</d5p1:long>
          <d5p1:long>2</d5p1:long>
        </RecursionPath>
      </EntityCriteriaListCriteriaViewModel>
    </PostconditionCriteria>
    <PreconditionCriteria>
      <EntityCriteriaListCriteriaViewModel>
        <CompareValue>sample string 1</CompareValue>
        <DateOfTodayDayOffset>4</DateOfTodayDayOffset>
        <EntityAttributeId>2</EntityAttributeId>
        <IsDateOfToday>true</IsDateOfToday>
        <ModifierId>5</ModifierId>
        <RecursionPath xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:long>1</d5p1:long>
          <d5p1:long>2</d5p1:long>
        </RecursionPath>
      </EntityCriteriaListCriteriaViewModel>
      <EntityCriteriaListCriteriaViewModel>
        <CompareValue>sample string 1</CompareValue>
        <DateOfTodayDayOffset>4</DateOfTodayDayOffset>
        <EntityAttributeId>2</EntityAttributeId>
        <IsDateOfToday>true</IsDateOfToday>
        <ModifierId>5</ModifierId>
        <RecursionPath xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:long>1</d5p1:long>
          <d5p1:long>2</d5p1:long>
        </RecursionPath>
      </EntityCriteriaListCriteriaViewModel>
    </PreconditionCriteria>
    <UpcomingEventDayOffset>1</UpcomingEventDayOffset>
    <UserSubscribers xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:guid>9fe04b78-d19f-4c24-bc10-5cc135f4c733</d3p1:guid>
      <d3p1:guid>9e7940dd-95e8-4b76-b42a-b3ad1b1304cb</d3p1:guid>
    </UserSubscribers>
  </NotificationEventViewModel>
</ArrayOfNotificationEventViewModel>