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": "3886dc40-3a07-4eec-bcdc-d8077ff0ae5d",
"SegmentCategoryId": "150450cc-36c3-4794-8649-df7207b7481e",
"DefaultSelectedSegmentIds": [
"4986754c-9f57-423c-af30-019937c8ed82",
"049c0c6c-42ef-4efd-94ee-d0ff597c87bb"
]
}
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>4986754c-9f57-423c-af30-019937c8ed82</d2p1:guid>
<d2p1:guid>049c0c6c-42ef-4efd-94ee-d0ff597c87bb</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>3886dc40-3a07-4eec-bcdc-d8077ff0ae5d</OrgId>
<SegmentCategoryId>150450cc-36c3-4794-8649-df7207b7481e</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": "a763fa6f-4676-455c-b1d1-293a6d0d1027",
"SegmentCategoryId": "99b866fa-bbf1-4147-9a99-e66cd1c9858d",
"SelectedSegments": [
"bced1e93-35ab-46a9-b1ca-0fb206baceb8",
"6e9cac83-da59-4bbc-8378-a583da05ae75"
],
"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>a763fa6f-4676-455c-b1d1-293a6d0d1027</OrgId>
<SegmentCategoryId>99b866fa-bbf1-4147-9a99-e66cd1c9858d</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>bced1e93-35ab-46a9-b1ca-0fb206baceb8</d2p1:guid>
<d2p1:guid>6e9cac83-da59-4bbc-8378-a583da05ae75</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>