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": "a3fffb10-2b06-4514-8cfa-8021ffd1abbe",
"SegmentCategoryId": "304e7e4b-7aea-4654-9f52-c12abc9c4a28",
"DefaultSelectedSegmentIds": [
"c24efc83-3931-4063-b5d9-fed6e2e43c01",
"40d4c6ed-b7c9-42b6-af53-ef7d7373ffd4"
]
}
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>c24efc83-3931-4063-b5d9-fed6e2e43c01</d2p1:guid>
<d2p1:guid>40d4c6ed-b7c9-42b6-af53-ef7d7373ffd4</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>a3fffb10-2b06-4514-8cfa-8021ffd1abbe</OrgId>
<SegmentCategoryId>304e7e4b-7aea-4654-9f52-c12abc9c4a28</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": "2c98a824-8dd2-41c1-aab7-46d0f5cea823",
"SegmentCategoryId": "bf456bca-7b33-46d4-9e24-e740d3018bb2",
"SelectedSegments": [
"e7a50ae0-1b7a-4efd-ab44-21a789ff074a",
"528c0430-665c-45fc-8def-a6f1094b6c87"
],
"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>2c98a824-8dd2-41c1-aab7-46d0f5cea823</OrgId>
<SegmentCategoryId>bf456bca-7b33-46d4-9e24-e740d3018bb2</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>e7a50ae0-1b7a-4efd-ab44-21a789ff074a</d2p1:guid>
<d2p1:guid>528c0430-665c-45fc-8def-a6f1094b6c87</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>