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": "498c2908-4077-407a-b2d3-1d500b77ed89", "Name": "sample string 2", "Segments": [ { "Id": "1f304bd3-7972-4700-8be5-5e7dec71d542", "Name": "sample string 2" }, { "Id": "1f304bd3-7972-4700-8be5-5e7dec71d542", "Name": "sample string 2" } ], "IsExclude": true }, { "Id": "498c2908-4077-407a-b2d3-1d500b77ed89", "Name": "sample string 2", "Segments": [ { "Id": "1f304bd3-7972-4700-8be5-5e7dec71d542", "Name": "sample string 2" }, { "Id": "1f304bd3-7972-4700-8be5-5e7dec71d542", "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": "61d17330-8581-4d01-b7d0-26254d1ed79d", "Name": "sample string 2", "Segments": [ { "Id": "bf6a85a8-0ce5-491f-88fc-5fc8a8237147", "Name": "sample string 2" }, { "Id": "bf6a85a8-0ce5-491f-88fc-5fc8a8237147", "Name": "sample string 2" } ], "IsExclude": true }, { "Id": "61d17330-8581-4d01-b7d0-26254d1ed79d", "Name": "sample string 2", "Segments": [ { "Id": "bf6a85a8-0ce5-491f-88fc-5fc8a8237147", "Name": "sample string 2" }, { "Id": "bf6a85a8-0ce5-491f-88fc-5fc8a8237147", "Name": "sample string 2" } ], "IsExclude": true } ]