POST api/v1/segments
Request Information
URI Parameters
None.
Body Parameters
StoredSegmentDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
None. |
|
| Name | string |
None. |
|
| Query | string |
None. |
|
| OrganizationCode | string |
None. |
|
| StoredSegmentItemDtos | Collection of StoredSegmentItemDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"code": "sample string 1",
"name": "sample string 2",
"query": "sample string 3",
"organizationCode": "sample string 4",
"storedSegmentItemDtos": [
{
"id": "e3b5ecff-e3f1-452d-b62e-769696bbad26",
"storedSegmentCode": "sample string 2",
"type": 0,
"isNegated": true,
"code": "sample string 4",
"name": "sample string 5",
"tagGroupCode": "sample string 6",
"tagGroupName": "sample string 7",
"tagGroupParentCode": "sample string 8",
"tagGroupParentName": "sample string 9"
},
{
"id": "e3b5ecff-e3f1-452d-b62e-769696bbad26",
"storedSegmentCode": "sample string 2",
"type": 0,
"isNegated": true,
"code": "sample string 4",
"name": "sample string 5",
"tagGroupCode": "sample string 6",
"tagGroupName": "sample string 7",
"tagGroupParentCode": "sample string 8",
"tagGroupParentName": "sample string 9"
}
]
}
application/xml, text/xml
Sample:
<StoredSegmentDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain.Dtos">
<Code>sample string 1</Code>
<Name>sample string 2</Name>
<OrganizationCode>sample string 4</OrganizationCode>
<Query>sample string 3</Query>
<StoredSegmentItemDtos>
<StoredSegmentItemDto>
<Code>sample string 4</Code>
<Id>e3b5ecff-e3f1-452d-b62e-769696bbad26</Id>
<IsNegated>true</IsNegated>
<Name>sample string 5</Name>
<StoredSegmentCode>sample string 2</StoredSegmentCode>
<TagGroupCode>sample string 6</TagGroupCode>
<TagGroupName>sample string 7</TagGroupName>
<TagGroupParentCode>sample string 8</TagGroupParentCode>
<TagGroupParentName>sample string 9</TagGroupParentName>
<Type>MkAction</Type>
</StoredSegmentItemDto>
<StoredSegmentItemDto>
<Code>sample string 4</Code>
<Id>e3b5ecff-e3f1-452d-b62e-769696bbad26</Id>
<IsNegated>true</IsNegated>
<Name>sample string 5</Name>
<StoredSegmentCode>sample string 2</StoredSegmentCode>
<TagGroupCode>sample string 6</TagGroupCode>
<TagGroupName>sample string 7</TagGroupName>
<TagGroupParentCode>sample string 8</TagGroupParentCode>
<TagGroupParentName>sample string 9</TagGroupParentName>
<Type>MkAction</Type>
</StoredSegmentItemDto>
</StoredSegmentItemDtos>
</StoredSegmentDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.