POST api/Segment/GetSelectedSegmentsForMember
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": "565e53f8-0f70-4374-97d4-443441924325",
"SegmentCategoryId": "bde72547-1c2e-4ac1-99a4-85f82baacbf7",
"DefaultSelectedSegmentIds": [
"022bfb68-1766-4441-8e4c-e3415d7a83f5",
"8370e28c-66a5-430d-8020-a6da79a9a607"
]
}
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>022bfb68-1766-4441-8e4c-e3415d7a83f5</d2p1:guid>
<d2p1:guid>8370e28c-66a5-430d-8020-a6da79a9a607</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>565e53f8-0f70-4374-97d4-443441924325</OrgId>
<SegmentCategoryId>bde72547-1c2e-4ac1-99a4-85f82baacbf7</SegmentCategoryId>
</SegmentListRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
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": "73d83a00-e2e5-41e9-9ce3-7cb19e6bad46",
"SegmentCategoryId": "60a4b00f-0491-420b-a447-9e274dab06da",
"SelectedSegments": [
"98c6ce95-3080-4936-9232-33344cde4ea9",
"09d562bd-454c-4858-a187-04b8d0fc009c"
],
"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>73d83a00-e2e5-41e9-9ce3-7cb19e6bad46</OrgId>
<SegmentCategoryId>60a4b00f-0491-420b-a447-9e274dab06da</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>98c6ce95-3080-4936-9232-33344cde4ea9</d2p1:guid>
<d2p1:guid>09d562bd-454c-4858-a187-04b8d0fc009c</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>