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": "dea82ae5-0129-457f-ae48-801c4ac9e948",
"SegmentCategoryId": "bad2a683-b3f7-4c7c-819a-9c06f4bcdbdd",
"DefaultSelectedSegmentIds": [
"8791df2b-b6a8-416b-b88c-8650a29c1622",
"2e77c67b-8560-4056-b613-ada50236a99f"
]
}
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>8791df2b-b6a8-416b-b88c-8650a29c1622</d2p1:guid>
<d2p1:guid>2e77c67b-8560-4056-b613-ada50236a99f</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>dea82ae5-0129-457f-ae48-801c4ac9e948</OrgId>
<SegmentCategoryId>bad2a683-b3f7-4c7c-819a-9c06f4bcdbdd</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": "8ec4b392-ac1a-48d2-b3d1-688381ac4518",
"SegmentCategoryId": "3f76ccd7-c703-4ae8-b4cd-96daca91028b",
"SelectedSegments": [
"1ad667cc-e03b-4b92-8f3d-a2ce2d2a50f2",
"53b54cc9-ec2f-45c7-afcc-bdc91158969d"
],
"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>8ec4b392-ac1a-48d2-b3d1-688381ac4518</OrgId>
<SegmentCategoryId>3f76ccd7-c703-4ae8-b4cd-96daca91028b</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>1ad667cc-e03b-4b92-8f3d-a2ce2d2a50f2</d2p1:guid>
<d2p1:guid>53b54cc9-ec2f-45c7-afcc-bdc91158969d</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>