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": "0bff4a6b-897c-4501-86b8-cdca742bf570",
"SegmentCategoryId": "a6c078ee-e4e8-4258-8f9b-54be08f203b5",
"DefaultSelectedSegmentIds": [
"e57b6856-4a0e-4bcb-9e3e-72c1a967faee",
"a29efabc-657b-43e6-993a-2f5169095e53"
]
}
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>e57b6856-4a0e-4bcb-9e3e-72c1a967faee</d2p1:guid>
<d2p1:guid>a29efabc-657b-43e6-993a-2f5169095e53</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>0bff4a6b-897c-4501-86b8-cdca742bf570</OrgId>
<SegmentCategoryId>a6c078ee-e4e8-4258-8f9b-54be08f203b5</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": "1e6fb5cf-09b9-4e7c-9c02-644c9eb1f99c",
"SegmentCategoryId": "ba4a8210-4c45-47e2-b486-a9ed447d36e5",
"SelectedSegments": [
"731706c3-4f86-4284-8ea2-7de829789a31",
"68094cdd-fc3b-4303-ad29-16fc4fd002cf"
],
"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>1e6fb5cf-09b9-4e7c-9c02-644c9eb1f99c</OrgId>
<SegmentCategoryId>ba4a8210-4c45-47e2-b486-a9ed447d36e5</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>731706c3-4f86-4284-8ea2-7de829789a31</d2p1:guid>
<d2p1:guid>68094cdd-fc3b-4303-ad29-16fc4fd002cf</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>