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": "afbca8a5-de1a-4be4-ac5c-546add2cc3a7",
"SegmentCategoryId": "340e0c9d-c087-4c18-9454-a21f7136d0fb",
"DefaultSelectedSegmentIds": [
"0eb9d5ad-4161-4219-a224-02bd51225828",
"990b742c-015e-4f3f-a1de-bd0847a644e6"
]
}
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>0eb9d5ad-4161-4219-a224-02bd51225828</d2p1:guid>
<d2p1:guid>990b742c-015e-4f3f-a1de-bd0847a644e6</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>afbca8a5-de1a-4be4-ac5c-546add2cc3a7</OrgId>
<SegmentCategoryId>340e0c9d-c087-4c18-9454-a21f7136d0fb</SegmentCategoryId>
</SegmentListRequestModel>
application/x-www-form-urlencoded
Sample:
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": "09aa6f51-e4df-4606-84b4-0b8901b775ae",
"SegmentCategoryId": "c02d6d74-d67e-4c35-9a64-2a8b160864f8",
"SelectedSegments": [
"12cda535-a1fc-4dec-96df-36f1a283ff37",
"64af8d85-a99d-42ab-9a8b-d751ac264173"
],
"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>09aa6f51-e4df-4606-84b4-0b8901b775ae</OrgId>
<SegmentCategoryId>c02d6d74-d67e-4c35-9a64-2a8b160864f8</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>12cda535-a1fc-4dec-96df-36f1a283ff37</d2p1:guid>
<d2p1:guid>64af8d85-a99d-42ab-9a8b-d751ac264173</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>