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": "4ef534d7-2343-4b03-a06b-1d55261cad7c",
"SegmentCategoryId": "1637b757-9091-4ca2-a481-3003d1c73326",
"DefaultSelectedSegmentIds": [
"7e6a498f-0e24-4b51-9215-b7e8caba3b94",
"6798368d-6024-4bca-93e7-6bc7406a1dcd"
]
}
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>7e6a498f-0e24-4b51-9215-b7e8caba3b94</d2p1:guid>
<d2p1:guid>6798368d-6024-4bca-93e7-6bc7406a1dcd</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>4ef534d7-2343-4b03-a06b-1d55261cad7c</OrgId>
<SegmentCategoryId>1637b757-9091-4ca2-a481-3003d1c73326</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": "157faac9-bbbf-4fb1-8b88-3fe0050e3394",
"SegmentCategoryId": "8b8c9892-1fe4-4c8c-bf5a-215150346017",
"SelectedSegments": [
"845a3452-6e8e-47e5-844f-3f89061de6c2",
"0d5a167b-7306-44da-8e44-8913fd2f3683"
],
"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>157faac9-bbbf-4fb1-8b88-3fe0050e3394</OrgId>
<SegmentCategoryId>8b8c9892-1fe4-4c8c-bf5a-215150346017</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>845a3452-6e8e-47e5-844f-3f89061de6c2</d2p1:guid>
<d2p1:guid>0d5a167b-7306-44da-8e44-8913fd2f3683</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>