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": "d28b4bee-5ccf-470c-a2a1-e7b7bfd86d35",
"SegmentCategoryId": "c8ac415c-2771-49b6-bf0e-c2845afc2188",
"DefaultSelectedSegmentIds": [
"44c7a4ae-2058-4514-a849-c9a5c37753b2",
"15fdc177-a9ad-45cb-8e4c-ff557dff5ea1"
]
}
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>44c7a4ae-2058-4514-a849-c9a5c37753b2</d2p1:guid>
<d2p1:guid>15fdc177-a9ad-45cb-8e4c-ff557dff5ea1</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>d28b4bee-5ccf-470c-a2a1-e7b7bfd86d35</OrgId>
<SegmentCategoryId>c8ac415c-2771-49b6-bf0e-c2845afc2188</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": "e31c89b9-a3ee-44df-8d6c-b8cece9f7283",
"SegmentCategoryId": "bd32e52d-32e9-43e6-9a0f-15e159025272",
"SelectedSegments": [
"4233e540-cde6-4605-b954-1da442882082",
"9321e4d1-0a45-4ae7-9745-d695a93650da"
],
"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>e31c89b9-a3ee-44df-8d6c-b8cece9f7283</OrgId>
<SegmentCategoryId>bd32e52d-32e9-43e6-9a0f-15e159025272</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>4233e540-cde6-4605-b954-1da442882082</d2p1:guid>
<d2p1:guid>9321e4d1-0a45-4ae7-9745-d695a93650da</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>