POST api/v1/segmentation/executeFromSegmentItems
Request Information
URI Parameters
None.
Body Parameters
Collection of StoredSegmentItemDtoName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
StoredSegmentCode | string |
None. |
|
Type | StoredSegmentItemType |
None. |
|
IsNegated | boolean |
None. |
|
Code | string |
None. |
|
Name | string |
None. |
|
TagGroupCode | string |
None. |
|
TagGroupName | string |
None. |
|
TagGroupParentCode | string |
None. |
|
TagGroupParentName | string |
None. |
Request Formats
application/json, text/json
Sample:
[ { "id": "e92e4c51-fec2-4466-b139-755f10fb767a", "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": "e92e4c51-fec2-4466-b139-755f10fb767a", "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:
<ArrayOfStoredSegmentItemDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain.Dtos"> <StoredSegmentItemDto> <Code>sample string 4</Code> <Id>e92e4c51-fec2-4466-b139-755f10fb767a</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>e92e4c51-fec2-4466-b139-755f10fb767a</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> </ArrayOfStoredSegmentItemDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SingleResultResponseOfExecuteSegmentationDtoName | Description | Type | Additional information |
---|---|---|---|
Meta | MetaSingleResult |
None. |
|
Notifications |
None. |
Response Formats
application/json, text/json
Sample:
{ "meta": {}, "notifications": [ {}, {} ], "result": { "query": "sample string 1", "totalCustomer": 2, "totalCustomerWithEmail": 3, "totalCustomerWithMobilePhone": 4, "totalCustomerWithMobileApp": 5 } }
application/xml, text/xml
Sample:
<SingleResultResponseOfExecuteSegmentationDto5UAM0m6_S xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Presentation.WebApi.Dtos.Response"> <Meta /> <Notifications> <Notification /> <Notification /> </Notifications> <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/Application.Services.Dtos.Segmentation"> <d2p1:Query>sample string 1</d2p1:Query> <d2p1:TotalCustomer>2</d2p1:TotalCustomer> <d2p1:TotalCustomerWithEmail>3</d2p1:TotalCustomerWithEmail> <d2p1:TotalCustomerWithMobileApp>5</d2p1:TotalCustomerWithMobileApp> <d2p1:TotalCustomerWithMobilePhone>4</d2p1:TotalCustomerWithMobilePhone> </Result> </SingleResultResponseOfExecuteSegmentationDto5UAM0m6_S>