POST api/Segment/GetSelectedSegmentsForMember
Request Information
URI Parameters
None.
Body Parameters
SegmentListRequestModelName | 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": "cf0fbf17-8f53-4b1e-a859-2dea40fe6c46", "SegmentCategoryId": "07498e56-1f1a-451c-b364-d642d06d9bd1", "DefaultSelectedSegmentIds": [ "d9b4477e-281e-4c65-bc38-2eb778374147", "459cf65e-d2c2-404b-b4ec-79248f9047b7" ] }
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>d9b4477e-281e-4c65-bc38-2eb778374147</d2p1:guid> <d2p1:guid>459cf65e-d2c2-404b-b4ec-79248f9047b7</d2p1:guid> </DefaultSelectedSegmentIds> <MemberId>sample string 1</MemberId> <OrgId>cf0fbf17-8f53-4b1e-a859-2dea40fe6c46</OrgId> <SegmentCategoryId>07498e56-1f1a-451c-b364-d642d06d9bd1</SegmentCategoryId> </SegmentListRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SelectedSegmentsResponseModelName | 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": "cc082b4c-d96c-453f-93f1-aed9b5f49e9a", "SegmentCategoryId": "ea76cb77-f89c-4073-a478-0709c1a98ec5", "SelectedSegments": [ "59d91321-a0fa-420e-b7f6-269cd8b29ab1", "56063d12-602f-44ff-a212-5bb4b334d028" ], "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>cc082b4c-d96c-453f-93f1-aed9b5f49e9a</OrgId> <SegmentCategoryId>ea76cb77-f89c-4073-a478-0709c1a98ec5</SegmentCategoryId> <SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>59d91321-a0fa-420e-b7f6-269cd8b29ab1</d2p1:guid> <d2p1:guid>56063d12-602f-44ff-a212-5bb4b334d028</d2p1:guid> </SelectedSegments> </SelectedSegmentsResponseModel>