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": "f6e13a8a-b5ca-4624-868a-e004fd02e174",
"Name": "sample string 2",
"Segments": [
{
"Id": "eef4c540-c8a4-4f62-bc29-0540e7a25706",
"Name": "sample string 2"
},
{
"Id": "eef4c540-c8a4-4f62-bc29-0540e7a25706",
"Name": "sample string 2"
}
],
"IsExclude": true
},
{
"Id": "f6e13a8a-b5ca-4624-868a-e004fd02e174",
"Name": "sample string 2",
"Segments": [
{
"Id": "eef4c540-c8a4-4f62-bc29-0540e7a25706",
"Name": "sample string 2"
},
{
"Id": "eef4c540-c8a4-4f62-bc29-0540e7a25706",
"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": "add1548f-6153-439d-9b38-a227cfe86bcd",
"Name": "sample string 2",
"Segments": [
{
"Id": "df8047cd-625d-4d45-a891-ecd6ca24513b",
"Name": "sample string 2"
},
{
"Id": "df8047cd-625d-4d45-a891-ecd6ca24513b",
"Name": "sample string 2"
}
],
"IsExclude": true
},
{
"Id": "add1548f-6153-439d-9b38-a227cfe86bcd",
"Name": "sample string 2",
"Segments": [
{
"Id": "df8047cd-625d-4d45-a891-ecd6ca24513b",
"Name": "sample string 2"
},
{
"Id": "df8047cd-625d-4d45-a891-ecd6ca24513b",
"Name": "sample string 2"
}
],
"IsExclude": true
}
]