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": "0230f82e-98b2-4ed5-9cb3-28cb2934043d",
"SegmentCategoryId": "77da7a30-4cfd-45ca-ae60-3d7f2e85a001",
"DefaultSelectedSegmentIds": [
"0735ff79-7625-4ec8-8e5b-ba408796c8e4",
"8f270148-e346-4d8f-990f-f23cb8ebc732"
]
}
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>0735ff79-7625-4ec8-8e5b-ba408796c8e4</d2p1:guid>
<d2p1:guid>8f270148-e346-4d8f-990f-f23cb8ebc732</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>0230f82e-98b2-4ed5-9cb3-28cb2934043d</OrgId>
<SegmentCategoryId>77da7a30-4cfd-45ca-ae60-3d7f2e85a001</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": "ba7661b1-7313-4ebf-9f13-092645517f8b",
"SegmentCategoryId": "34d735b6-fb4f-4275-944e-20e56fbec081",
"SelectedSegments": [
"49039296-783a-4dd3-b387-b62adf679205",
"2cf0e1c5-f8c2-4e8e-bef8-1c8ce1e6f892"
],
"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>ba7661b1-7313-4ebf-9f13-092645517f8b</OrgId>
<SegmentCategoryId>34d735b6-fb4f-4275-944e-20e56fbec081</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>49039296-783a-4dd3-b387-b62adf679205</d2p1:guid>
<d2p1:guid>2cf0e1c5-f8c2-4e8e-bef8-1c8ce1e6f892</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>