POST api/notifications/plan/{notificationId}/update
Update a Plan Notification by configuring a PlanNotification object
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
notificationId | string |
None. |
Body Parameters
PlanNotificationName | Description | Type | Additional information |
---|---|---|---|
NotificationScope | NotificationScope |
None. |
|
PlanType | globally unique identifier |
None. |
|
TriggerType | PlanNotificationTrigger |
None. |
|
OnField | globally unique identifier |
None. |
|
FieldName | string |
None. |
|
MatchingValue | string |
None. |
|
WhenObject | WhenObject |
None. |
|
Filter | string |
None. |
|
EmailReceiverType | PlanNotificationReceiver |
None. |
|
EmailReceiverFieldSelection | globally unique identifier |
None. |
|
EmailReceiverFieldSelectionName | string |
None. |
|
EmailReceiverSharedWithLevels | Collection of AccessLevel |
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. |
|
UserId | globally unique identifier |
None. |
|
PlanId | globally unique identifier |
None. |
|
id | globally unique identifier |
None. |
|
ConfigId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "NotificationScope": 0, "PlanType": "7d01fc85-2515-4854-be69-d1fa916c82f1", "TriggerType": 0, "OnField": "0381b64c-ec5d-450f-9c83-580d1b07b7cd", "FieldName": "sample string 3", "MatchingValue": "sample string 4", "WhenObject": { "WhenType": 0, "DayOfWeek": "sample string 1" }, "Filter": "sample string 5", "EmailReceiverType": 0, "EmailReceiverFieldSelection": "0cc34d34-f021-4369-b8d6-9fe61eab6f06", "EmailReceiverFieldSelectionName": "sample string 7", "EmailReceiverSharedWithLevels": [ 0, 0 ], "EmailReceiverUsersSelection": [ "f509c7df-0160-4ffa-9600-58ea2a97e45a", "334d2195-34af-43a4-abbf-e57eade3094a" ], "EmailReceiverTeamsSelection": [ "e7583ccb-25d0-4e1b-a1af-c30d82275cfd", "3ade65a4-ec11-42be-bc5b-bcd2da0f90d9" ], "EmailSubject": "sample string 8", "EmailFieldsSent": { "sample string 1": "5a5ed567-5940-49b9-a900-50e4c64a2218", "sample string 3": "f8c7e2f8-2b8e-49a7-8e4f-870be49ad349" }, "EmailBody": "sample string 9", "UserId": "a357e222-64df-4fb2-98a7-9b389e4a4914", "PlanId": "d51d6934-e5f7-4d45-9441-8f0d599a6eb1", "__app__": "WORKPLANNER", "__entity_kind__": "WorkPlanner.Models.PlanNotification", "id": "67fe1c3e-d6f5-4174-8e90-da77731b97ac", "RestoreFromId": "00000000-0000-0000-0000-000000000000", "ConfigId": "8142724c-9e72-4c77-9f3e-e04432d6ca52", "_ts": 638882655734060029 }
Response Information
Resource Description
PlanNotificationName | Description | Type | Additional information |
---|---|---|---|
NotificationScope | NotificationScope |
None. |
|
PlanType | globally unique identifier |
None. |
|
TriggerType | PlanNotificationTrigger |
None. |
|
OnField | globally unique identifier |
None. |
|
FieldName | string |
None. |
|
MatchingValue | string |
None. |
|
WhenObject | WhenObject |
None. |
|
Filter | string |
None. |
|
EmailReceiverType | PlanNotificationReceiver |
None. |
|
EmailReceiverFieldSelection | globally unique identifier |
None. |
|
EmailReceiverFieldSelectionName | string |
None. |
|
EmailReceiverSharedWithLevels | Collection of AccessLevel |
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. |
|
UserId | globally unique identifier |
None. |
|
PlanId | globally unique identifier |
None. |
|
id | globally unique identifier |
None. |
|
ConfigId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{ "NotificationScope": 0, "PlanType": "d02e4f86-f349-45a4-b106-20e9b5cd1730", "TriggerType": 0, "OnField": "9d04009c-3c81-40ea-bfed-3b7d1cc1d720", "FieldName": "sample string 3", "MatchingValue": "sample string 4", "WhenObject": { "WhenType": 0, "DayOfWeek": "sample string 1" }, "Filter": "sample string 5", "EmailReceiverType": 0, "EmailReceiverFieldSelection": "385d4ea4-d233-4e15-ae55-ed09bb108764", "EmailReceiverFieldSelectionName": "sample string 7", "EmailReceiverSharedWithLevels": [ 0, 0 ], "EmailReceiverUsersSelection": [ "0c8c0c50-da83-44b9-a3fa-57e94ede43a1", "dce8ca13-3922-4e4c-a31b-b2bbaa99ca4f" ], "EmailReceiverTeamsSelection": [ "73437fd4-14e3-48ca-a39f-a8928c8016a2", "168bcda1-4549-4096-afec-c35f24444b7b" ], "EmailSubject": "sample string 8", "EmailFieldsSent": { "sample string 1": "cb63d0c3-71b0-458c-afb3-2e8da4249dd0", "sample string 3": "278c9039-0bad-4eb3-aa00-953925f34252" }, "EmailBody": "sample string 9", "UserId": "05ca8633-b813-4e12-a583-730b86afcf88", "PlanId": "94d5e3b8-3220-47e5-b61f-36515291bcb6", "id": "28fab1ce-5e9a-42a0-bb4e-49d3a655908a", "ConfigId": "394d86ac-f4ce-47a1-b31b-3be65f7007c2" }