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": "8fecd414-facf-4711-8260-cdab0ac38dfa",
"SegmentCategoryId": "b46f623a-e31e-4123-8d71-0676370173de",
"DefaultSelectedSegmentIds": [
"4855cce1-0aba-493e-bd68-07339b6081f4",
"7fd17cce-bc37-4b4e-a2a5-19d82c7c7004"
]
}
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>4855cce1-0aba-493e-bd68-07339b6081f4</d2p1:guid>
<d2p1:guid>7fd17cce-bc37-4b4e-a2a5-19d82c7c7004</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>8fecd414-facf-4711-8260-cdab0ac38dfa</OrgId>
<SegmentCategoryId>b46f623a-e31e-4123-8d71-0676370173de</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": "c3520c0b-48c3-43e7-87d1-b58952381236",
"SegmentCategoryId": "f27559e6-f877-4928-b394-668628ba6b04",
"SelectedSegments": [
"822ed407-f998-4212-a6d6-f91940590785",
"88e87339-6af0-43b6-bbb6-14066486e522"
],
"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>c3520c0b-48c3-43e7-87d1-b58952381236</OrgId>
<SegmentCategoryId>f27559e6-f877-4928-b394-668628ba6b04</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>822ed407-f998-4212-a6d6-f91940590785</d2p1:guid>
<d2p1:guid>88e87339-6af0-43b6-bbb6-14066486e522</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>