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": "89e23334-59e2-44f7-b945-7c204a8c8c3b",
"SegmentCategoryId": "d1a0a476-2c61-4ecd-ab28-e496a442a586",
"DefaultSelectedSegmentIds": [
"c611b3a8-6549-43e6-8b66-15e39f488043",
"d5d690af-f7af-41b9-83d3-73b7d9bec433"
]
}
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>c611b3a8-6549-43e6-8b66-15e39f488043</d2p1:guid>
<d2p1:guid>d5d690af-f7af-41b9-83d3-73b7d9bec433</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>89e23334-59e2-44f7-b945-7c204a8c8c3b</OrgId>
<SegmentCategoryId>d1a0a476-2c61-4ecd-ab28-e496a442a586</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": "8f0b7699-5ecb-4b7c-9c5f-efe0b6afa0c3",
"SegmentCategoryId": "a23b826b-30bd-487f-a0f5-6d33a751a484",
"SelectedSegments": [
"0dee6b4a-0ecb-4865-94fe-9195f4bc5737",
"9a669810-e424-42f9-90ad-792fe502c71d"
],
"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>8f0b7699-5ecb-4b7c-9c5f-efe0b6afa0c3</OrgId>
<SegmentCategoryId>a23b826b-30bd-487f-a0f5-6d33a751a484</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>0dee6b4a-0ecb-4865-94fe-9195f4bc5737</d2p1:guid>
<d2p1:guid>9a669810-e424-42f9-90ad-792fe502c71d</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>