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": "bc157647-0e6e-4549-8e8b-166ce41aa103",
"SegmentCategoryId": "770c9d6d-84dc-4747-b74f-7d74b30c52e3",
"DefaultSelectedSegmentIds": [
"dd3cd87b-74a3-4688-bab8-b6d813841d14",
"63f6ffe2-af57-4d8f-ad21-f73743ce9d27"
]
}
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>dd3cd87b-74a3-4688-bab8-b6d813841d14</d2p1:guid>
<d2p1:guid>63f6ffe2-af57-4d8f-ad21-f73743ce9d27</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>bc157647-0e6e-4549-8e8b-166ce41aa103</OrgId>
<SegmentCategoryId>770c9d6d-84dc-4747-b74f-7d74b30c52e3</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": "eec796f9-9f8c-42dd-8f96-05381924e54c",
"SegmentCategoryId": "c93fd47d-26bf-4558-9c2f-4abc63ac11be",
"SelectedSegments": [
"b8268994-79a2-42af-8695-5ec32a948aeb",
"b01fc8ef-bfcf-4f89-bc48-6e04f3fcc3f9"
],
"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>eec796f9-9f8c-42dd-8f96-05381924e54c</OrgId>
<SegmentCategoryId>c93fd47d-26bf-4558-9c2f-4abc63ac11be</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>b8268994-79a2-42af-8695-5ec32a948aeb</d2p1:guid>
<d2p1:guid>b01fc8ef-bfcf-4f89-bc48-6e04f3fcc3f9</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>