POST api/Segment/GetSelectedSegmentsForOrg
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": "b2a5bb7e-efac-478e-be99-8a4e0d43f429", "SegmentCategoryId": "a660420c-8db7-4a70-8fdc-42a899187fee", "DefaultSelectedSegmentIds": [ "6bbf7f3f-e7d9-4310-9d77-563cf873c248", "6315ba78-f87c-4df4-a1e4-95cb64267e71" ] }
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>6bbf7f3f-e7d9-4310-9d77-563cf873c248</d2p1:guid> <d2p1:guid>6315ba78-f87c-4df4-a1e4-95cb64267e71</d2p1:guid> </DefaultSelectedSegmentIds> <MemberId>sample string 1</MemberId> <OrgId>b2a5bb7e-efac-478e-be99-8a4e0d43f429</OrgId> <SegmentCategoryId>a660420c-8db7-4a70-8fdc-42a899187fee</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": "c89bb0b7-77e6-4481-9776-cfba72701964", "SegmentCategoryId": "45d01869-658c-44c9-b833-cbfc273581da", "SelectedSegments": [ "84901097-d87f-41bb-9a46-f2d692f2c841", "d0d23c62-28f5-4554-9d7d-97b745cb517d" ], "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>c89bb0b7-77e6-4481-9776-cfba72701964</OrgId> <SegmentCategoryId>45d01869-658c-44c9-b833-cbfc273581da</SegmentCategoryId> <SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>84901097-d87f-41bb-9a46-f2d692f2c841</d2p1:guid> <d2p1:guid>d0d23c62-28f5-4554-9d7d-97b745cb517d</d2p1:guid> </SelectedSegments> </SelectedSegmentsResponseModel>