POST api/notifications/task/{planId}/list
Get Task Notifications for a specific plan. Will also return Global task notifications if the user has sufficient permissions.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| planId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of TaskNotification| Name | Description | Type | Additional information |
|---|---|---|---|
| PlanId | globally unique identifier |
None. |
|
| Global | boolean |
None. |
|
| TriggerType | TriggerType |
None. |
|
| OnField | globally unique identifier |
None. |
|
| FieldName | string |
None. |
|
| MatchingValue | string |
None. |
|
| WhenObject | WhenObject |
None. |
|
| Filter | string |
None. |
|
| EmailReceiverType | EmailReceiverType |
None. |
|
| EmailReceiverFieldSelection | globally unique identifier |
None. |
|
| EmailReceiverFieldSelectionName | string |
None. |
|
| EmailReceiverUsersSelection | Collection of globally unique identifier |
None. |
|
| EmailReceiverTeamsSelection | Collection of globally unique identifier |
None. |
|
| EmailSubject | string |
None. |
|
| EmailFieldsSent | Dictionary of string [key] and globally unique identifier [value] |
None. |
|
| EmailBody | string |
None. |
|
| id | globally unique identifier |
None. |
|
| ConfigId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"PlanId": "fae7885b-7eb3-4bfe-b53a-9bf145e28e8b",
"Global": true,
"TriggerType": 0,
"OnField": "2daad31e-15b9-4aec-a0bf-ecc3ef471eb8",
"FieldName": "sample string 4",
"MatchingValue": "sample string 5",
"WhenObject": {
"WhenType": 0,
"DayOfWeek": "sample string 1"
},
"Filter": "sample string 6",
"EmailReceiverType": 0,
"EmailReceiverFieldSelection": "feb1d68b-a368-450a-9aed-215cb4a0afc1",
"EmailReceiverFieldSelectionName": "sample string 8",
"EmailReceiverUsersSelection": [
"900d9cad-6b14-4231-a554-3f6834bab283",
"f25f0106-6e02-4d73-a532-1e87898dcfdf"
],
"EmailReceiverTeamsSelection": [
"cfbf9d29-7764-450e-b34e-8b91904c14ff",
"a704f9fc-3f88-41dc-baea-b9a3abebe0cb"
],
"EmailSubject": "sample string 9",
"EmailFieldsSent": {
"sample string 1": "77120351-5d47-48e9-bffe-fb21b23fa898",
"sample string 3": "b933ff4d-4f71-40fe-bcc5-3530622b3453"
},
"EmailBody": "sample string 10",
"id": "ff09a5c5-caf6-4402-8f0a-77eace24feeb",
"ConfigId": "bbd32e1d-3b03-4345-a449-59605cd31156"
},
{
"PlanId": "fae7885b-7eb3-4bfe-b53a-9bf145e28e8b",
"Global": true,
"TriggerType": 0,
"OnField": "2daad31e-15b9-4aec-a0bf-ecc3ef471eb8",
"FieldName": "sample string 4",
"MatchingValue": "sample string 5",
"WhenObject": {
"WhenType": 0,
"DayOfWeek": "sample string 1"
},
"Filter": "sample string 6",
"EmailReceiverType": 0,
"EmailReceiverFieldSelection": "feb1d68b-a368-450a-9aed-215cb4a0afc1",
"EmailReceiverFieldSelectionName": "sample string 8",
"EmailReceiverUsersSelection": [
"900d9cad-6b14-4231-a554-3f6834bab283",
"f25f0106-6e02-4d73-a532-1e87898dcfdf"
],
"EmailReceiverTeamsSelection": [
"cfbf9d29-7764-450e-b34e-8b91904c14ff",
"a704f9fc-3f88-41dc-baea-b9a3abebe0cb"
],
"EmailSubject": "sample string 9",
"EmailFieldsSent": {
"sample string 1": "77120351-5d47-48e9-bffe-fb21b23fa898",
"sample string 3": "b933ff4d-4f71-40fe-bcc5-3530622b3453"
},
"EmailBody": "sample string 10",
"id": "ff09a5c5-caf6-4402-8f0a-77eace24feeb",
"ConfigId": "bbd32e1d-3b03-4345-a449-59605cd31156"
}
]