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": "8c10a99f-b55b-47a0-9631-2709a2d3d596",
"Name": "sample string 2",
"Segments": [
{
"Id": "0efc16a2-41d1-4d24-aeda-a45785f60e24",
"Name": "sample string 2"
},
{
"Id": "0efc16a2-41d1-4d24-aeda-a45785f60e24",
"Name": "sample string 2"
}
],
"IsExclude": true
},
{
"Id": "8c10a99f-b55b-47a0-9631-2709a2d3d596",
"Name": "sample string 2",
"Segments": [
{
"Id": "0efc16a2-41d1-4d24-aeda-a45785f60e24",
"Name": "sample string 2"
},
{
"Id": "0efc16a2-41d1-4d24-aeda-a45785f60e24",
"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": "ae698dc2-a5ce-467d-9d5c-d2733d5788f5",
"Name": "sample string 2",
"Segments": [
{
"Id": "532e3478-2e75-4dd2-b1e6-0061db88c6d8",
"Name": "sample string 2"
},
{
"Id": "532e3478-2e75-4dd2-b1e6-0061db88c6d8",
"Name": "sample string 2"
}
],
"IsExclude": true
},
{
"Id": "ae698dc2-a5ce-467d-9d5c-d2733d5788f5",
"Name": "sample string 2",
"Segments": [
{
"Id": "532e3478-2e75-4dd2-b1e6-0061db88c6d8",
"Name": "sample string 2"
},
{
"Id": "532e3478-2e75-4dd2-b1e6-0061db88c6d8",
"Name": "sample string 2"
}
],
"IsExclude": true
}
]