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": "a4917428-3820-4fa0-8012-6e1dfd4a3335",
"SegmentCategoryId": "df943014-7ae2-4be7-8bcb-f028f0b89e36",
"DefaultSelectedSegmentIds": [
"de47784d-bd23-46a5-adcd-d918a1cddfcf",
"5a96922f-083f-41e4-b3ac-59056a8f5236"
]
}
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>de47784d-bd23-46a5-adcd-d918a1cddfcf</d2p1:guid>
<d2p1:guid>5a96922f-083f-41e4-b3ac-59056a8f5236</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>a4917428-3820-4fa0-8012-6e1dfd4a3335</OrgId>
<SegmentCategoryId>df943014-7ae2-4be7-8bcb-f028f0b89e36</SegmentCategoryId>
</SegmentListRequestModel>
application/x-www-form-urlencoded
Sample:
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": "39c23f9b-9d63-4b56-829f-94ba6ce70e0e",
"SegmentCategoryId": "2eada7ff-7b1d-412b-95be-f5550a7395fc",
"SelectedSegments": [
"0f3ad4f6-a4c8-4bf3-ad32-9487b980a43b",
"b42a25cc-79d0-4ba8-80c9-0e74fd712f95"
],
"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>39c23f9b-9d63-4b56-829f-94ba6ce70e0e</OrgId>
<SegmentCategoryId>2eada7ff-7b1d-412b-95be-f5550a7395fc</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>0f3ad4f6-a4c8-4bf3-ad32-9487b980a43b</d2p1:guid>
<d2p1:guid>b42a25cc-79d0-4ba8-80c9-0e74fd712f95</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>