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": "09ea6e5c-7ef5-4c0c-9d87-e0eead2d6f7f",
"Name": "sample string 2",
"Segments": [
{
"Id": "e2e3efd8-8cb4-4385-9f9d-b4e7ccad1cee",
"Name": "sample string 2"
},
{
"Id": "e2e3efd8-8cb4-4385-9f9d-b4e7ccad1cee",
"Name": "sample string 2"
}
],
"IsExclude": true
},
{
"Id": "09ea6e5c-7ef5-4c0c-9d87-e0eead2d6f7f",
"Name": "sample string 2",
"Segments": [
{
"Id": "e2e3efd8-8cb4-4385-9f9d-b4e7ccad1cee",
"Name": "sample string 2"
},
{
"Id": "e2e3efd8-8cb4-4385-9f9d-b4e7ccad1cee",
"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": "90cca7bd-1aae-46b9-bfe2-3e858cc93494",
"Name": "sample string 2",
"Segments": [
{
"Id": "3cbb2754-eced-4162-80f2-195e83d64149",
"Name": "sample string 2"
},
{
"Id": "3cbb2754-eced-4162-80f2-195e83d64149",
"Name": "sample string 2"
}
],
"IsExclude": true
},
{
"Id": "90cca7bd-1aae-46b9-bfe2-3e858cc93494",
"Name": "sample string 2",
"Segments": [
{
"Id": "3cbb2754-eced-4162-80f2-195e83d64149",
"Name": "sample string 2"
},
{
"Id": "3cbb2754-eced-4162-80f2-195e83d64149",
"Name": "sample string 2"
}
],
"IsExclude": true
}
]