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": "37ceaac6-4458-4151-933a-f280cc973e8a",
"SegmentCategoryId": "c84dda30-f2e6-4fcd-94a8-1d14773fc08d",
"DefaultSelectedSegmentIds": [
"e0fe4c85-4e47-47d2-8585-0ce245022613",
"6a1b21ab-482e-44bd-aeea-55ede1bf24d6"
]
}
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>e0fe4c85-4e47-47d2-8585-0ce245022613</d2p1:guid>
<d2p1:guid>6a1b21ab-482e-44bd-aeea-55ede1bf24d6</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>37ceaac6-4458-4151-933a-f280cc973e8a</OrgId>
<SegmentCategoryId>c84dda30-f2e6-4fcd-94a8-1d14773fc08d</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": "475e7888-eabc-4072-ad15-fe7279608725",
"SegmentCategoryId": "7fb20de5-3b2c-4df3-ad11-df38f785b104",
"SelectedSegments": [
"f5d1eb9b-266e-4aff-957d-4d6d77204ff2",
"fa74575d-be81-4c50-81bd-ed4434a2ea05"
],
"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>475e7888-eabc-4072-ad15-fe7279608725</OrgId>
<SegmentCategoryId>7fb20de5-3b2c-4df3-ad11-df38f785b104</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>f5d1eb9b-266e-4aff-957d-4d6d77204ff2</d2p1:guid>
<d2p1:guid>fa74575d-be81-4c50-81bd-ed4434a2ea05</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>