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": "df247ac8-e48a-4754-8844-f8ef68066de0",
"SegmentCategoryId": "232736fe-eafb-4b62-b89f-25aed727808c",
"DefaultSelectedSegmentIds": [
"8c944960-5fbd-4fd4-ae56-18d5e8fce8ee",
"9436588b-7acc-4b18-8c32-451c00c680fa"
]
}
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>8c944960-5fbd-4fd4-ae56-18d5e8fce8ee</d2p1:guid>
<d2p1:guid>9436588b-7acc-4b18-8c32-451c00c680fa</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>df247ac8-e48a-4754-8844-f8ef68066de0</OrgId>
<SegmentCategoryId>232736fe-eafb-4b62-b89f-25aed727808c</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": "ea8a2734-2d8e-460d-a09c-46f223072719",
"SegmentCategoryId": "5483638d-6679-48ae-8647-f2b7c9b6cf2b",
"SelectedSegments": [
"19e3b045-77f9-467d-af2d-4bf468ac19a2",
"a8f5b2e0-2f5b-412f-a505-f659148e667d"
],
"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>ea8a2734-2d8e-460d-a09c-46f223072719</OrgId>
<SegmentCategoryId>5483638d-6679-48ae-8647-f2b7c9b6cf2b</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>19e3b045-77f9-467d-af2d-4bf468ac19a2</d2p1:guid>
<d2p1:guid>a8f5b2e0-2f5b-412f-a505-f659148e667d</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>