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": "a9bb8587-b92b-4f88-bb38-df764bad2393",
"SegmentCategoryId": "8f75271f-0eaf-483b-a609-e230030ede33",
"DefaultSelectedSegmentIds": [
"305bc288-9310-4f79-ba21-95dbe45afa59",
"aa90fcef-7da2-4d9e-bee3-8e5734dbdd9f"
]
}
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>305bc288-9310-4f79-ba21-95dbe45afa59</d2p1:guid>
<d2p1:guid>aa90fcef-7da2-4d9e-bee3-8e5734dbdd9f</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>a9bb8587-b92b-4f88-bb38-df764bad2393</OrgId>
<SegmentCategoryId>8f75271f-0eaf-483b-a609-e230030ede33</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": "ee74d788-da4c-419c-8811-2ccf12b5aba9",
"SegmentCategoryId": "5d7796a7-92e8-4773-8037-b3f9b46b28ef",
"SelectedSegments": [
"bb8398fa-8fac-4758-8ec8-c829a2a602de",
"fca193bd-0621-4f17-ac59-35e307cb45ea"
],
"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>ee74d788-da4c-419c-8811-2ccf12b5aba9</OrgId>
<SegmentCategoryId>5d7796a7-92e8-4773-8037-b3f9b46b28ef</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>bb8398fa-8fac-4758-8ec8-c829a2a602de</d2p1:guid>
<d2p1:guid>fca193bd-0621-4f17-ac59-35e307cb45ea</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>