PUT api/pinches/{pinchId}/notification
Update a Pinch's notification settings
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
pinchId | globally unique identifier |
Required |
Body Parameters
PinchNotificationDtoName | Description | Type | Additional information |
---|---|---|---|
BubbleImageUrl | string |
None. |
|
ShowBubble | boolean |
None. |
|
BarImageUrl | string |
None. |
|
OpenOnAppLaunch | boolean |
None. |
|
OpenFromNotificationCenter | boolean |
None. |
|
OpenOnAppRunning | boolean |
None. |
|
BubbleIconId | integer |
None. |
|
BubbleTitleNo | string |
None. |
|
BubbleTitleEn | string |
None. |
|
NotificationTextNo | string |
None. |
|
NotificationTextEn | string |
None. |
|
NotificationTitleNo | string |
None. |
|
NotificationTitleEn | string |
None. |
|
TriggerNotification | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "BubbleImageUrl": "sample string 1", "ShowBubble": true, "BarImageUrl": "sample string 3", "OpenOnAppLaunch": true, "OpenFromNotificationCenter": true, "OpenOnAppRunning": true, "BubbleIconId": 1, "BubbleTitleNo": "sample string 7", "BubbleTitleEn": "sample string 8", "NotificationTextNo": "sample string 9", "NotificationTextEn": "sample string 10", "NotificationTitleNo": "sample string 11", "NotificationTitleEn": "sample string 12", "TriggerNotification": "sample string 13" }
Response Information
Resource Description
PinchDtoName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
ExpirationPeriod | string |
None. |
|
UserLimit | integer |
None. |
|
AppTimeLimitHours | integer |
None. |
|
ValidFrom | date |
None. |
|
ValidTo | date |
None. |
|
Status | PinchStatusEnum |
None. |
|
CustomerGroup | NamedItem |
None. |
|
Customer | NamedItem |
None. |
|
App | AppSimpleDto |
None. |
|
DailySchedule | Schedule |
None. |
|
IsActive | boolean |
None. |
|
Tags | Collection of string |
None. |
|
PublishId | globally unique identifier |
None. |
|
NotificationSettings | PinchNotificationDto |
None. |
|
MessageSettings | PinchMessageSettingsDto |
None. |
|
ModifiedDate | date |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "2713c5a0-e385-42be-98b1-a39706d3a289", "Name": "sample string 2", "Description": "sample string 3", "ExpirationPeriod": "sample string 4", "UserLimit": 5, "AppTimeLimitHours": 6, "ValidFrom": "2025-04-27T01:23:45.4774587+00:00", "ValidTo": "2025-04-27T01:23:45.4774587+00:00", "Status": "Draft", "CustomerGroup": { "Id": "db1fb7ca-512e-49ad-8315-53537b891327", "Name": "sample string 2" }, "Customer": { "Id": "db1fb7ca-512e-49ad-8315-53537b891327", "Name": "sample string 2" }, "App": { "NotificationType": "Bubble", "Id": "2c31b3fa-6895-4832-92cc-5f143c7b17eb", "Name": "sample string 2" }, "DailySchedule": { "From": "sample string 1", "To": "sample string 2" }, "IsActive": true, "Tags": [ "sample string 1", "sample string 2" ], "PublishId": "da260fc4-5f81-4985-8a58-29c51c73384e", "NotificationSettings": { "BubbleImageUrl": "sample string 1", "ShowBubble": true, "BarImageUrl": "sample string 3", "OpenOnAppLaunch": true, "OpenFromNotificationCenter": true, "OpenOnAppRunning": true, "BubbleIconId": 1, "BubbleTitleNo": "sample string 7", "BubbleTitleEn": "sample string 8", "NotificationTextNo": "sample string 9", "NotificationTextEn": "sample string 10", "NotificationTitleNo": "sample string 11", "NotificationTitleEn": "sample string 12", "TriggerNotification": "sample string 13" }, "MessageSettings": { "MessageTitleNo": "sample string 1", "MessageTitleEn": "sample string 2", "MessageTextNo": "sample string 3", "MessageTextEn": "sample string 4", "MessageImageUrl": "sample string 5", "MessageType": "sample string 6" }, "ModifiedDate": "2025-04-27T01:23:45.4774587+00:00" }