GET Api/Notifications/GetNotificationTriggers/{organizationalUnitId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
organizationalUnitId

integer

None.

Body Parameters

None.

Response Information

Resource Description

Collection of NotificationTriggerDto
NameDescriptionTypeAdditional information
NotificationTriggerId

integer

Required

TriggerType

NotificationTriggerType

Required

EntityName

string

Required

Name

string

Required

Max length: 255

Min length: 5

Description

string

None.

OrganizationalUnitId

integer

None.

WorkflowId

integer

None.

IsActive

boolean

Required

NotificationTriggerTranslations

Collection of TranslationDto

None.

NotificationTriggerConditions

Collection of NotificationTriggerConditionDto

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "notificationTriggerId": 1,
    "triggerType": 1,
    "entityName": "sample string 2",
    "name": "sample string 3",
    "description": "sample string 4",
    "organizationalUnitId": 1,
    "workflowId": 1,
    "isActive": true,
    "notificationTriggerTranslations": [
      {
        "languageId": 1,
        "text": "sample string 2"
      },
      {
        "languageId": 1,
        "text": "sample string 2"
      }
    ],
    "notificationTriggerConditions": [
      {
        "notificationTriggerConditionId": 1,
        "notificationTriggerId": 2,
        "name": "sample string 3",
        "description": "sample string 4",
        "workflowId": 1,
        "notificationTriggerConditionTranslations": [
          {
            "languageId": 1,
            "text": "sample string 2"
          },
          {
            "languageId": 1,
            "text": "sample string 2"
          }
        ]
      },
      {
        "notificationTriggerConditionId": 1,
        "notificationTriggerId": 2,
        "name": "sample string 3",
        "description": "sample string 4",
        "workflowId": 1,
        "notificationTriggerConditionTranslations": [
          {
            "languageId": 1,
            "text": "sample string 2"
          },
          {
            "languageId": 1,
            "text": "sample string 2"
          }
        ]
      }
    ]
  },
  {
    "notificationTriggerId": 1,
    "triggerType": 1,
    "entityName": "sample string 2",
    "name": "sample string 3",
    "description": "sample string 4",
    "organizationalUnitId": 1,
    "workflowId": 1,
    "isActive": true,
    "notificationTriggerTranslations": [
      {
        "languageId": 1,
        "text": "sample string 2"
      },
      {
        "languageId": 1,
        "text": "sample string 2"
      }
    ],
    "notificationTriggerConditions": [
      {
        "notificationTriggerConditionId": 1,
        "notificationTriggerId": 2,
        "name": "sample string 3",
        "description": "sample string 4",
        "workflowId": 1,
        "notificationTriggerConditionTranslations": [
          {
            "languageId": 1,
            "text": "sample string 2"
          },
          {
            "languageId": 1,
            "text": "sample string 2"
          }
        ]
      },
      {
        "notificationTriggerConditionId": 1,
        "notificationTriggerId": 2,
        "name": "sample string 3",
        "description": "sample string 4",
        "workflowId": 1,
        "notificationTriggerConditionTranslations": [
          {
            "languageId": 1,
            "text": "sample string 2"
          },
          {
            "languageId": 1,
            "text": "sample string 2"
          }
        ]
      }
    ]
  }
]

multipart/form-data

Sample:
[{"notificationTriggerId":1,"triggerType":1,"entityName":"sample string 2","name":"sample string 3","description":"sample string 4","organizationalUnitId":1,"workflowId":1,"isActive":true,"notificationTriggerTranslations":[{"languageId":1,"text":"sample string 2"},{"languageId":1,"text":"sample string 2"}],"notificationTriggerConditions":[{"notificationTriggerConditionId":1,"notificationTriggerId":2,"name":"sample string 3","description":"sample string 4","workflowId":1,"notificationTriggerConditionTranslations":[{"languageId":1,"text":"sample string 2"},{"languageId":1,"text":"sample string 2"}]},{"notificationTriggerConditionId":1,"notificationTriggerId":2,"name":"sample string 3","description":"sample string 4","workflowId":1,"notificationTriggerConditionTranslations":[{"languageId":1,"text":"sample string 2"},{"languageId":1,"text":"sample string 2"}]}]},{"notificationTriggerId":1,"triggerType":1,"entityName":"sample string 2","name":"sample string 3","description":"sample string 4","organizationalUnitId":1,"workflowId":1,"isActive":true,"notificationTriggerTranslations":[{"languageId":1,"text":"sample string 2"},{"languageId":1,"text":"sample string 2"}],"notificationTriggerConditions":[{"notificationTriggerConditionId":1,"notificationTriggerId":2,"name":"sample string 3","description":"sample string 4","workflowId":1,"notificationTriggerConditionTranslations":[{"languageId":1,"text":"sample string 2"},{"languageId":1,"text":"sample string 2"}]},{"notificationTriggerConditionId":1,"notificationTriggerId":2,"name":"sample string 3","description":"sample string 4","workflowId":1,"notificationTriggerConditionTranslations":[{"languageId":1,"text":"sample string 2"},{"languageId":1,"text":"sample string 2"}]}]}]

