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": "04071d4d-7fdc-472b-bfeb-66d5b2acf54d",
"SegmentCategoryId": "8542309d-b37a-4bca-9b22-717ec17cb1b2",
"DefaultSelectedSegmentIds": [
"06eb5b59-c627-4c5b-a46f-bb09a897589b",
"bc321e3a-7903-4ece-87a6-a1d6f6f98522"
]
}
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>06eb5b59-c627-4c5b-a46f-bb09a897589b</d2p1:guid>
<d2p1:guid>bc321e3a-7903-4ece-87a6-a1d6f6f98522</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>04071d4d-7fdc-472b-bfeb-66d5b2acf54d</OrgId>
<SegmentCategoryId>8542309d-b37a-4bca-9b22-717ec17cb1b2</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": "290e643f-5961-4e7b-8e74-dafe75cb99fe",
"SegmentCategoryId": "ad15d101-d016-4c8f-99ef-d9953716ad3c",
"SelectedSegments": [
"b2e0f6ae-895d-4c25-957c-ea1a2ea029ad",
"3e69f5cd-e149-40fd-9a1c-0a0cc196d55e"
],
"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>290e643f-5961-4e7b-8e74-dafe75cb99fe</OrgId>
<SegmentCategoryId>ad15d101-d016-4c8f-99ef-d9953716ad3c</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>b2e0f6ae-895d-4c25-957c-ea1a2ea029ad</d2p1:guid>
<d2p1:guid>3e69f5cd-e149-40fd-9a1c-0a0cc196d55e</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>