POST api/pinches/{id}/segments
Create new Segment Group with Segments
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
Collection of SegmentSelectionDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Segments | Collection of SegmentDto |
None. |
|
| IsExclude | boolean |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"Id": "b0e6c9ef-d9c5-4664-902c-98f54a5cac5b",
"Name": "sample string 2",
"Segments": [
{
"Id": "accbe9a2-f27f-4993-8045-505add1ffb24",
"Name": "sample string 2"
},
{
"Id": "accbe9a2-f27f-4993-8045-505add1ffb24",
"Name": "sample string 2"
}
],
"IsExclude": true
},
{
"Id": "b0e6c9ef-d9c5-4664-902c-98f54a5cac5b",
"Name": "sample string 2",
"Segments": [
{
"Id": "accbe9a2-f27f-4993-8045-505add1ffb24",
"Name": "sample string 2"
},
{
"Id": "accbe9a2-f27f-4993-8045-505add1ffb24",
"Name": "sample string 2"
}
],
"IsExclude": true
}
]
Response Information
Resource Description
Collection of SegmentSelectionDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Segments | Collection of SegmentDto |
None. |
|
| IsExclude | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "87ec36f4-ba05-4dd1-9fc8-21d78899209b",
"Name": "sample string 2",
"Segments": [
{
"Id": "3795965a-a8cb-450e-a58f-c230aefbf823",
"Name": "sample string 2"
},
{
"Id": "3795965a-a8cb-450e-a58f-c230aefbf823",
"Name": "sample string 2"
}
],
"IsExclude": true
},
{
"Id": "87ec36f4-ba05-4dd1-9fc8-21d78899209b",
"Name": "sample string 2",
"Segments": [
{
"Id": "3795965a-a8cb-450e-a58f-c230aefbf823",
"Name": "sample string 2"
},
{
"Id": "3795965a-a8cb-450e-a58f-c230aefbf823",
"Name": "sample string 2"
}
],
"IsExclude": true
}
]