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": "52fcbe46-6e85-445e-9a00-6e6ef33662d6",
"SegmentCategoryId": "26061ed7-63ac-487d-9f26-2d7de57de8b7",
"DefaultSelectedSegmentIds": [
"1476a180-01f5-4424-9c1d-07ea6404b8d3",
"16387111-63ab-4ddb-897b-e7704d8f8dfc"
]
}
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>1476a180-01f5-4424-9c1d-07ea6404b8d3</d2p1:guid>
<d2p1:guid>16387111-63ab-4ddb-897b-e7704d8f8dfc</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>52fcbe46-6e85-445e-9a00-6e6ef33662d6</OrgId>
<SegmentCategoryId>26061ed7-63ac-487d-9f26-2d7de57de8b7</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": "cc3a3e35-0a87-42fc-aa37-ae5ca0e55e3f",
"SegmentCategoryId": "98fe8386-0bb3-4067-a440-f2dd20a61d3d",
"SelectedSegments": [
"f8f90e9c-930e-4ef8-b1ab-586c7e1657a2",
"d46e540e-def4-4a30-bd34-298687291561"
],
"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>cc3a3e35-0a87-42fc-aa37-ae5ca0e55e3f</OrgId>
<SegmentCategoryId>98fe8386-0bb3-4067-a440-f2dd20a61d3d</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>f8f90e9c-930e-4ef8-b1ab-586c7e1657a2</d2p1:guid>
<d2p1:guid>d46e540e-def4-4a30-bd34-298687291561</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>