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": "5e075bd2-7f49-474c-aea1-d07185a1e595", "Name": "sample string 2", "Segments": [ { "Id": "556932b8-d59b-45cb-b109-8d4ff82cc351", "Name": "sample string 2" }, { "Id": "556932b8-d59b-45cb-b109-8d4ff82cc351", "Name": "sample string 2" } ], "IsExclude": true }, { "Id": "5e075bd2-7f49-474c-aea1-d07185a1e595", "Name": "sample string 2", "Segments": [ { "Id": "556932b8-d59b-45cb-b109-8d4ff82cc351", "Name": "sample string 2" }, { "Id": "556932b8-d59b-45cb-b109-8d4ff82cc351", "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": "9659b3a6-2dd2-4232-97b7-f619acef14e3", "Name": "sample string 2", "Segments": [ { "Id": "ef39bd15-f1d6-498b-a82f-6756172b9515", "Name": "sample string 2" }, { "Id": "ef39bd15-f1d6-498b-a82f-6756172b9515", "Name": "sample string 2" } ], "IsExclude": true }, { "Id": "9659b3a6-2dd2-4232-97b7-f619acef14e3", "Name": "sample string 2", "Segments": [ { "Id": "ef39bd15-f1d6-498b-a82f-6756172b9515", "Name": "sample string 2" }, { "Id": "ef39bd15-f1d6-498b-a82f-6756172b9515", "Name": "sample string 2" } ], "IsExclude": true } ]