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": "ebba9ec6-b2d8-4055-9279-23f2538399f1",
"SegmentCategoryId": "7d63bc04-1a21-4991-9310-f966e382de18",
"DefaultSelectedSegmentIds": [
"442f95bc-eaf6-44b3-8c52-cebc1b2cbf52",
"1d1b8807-ab4b-4055-a417-1918d8d27a19"
]
}
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>442f95bc-eaf6-44b3-8c52-cebc1b2cbf52</d2p1:guid>
<d2p1:guid>1d1b8807-ab4b-4055-a417-1918d8d27a19</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>ebba9ec6-b2d8-4055-9279-23f2538399f1</OrgId>
<SegmentCategoryId>7d63bc04-1a21-4991-9310-f966e382de18</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": "37c0ac9f-5a5a-4926-a2d8-0089ba7b003c",
"SegmentCategoryId": "0199991e-3815-457d-872b-f9c981f67576",
"SelectedSegments": [
"91958203-6388-4290-a729-2354d788420d",
"3a8b9177-4ae1-4c41-9c77-70dced47158a"
],
"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>37c0ac9f-5a5a-4926-a2d8-0089ba7b003c</OrgId>
<SegmentCategoryId>0199991e-3815-457d-872b-f9c981f67576</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>91958203-6388-4290-a729-2354d788420d</d2p1:guid>
<d2p1:guid>3a8b9177-4ae1-4c41-9c77-70dced47158a</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>