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": "cb89adb3-0554-4126-a053-ef79d7c4b2bf",
"SegmentCategoryId": "92905baa-1c3e-4ea7-ad70-66662c0a6d4d",
"DefaultSelectedSegmentIds": [
"d00f4dfd-bc5c-41b0-864e-3dce62737bd8",
"b027c3d1-6d4c-46cd-9e9b-74d630351ef9"
]
}
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>d00f4dfd-bc5c-41b0-864e-3dce62737bd8</d2p1:guid>
<d2p1:guid>b027c3d1-6d4c-46cd-9e9b-74d630351ef9</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>cb89adb3-0554-4126-a053-ef79d7c4b2bf</OrgId>
<SegmentCategoryId>92905baa-1c3e-4ea7-ad70-66662c0a6d4d</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": "20494164-ce5c-4151-8c09-0ed58f3946ba",
"SegmentCategoryId": "6260dc15-9485-4f96-9a4b-24e850caf601",
"SelectedSegments": [
"c1fccf03-6739-47ea-9647-f407cfe09c60",
"631364cb-fb0b-4451-ae45-9b164548e62c"
],
"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>20494164-ce5c-4151-8c09-0ed58f3946ba</OrgId>
<SegmentCategoryId>6260dc15-9485-4f96-9a4b-24e850caf601</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>c1fccf03-6739-47ea-9647-f407cfe09c60</d2p1:guid>
<d2p1:guid>631364cb-fb0b-4451-ae45-9b164548e62c</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>