PUT api/pinches/{pinchid}/publish
Publish a pinch
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| pinchid | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
PinchPublishDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Pinch | PinchDto |
None. |
|
| ValidationMessages | Collection of ValidationMessageDto |
None. |
Response Formats
application/json, text/json
Sample:
{
"Pinch": {
"Id": "da5be72b-1844-450a-a7b9-3c805e8d5aeb",
"Name": "sample string 2",
"Description": "sample string 3",
"ExpirationPeriod": "sample string 4",
"UserLimit": 5,
"AppTimeLimitHours": 6,
"ValidFrom": "2025-12-13T11:02:31.6000675+00:00",
"ValidTo": "2025-12-13T11:02:31.6000675+00:00",
"Status": "Draft",
"CustomerGroup": {
"Id": "0c4d205c-a8f4-4dbc-9524-b201cfaa9eae",
"Name": "sample string 2"
},
"Customer": {
"Id": "0c4d205c-a8f4-4dbc-9524-b201cfaa9eae",
"Name": "sample string 2"
},
"App": {
"NotificationType": "Bubble",
"Id": "39e9c159-3b72-4a3a-a5b2-635c0c4348ce",
"Name": "sample string 2"
},
"DailySchedule": {
"From": "sample string 1",
"To": "sample string 2"
},
"IsActive": true,
"Tags": [
"sample string 1",
"sample string 2"
],
"PublishId": "93af58ce-b10b-46e3-8874-9585a4d215a8",
"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-12-13T11:02:31.6000675+00:00"
},
"ValidationMessages": [
{
"Message": "sample string 1"
},
{
"Message": "sample string 1"
}
]
}