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 TriggerSelectionDto| Name | 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": "2108b38a-30ea-4702-8dce-3009142ee3ca",
"Name": "sample string 2",
"Triggers": [
{
"Id": "984b9db5-4b44-468d-a380-b79d40487336",
"Name": "sample string 2"
},
{
"Id": "984b9db5-4b44-468d-a380-b79d40487336",
"Name": "sample string 2"
}
],
"IsExclude": true
},
{
"Id": "2108b38a-30ea-4702-8dce-3009142ee3ca",
"Name": "sample string 2",
"Triggers": [
{
"Id": "984b9db5-4b44-468d-a380-b79d40487336",
"Name": "sample string 2"
},
{
"Id": "984b9db5-4b44-468d-a380-b79d40487336",
"Name": "sample string 2"
}
],
"IsExclude": true
}
]
Response Information
Resource Description
Collection of TriggerSelectionDto| Name | 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": "1027db03-d512-467c-8df3-4b7cacf44719",
"Name": "sample string 2",
"Triggers": [
{
"Id": "2e6f69ad-7742-4714-975b-f5bdb6d97044",
"Name": "sample string 2"
},
{
"Id": "2e6f69ad-7742-4714-975b-f5bdb6d97044",
"Name": "sample string 2"
}
],
"IsExclude": true
},
{
"Id": "1027db03-d512-467c-8df3-4b7cacf44719",
"Name": "sample string 2",
"Triggers": [
{
"Id": "2e6f69ad-7742-4714-975b-f5bdb6d97044",
"Name": "sample string 2"
},
{
"Id": "2e6f69ad-7742-4714-975b-f5bdb6d97044",
"Name": "sample string 2"
}
],
"IsExclude": true
}
]