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": "9aa5cae4-cb53-4f0f-bc53-e6cbba2431b9",
"Name": "sample string 2",
"Segments": [
{
"Id": "b0f60856-2663-4d5e-87e0-5078d1b1d765",
"Name": "sample string 2"
},
{
"Id": "b0f60856-2663-4d5e-87e0-5078d1b1d765",
"Name": "sample string 2"
}
],
"IsExclude": true
},
{
"Id": "9aa5cae4-cb53-4f0f-bc53-e6cbba2431b9",
"Name": "sample string 2",
"Segments": [
{
"Id": "b0f60856-2663-4d5e-87e0-5078d1b1d765",
"Name": "sample string 2"
},
{
"Id": "b0f60856-2663-4d5e-87e0-5078d1b1d765",
"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": "aac122d7-4e16-4825-9ff5-e9a7ce30cf4a",
"Name": "sample string 2",
"Segments": [
{
"Id": "55cf1290-7fa9-4923-9228-b01e0173c850",
"Name": "sample string 2"
},
{
"Id": "55cf1290-7fa9-4923-9228-b01e0173c850",
"Name": "sample string 2"
}
],
"IsExclude": true
},
{
"Id": "aac122d7-4e16-4825-9ff5-e9a7ce30cf4a",
"Name": "sample string 2",
"Segments": [
{
"Id": "55cf1290-7fa9-4923-9228-b01e0173c850",
"Name": "sample string 2"
},
{
"Id": "55cf1290-7fa9-4923-9228-b01e0173c850",
"Name": "sample string 2"
}
],
"IsExclude": true
}
]