GET api/v1/segments?Limit={Limit}&Offset={Offset}&OrderBy={OrderBy}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Limit | integer |
None. |
|
| Offset | integer |
None. |
|
| OrderBy | string |
None. |
Body Parameters
StoredSegmentQueryDto| Name | Description | Type | Additional information |
|---|---|---|---|
| OrganizationCode | string |
None. |
|
| Text | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"organizationCode": "sample string 1",
"text": "sample string 2"
}
application/xml, text/xml
Sample:
<StoredSegmentQueryDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Application.Services.Dtos.Query"> <OrganizationCode>sample string 1</OrganizationCode> <Text>sample string 2</Text> </StoredSegmentQueryDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
MultiResultResponseOfStoredSegmentDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Meta | MetaMultiResult |
None. |
|
| Notifications |
None. |
Response Formats
application/json, text/json
Sample:
{
"meta": {
"limit": 1,
"offset": 2,
"totalResults": 3
},
"notifications": [
{},
{}
],
"results": [
{
"code": "sample string 1",
"name": "sample string 2",
"query": "sample string 3",
"organizationCode": "sample string 4",
"storedSegmentItemDtos": [
{
"id": "bb0abc21-ec36-44bc-b6dc-29ac593fd23f",
"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": "bb0abc21-ec36-44bc-b6dc-29ac593fd23f",
"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"
}
]
},
{
"code": "sample string 1",
"name": "sample string 2",
"query": "sample string 3",
"organizationCode": "sample string 4",
"storedSegmentItemDtos": [
{
"id": "bb0abc21-ec36-44bc-b6dc-29ac593fd23f",
"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": "bb0abc21-ec36-44bc-b6dc-29ac593fd23f",
"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:
<MultiResultResponseOfStoredSegmentDtoaM_S85dVU xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Presentation.WebApi.Dtos.Response">
<Meta>
<Limit>1</Limit>
<Offset>2</Offset>
<TotalResults>3</TotalResults>
</Meta>
<Notifications>
<Notification />
<Notification />
</Notifications>
<Results xmlns:d2p1="http://schemas.datacontract.org/2004/07/Domain.Dtos">
<d2p1:StoredSegmentDto>
<d2p1:Code>sample string 1</d2p1:Code>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:OrganizationCode>sample string 4</d2p1:OrganizationCode>
<d2p1:Query>sample string 3</d2p1:Query>
<d2p1:StoredSegmentItemDtos>
<d2p1:StoredSegmentItemDto>
<d2p1:Code>sample string 4</d2p1:Code>
<d2p1:Id>bb0abc21-ec36-44bc-b6dc-29ac593fd23f</d2p1:Id>
<d2p1:IsNegated>true</d2p1:IsNegated>
<d2p1:Name>sample string 5</d2p1:Name>
<d2p1:StoredSegmentCode>sample string 2</d2p1:StoredSegmentCode>
<d2p1:TagGroupCode>sample string 6</d2p1:TagGroupCode>
<d2p1:TagGroupName>sample string 7</d2p1:TagGroupName>
<d2p1:TagGroupParentCode>sample string 8</d2p1:TagGroupParentCode>
<d2p1:TagGroupParentName>sample string 9</d2p1:TagGroupParentName>
<d2p1:Type>MkAction</d2p1:Type>
</d2p1:StoredSegmentItemDto>
<d2p1:StoredSegmentItemDto>
<d2p1:Code>sample string 4</d2p1:Code>
<d2p1:Id>bb0abc21-ec36-44bc-b6dc-29ac593fd23f</d2p1:Id>
<d2p1:IsNegated>true</d2p1:IsNegated>
<d2p1:Name>sample string 5</d2p1:Name>
<d2p1:StoredSegmentCode>sample string 2</d2p1:StoredSegmentCode>
<d2p1:TagGroupCode>sample string 6</d2p1:TagGroupCode>
<d2p1:TagGroupName>sample string 7</d2p1:TagGroupName>
<d2p1:TagGroupParentCode>sample string 8</d2p1:TagGroupParentCode>
<d2p1:TagGroupParentName>sample string 9</d2p1:TagGroupParentName>
<d2p1:Type>MkAction</d2p1:Type>
</d2p1:StoredSegmentItemDto>
</d2p1:StoredSegmentItemDtos>
</d2p1:StoredSegmentDto>
<d2p1:StoredSegmentDto>
<d2p1:Code>sample string 1</d2p1:Code>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:OrganizationCode>sample string 4</d2p1:OrganizationCode>
<d2p1:Query>sample string 3</d2p1:Query>
<d2p1:StoredSegmentItemDtos>
<d2p1:StoredSegmentItemDto>
<d2p1:Code>sample string 4</d2p1:Code>
<d2p1:Id>bb0abc21-ec36-44bc-b6dc-29ac593fd23f</d2p1:Id>
<d2p1:IsNegated>true</d2p1:IsNegated>
<d2p1:Name>sample string 5</d2p1:Name>
<d2p1:StoredSegmentCode>sample string 2</d2p1:StoredSegmentCode>
<d2p1:TagGroupCode>sample string 6</d2p1:TagGroupCode>
<d2p1:TagGroupName>sample string 7</d2p1:TagGroupName>
<d2p1:TagGroupParentCode>sample string 8</d2p1:TagGroupParentCode>
<d2p1:TagGroupParentName>sample string 9</d2p1:TagGroupParentName>
<d2p1:Type>MkAction</d2p1:Type>
</d2p1:StoredSegmentItemDto>
<d2p1:StoredSegmentItemDto>
<d2p1:Code>sample string 4</d2p1:Code>
<d2p1:Id>bb0abc21-ec36-44bc-b6dc-29ac593fd23f</d2p1:Id>
<d2p1:IsNegated>true</d2p1:IsNegated>
<d2p1:Name>sample string 5</d2p1:Name>
<d2p1:StoredSegmentCode>sample string 2</d2p1:StoredSegmentCode>
<d2p1:TagGroupCode>sample string 6</d2p1:TagGroupCode>
<d2p1:TagGroupName>sample string 7</d2p1:TagGroupName>
<d2p1:TagGroupParentCode>sample string 8</d2p1:TagGroupParentCode>
<d2p1:TagGroupParentName>sample string 9</d2p1:TagGroupParentName>
<d2p1:Type>MkAction</d2p1:Type>
</d2p1:StoredSegmentItemDto>
</d2p1:StoredSegmentItemDtos>
</d2p1:StoredSegmentDto>
</Results>
</MultiResultResponseOfStoredSegmentDtoaM_S85dVU>