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": "230e9457-71f8-430e-a8d0-76dee53af3af",
"Name": "sample string 2",
"Triggers": [
{
"Id": "afd83cde-ecb0-423d-b194-e8eaa659d4e7",
"Name": "sample string 2"
},
{
"Id": "afd83cde-ecb0-423d-b194-e8eaa659d4e7",
"Name": "sample string 2"
}
],
"IsExclude": true
},
{
"Id": "230e9457-71f8-430e-a8d0-76dee53af3af",
"Name": "sample string 2",
"Triggers": [
{
"Id": "afd83cde-ecb0-423d-b194-e8eaa659d4e7",
"Name": "sample string 2"
},
{
"Id": "afd83cde-ecb0-423d-b194-e8eaa659d4e7",
"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": "4d7d01ea-8ca4-4f33-b24d-7be2d479c3c0",
"Name": "sample string 2",
"Triggers": [
{
"Id": "37f79add-a609-4a45-8406-307e96e20a82",
"Name": "sample string 2"
},
{
"Id": "37f79add-a609-4a45-8406-307e96e20a82",
"Name": "sample string 2"
}
],
"IsExclude": true
},
{
"Id": "4d7d01ea-8ca4-4f33-b24d-7be2d479c3c0",
"Name": "sample string 2",
"Triggers": [
{
"Id": "37f79add-a609-4a45-8406-307e96e20a82",
"Name": "sample string 2"
},
{
"Id": "37f79add-a609-4a45-8406-307e96e20a82",
"Name": "sample string 2"
}
],
"IsExclude": true
}
]