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": "c8ce12fc-4676-437d-a4a5-06ced174b9ba",
"Name": "sample string 2",
"Segments": [
{
"Id": "766e0e7d-a122-4ee8-98b6-6eb21e294c93",
"Name": "sample string 2"
},
{
"Id": "766e0e7d-a122-4ee8-98b6-6eb21e294c93",
"Name": "sample string 2"
}
],
"IsExclude": true
},
{
"Id": "c8ce12fc-4676-437d-a4a5-06ced174b9ba",
"Name": "sample string 2",
"Segments": [
{
"Id": "766e0e7d-a122-4ee8-98b6-6eb21e294c93",
"Name": "sample string 2"
},
{
"Id": "766e0e7d-a122-4ee8-98b6-6eb21e294c93",
"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": "41dc5d06-90e8-4fae-8f4c-709feee06ce1",
"Name": "sample string 2",
"Segments": [
{
"Id": "d056a4f6-fbd7-4559-a7a6-0d79944e2422",
"Name": "sample string 2"
},
{
"Id": "d056a4f6-fbd7-4559-a7a6-0d79944e2422",
"Name": "sample string 2"
}
],
"IsExclude": true
},
{
"Id": "41dc5d06-90e8-4fae-8f4c-709feee06ce1",
"Name": "sample string 2",
"Segments": [
{
"Id": "d056a4f6-fbd7-4559-a7a6-0d79944e2422",
"Name": "sample string 2"
},
{
"Id": "d056a4f6-fbd7-4559-a7a6-0d79944e2422",
"Name": "sample string 2"
}
],
"IsExclude": true
}
]