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": "dcdf1d71-b876-4e5c-8c4b-27ce4b1f12bb",
"DefaultSelectedSegmentIds": [
"f75cfaa4-f436-4962-baa0-9dd5ddec2f68",
"e7c2dbd5-a1d0-4761-95c4-23d8111ebc83"
]
}
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>f75cfaa4-f436-4962-baa0-9dd5ddec2f68</d2p1:guid>
<d2p1:guid>e7c2dbd5-a1d0-4761-95c4-23d8111ebc83</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<SegmentCategoryId>dcdf1d71-b876-4e5c-8c4b-27ce4b1f12bb</SegmentCategoryId>
</SegmentListRequestModel>
application/x-www-form-urlencoded
Sample:
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": "967b7ca6-3a31-4e37-a5e6-755cc5c6d0c3",
"SelectedSegments": [
"1b714ff9-a099-4c23-b09f-0f6e32e8ab9c",
"640beba6-33d9-4b74-b36c-5f24bfd2aa2a"
],
"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>967b7ca6-3a31-4e37-a5e6-755cc5c6d0c3</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>1b714ff9-a099-4c23-b09f-0f6e32e8ab9c</d2p1:guid>
<d2p1:guid>640beba6-33d9-4b74-b36c-5f24bfd2aa2a</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>