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": "10c908cc-235a-43ff-b353-eae73509a011",
"SegmentCategoryId": "c344c28c-e26d-4554-aeec-5a33fff53828",
"DefaultSelectedSegmentIds": [
"5de942e3-c4bd-41ba-a924-df712f95d7c3",
"b8b497a1-1835-4038-ac4d-11f0cb5c9d02"
]
}
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>5de942e3-c4bd-41ba-a924-df712f95d7c3</d2p1:guid>
<d2p1:guid>b8b497a1-1835-4038-ac4d-11f0cb5c9d02</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>10c908cc-235a-43ff-b353-eae73509a011</OrgId>
<SegmentCategoryId>c344c28c-e26d-4554-aeec-5a33fff53828</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": "06b50141-9b1a-4d5e-a530-2a3e667419cc",
"SegmentCategoryId": "3f5bfbf9-0124-4819-813e-b8c0184581dc",
"SelectedSegments": [
"8454c5b7-c9b2-4356-ae0d-d7591681c112",
"d64d6aab-54f4-43a7-bc16-c0bb2c2c3e23"
],
"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>06b50141-9b1a-4d5e-a530-2a3e667419cc</OrgId>
<SegmentCategoryId>3f5bfbf9-0124-4819-813e-b8c0184581dc</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>8454c5b7-c9b2-4356-ae0d-d7591681c112</d2p1:guid>
<d2p1:guid>d64d6aab-54f4-43a7-bc16-c0bb2c2c3e23</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>