POST api/Segment/GetSelectedSegmentsForOrg
Request Information
URI Parameters
None.
Body Parameters
SegmentListRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| MemberId | string |
None. |
|
| OrgId | globally unique identifier |
None. |
|
| SegmentCategoryId | globally unique identifier |
None. |
|
| DefaultSelectedSegmentIds | Collection of globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"MemberId": "sample string 1",
"OrgId": "a7c201e5-5239-4fae-bbfb-d48270aefa94",
"SegmentCategoryId": "cce8efad-b0e1-4fb5-af64-8f7c9a7d001c",
"DefaultSelectedSegmentIds": [
"410ec0d8-d98c-493f-85a3-8e67afd0c970",
"0d09144c-9804-4377-9207-3fc8c4b175c9"
]
}
application/xml, text/xml
Sample:
<SegmentListRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bond.Core.API.Models.Request">
<DefaultSelectedSegmentIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>410ec0d8-d98c-493f-85a3-8e67afd0c970</d2p1:guid>
<d2p1:guid>0d09144c-9804-4377-9207-3fc8c4b175c9</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>a7c201e5-5239-4fae-bbfb-d48270aefa94</OrgId>
<SegmentCategoryId>cce8efad-b0e1-4fb5-af64-8f7c9a7d001c</SegmentCategoryId>
</SegmentListRequestModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
SelectedSegmentsResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| MemberId | string |
None. |
|
| OrgId | globally unique identifier |
None. |
|
| SegmentCategoryId | globally unique identifier |
None. |
|
| SelectedSegments | Collection of globally unique identifier |
None. |
|
| Result | ResponseResult |
None. |
Response Formats
application/json, text/json
Sample:
{
"MemberId": "sample string 1",
"OrgId": "699d9a77-d324-487c-b4b0-720ca44418c1",
"SegmentCategoryId": "aee1345f-0148-4fe5-bd27-bc52bb7f558a",
"SelectedSegments": [
"95511a6d-d459-4884-94e8-6ab1c9928adc",
"11b8b8e1-8894-4eeb-876d-b0b22b5ca715"
],
"Result": {
"Success": true,
"Message": "sample string 2",
"Errors": [
{
"Message": "sample string 1"
},
{
"Message": "sample string 1"
}
]
}
}
application/xml, text/xml
Sample:
<SelectedSegmentsResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bond.Core.API.Models.Response">
<Result>
<Errors>
<ErrorMessage>
<Message>sample string 1</Message>
</ErrorMessage>
<ErrorMessage>
<Message>sample string 1</Message>
</ErrorMessage>
</Errors>
<Message>sample string 2</Message>
<Success>true</Success>
</Result>
<MemberId>sample string 1</MemberId>
<OrgId>699d9a77-d324-487c-b4b0-720ca44418c1</OrgId>
<SegmentCategoryId>aee1345f-0148-4fe5-bd27-bc52bb7f558a</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>95511a6d-d459-4884-94e8-6ab1c9928adc</d2p1:guid>
<d2p1:guid>11b8b8e1-8894-4eeb-876d-b0b22b5ca715</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>