application/xml, text/xml

Sample:
<ArrayOfNotificationTriggerDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <NotificationTriggerDto>
    <NotificationTriggerId>1</NotificationTriggerId>
    <TriggerType>Created</TriggerType>
    <EntityName>sample string 2</EntityName>
    <Name>sample string 3</Name>
    <Description>sample string 4</Description>
    <OrganizationalUnitId>1</OrganizationalUnitId>
    <WorkflowId>1</WorkflowId>
    <IsActive>true</IsActive>
    <NotificationTriggerTranslations>
      <TranslationDto>
        <LanguageId>1</LanguageId>
        <Text>sample string 2</Text>
      </TranslationDto>
      <TranslationDto>
        <LanguageId>1</LanguageId>
        <Text>sample string 2</Text>
      </TranslationDto>
    </NotificationTriggerTranslations>
    <NotificationTriggerConditions>
      <NotificationTriggerConditionDto>
        <NotificationTriggerConditionId>1</NotificationTriggerConditionId>
        <NotificationTriggerId>2</NotificationTriggerId>
        <Name>sample string 3</Name>
        <Description>sample string 4</Description>
        <WorkflowId>1</WorkflowId>
        <NotificationTriggerConditionTranslations>
          <TranslationDto>
            <LanguageId>1</LanguageId>
            <Text>sample string 2</Text>
          </TranslationDto>
          <TranslationDto>
            <LanguageId>1</LanguageId>
            <Text>sample string 2</Text>
          </TranslationDto>
        </NotificationTriggerConditionTranslations>
      </NotificationTriggerConditionDto>
      <NotificationTriggerConditionDto>
        <NotificationTriggerConditionId>1</NotificationTriggerConditionId>
        <NotificationTriggerId>2</NotificationTriggerId>
        <Name>sample string 3</Name>
        <Description>sample string 4</Description>
        <WorkflowId>1</WorkflowId>
        <NotificationTriggerConditionTranslations>
          <TranslationDto>
            <LanguageId>1</LanguageId>
            <Text>sample string 2</Text>
          </TranslationDto>
          <TranslationDto>
            <LanguageId>1</LanguageId>
            <Text>sample string 2</Text>
          </TranslationDto>
        </NotificationTriggerConditionTranslations>
      </NotificationTriggerConditionDto>
    </NotificationTriggerConditions>
  </NotificationTriggerDto>
  <NotificationTriggerDto>
    <NotificationTriggerId>1</NotificationTriggerId>
    <TriggerType>Created</TriggerType>
    <EntityName>sample string 2</EntityName>
    <Name>sample string 3</Name>
    <Description>sample string 4</Description>
    <OrganizationalUnitId>1</OrganizationalUnitId>
    <WorkflowId>1</WorkflowId>
    <IsActive>true</IsActive>
    <NotificationTriggerTranslations>
      <TranslationDto>
        <LanguageId>1</LanguageId>
        <Text>sample string 2</Text>
      </TranslationDto>
      <TranslationDto>
        <LanguageId>1</LanguageId>
        <Text>sample string 2</Text>
      </TranslationDto>
    </NotificationTriggerTranslations>
    <NotificationTriggerConditions>
      <NotificationTriggerConditionDto>
        <NotificationTriggerConditionId>1</NotificationTriggerConditionId>
        <NotificationTriggerId>2</NotificationTriggerId>
        <Name>sample string 3</Name>
        <Description>sample string 4</Description>
        <WorkflowId>1</WorkflowId>
        <NotificationTriggerConditionTranslations>
          <TranslationDto>
            <LanguageId>1</LanguageId>
            <Text>sample string 2</Text>
          </TranslationDto>
          <TranslationDto>
            <LanguageId>1</LanguageId>
            <Text>sample string 2</Text>
          </TranslationDto>
        </NotificationTriggerConditionTranslations>
      </NotificationTriggerConditionDto>
      <NotificationTriggerConditionDto>
        <NotificationTriggerConditionId>1</NotificationTriggerConditionId>
        <NotificationTriggerId>2</NotificationTriggerId>
        <Name>sample string 3</Name>
        <Description>sample string 4</Description>
        <WorkflowId>1</WorkflowId>
        <NotificationTriggerConditionTranslations>
          <TranslationDto>
            <LanguageId>1</LanguageId>
            <Text>sample string 2</Text>
          </TranslationDto>
          <TranslationDto>
            <LanguageId>1</LanguageId>
            <Text>sample string 2</Text>
          </TranslationDto>
        </NotificationTriggerConditionTranslations>
      </NotificationTriggerConditionDto>
    </NotificationTriggerConditions>
  </NotificationTriggerDto>
</ArrayOfNotificationTriggerDto>