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 SegmentSelectionDtoName | 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": "fed51768-8be9-4949-8001-d6f583acedd4", "Name": "sample string 2", "Segments": [ { "Id": "e724e55e-b174-405c-a337-6ce1361b0eb9", "Name": "sample string 2" }, { "Id": "e724e55e-b174-405c-a337-6ce1361b0eb9", "Name": "sample string 2" } ], "IsExclude": true }, { "Id": "fed51768-8be9-4949-8001-d6f583acedd4", "Name": "sample string 2", "Segments": [ { "Id": "e724e55e-b174-405c-a337-6ce1361b0eb9", "Name": "sample string 2" }, { "Id": "e724e55e-b174-405c-a337-6ce1361b0eb9", "Name": "sample string 2" } ], "IsExclude": true } ]
Response Information
Resource Description
Collection of SegmentSelectionDtoName | 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": "396c6b36-e1d0-46bd-8640-a239730a8d39", "Name": "sample string 2", "Segments": [ { "Id": "bc48e031-499e-40ca-8e72-24d8154cd008", "Name": "sample string 2" }, { "Id": "bc48e031-499e-40ca-8e72-24d8154cd008", "Name": "sample string 2" } ], "IsExclude": true }, { "Id": "396c6b36-e1d0-46bd-8640-a239730a8d39", "Name": "sample string 2", "Segments": [ { "Id": "bc48e031-499e-40ca-8e72-24d8154cd008", "Name": "sample string 2" }, { "Id": "bc48e031-499e-40ca-8e72-24d8154cd008", "Name": "sample string 2" } ], "IsExclude": true } ]