PUT api/pinches/{pinchId}/time
Update a Pinch's timing settings
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
pinchId | globally unique identifier |
Required |
Body Parameters
PinchTimeDtoName | Description | Type | Additional information |
---|---|---|---|
PinchTiming | PinchTimingDto |
None. |
|
DailySchedule | ScheduleDto |
None. |
Request Formats
application/json, text/json
Sample:
{ "PinchTiming": { "MessageExpires": { "PresetType": "Never", "RelativeTime": 1, "ExactTime": "2025-03-29T23:40:02.9560167+00:00" }, "TimeFrequency": { "PresetType": "Never", "RelativeTime": 1, "ExactTime": "2025-03-29T23:40:02.9560167+00:00" }, "BeaconFrequency": { "PresetType": "Never", "RelativeTime": 1, "ExactTime": "2025-03-29T23:40:02.9560167+00:00" }, "LocationFrequency": { "PresetType": "Never", "RelativeTime": 1, "ExactTime": "2025-03-29T23:40:02.9560167+00:00" }, "TriggerDelay": { "PresetType": "Never", "RelativeTime": 1, "ExactTime": "2025-03-29T23:40:02.9560167+00:00" }, "DayTiming": [ 1, 2 ] }, "DailySchedule": { "From": "sample string 1", "To": "sample string 2" } }
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": "418110b9-428f-44ea-ad97-964228dd2789", "Name": "sample string 2", "Description": "sample string 3", "ExpirationPeriod": "sample string 4", "UserLimit": 5, "AppTimeLimitHours": 6, "ValidFrom": "2025-03-29T23:40:03.098053+00:00", "ValidTo": "2025-03-29T23:40:03.098053+00:00", "Status": "Draft", "CustomerGroup": { "Id": "3a401320-b758-45e1-8dc1-2632ffefe9ec", "Name": "sample string 2" }, "Customer": { "Id": "3a401320-b758-45e1-8dc1-2632ffefe9ec", "Name": "sample string 2" }, "App": { "NotificationType": "Bubble", "Id": "d6a27eb5-6c47-4862-94d1-523e531c88e9", "Name": "sample string 2" }, "DailySchedule": { "From": "sample string 1", "To": "sample string 2" }, "IsActive": true, "Tags": [ "sample string 1", "sample string 2" ], "PublishId": "a145085a-d154-4525-a7e9-920946841d3f", "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-03-29T23:40:03.098053+00:00" }