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": "4c5ca18d-81cd-44da-8faa-3d35dea54038", "SegmentCategoryId": "84253a0f-85a1-473c-aa5b-135d28d02600", "DefaultSelectedSegmentIds": [ "a6f442d8-02bd-4e0c-b029-bc3ca9dd6041", "1c5a7c06-a83a-4a73-b654-2bc7502bede6" ] }
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>a6f442d8-02bd-4e0c-b029-bc3ca9dd6041</d2p1:guid> <d2p1:guid>1c5a7c06-a83a-4a73-b654-2bc7502bede6</d2p1:guid> </DefaultSelectedSegmentIds> <MemberId>sample string 1</MemberId> <OrgId>4c5ca18d-81cd-44da-8faa-3d35dea54038</OrgId> <SegmentCategoryId>84253a0f-85a1-473c-aa5b-135d28d02600</SegmentCategoryId> </SegmentListRequestModel>
application/x-www-form-urlencoded
Sample:
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": "cfeeec67-fa02-49e8-a190-6f9caf6a1d89", "SegmentCategoryId": "5ae22a19-0691-48ab-a502-d388bcabd592", "SelectedSegments": [ "8031cfb5-663d-45cf-8545-4d88cfd63261", "71132254-71f4-470d-8795-bbbd9d10ca1f" ], "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>cfeeec67-fa02-49e8-a190-6f9caf6a1d89</OrgId> <SegmentCategoryId>5ae22a19-0691-48ab-a502-d388bcabd592</SegmentCategoryId> <SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>8031cfb5-663d-45cf-8545-4d88cfd63261</d2p1:guid> <d2p1:guid>71132254-71f4-470d-8795-bbbd9d10ca1f</d2p1:guid> </SelectedSegments> </SelectedSegmentsResponseModel>