POST api/pinches/{id}/triggers
Create new Trigger Group with Triggers
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters
Collection of TriggerSelectionDtoName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Name | string |
None. |
|
Triggers | Collection of TriggerDto |
None. |
|
IsExclude | boolean |
None. |
Request Formats
application/json, text/json
Sample:
[ { "Id": "36e2a2d1-929d-488b-bb0f-d35af85232b5", "Name": "sample string 2", "Triggers": [ { "Id": "7efeb83c-feef-40fd-8a28-8f38390f421b", "Name": "sample string 2" }, { "Id": "7efeb83c-feef-40fd-8a28-8f38390f421b", "Name": "sample string 2" } ], "IsExclude": true }, { "Id": "36e2a2d1-929d-488b-bb0f-d35af85232b5", "Name": "sample string 2", "Triggers": [ { "Id": "7efeb83c-feef-40fd-8a28-8f38390f421b", "Name": "sample string 2" }, { "Id": "7efeb83c-feef-40fd-8a28-8f38390f421b", "Name": "sample string 2" } ], "IsExclude": true } ]
Response Information
Resource Description
Collection of TriggerSelectionDtoName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Name | string |
None. |
|
Triggers | Collection of TriggerDto |
None. |
|
IsExclude | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": "575c36fc-8afc-442b-bf1f-553bb16ace79", "Name": "sample string 2", "Triggers": [ { "Id": "5c539b32-523e-498c-8a58-0aeee5b6fa9b", "Name": "sample string 2" }, { "Id": "5c539b32-523e-498c-8a58-0aeee5b6fa9b", "Name": "sample string 2" } ], "IsExclude": true }, { "Id": "575c36fc-8afc-442b-bf1f-553bb16ace79", "Name": "sample string 2", "Triggers": [ { "Id": "5c539b32-523e-498c-8a58-0aeee5b6fa9b", "Name": "sample string 2" }, { "Id": "5c539b32-523e-498c-8a58-0aeee5b6fa9b", "Name": "sample string 2" } ], "IsExclude": true } ]