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": "a97fc28b-eb2c-48f2-8fcc-6e05f6fbcf19",
"SegmentCategoryId": "265d6efc-574d-4d21-8aff-4baed630d3a2",
"DefaultSelectedSegmentIds": [
"23cc019b-53cd-4cc4-972e-7f3bd2b0ca81",
"1a1438d6-5d26-41a1-a075-eaf4c5d729ca"
]
}
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>23cc019b-53cd-4cc4-972e-7f3bd2b0ca81</d2p1:guid>
<d2p1:guid>1a1438d6-5d26-41a1-a075-eaf4c5d729ca</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>a97fc28b-eb2c-48f2-8fcc-6e05f6fbcf19</OrgId>
<SegmentCategoryId>265d6efc-574d-4d21-8aff-4baed630d3a2</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": "c6e2c24c-3eb8-47bf-8ce8-340f99d9d5dc",
"SegmentCategoryId": "8509734b-1618-415f-869d-bb2be125e427",
"SelectedSegments": [
"24e1c34b-2505-4b42-b39f-058e8f5a38bd",
"f04686d3-0d3f-40c0-90bf-551ac8b7e4c5"
],
"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>c6e2c24c-3eb8-47bf-8ce8-340f99d9d5dc</OrgId>
<SegmentCategoryId>8509734b-1618-415f-869d-bb2be125e427</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>24e1c34b-2505-4b42-b39f-058e8f5a38bd</d2p1:guid>
<d2p1:guid>f04686d3-0d3f-40c0-90bf-551ac8b7e4c5</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>