GET api/pinches/GetByCustomerGroup?id={id}
Get Pinch by Customer Group ID
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Customer Group ID |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of 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": "f5dcc16c-e074-4451-ab2c-1e65b9e9a055", "Name": "sample string 2", "Description": "sample string 3", "ExpirationPeriod": "sample string 4", "UserLimit": 5, "AppTimeLimitHours": 6, "ValidFrom": "2025-04-21T14:15:49.8562204+00:00", "ValidTo": "2025-04-21T14:15:49.8562204+00:00", "Status": "Draft", "CustomerGroup": { "Id": "57d0c3b9-165c-4b4b-bb24-757350ea691d", "Name": "sample string 2" }, "Customer": { "Id": "57d0c3b9-165c-4b4b-bb24-757350ea691d", "Name": "sample string 2" }, "App": { "NotificationType": "Bubble", "Id": "5d3c8b38-21e2-42c3-9f7f-3f8b4285eda9", "Name": "sample string 2" }, "DailySchedule": { "From": "sample string 1", "To": "sample string 2" }, "IsActive": true, "Tags": [ "sample string 1", "sample string 2" ], "PublishId": "91069c35-07d0-4809-949b-d9e649dd1182", "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-21T14:15:49.8562204+00:00" }, { "Id": "f5dcc16c-e074-4451-ab2c-1e65b9e9a055", "Name": "sample string 2", "Description": "sample string 3", "ExpirationPeriod": "sample string 4", "UserLimit": 5, "AppTimeLimitHours": 6, "ValidFrom": "2025-04-21T14:15:49.8562204+00:00", "ValidTo": "2025-04-21T14:15:49.8562204+00:00", "Status": "Draft", "CustomerGroup": { "Id": "57d0c3b9-165c-4b4b-bb24-757350ea691d", "Name": "sample string 2" }, "Customer": { "Id": "57d0c3b9-165c-4b4b-bb24-757350ea691d", "Name": "sample string 2" }, "App": { "NotificationType": "Bubble", "Id": "5d3c8b38-21e2-42c3-9f7f-3f8b4285eda9", "Name": "sample string 2" }, "DailySchedule": { "From": "sample string 1", "To": "sample string 2" }, "IsActive": true, "Tags": [ "sample string 1", "sample string 2" ], "PublishId": "91069c35-07d0-4809-949b-d9e649dd1182", "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-21T14:15:49.8562204+00:00" } ]