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": "cfe3ad7f-58f0-4b92-94c0-8436dfca1e0c",
"SegmentCategoryId": "3cd77e2c-ecd0-49d1-823a-e8242bbf83bd",
"DefaultSelectedSegmentIds": [
"8ad96cce-54e4-4421-bed4-350c45c5a1cc",
"8e7840e4-d171-4972-b0cd-4d7e987d1cb7"
]
}
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>8ad96cce-54e4-4421-bed4-350c45c5a1cc</d2p1:guid>
<d2p1:guid>8e7840e4-d171-4972-b0cd-4d7e987d1cb7</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>cfe3ad7f-58f0-4b92-94c0-8436dfca1e0c</OrgId>
<SegmentCategoryId>3cd77e2c-ecd0-49d1-823a-e8242bbf83bd</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": "425fc0f8-93c8-44b5-a17a-64a189495945",
"SegmentCategoryId": "cee92f1e-f715-4bdd-92e7-77e356d90be7",
"SelectedSegments": [
"f43934d7-9de8-4d19-889b-89e8880665f8",
"38990bf5-55a0-4d64-8ea6-4cab0028d8ac"
],
"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>425fc0f8-93c8-44b5-a17a-64a189495945</OrgId>
<SegmentCategoryId>cee92f1e-f715-4bdd-92e7-77e356d90be7</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>f43934d7-9de8-4d19-889b-89e8880665f8</d2p1:guid>
<d2p1:guid>38990bf5-55a0-4d64-8ea6-4cab0028d8ac</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>