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": "39be6ce9-ab0e-4145-a4b7-f93bcdde945b",
"SegmentCategoryId": "8c34f555-2a0a-40fe-a817-9639112eb3f5",
"DefaultSelectedSegmentIds": [
"1b4a5ea3-e56c-4741-91ff-38ac80b9415e",
"4f607bc1-a3ac-4fda-8439-a84dd2a21855"
]
}
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>1b4a5ea3-e56c-4741-91ff-38ac80b9415e</d2p1:guid>
<d2p1:guid>4f607bc1-a3ac-4fda-8439-a84dd2a21855</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>39be6ce9-ab0e-4145-a4b7-f93bcdde945b</OrgId>
<SegmentCategoryId>8c34f555-2a0a-40fe-a817-9639112eb3f5</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": "8204a8ca-90c9-4301-b282-fba580a7c266",
"SegmentCategoryId": "01be2600-48b1-407c-9c4e-8606384e6f9a",
"SelectedSegments": [
"b6f7875d-51b4-4603-aeb3-aec42b92ca44",
"b205eeb6-fae3-4d1b-a771-4896a91db839"
],
"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>8204a8ca-90c9-4301-b282-fba580a7c266</OrgId>
<SegmentCategoryId>01be2600-48b1-407c-9c4e-8606384e6f9a</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>b6f7875d-51b4-4603-aeb3-aec42b92ca44</d2p1:guid>
<d2p1:guid>b205eeb6-fae3-4d1b-a771-4896a91db839</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>