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": "cd47ebde-597c-486f-9e0a-398e35442fe1", "SegmentCategoryId": "394f85c9-5a5a-4507-9b31-8eb00ecff767", "DefaultSelectedSegmentIds": [ "63f3a552-3284-4c68-8012-32a42de0e02b", "48ecd56a-5743-42c6-b710-1e678667d3c0" ] }
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>63f3a552-3284-4c68-8012-32a42de0e02b</d2p1:guid> <d2p1:guid>48ecd56a-5743-42c6-b710-1e678667d3c0</d2p1:guid> </DefaultSelectedSegmentIds> <MemberId>sample string 1</MemberId> <OrgId>cd47ebde-597c-486f-9e0a-398e35442fe1</OrgId> <SegmentCategoryId>394f85c9-5a5a-4507-9b31-8eb00ecff767</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": "6d5989a7-3659-4027-80fa-a43e65b651a4", "SegmentCategoryId": "dd3e0714-fc80-4d92-a44c-77065828441e", "SelectedSegments": [ "31b5fbb2-8dc2-4167-8b59-b596c1b867cb", "53e0e648-cbb9-42c1-99b0-2261ff346fd6" ], "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>6d5989a7-3659-4027-80fa-a43e65b651a4</OrgId> <SegmentCategoryId>dd3e0714-fc80-4d92-a44c-77065828441e</SegmentCategoryId> <SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>31b5fbb2-8dc2-4167-8b59-b596c1b867cb</d2p1:guid> <d2p1:guid>53e0e648-cbb9-42c1-99b0-2261ff346fd6</d2p1:guid> </SelectedSegments> </SelectedSegmentsResponseModel>