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": "5582dff3-69da-4da5-8c69-3ee622d98c57",
"SegmentCategoryId": "37501abf-d7cb-44ff-80a2-bc1247c293a3",
"DefaultSelectedSegmentIds": [
"5c265bb1-7240-4acb-a0bb-9aa8a0d60228",
"ac53cd12-d505-4726-b18a-6bc1e092d3e8"
]
}
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>5c265bb1-7240-4acb-a0bb-9aa8a0d60228</d2p1:guid>
<d2p1:guid>ac53cd12-d505-4726-b18a-6bc1e092d3e8</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>5582dff3-69da-4da5-8c69-3ee622d98c57</OrgId>
<SegmentCategoryId>37501abf-d7cb-44ff-80a2-bc1247c293a3</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": "f7bf9012-8a6c-4cef-9c24-0bd6656fdc66",
"SegmentCategoryId": "2ddf6c79-e7a2-4b6d-82a6-c56cbdd57696",
"SelectedSegments": [
"383a092b-65ae-40a8-a399-2f12f25191a3",
"44aa873d-062a-487a-ab8b-ecf91c94b97a"
],
"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>f7bf9012-8a6c-4cef-9c24-0bd6656fdc66</OrgId>
<SegmentCategoryId>2ddf6c79-e7a2-4b6d-82a6-c56cbdd57696</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>383a092b-65ae-40a8-a399-2f12f25191a3</d2p1:guid>
<d2p1:guid>44aa873d-062a-487a-ab8b-ecf91c94b97a</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>