POST api/Segment/GetSelectedSegmentsForMember
Request Information
URI Parameters
None.
Body Parameters
SegmentListRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| MemberId | string |
None. |
|
| SegmentCategoryId | globally unique identifier |
None. |
|
| DefaultSelectedSegmentIds | Collection of globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"MemberId": "sample string 1",
"SegmentCategoryId": "1d7bcb1a-6ece-4852-b00b-a26a5d8b5042",
"DefaultSelectedSegmentIds": [
"654c53f1-0807-41d7-8b8b-2e31457f361d",
"e99ced79-1fb3-4d77-9cb0-76b1acb7bce3"
]
}
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>654c53f1-0807-41d7-8b8b-2e31457f361d</d2p1:guid>
<d2p1:guid>e99ced79-1fb3-4d77-9cb0-76b1acb7bce3</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<SegmentCategoryId>1d7bcb1a-6ece-4852-b00b-a26a5d8b5042</SegmentCategoryId>
</SegmentListRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SelectedSegmentsResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| MemberId | string |
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",
"SegmentCategoryId": "14ea99b0-e177-4bfd-ae52-1ab69c4df9d3",
"SelectedSegments": [
"d5f10186-b008-4ed8-b157-7db8a18faf70",
"23fbb279-9e07-490b-ab3a-b5eb3d6dce6d"
],
"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>
<SegmentCategoryId>14ea99b0-e177-4bfd-ae52-1ab69c4df9d3</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>d5f10186-b008-4ed8-b157-7db8a18faf70</d2p1:guid>
<d2p1:guid>23fbb279-9e07-490b-ab3a-b5eb3d6dce6d</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>