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": "545a10ff-5b27-43ad-a875-d11b8a269ffb",
"SegmentCategoryId": "e0daed19-62d2-4608-ad14-1ba56875504c",
"DefaultSelectedSegmentIds": [
"f56db2d1-717f-4d2c-94ea-aa3bb378b727",
"cb5a0835-0bab-420b-846c-e7e7055ae16b"
]
}
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>f56db2d1-717f-4d2c-94ea-aa3bb378b727</d2p1:guid>
<d2p1:guid>cb5a0835-0bab-420b-846c-e7e7055ae16b</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>545a10ff-5b27-43ad-a875-d11b8a269ffb</OrgId>
<SegmentCategoryId>e0daed19-62d2-4608-ad14-1ba56875504c</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": "e1321202-95a2-4ae7-995c-87a7fb53c01e",
"SegmentCategoryId": "5693811b-429c-4b60-b3cc-df887e3385d6",
"SelectedSegments": [
"99373c34-98cb-47d9-bd94-e54098954d87",
"0d3be508-32c8-4564-bbd7-62727c5dd7e8"
],
"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>e1321202-95a2-4ae7-995c-87a7fb53c01e</OrgId>
<SegmentCategoryId>5693811b-429c-4b60-b3cc-df887e3385d6</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>99373c34-98cb-47d9-bd94-e54098954d87</d2p1:guid>
<d2p1:guid>0d3be508-32c8-4564-bbd7-62727c5dd7e8</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>