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": "a9562602-9515-4b1f-b3fa-fd8c9ccc1ff4",
"Name": "sample string 2",
"Segments": [
{
"Id": "84b3e66d-f3f6-4972-a3c3-f3a9add379b7",
"Name": "sample string 2"
},
{
"Id": "84b3e66d-f3f6-4972-a3c3-f3a9add379b7",
"Name": "sample string 2"
}
],
"IsExclude": true
},
{
"Id": "a9562602-9515-4b1f-b3fa-fd8c9ccc1ff4",
"Name": "sample string 2",
"Segments": [
{
"Id": "84b3e66d-f3f6-4972-a3c3-f3a9add379b7",
"Name": "sample string 2"
},
{
"Id": "84b3e66d-f3f6-4972-a3c3-f3a9add379b7",
"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": "1e2a4758-2486-4480-9edd-b30c45b75d8f",
"Name": "sample string 2",
"Segments": [
{
"Id": "56a14785-14d4-4b39-84a6-ad4558332208",
"Name": "sample string 2"
},
{
"Id": "56a14785-14d4-4b39-84a6-ad4558332208",
"Name": "sample string 2"
}
],
"IsExclude": true
},
{
"Id": "1e2a4758-2486-4480-9edd-b30c45b75d8f",
"Name": "sample string 2",
"Segments": [
{
"Id": "56a14785-14d4-4b39-84a6-ad4558332208",
"Name": "sample string 2"
},
{
"Id": "56a14785-14d4-4b39-84a6-ad4558332208",
"Name": "sample string 2"
}
],
"IsExclude": true
}
]