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": "3c4763b4-5741-44a9-b3ef-78b3b7ba42da", "SegmentCategoryId": "7a28b0ef-f04b-465d-a1f9-0ad75fdd06b0", "DefaultSelectedSegmentIds": [ "6a8351a2-f5a2-4323-af2e-9a87c876a356", "afd21d3e-0d1c-4e9b-a2c4-cc55d82fc73d" ] }
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>6a8351a2-f5a2-4323-af2e-9a87c876a356</d2p1:guid> <d2p1:guid>afd21d3e-0d1c-4e9b-a2c4-cc55d82fc73d</d2p1:guid> </DefaultSelectedSegmentIds> <MemberId>sample string 1</MemberId> <OrgId>3c4763b4-5741-44a9-b3ef-78b3b7ba42da</OrgId> <SegmentCategoryId>7a28b0ef-f04b-465d-a1f9-0ad75fdd06b0</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": "a2e36a70-0a33-4990-bdcd-718b4f20933f", "SegmentCategoryId": "e79d5df5-0c41-453e-8ba6-facdd992d49a", "SelectedSegments": [ "b4cfede3-c70b-4137-bd6e-b2054b1274e8", "515ac4ff-df8e-4751-be8b-ef3b376ff17c" ], "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>a2e36a70-0a33-4990-bdcd-718b4f20933f</OrgId> <SegmentCategoryId>e79d5df5-0c41-453e-8ba6-facdd992d49a</SegmentCategoryId> <SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>b4cfede3-c70b-4137-bd6e-b2054b1274e8</d2p1:guid> <d2p1:guid>515ac4ff-df8e-4751-be8b-ef3b376ff17c</d2p1:guid> </SelectedSegments> </SelectedSegmentsResponseModel>