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": "c43c7974-63da-4061-a2dc-1313c5e9f9d9",
"Name": "sample string 2",
"Segments": [
{
"Id": "f0b2c76c-566a-45d4-a1c2-0301395561db",
"Name": "sample string 2"
},
{
"Id": "f0b2c76c-566a-45d4-a1c2-0301395561db",
"Name": "sample string 2"
}
],
"IsExclude": true
},
{
"Id": "c43c7974-63da-4061-a2dc-1313c5e9f9d9",
"Name": "sample string 2",
"Segments": [
{
"Id": "f0b2c76c-566a-45d4-a1c2-0301395561db",
"Name": "sample string 2"
},
{
"Id": "f0b2c76c-566a-45d4-a1c2-0301395561db",
"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": "91522a97-db54-4daa-bd81-cb45a0542819",
"Name": "sample string 2",
"Segments": [
{
"Id": "d7329608-de54-4ccc-8e9f-21a5168923fa",
"Name": "sample string 2"
},
{
"Id": "d7329608-de54-4ccc-8e9f-21a5168923fa",
"Name": "sample string 2"
}
],
"IsExclude": true
},
{
"Id": "91522a97-db54-4daa-bd81-cb45a0542819",
"Name": "sample string 2",
"Segments": [
{
"Id": "d7329608-de54-4ccc-8e9f-21a5168923fa",
"Name": "sample string 2"
},
{
"Id": "d7329608-de54-4ccc-8e9f-21a5168923fa",
"Name": "sample string 2"
}
],
"IsExclude": true
}
]